PDA

View Full Version : How would I Remove Current Activity altogether?


Brexen
11-06-2011, 09:54 AM
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 1320582879 at 1320582879 ---------------

Anyone?

Lynne
11-06-2011, 03:34 PM
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.

Brexen
11-06-2011, 06:34 PM
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.

I already knew this.

I want to know what part of the memberinfo_block_ministats template I have to remove.


<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?

Lynne
11-06-2011, 08:57 PM
I would guess you would remove the part that says "current_activity"

<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>

Brexen
11-06-2011, 09:42 PM
I would guess you would remove the part that says "current_activity"

<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>

It's ok Lynne, my mistake

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.