Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.4
Author Message
Darrell3831
Worker
Worker



Joined: Feb 18, 2004
Posts: 244

PostPosted: Sun Nov 21, 2004 6:56 pm Reply with quote

Nuke version 7.4 patched with Chatserv's 2.6.

There is a small cosmetic typo in the content module that causes &nbsp to be printed to the screen instead of the actual space being inserted.

The problem is on line 316 which looks like this:

Code:
."<input type=\"radio\" name=\"active\" value=\"1\" $sel1>&nbsp;" . _YES . "&nbsp&nbsp;<input type=\"radio\" name=\"active\" value=\"0\" $sel2>&nbsp;" . _NO . "<br><br>"


Of course the fix is to add the missing simicolon like so:

Code:
."<input type=\"radio\" name=\"active\" value=\"1\" $sel1>&nbsp;" . _YES . "&nbsp;&nbsp;<input type=\"radio\" name=\"active\" value=\"0\" $sel2>&nbsp;" . _NO . "<br><br>"


I've seen several that need fixing. If no one objects I'll post more as I catch them...

Darrell

_________________
http://www.psy-center.com 
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sun Nov 21, 2004 8:27 pm Reply with quote

That would be great. Thanks!
 
View user's profile Send private message
Darrell3831







PostPosted: Wed Dec 15, 2004 6:35 pm Reply with quote

Nuke version 7.4 patched with Chatserv's 2.6.

There are four small cosmetic typo's in the encyclopedias search module that causes &middot to be printed to the screen instead of the actual middot being inserted.

Line 43 is:
Code:
echo "<strong><big>&middot</big></strong>&nbsp;&nbsp;<a href=\"modules.php?name=$module_name&amp;op=content&amp;tid=$tid\">$title</a><br>";


Line 55 is:
Code:
echo "<strong><big>&middot</big></strong>&nbsp;&nbsp;<a href=\"modules.php?name=$module_name&amp;op=content&amp;tid=$tid&amp;query=$query\">$title</a><br>";


Line 82 is:
Code:
echo "<strong><big>&middot</big></strong>&nbsp;&nbsp;<a href=\"modules.php?name=$module_name&amp;op=content&amp;tid=$tid\">$title</a><br>";


Line 94 is:
Code:
echo "<strong><big>&middot</big></strong>&nbsp;&nbsp;<a href=\"modules.php?name=$module_name&amp;op=content&amp;tid=$tid&amp;query=$query\">$title</a><br>";


As you can see, in each case the &middot is missing the ; after it. So in all four cases add the ;

Take care,
Darrell
 
Darrell3831







PostPosted: Thu Dec 30, 2004 8:28 am Reply with quote

Nuke 7.4 with 2.6 patches installed.

The Journal module was printing &#151&#151 to the screen in several different circumstances. The &#151 character is the dash symbol.

This was happening because there was a missing semicolon after each instance of the &#151 in the source code of two different files.

You will find 8 instances of &#151 in /modules/journal/edit.php and 2 instances in /modules/journal/search.php. Use a search utility to find them all and add the semicolon after each occurance.

Here's one example of how it's wrong:

Code:
printf (" &#151&#151 $scndcount "._COMMENTS."</td>");


I can't show an example of the fix. The forum inserts the two dashes if it's properly formated.

Darrell
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.4

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©