vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   activity remove as forum index (https://vborg.vbsupport.ru/showthread.php?t=303275)

Wajow-community 10-12-2013 12:39 AM

activity remove as forum index
 
Hello,

I would like to turn off the activity stream on the profile pages. It's about the 'My activity' tab, how am I able to do this?

En when i surf to my site that i see my forum/index.php en not /activity.php. i dont want it

ozzy47 10-12-2013 12:48 AM

This should do it.

Remove the following code from the template MEMBERINFO:

Code:

<vb:if condition="$blocks[activitystream]"><dd<vb:if condition="$selected_tab == 'activitystream' OR $selected_tab == ''"> class="userprof_module" <vb:else /> class="userprof_moduleinactive" </vb:if>><a id="activitystream-tab" href="{vb:link member, {vb:raw userinfo}, "tab=activitystream"}#activitystream" onclick="return tabViewPicker(this);">{vb:raw activity_phrase}</a></dd></vb:if>
Then you need to set a new default tab.

To make Visitor Messaging the default tab:
Create a plugin at member_execute_start with the following code:

Code:

$_REQUEST['tab'] = 'visitor_messaging';
Or if you'd prefer the "About Me" tab to be default:

Code:

$_REQUEST['tab'] = 'aboutme';

Wajow-community 10-12-2013 12:59 AM

its done to remove the profile activity thank god.

Butt what i now wwant is that when people vissit my forum http://forums.domein.com on my forumboard en not at http://forums.domein.com/activity.php

ozzy47 10-12-2013 01:01 AM

Check in, ACP --> Settings --> Options --> Site Name / URL / Contact Details

Wajow-community 10-12-2013 01:17 AM

thnx ozzy for helping me out again!

ozzy47 10-12-2013 01:18 AM

Not a problem, glad to help. :)

Wajow-community 10-12-2013 04:35 PM

Howe can i remove in member.php the last replied to a thread?

ozzy47 10-12-2013 04:45 PM

Screenshot of what you want to remove please. Point a arrow to the area.

Amaury 10-12-2013 05:17 PM

Quote:

Originally Posted by ozzy47 (Post 2452469)
Check in, ACP --> Settings --> Options --> Site Name / URL / Contact Details

Actually, you choose the default landing page in the Navigation Manager.

Wajow-community 10-12-2013 09:16 PM

1 Attachment(s)
Quote:

Originally Posted by ozzy47 (Post 2452684)
Screenshot of what you want to remove please. Point a arrow to the area.

Yes this what i mean look picture i have attached i dont want that in my profile what i have posted.


All times are GMT. The time now is 06:39 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.01023 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete