The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Who's Online Plug In ?
Group,
I am looking for a plugin that will hide the members currently online as well as the most recent new member from GUESTS, UNREGISTERED or NON LOGGED IN members? Listed below is all I want to show up to guests and members not logged in on my site and I am looking for a way to do this via a plugin, no code modifications in the templates. ================================================== ==== Our members have posted a total of 2086 articles We have 113 registered members Most members ever online was 18 on Sat May 29, 2004 10:46 pm ================================================== ==== Is there anyone willing to do a plugin of this for me? Doug |
#2
|
|||
|
|||
You could do this using simple template conditionals. For information that you wish to hide from guests, edit the template and add:
Code:
<if condtion=$bbuserinfo['userid']> Code:
</if> For example, if you wanted to hide the "Welcome to our newest member..." message on the homepage, you would need to edit the FORUMHOME template and find: Code:
<div> <phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase> </div> Code:
<if conditional="bbuserinfo['userid']"> <div> <phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase> </div> </if> Hiding the information that you requested in your first post should just be a case of looking through the templates to find it, then wrapping it in the above <if> tags. Most of the info you wish to hide should be in the FORUMHOME template. |
#3
|
|||
|
|||
Alan,
Thank you for this information, Ill give it a try. Are you willing to code this into a plugin for me? Doug |
#4
|
|||
|
|||
Group,
Is there anyone who would be willing to write this as a plugin? Doug |
#5
|
|||
|
|||
Alan,
I tried what you suggested doing and it did not work. It would either just sit there and not refresh the page or it would tell me if i continue that it will cause an error. I would have snap shotted the info but didnt think of doing it until after the fact. Sorry. Is there some other way we can accomplish this? Doug |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|