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)

thecore762 08-28-2008 11:46 PM

Wired, I can't figured out for the life of me to get this thing installed properly, I keep getting the error on line 107 on global.php

Tell me what to edit, and where to go since I just got started off with vB.

Here is the exact error I get:
Quote:

Fatal error: Cannot pass parameter 2 by reference in /home/xxxxxx/public_html/forums/global.php(404) : eval()'d code on line 107

My website link: www.47r-squad.com

WetWired 08-29-2008 12:54 AM

Not sure how I missed that one.
Go to Activity Settings>Rank and Promotions, then set Promote in absence to No untill the next release.

dreads 08-29-2008 04:21 AM

isnt that in a defualt setting tat its set to "no"

thecore762 08-29-2008 05:39 AM

Yup, its set to no by default.
Anyways, I still need help with my issue, read post #: https://vborg.vbsupport.ru/showpost....&postcount=131

WetWired 08-29-2008 09:24 PM

You can only get that error on that line if the setting is set to yes. The only other thing I can suggest is to comment out the line causing the error untill I can fix it; unfortunately the fix requires rethinking the way I do it, so it'll take a bit of time.

To comment out the offending line, edit the global_start Activity Modification plugin, find
Code:

WWU002promoteUser($userinfo,0);
and replace it with
Code:

//WWU002promoteUser($userinfo,0);
I intend to post a release fixing this within the next week.

merk_aus 08-29-2008 10:33 PM

nice mod would come in helpful - that way i can reward those who have high activity - thanks

xyzmary2001 09-02-2008 11:05 AM

Geez, I found a very nasty problem and I had to uninstall. I really love this hack, and I want to know what to do to fix the issue.

In fact, when is enabled and a user tries to post, it appears a white page with novpostTD and one has to press "back" button and refresh in order to see what it posted.

Also, under the close threads appears a novPost message, this until I disable the hack.

Please, can you help me with this? I am quite puzzled why this happens and I like very much the hack.

technom8t 09-02-2008 11:15 AM

Quote:

Originally Posted by xyzmary2001 (Post 1612703)
Geez, I found a very nasty problem and I had to uninstall. I really love this hack, and I want to know what to do to fix the issue.

In fact, when is enabled and a user tries to post, it appears a white page with novpostTD and one has to press "back" button and refresh in order to see what it posted.

http://img367.imageshack.us/img367/2640/novpostiv2.jpg

Also, under the close threads appears a novPost message, this until I disable the hack.

Please, can you help me with this? I am quite puzzled why this happens and I like very much the hack.


does this problem occur on all styles? or just the 1 style, i have it workin on 10 styles on 3.7.3 with no problems at all, it sound like some sort of security token issue with a style, if u have a custom style try reverting the new post template, this may solve the issue, although do note that if you do this and it doesn't work you will have to reinstall the xml file for that style and also add any additional template changes you might have manually made to it before you reverted

thanks

xyzmary2001 09-02-2008 11:24 AM

I have checked now and it appears on all my skins, including the default one.

Also, I have to mention that I have used the second method (I installed the activity folder in misc for every style). I didn't do any template modification, just uploaded the folder and imported the product.

Thanks!

WetWired 09-02-2008 11:46 AM

I've never seen anything like this. If I had to guess, I'd think it meant that the AJAX request wasn't getting what it was expecting, but this is very much a guess. Can you look at your HTTP error log and see if any entries are added when you get this issue?


All times are GMT. The time now is 06:29 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.01253 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
  • (2)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