vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Show Thread Enhancements - [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=165673)

BonsaiNut 09-15-2011 05:30 PM

I am having trouble getting this hack to work on my site (www.bonsainut.com).

I am running vB version 3.8.4 v 2
I downloaded Post Thanks Hack 7.7

I installed the Mod:
I uploaded the files via FTP
I installed it via the Product Manager in my control panel
I hit "install" in this thread :)

It shows up in my vB Options Menu
I checked the options and make sure everything is turned "on"
But I don't see any "thanks" button on the posts

Interestingly, if I check my User CP, and my user Statistics, the Posts Thanked list shows up in my statistics (current count zero). But otherwise I cannot detect Post Thank You functionality anywhere on my site.

I assume there is a conflict with another Mod, or some customization code (?) but for the life of me I can't figure it out. I am not receiving any error codes...

Simon Lloyd 09-15-2011 06:02 PM

Quote:

Originally Posted by BonsaiNut (Post 2246422)
I am having trouble getting this hack to work on my site (www.bonsainut.com).

.........But I don't see any "thanks" button on the posts

Interestingly, if I check my User CP, and my user Statistics, the Posts Thanked list shows up in my statistics (current count zero). But otherwise I cannot detect Post Thank You functionality anywhere on my site.

I assume there is a conflict with another Mod, or some customization code (?) but for the life of me I can't figure it out. I am not receiving any error codes...

I think you'll find that you just have the path to the images wrong :)

BonsaiNut 09-15-2011 06:09 PM

Quote:

Originally Posted by Simon Lloyd (Post 2246435)
I think you'll find that you just have the path to the images wrong :)

Can you be more specific? If not, I can go searching :) Thank you for the help so far :)

BonsaiNut 09-15-2011 08:02 PM

Quote:

Originally Posted by Simon Lloyd (Post 2246435)
I think you'll find that you just have the path to the images wrong :)

Ok let me rephrase what I said :) I know I have a custom folder for images (buttons). I have installed the post thank you files in BOTH FOLDERS - the default AS WELL AS my custom folder. The mod does not work.

Do I have to modify the Post Thank You code in order to point it to a different folder? Or do I need to return my vBulletin install to default folders in order to get the Mod to work?

Simon Lloyd 09-15-2011 08:16 PM

The image will look like this
HTML Code:

<img src="$stylevar[imgdir_button]/post_thanks.gif" alt="$vbphrase[post_thanks_thanks]" border="0" />
Just to prove whether it's that change it for the full url so
HTML Code:

http://www.mysite.com/forums/style/images/buttons/post_thanks.gif
And see if that makes a difference :)

BonsaiNut 09-15-2011 09:04 PM

Quote:

Originally Posted by Simon Lloyd (Post 2246478)
The image will look like this
HTML Code:

<img src="$stylevar[imgdir_button]/post_thanks.gif" alt="$vbphrase[post_thanks_thanks]" border="0" />
Just to prove whether it's that change it for the full url so
HTML Code:

http://www.mysite.com/forums/style/images/buttons/post_thanks.gif
And see if that makes a difference :)

Ok just to be 100% certain that I am doing this correctly...

I went into the Post Thank You Hack Templates
I opened the template for post_thanks_button
The original code looked like:
<img src="$stylevar[imgdir_button]/post_thanks.gif" alt="$vbphrase[post_thanks_thanks]" border="0" />
I edited to this:
<img src="http://www.bonsainut.com/forums/images/bonsainut/buttons/post_thanks.gif" alt="$vbphrase[post_thanks_thanks]" border="0" />

It still does not work :( I checked the above hard-coded directory, and the button IS in that directory. Thank you for your help!

[EDIT]

Ok... interestingly I was playing around with postbit and postbit_legacy, and by moving code around I could get the button to display... but still no functionality. I would click on the button, but the display would not change to show "thanks"...

Simon Lloyd 09-16-2011 09:47 AM

Have you got all ajax enabled on your site? AdminCp>vBulletin Options>General Settings>Disable Ajax Features>Enable All Ajax features

Remember that this mod does conflict with other mods that use ajax!

BonsaiNut 09-16-2011 01:06 PM

Quote:

Originally Posted by Simon Lloyd (Post 2246681)
Have you got all ajax enabled on your site? AdminCp>vBulletin Options>General Settings>Disable Ajax Features>Enable All Ajax features

Remember that this mod does conflict with other mods that use ajax!

Yes, I do have Ajax enabled.

I assume the conflict I am having is with my custom design. In retrospect, I wish I had run with something a little more generic. I think I am going to upgrade my site to 4.0, and at that point use very limited customization...

Simon Lloyd 09-16-2011 02:38 PM

Well i don't know that vb4 is the way to go, ideally you should find out why iy's not working with yours as it could spell trouble later for other mods...etc

Pocket Aces 09-29-2011 04:59 PM

still doesn't have the option to delete all thanks a single user received?


All times are GMT. The time now is 12:20 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.03324 seconds
  • Memory Usage 1,747KB
  • 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
  • (4)bbcode_html_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