Author |
Message |
dubLeE
Regular


Joined: Jan 12, 2006
Posts: 60
|
Posted:
Sat Feb 18, 2006 11:34 am |
|
ok for the past 2+ weeks i been coding a theme i made and i basically just editted and what not the code from another theme and worked from there, since im not that experienced in PHP yet but im getting there... anyways im having a problem with spacing...and i tried many many things yet nothing seems to work...
www.dublee.com/dEv2 is where im setting the theme up... as you can see theres a space between the open table thing at the top and the story content...
also theres another spacing problem between the blocks, theres a 1 pixel gap there that i dont want...
so is anyone available to help me...
i dont think id be allowed to paste the theme.php code here since the theme im messing around is from a commercial theme...
preferably MSN or AIM would work...any coders experianced in Nuke theming please help me...
MSN: dubLeE@gmail.com
AIM: nXxdubLeExL
thanks |
|
|
|
 |
fkelly
Former Moderator in Good Standing

Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY
|
Posted:
Sat Feb 18, 2006 8:06 pm |
|
Hard to diagnose this without seeing the code to the theme. Try doing a view source on the output and see where the extra spacing is, then work backwards to see what PHP code generates that. You could even capture the html code thru view source and put it in an editor and edit it just to try to narrow down where the problem lies (keep saving and viewing in a browser), then work back thru the PHP that generates the html.
I took a quick look at view source of your page and I see some br's where maybe you wouldn't want them? It would also be helpful if you would post more specifically where your perceived problems are. It looks like you are saying there is a gap after the characters asd at the bottom of the message but I can't be sure. A 1px gap would be hard to even notice, maybe you could be more specific about where that is? |
|
|
|
 |
dubLeE

|
Posted:
Sat Feb 18, 2006 9:04 pm |
|
yeah i saw the br and i tried removing ALL br's from the code but that didnt work...
heres a screenshot...
www.dublee.com/dEv2/dEv2SS.bmp
(disregaurd the other half of the screenshot, didnt realize itll screenshot both of my moniters...)
see in circle 1, theres 2 lines there... theres a 1+ px gap there... it looks like its the image but its not because i made the that entire section have a bgcolor...
and then the space in circle 2 which shows a br in the view source but taking out all the br's didnt work eight...
can you contact me on AIM or MSN or me contact you...
heres a link to my coding... i wasnt able to post the code into the post... kept saying the html tags werent allowed even though i put the code tags around it all
www.dublee.com/dEv2/themes/dEv2/dEv2code.txt
thanks |
|
|
|
 |
fkelly

|
Posted:
Sun Feb 19, 2006 9:50 am |
|
HI:
What you have posted may be useful if there is someone out there who is very familiar with themes and who can spend some time on it. I've mucked a bit with themes but by no means am an expert and I'm up to my eyeballs in other stuff right now.
One thought I had was: this is based on a commercial theme? Does that theme work for you right out of the box and did the problems start to occur as you modified it? If so, you might want to go back to square one with the commercial theme unmodified and reintroduce your changes one at a time to determine which one is causing the problem. I know that in some theme directories where I was developing I wound up with something like a dozen different "versions" of the theme at various stages before I was finished. Introducing changes to styles in particular can cause things to move all around and I've found that "one at a time" is the best approach.
Sorry I can't be of more immediate help but what you posted will help if there is someone out there who can. Or maybe the folks who wrote the commercial version of your theme can look at it? |
|
|
|
 |
dubLeE

|
Posted:
Sun Feb 19, 2006 3:03 pm |
|
its an Mtechnik theme, Hybrid... and he had the spacing there already between the blocks and tables and story... so yeah its been there since the beginning.. so i tried finish up as much as i could thinking maybe itll go away or something but it didnt... but im thinking it might just be the way RavenNuke was coded because when i use the Hybrid theme alone the right blocks dont show up at all... |
|
|
|
 |
fkelly

|
Posted:
Sun Feb 19, 2006 3:16 pm |
|
Well I don't have Mtechnik or Ravennuke so now I have to leave you to your own devices. I don't see how the statement about right blocks fits in here though. If the theme ALWAYS had what you consider "extra" spacing in then Ravennuke wouldn't have anything to do with that. What do you mean by when you use the Hybrid theme alone? You mean on some other version of Nuke? Right blocks are usually controlled by a setting of index_file (it can be turned on or off). Most standard modules, with the exception of news I believe, have it turned off.
If Mtechnik is promoting a commercial theme that has spacing you want removed you really might do better to get (him, her?) to remove it or at least get them to look at the postings you've made and tell you what to change. They would be the experts with that theme and having other people try to figure it out might not be effective. |
|
|
|
 |
dubLeE

|
Posted:
Mon Feb 20, 2006 2:01 pm |
|
anyone else able to shed some light on this by any chance? |
|
|
|
 |
Guardian2003
Site Admin

Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Mon Feb 20, 2006 2:44 pm |
|
As fkelly pointed out, right block visibility is set with index_file but as you didnt answer his (her?) question we dont know if that fixed that particular issue.
This is a very old theme you are using, looking at the code the first open table shows an if/else logic based on the active module. One of those modules (Sections) was dropped from nuke quite some time ago, around V7.4 ish |
|
|
|
 |
dubLeE

|
Posted:
Mon Feb 20, 2006 5:54 pm |
|
so i should try to build off of a more modern theme? |
|
|
|
 |
Guardian2003

|
Posted:
Mon Feb 20, 2006 6:37 pm |
|
Which theme to use is very much a personal tatse thing. I for example absolutely hate dark themes, yet others love them.
If I had the time and needed do make a theme myself, I would base it on the current fisubice theme, however, the work involved to make it 'dark' might be more than you have time for so by all means, search around for a theme advertised to work with 7.6 and up. |
|
|
|
 |
dubLeE

|
Posted:
Mon Feb 20, 2006 9:43 pm |
|
i tried working with FiSubIce but i ran into alotta problems with the coding...
and turning a light theme into a dark is no problem at all, just a bunch of CSS work...
i only use the theme.php of a theme because i dont know the coding for all the variables and layouts and what not...
but yeah imma juss find a theme that is for 7.6 or up |
|
|
|
 |
dubLeE

|
Posted:
Tue Feb 21, 2006 2:54 pm |
|
can someone point to a site or to themes that are for 7.6+ ....
greatly appreciated |
|
|
|
 |
fkelly

|
Posted:
Tue Feb 21, 2006 6:26 pm |
|
Raven and his associates can address this better than I, but any themes that come with his distribution have to be for 7.6 and up. So, even if you didn't want to load the full distribution you could probably extract the themes directory in Ravennuke and work with what's in there. And heck, there's a lot of themes distributed with the official Nuke distribution from phpnuke.org and if you just chose 7.6 you'd get them. Assuming that you are patched to 3.1, I'd check the patch distribution to see if there are any fixes before I loaded the theme. Actually since I have the patch distribution on my hard drive I just did and yes there are fixes so you'll want those too. But of course the Raven distribution is already patched, I just don't know what themes are in there. Maybe some one who has it can post a list or you can just download it and see for yourself.
Incidentally your site looked great to me when I looked at it a couple days ago. You are a lot fussier than I am about graphics. |
|
|
|
 |
dubLeE

|
Posted:
Thu Feb 23, 2006 4:02 pm |
|
ok thanks everyone for trying to help with that last problem...in the end didnt fix it but i found a work around for it so its all good...
ok now i have run into 2 other critical problems that cant seem to fix...
first of all..as you can see in the header with the logins, well i tried using the variables ($theuser) for the login to set all that up but i couldnt figure out how i could set it all up individually so that i can have my own layout and spacing of the text boxes and what not...
and second...(you have to login for this so i made an account user: demo password: demo)
now click Your_Account... as you can most likely see its all messed up and weird looking... how would i go about fixing this... |
|
|
|
 |
|