The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How would I Remove Current Activity altogether?
Hi there,
I was wondering how I would go about removing the current activity from the members profile page and anywhere else it could be displayed, I think it's in statistics also. I know it's a template edit, I just can't find the current activity display in memberinfo. Thanks --------------- Added [DATE]1320582879[/DATE] at [TIME]1320582879[/TIME] --------------- Anyone? |
#2
|
||||
|
||||
To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)
Also, please do not bump your post in less than 24 hours. |
#3
|
|||
|
|||
Quote:
I want to know what part of the memberinfo_block_ministats template I have to remove. Code:
<div class="mini_stats blockbody userprof_content userprof_content_border"> <div class="userinfo " > <h5 class="blocksubhead userprof_blocksubhead smaller">{vb:rawphrase mini_statistics}</h5> <div class="blockrow member_blockrow"> <vb:comment> <vb:if condition="$prepared['birthday']"> <dl class="stats"> <dt>{vb:rawphrase birth_date}</dt> <dd> {vb:raw prepared.birthday} <vb:if condition="$prepared['age']">({vb:raw prepared.age})</vb:if></dd> </dl> <vb:elseif condition="$prepared['age']" /> <dl class="stats"> <dt>{vb:rawphrase age}</dt> <dd>{vb:raw prepared.age}</dd> </dl> </vb:if> </vb:comment> <dl class="stats"> <dt>{vb:rawphrase join_date}</dt> <dd> {vb:raw prepared.joindate}</dd> </dl> <vb:if condition="$prepared['action']"> <dl class="stats"> <dt>{vb:rawphrase current_activity}</dt> <dd> {vb:raw prepared.action} {vb:raw prepared.where}</dd> </dl> </vb:if> <vb:if condition="$prepared['lastactivitydate']"> <dl class="stats"> <dt>{vb:rawphrase last_activity}</dt> <dd> {vb:raw prepared.lastactivitydate}<vb:if condition="!$show['detailedtime']"> <span class="time">{vb:raw prepared.lastactivitytime}</span></vb:if></dd> </dl> </vb:if> <vb:comment> <dl class="stats"> <dt>{vb:rawphrase total_posts}</dt> <dd> {vb:raw prepared.posts}</dd> </dl></vb:comment> {vb:raw template_hook.profile_ministats_list} <vb:if condition="$prepared['avatarurl']"> <dl class="stats"> <dt>{vb:rawphrase avatar}</dt> <dd class="avatar"><img src="{vb:raw prepared.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw prepared.username}}" {vb:raw prepared.avatarsize} id="user_avatar" /></dd> </dl> </vb:if> </div> </div><!-- blockbody --> </div><!-- widget block mini_stats --> IF this isn't possible how would I make a Link such as www.sitename.com/1234bc say Viewing Index forumname with the forumname hyperlinked to the index of sitename? |
#4
|
||||
|
||||
I would guess you would remove the part that says "current_activity"
HTML Code:
<vb:if condition="$prepared['action']"> <dl class="stats"> <dt>{vb:rawphrase current_activity}</dt> <dd> {vb:raw prepared.action} {vb:raw prepared.where}</dd> </dl> </vb:if> |
#5
|
|||
|
|||
Quote:
The Super Admin set up two default themes, I was editing the Original vB default one not the default site one. The boss just told me. Thanks for your help. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|