vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - Activity Modification (https://vborg.vbsupport.ru/showthread.php?t=177366)

-=Leb=- 08-25-2008 01:48 PM

Nice work and thx for the update :)

john102774 08-26-2008 07:03 AM

I'm using vb 3.7.2 pl2

The problem is when I go to the stats page and I try to veiw the secound or third page it takes me to the main page.

WetWired 08-26-2008 11:19 AM

Quote:

Originally Posted by john102774 (Post 1604265)
Quote:

Originally Posted by butch3r (Post 1502131)
Open template "activity_navbar" and replace it with

Code:

                <td class="vbmenu_control"><a href="forum.php?$session[sessionurl]do=activitystat">$vbphrase[WWU002_stats_short]</a></td>

Thank you!

Quote:

Originally Posted by john102774 (Post 1607139)
I'm using vb 3.7.2 pl2

The problem is when I go to the stats page and I try to veiw the secound or third page it takes me to the main page.

I believe your second problem is related to your first one. You should not need to change activity_navbar in the release version in order for it to point to the correct page. Make sure that AdminCP>vB Options>Forums Home Page Options>Script Name for Forum Home Page is set correctly. If the code in the quote worked for you, it should say "forum", not "index"

john102774 08-27-2008 05:59 AM

Quote:

Originally Posted by WetWired (Post 1607287)
I believe your second problem is related to your first one. You should not need to change activity_navbar in the release version in order for it to point to the correct page. Make sure that AdminCP>vB Options>Forums Home Page Options>Script Name for Forum Home Page is set correctly. If the code in the quote worked for you, it should say "forum", not "index"

Thanks for the response Wet, However I have vBadvanced CMPS v3.0.1 as my main page. Which throws the link off a bit.

Main page = index.php
Page with all threads = forum.php

Is there a workaround for me to get it to work?

Thanks again :)

WetWired 08-27-2008 11:48 AM

I just told you.
Quote:

Make sure that AdminCP>vB Options>Forums Home Page Options>Script Name for Forum Home Page is set correctly. If the code in the quote worked for you, it should say "forum", not "index"
The purpose of this stock vB setting is tell the forum software where the forum index page is, because they know you might have something else as index.php . Following this established convention, the Activity Mod uses this setting in all links to the Top Activity page.

SSJB_7 08-27-2008 10:12 PM

Thank you very much you are the best is working just fine thanks again

john102774 08-28-2008 02:57 AM

Quote:

Originally Posted by SSJB_7 (Post 1608531)
Thank you very much you are the best is working just fine thanks again

+1.

It's kinda tricky but here it goes.

I want the Vba page to be the main page when members logs in (index page). On the index page lies a link called forum which take you to a page that displays a list of categories etc.

If I set the AdminCP>vB Options>Forums Home Page Options>Script Name for Forum Home Page, to forum, it works but the default page that members will be directed to when loggin on will be the page with all the categories.

However if I set the AdminCP>vB Options>Forums Home Page Options>Script Name for Forum Home Page to index it no longer works but, members who log in will be able to view the page that I want.

Sorry if I caused any confusion. Thanks for the help. yep I'm a noob.. haha

WetWired 08-28-2008 11:37 AM

Well if that's the case, you'll have to manually edit the mod. Go to Admin CP>Plugins & Products>Plugin Manager. Edit each of the plugins starting with "Top Activity", replacing each occurance of
Code:

$vbulletin->options['forumhome']
with
Code:

'forum'
(with the single quotes)

I would suggest that you inquire at vbadvanced.com about an alternate means of making the login redirect propperly.

john102774 08-28-2008 03:56 PM

Quote:

Originally Posted by WetWired (Post 1608970)
Well if that's the case, you'll have to manually edit the mod. Go to Admin CP>Plugins & Products>Plugin Manager. Edit each of the plugins starting with "Top Activity", replacing each occurance of
Code:

$vbulletin->options['forumhome']
with
Code:

'index'
(with the single quotes)

I would suggest that you inquire at vbadvanced.com about an alternate means of making the login redirect propperly.

Unfortunately that didn't work. I will take your suggestion and inquire at vbadvanced.

Thanks for all your help! GREAT Mod! :up:

WetWired 08-28-2008 10:24 PM

Err, I meant to say replace with 'forum' o_0. Not sure how I mixed that up.


All times are GMT. The time now is 07:58 PM.

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.02634 seconds
  • Memory Usage 1,746KB
  • 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
  • (5)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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