vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - [AJAX] Post Groan Hack (https://vborg.vbsupport.ru/showthread.php?t=129975)

Abe1 05-21-2007 01:07 PM

Quote:

Originally Posted by madbrit (Post 1251837)
Seemed to install OK... can change settings in AdminCP.

I get the following error message when I try and click on ANY Post/Thread to see if I can "groan"


Fatal error: Call to undefined function: can_thank_this_post() in /home/wclangam/public_html/Forums/includes/class_postbit.php(296) : eval()'d code on line 158


Any ideas?

I have it turned off at the moment... and all is well again


Brit

Disable the option integrate with Post Thanks Hack.

josiespencer 05-21-2007 02:59 PM

Quote:

Originally Posted by Abe1 (Post 1252040)
Disable the option integrate with Post Thanks Hack.

I did this as stated previously, and it did not resolve the issue. So there is no point in asking madbrit to do the same.

madbrit 05-21-2007 03:10 PM

I did check the AdminCp option...just to make sure. It is turned off - same as Josie.

I would look at line 296 myself... but counting lines isnt always exact with my Cpanel tools my server guys give me.

Any further thoughts would be greatly appreciated

Cheers

Brit

josiespencer 05-21-2007 03:34 PM

Evrsoft counts them for me but you can never be sure it that line count includes comments, unexpanded includes, etc. But if it helps, line 296 is the line after the "//execute hook" line:

PHP Code:

// finish prepping the post
$this->prep_post_end();

// execute hook
($hook =& vBulletinHook::fetch_hook('postbit_display_complete')) ? eval($hook) : false;

// evaluate template
$postid =& $post['postid'];
eval(
'$postbit = "' fetch_template($this->templatename) . '";');

eval(
'$retval = "' fetch_template('postbit_wrapper') . '";');

return 
$retval


madbrit 05-21-2007 03:36 PM

I Guess I could try and just install the Thank you hack... but for a few reasons wasnt so interested in this feature

Hope to solve it without installing the thank you

Brit

josiespencer 05-21-2007 03:41 PM

I'm not interested in adding the Thank You hack either, and hope that won't become a pre-requisite.

ymy 05-21-2007 04:15 PM

Thanks for Update


YmY

.

suraev 05-21-2007 05:18 PM

Abe1, very nice Mod.

I think it can replace the reputation button, since most reputation comments are useless and there is no a real need to keep them.

Could you please add the setting, so that reputation points that a user receives being thanked/groaned will be determined by reputation power of thanker/groaner? Now it is determining by fixed constant in admin control panel, but it will be nice if it will act just like the original reputation button works ("thanks" add an amount equal to reputation power of thanker, "groan" subtracts amount equal to 1/2 of reputation power of groaner).

Thus we can get rid of reputation button and stay with "thanks/groan".

RTFA 05-21-2007 09:02 PM

Getting this error:

Fatal error: Call to undefined function: can_thank_this_post() in /hsphere/local/home/toddro19/bamauniverse.com/forums/includes/class_postbit.php(296) : eval()'d code on line 166

Dont have TY hack installed

josiespencer 05-21-2007 10:18 PM

Well, at least it seems to be consistent.


All times are GMT. The time now is 11:33 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.01302 seconds
  • Memory Usage 1,744KB
  • 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
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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