The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
||||
|
||||
Ive done this and it works it don't show my last login date but it does say 'On' beside my name and also in the Statistics it says it aswell, any way i cant hide both of these?
|
#22
|
||||
|
||||
If you don't want anyone to see your online status, then either go Invisible or put the same condition around the online status as you put around the current activity. And I don't know what statistics you are talking about - if it's from a mod, you will have to ask in the modification thread for help modifying the code.
|
#23
|
||||
|
||||
Ok i'll try it thanks again Lynne
--------------- Added [DATE]1239658881[/DATE] at [TIME]1239658881[/TIME] --------------- Just before i edit anything that might mess up the templates does the code go anywhere here? <!-- current activity --> <if condition="$prepared['lastactivitydate'] OR $prepared['action']"> <div class="alt2 smallfont block_row" id="activity_info"> <if condition="$prepared['lastactivitydate']"> <div id="last_online"> <span class="shade">$vbphrase[last_activity]:</span> $prepared[lastactivitydate]<if condition="!$show['detailedtime']"> <span class="time">$prepared[lastactivitytime]</span></if> </div> </if> <if condition="$prepared['action']"> <span class="shade">$vbphrase[current_activity]:</span> $prepared[action] I Put it somewhere there and it said that there's an error and it's highly recommended that i fix it so i clicked 'Go back' just incase |
#24
|
|||
|
|||
thanks heaps Lynne that is spot on works great
|
#25
|
|||
|
|||
The individual works great, but what about groups?
On my site, it may not be the primary group, but perhaps a secondary group.... But I tried this and it doesn't work even if it is the primary group: <if condition="!in_array($prepared['usergroupid'], array(23,4))"> ---lines of code--- </if> where 23 and 4 are Groupids of the groups i do NOT want to show. Any help would be apprciated! |
#26
|
||||
|
||||
You would not use in_array for the usergroupid, you would use is_member_of (in the API in the Quick Links).
|
#27
|
|||
|
|||
Quote:
<if condition="is_member_of($prepared['usergroupid']) != '23'"> <span class="shade">$vbphrase[current_activity]:</span> $prepared[action] $prepared[where] </if> assuming you do NOT want to allow if the profile being viewed is a member of usergroup 23 Thanks |
#28
|
|||
|
|||
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|