Author |
Message |
kitomer
New Member


Joined: Jun 20, 2007
Posts: 5
|
Posted:
Wed Jun 20, 2007 8:27 pm |
|
hi all im learning this rn from scratch so bare with me..
ive installed the latest version 2.10.01 on my site
www.tacticalgamerscorps.com but if i upload a new theme the right blocks dont show up. ive looked in the theme.php files to see if that was the problem but it had the right wording but its like the stuff gets pushed off screen but i dont have a scroll bar to see it ..
ive tried around 10 dif. themes and its a no go for the right side the only themes that work right are the stock ones and that just wont do.
also my back up db doesnt do anything i click it and it just loads a ie connection problem page.
thanks for the help. |
|
|
|
 |
Gremmie
Former Moderator in Good Standing

Joined: Apr 06, 2006
Posts: 2415
Location: Iowa, USA
|
Posted:
Wed Jun 20, 2007 9:03 pm |
|
Some of the older themes out there need to be recoded to enable right blocks.
Typically, the problem is in the themefooter() function inside the theme.php file.
The code needs to look like this:
Code:
if (defined('INDEX_FILE'))
{
// some stuff goes here usually...(not shown)
blocks('right');
}
|
The crucial thing is that "if (defined('INDEX_FILE'))". If instead it says something like "if (index == xxx)" or something like that change it to "if (defined('INDEX_FILE'))". |
_________________ Only registered users can see links on this board! Get registered or login! - An Event Calendar for PHP-Nuke
Only registered users can see links on this board! Get registered or login! - A Google Maps Nuke Module |
|
|
 |
kitomer

|
Posted:
Wed Jun 20, 2007 9:27 pm |
|
thanks for the help but what if the "if (defined('INDEX_FILE'))". is there but it still dont work another option? |
|
|
|
 |
Doulos
Life Cycles Becoming CPU Cycles

Joined: Jun 06, 2005
Posts: 732
|
Posted:
Wed Jun 20, 2007 9:59 pm |
|
What theme are you trying to use? |
|
|
|
 |
kitomer

|
Posted:
Thu Jun 21, 2007 2:19 am |
|
|
|
 |
Doulos

|
Posted:
Thu Jun 21, 2007 3:50 am |
|
You need to use a good text editor and search for the suggested code.
From S-Graw theme.php: look down the file within the Quote: | /************************************************************/
/* Function themefooter() */
/************************************************************/ |
I found this:
Code: if ($index == 1) {
$tmpl_file = "themes/S-GRaw/left_center.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
|
Same thing for Reborn theme.php
I found this:Code:
if ($index == 1) {
echo "</td>"
."<td width=\"5\" valign=\"top\"><img src=\"themes/Reborn/images/spacer.gif\" width=\"5\" height=\"0\" border=\"0\"></td>"
."<td width=\181\" valign=\"top\">";
blocks(right);
}
|
Just change to Code:if (defined('INDEX_FILE')) {
|
upload the files and it will work. I have test both these themes with the above code changes. |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Thu Jun 21, 2007 6:27 am |
|
kitomer, just a quick "history note". What you have experienced in an issue where the themes are quite old and not up to the latest Chatserv PHP-Nuke patch levels. It was either 3.0 or 3.1 that changed over many IF statements to checking for constants rather than inspecting variables as this was a much more secure option. |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
kitomer

|
Posted:
Thu Jun 21, 2007 7:07 am |
|
thanks guys for the help for some reason i didnt see what i needed to see lol
thanks again... also is there maybe a good free site to dl themes from that are compliant, if not i guess i could just keep changing the footer info
thanks again... |
|
|
|
 |
fkelly
Former Moderator in Good Standing

Joined: Aug 30, 2005
Posts: 3312
Location: near Albany NY
|
Posted:
Thu Jun 21, 2007 1:55 pm |
|
It is doubtful that you will find any themes outside of the RN2.10 distribution that are truly "compliant" if by that you mean html 4.01 compliant. We didn't even get a chance to make all the themes in the distribution compliant before release. See this post for status as of RN2.10 release:
Only registered users can see links on this board! Get registered or login!
Generally, the process by which themes are developed in the Nuke world is a total mess. At least that's the way it seems to me. But then again to me having an attribute value properly enclosed in quotes or an input or image tag properly closed is more important than having another wacky color scheme or bizarre images in the background. Choose your own poison. |
|
|
|
 |
kitomer

|
Posted:
Fri Jun 22, 2007 7:51 am |
|
i have found a site that he states "I support Raven Nuke 7.6 ™ with themes. For the most up-to-date versions come here."
heres the link
http://www.papamikecreations.net/index.php
just thought i would let you all know this.. sorry if this needs to be placed in a new post tell me if theres some place to put it thanks again for all the help |
|
|
|
 |
|