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)

hawspipe 08-20-2008 01:39 PM

Hi,
I really like this mod, however, I can't get the "Top Activity Page" to display or show the link anywhere. Do you have ideas on where I can start to figure out what is going on?

WetWired 08-20-2008 05:23 PM

It's disabled by default. Have you turned it on in the Top Activity settings?

hawspipe 08-20-2008 06:04 PM

Yes, I've double checked all of the setting, tried re-installing and still can't get it to show up.

WetWired 08-20-2008 11:22 PM

Is it just the link that's not showing, or does viewing index.php?do=activitystat not work either?

If you could go to AdminCP>Maintenance>Activity Maintenance and post the results of the configuration diagnostic, that would give me a better picture of what might be going on.

hawspipe 08-20-2008 11:45 PM

Yes, I tried accessing it via index.php?do=activitystat and all it does it take me back to the home page.

Versions
vBulletin version: 3.7.2
Activity mod version: 3.00

Settings
Activity today: Yes Yes Yes
Postbit style: Alternate location
Profile style: Both
Ranktext: Yes
Top activity: Yes Yes

Template hooks
Style p1 p2 p3 pl1 pl2 pl3 u1 u2 n
MASTER STYLE Y Y Y Y Y Y Y Y Y
--Default Style Y Y Y Y Y Y Y Y N

WetWired 08-21-2008 11:33 AM

Well, the link isn't showing because your navbar template doesn't have the template hook for it. The link is added to $template_hook[navbar_buttons_left]. Assuming your navbar changes are just new/rearanged links, you should revert your navbar and redo your changes, being carefull not to remove any template hooks, since this will affect other mods you might install, too.

As for the page itself, that situation is most odd. The only thing I can think of is that some other mod is changing $_REQUEST['do'] or also uses the forumhome_start plugin and is returning. I suggest turning off all other mods and see if the problem persists. If not, turn them on one by one untill the problem comes back; the one you just turned on when it stops working is probably the problem.
Depending on the cause, you may be able to work arround the problem by going to Plugins&Products>Plugin Manager, finding the Activity Modification forumhome_start plugin, editing it and setting the execution order to 1.

john102774 08-22-2008 05:46 AM

Great hack! Thank you.

I'm running, VB3.7.2 PL2

john102774 08-22-2008 06:53 AM

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!

meissenation 08-25-2008 11:06 AM

I saw in a previous post someone brought this up and it was somewhat disregarded -- but this should not be ignored. My PHP Error log is swollen from the amount of errors this modification is creating.

Code:

PHP Warning:  Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of WWU002promoteUser().  If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in global.php(405) : eval()'d code on line 542
My first error of this occurred when it was installed on August 20, 2008 at 9:04am. In my log file, it's line 7659. Scroll massive amounts down and my last entry in the PHP Error log currently is at 517423 -- 99.999% of the errors between 7659 and 517423 is this same Call-time pass-by-reference error message. In only 5 days, this error has created over 500,000 lines of errors -- or 100,000 per day. Please fix or advise what to do to fix the error because 100,000 error lines per day is just rediculous and unnecessary.

WetWired 08-25-2008 11:31 AM

How was it disregarded? I indicated that I found and corrected the error for the next version, I just didn't feel that it was important enough to release a version with only that change. Since there haven't been any other issues, I guess I'll make a release with just that...


All times are GMT. The time now is 06:11 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.04014 seconds
  • Memory Usage 1,741KB
  • 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
  • (2)bbcode_code_printable
  • (1)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