Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-06-2011, 09:54 AM
Brexen Brexen is offline
 
Join Date: Jul 2011
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 11-06-2011, 03:34 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 11-06-2011, 06:34 PM
Brexen Brexen is offline
 
Join Date: Jul 2011
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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.

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?
Reply With Quote
  #4  
Old 11-06-2011, 08:57 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #5  
Old 11-06-2011, 09:42 PM
Brexen Brexen is offline
 
Join Date: Jul 2011
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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>
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:08 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03996 seconds
  • Memory Usage 2,209KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (2)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete