The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Quote:
|
#12
|
|||
|
|||
Thank you both for this information.
One question, what would one put to hide the last activity? I have the current activity hiding, but now want last activity as well. Thank you once again. |
#13
|
||||
|
||||
Put the same condition around the lines for last activity. It should be right above the current activity line.
|
#14
|
|||
|
|||
Sorry, having a brain lapse here. This is what I have but it's currently not working. What am I doing wrong?
<!-- current activity --> <if condition="$prepared['userid'] != '1'"> </if> <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']"><if condition="$prepared['userid'] != '1'"> </if> <span class="time">$prepared[lastactivitytime]</span></if> </div> </if> <if condition="$prepared['action']"> <span class="shade">$vbphrase[current_activity]:</span> $prepared[action] $prepared[where] </if> </div> </if> <!-- / current activity --> |
#15
|
||||
|
||||
You realize you opened the condition on line 2 and closed it on line 3 with nothing in it? And then you did that again?
You probably want something like this (not tested - you will have to test it): HTML Code:
<if condition="$prepared['userid'] != '1'"> <!-- 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] $prepared[where] </if> </div> </if> <!-- / current activity --> </if> |
#16
|
|||
|
|||
Thank you, Lynne. Works great.
|
#17
|
|||
|
|||
Where do we put that?
Meaning Admin CP>Templates> etc like that. Thanks |
#18
|
||||
|
||||
It's from the MEMBERINFO template, I believe. You can always take the comment line and do a Search in Template and find it.
|
#19
|
|||
|
|||
Quote:
|
#20
|
||||
|
||||
Quote:
HTML Code:
<if condition="!in_array($prepared['userid'], array(1,3))">
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|