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 -> RN v2.10.01 - All Issues
Author Message
deniseminnix
New Member
New Member



Joined: Jun 29, 2007
Posts: 3

PostPosted: Fri Jun 29, 2007 1:04 am Reply with quote

* 2.1.2 */
/* Modified block to not show Anonymous users anything except Login and*/
/* Register links.

can someone inform me what to alter to allow anonymous browsers to view user info block?


thanks
 
View user's profile Send private message
Susann
Moderator



Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Fri Jun 29, 2007 4:30 am Reply with quote

Did you set it in the blocks administration visible to "All Users" ?
Not sure if I understand this correct because Anonymus user are only able to see the login, register and lost password link.
 
View user's profile Send private message
deniseminnix







PostPosted: Fri Jun 29, 2007 5:19 am Reply with quote

that is correct. i set visable to all users. BUT, i want to allow ALL browsers to see the stats.. including anonymous. i want to allow EVERYONE to view stats. is there an older version that will work with your EXCELLENT RavenNuke_v2.10.01? it is important for our browsers to view without siging up...
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Fri Jun 29, 2007 7:01 am Reply with quote

You will have to customize the code. The $showHidden variable set to TRUE still will not show to anonymous, only registered users.

Find this code here:

Code:


if (is_user($user) OR is_admin($admin)) {
    $lUNM = '';


And modify it to:

Code:


if (is_user($user) OR is_admin($admin) OR $showHidden) {
    $lUNM = '';


It is really only the if statement that changes, but since this exact IF is in three places within the script I wanted to make sure you found the right one.

This may actually end up showing more information than you want, so you might have to tweak some of the code under that IF.

_________________
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! 
View user's profile Send private message Visit poster's website
deniseminnix







PostPosted: Fri Jun 29, 2007 12:02 pm Reply with quote

man, thanks a lot! truly appreciate your assistance..
 
montego







PostPosted: Sat Jun 30, 2007 1:07 pm Reply with quote

RavensScripts
 
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 -> RN v2.10.01 - All Issues

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 ©