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 Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=122944)

Big-K 11-28-2007 06:24 PM

Quote:

Originally Posted by Big-K (Post 1390431)
I'm getting the Warning: Invalid argument supplied for foreach() in /includes/functions_post_thanks.php on line 183 error

Did a recounter and still having the issue

Please help

Anyone has ideas?

Pathfinder 11-28-2007 08:09 PM

Awesome it is my favorite mod :)

Abe1 11-29-2007 09:47 AM

Quote:

Originally Posted by BadgerDog (Post 1385524)
Installed and testing .... :up:

How does one get the graphic "Thanks" button to match our style, instead of being the standard default vBulletin colors?

Thanks ... :)

Regards,
Badger

Edit: Tested....

There's some kind of problem with Horizontal and Vertical postbit templates....

This phrase:



Appears under the UserName information etc, in the Horizontal post bit template, even when the mod is turned OFF. Ironically, it doesn't appear at all in the Vertical postbit template, whether the mod is turned OFF or ON. Anyone else notice this and have a fix? :confused:

Check your templates. Make sure the template hooks are there.

Abe1 11-29-2007 09:49 AM

Quote:

Originally Posted by pvalderh (Post 1385615)
Couldnt find any info on this, but the users of our forum who uses Opera cant get this feature to work. Simply nothing happens when they click the button. It works fine in IE, FF, Safari, but not in Opera.

Are there any known issues with this hack and Opera? Or maybe it is Ajax in Opera?

First time hearing about this. If AJAX was turned off for a users, the hack should still work, but just refresh. I dont know what the problem would be though.

Abe1 11-29-2007 09:50 AM

Quote:

Originally Posted by oldengine (Post 1385831)
Thanks version 6.3
vBulletin 3.6.8 PL2

Is there a shell command line that can run the install/uninstall?

Try installing via FTP option.

Abe1 11-29-2007 09:51 AM

Quote:

Originally Posted by tei727 (Post 1386817)
It's been requested at my forum that we add a Post Fail button to ride along side of the [AJAX] Post Thank You Hack while keeping the Thanks hack. Does this inspire anyone?

Check out my post groan hack.

Abe1 11-29-2007 09:52 AM

Quote:

Originally Posted by rinkrat (Post 1386951)
I just pruned a bunch of messages and everyone is pissed because it removed their thanks for those messages. Is there any way to have the thanks remain after a message is pruned?

Will look into it. I may make it an admin option to turn on and off.

Abe1 11-29-2007 09:58 AM

Quote:

Originally Posted by Antivirus (Post 1387129)
Abe, nice work here :) . I'm looking to mod this so each post can only be thanked once. Is there already a conditional setup in your mod which checks for this or do I need to set one up? I imagine i would place this conditional within the function add_thanks() to exit if a post has already been thanked. Is there something placed within the $postinfo array already which I can use the conditional upon already or would I need to add that myself?

I would add it to a hook 'post_thanks_function_can_thank_this_post_start' in 'can_thank_this_post'.

Add:
PHP Code:

if ($postinfo['post_thanks_amount'] > 0)
{
    return 
false;



Abe1 11-29-2007 09:59 AM

Quote:

Originally Posted by chompychan (Post 1387249)
I just have a question that I assume can only be answered here:

I had reputation disabled on my forum for a long time, with this hack active. I have just recently enabled reputation and I am wondering if it is at all possible to somehow convert currently "thanked" posts into reputation points?

My most thanked members are stuck with low reputation at this point you see.

Is this possible through any SQL queries or combination of recounters?

I'm sure it can be done but would need a php script to run the mysql so it can calculate correctly.

Abe1 11-29-2007 10:00 AM

Quote:

Originally Posted by jafari (Post 1387518)
After update from 6.0 Gold to 6.3,
Box in bottom of post which show where thanks for this post not shown and also button of thanks !

Please help

Go read all the txt files in the zip.


All times are GMT. The time now is 04:56 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.03010 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
  • (1)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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