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)

Abe1 03-14-2008 01:34 AM

Quote:

Originally Posted by VodkaFish (Post 1463482)
I have the looping error. The thanks button, along with the thanks section itself is looping every post on a page.

Do you have vb3.6.7 installed? There will be a fix in the next version.

VodkaFish 03-14-2008 03:17 AM

Quote:

Originally Posted by Abe1 (Post 1464306)
Do you have vb3.6.7 installed? There will be a fix in the next version.

I'm running 3.6.8.

bchertov 03-14-2008 04:17 AM

I'm about to unsubscribe from this thread so I thought I'd leave some parting comments.

I've installed it in 3.6.8 and it works just fine! In addition, I offer my complements to Abe1 for an excellent job of implementing it, including to adhering to the latest VB coding conventions and standards.

So if its not working for you, I suggest you triple check your installation procedure. I forget if this has an auto-install option, but if it does, I wouldn't trust it. Just follow the steps in the installation instructions.

I hope vBulletin.com and vBulletin.org pick up this mod and implement in their forums, if it doesn't get wrapped up into the next version of VB.

HIGHLY RECOMMENDED!

Barry

carrlos 03-14-2008 05:53 AM

Excellent hack! My members love it. The only problem I had installing it is that the author assumes that the forum is in "/" for the post_thanks.php but I have my forum in "/forum". It took me about 5 minutes to figure out why it wasn't working but once I put that file in the right place, everything worked fine!!!

Abe1 03-14-2008 10:51 AM

Quote:

Originally Posted by VodkaFish (Post 1464355)
I'm running 3.6.8.

Everything is 2 times or more?

VodkaFish 03-14-2008 12:30 PM

Quote:

Originally Posted by Abe1 (Post 1464534)
Everything is 2 times or more?

It's rolling per post on the page. So the first post on a page will have 1 (in other words, it works fine), the second has 2 (itself and the first), the third 3. By the 15th you have 15. It starts fresh on the next page.

Abe1 03-14-2008 04:57 PM

Quote:

Originally Posted by VodkaFish (Post 1464564)
It's rolling per post on the page. So the first post on a page will have 1 (in other words, it works fine), the second has 2 (itself and the first), the third 3. By the 15th you have 15. It starts fresh on the next page.

ACP -> Plugins & Products -> Plugin Manager

There are 2 'postbit_display_start' under Post Thanks Hack. Click on each and stay on the one that is set Execution Order to 1.

Replace the whole thing with:

PHP Code:

    $template_hook[postbit_userinfo_right] = '';
    
$template_hook[postbit_controls] = '';
    
$template_hook[postbit_end] = ''


VodkaFish 03-15-2008 12:10 AM

Thanks, that was just what I needed, all other tweaks I was able to make on my own.

dancue 03-15-2008 06:54 PM

Abe,
How would I disable the data from the postbit and postbit legacy? I would like to just leave it on the profile.

Abe1 03-16-2008 02:18 AM

Version 7.3 (03/15/08):
  • Updated file: functions_post_thanks.php
  • Updated template: post_thanks_memberinfo_block
  • Deleted template: post_thanks_memberinfo_css
  • New option: Choice to use Markup Usernames or not. (Thanks to Namaless)
  • New option: Ban User from Getting Thanks
  • New option: Max Thanks a User can Give Per Day
  • FIX Fixed repeating bug on vb 3.6.7 forums.
  • CHANGE Changed where the post thanks info shows on the Profile Page. Moved to same box as statistics. (This will require a template edit if you are running vb3.7 beta 2-4)


All times are GMT. The time now is 06:19 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.03066 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
  • (5)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