Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> CNB Your Account
Author Message
Mesum
Useless



Joined: Aug 23, 2002
Posts: 213
Location: Chicago

PostPosted: Tue Dec 07, 2004 8:27 pm Reply with quote

Not sure they have been posted already but one of the PHP-Nuke Platinum user found them when using Activate Account right away option.

I got the bug fix too but MrFluffy posted it first so credit goes to him:

Quote:

new_user3.php...
Change:
Code:


    echo "<tr><td bgcolor='$bgcolor2'>"._HIDEONLINE.":</td><td bgcolor='$bgcolor1'><select name='user_allow_viewonline'><option value='1'>"._YES."</option><option value='0' selected>"._NO."</option></select></td></tr>\n";


to:
Code:


    echo "<tr><td bgcolor='$bgcolor2'>"._HIDEONLINE.":</td><td bgcolor='$bgcolor1'><select name='user_allow_viewonline'><option value='0'>"._YES."</option><option value='1' selected>"._NO."</option></select></td></tr>\n";


I guess the author got as confused as me, because allow_viewonline=yes and hideonline=yes is not the same thing


2nd bug relates to same config when user activates the account and goes to screen where he or she fills out the optional profile fields and username doesn't show there:

Quote:

Realname problem:

In modules/Your_Account/public/new_confirm3.php

find:

Code:
  echo "<input type='hidden' name='realname' value=\"$realname\">\n"; 


change to:

Code:
echo "<input type='hidden' name='realname' value=\"$ya_realname\">\n"; 

 
View user's profile Send private message Visit poster's website
sixonetonoffun
Spouse Contemplates Divorce



Joined: Jan 02, 2003
Posts: 2496

PostPosted: Tue Dec 07, 2004 10:00 pm Reply with quote

Ok I added those to the patches file in the "Known Bugs thread for 750 4.4.0 b2".
Cheers

_________________
[b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> CNB Your Account

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 ©