vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=92410)

Abe1 04-23-2006 12:48 PM

Quote:

Originally Posted by chexx
Hi Abe,
cool pice...

Worked fine on a fresh 3.5.4 installation, but I had a problem when switching on the "Add Template Name in HTML Comments" feature. Got some strange errors in my browser and tracked them down to the "$post_thanks_button_image" template which gets included within a client script. The vb added comments around the template messed up in my browser...

As I'm new to vb - also new to web development so the comments help me alot - I solved this by changing two PlugIns

Code:

"Hook Location : postbit_display_start":
find: fetch_template('post_thanks_button_image')
repl: fetch_template('post_thanks_button_image',0,false)

"Hook Location : showthread_start":
find: fetch_template("post_thanks_button_image")
repl: fetch_template("post_thanks_button_image",0,false)

With this the "$post_thanks_button_image" template gets included w/o the comments, so this works fine for me. Did this on my local board, so side effects won't harm. Just wanted to say thank's and let you know...

I know about this problem. I'm about to releace an update with it fixed.

Abe1 04-23-2006 12:49 PM

Quote:

Originally Posted by bashy
I have just updated to the latest version as it was showing green....
Now its totally screwed my forum, When i click the thanks button it puts the whole forum in the the post that i am thanking?

I have to refresh the page to get rid of it and there is no thanks for the post showing on the post

Try the update i'm about to release. If still bad, I'll have to look at your forum.

Abe1 04-23-2006 12:52 PM

Version 4.2 (4/23/06):
  • [FIXED] If you have vboption 'Add Template Name in HTML Comments' set to 'Yes', button was not showing.
  • [FIXED] Uncached template when viewing a PM
  • [FIXED] Getting sent to index page when clicking thanks on some forums.
  • [FIXED] Link to member's profile from the thank box.
  • [FIXED] The post thank count not updating. (Recommend you recount thanks. (ACP->Maintenance->Update Counters)

I believe this takes care of all current bugs. Please report here again if I didn't fix one.

I hope to add the 'limit/control how many thanks to show' will hopefully be added to a later version.

redlabour 04-23-2006 01:04 PM

Works great at me now.

bashy 04-23-2006 01:23 PM

Still the same Abe,
I will take the liberties and pm you admin if thats ok :)

Quote:

Originally Posted by Abe1
Try the update i'm about to release. If still bad, I'll have to look at your forum.


stinger2 04-23-2006 02:18 PM

Quote:

Originally Posted by Abe1
If you gave me your IP address I would be able to get in.


thanks Abe1

just read your comment and saw the update.........so i just imported 4.2 xml
and the button is showing perfectly now....

just for testing ..i reimported 4.1..button gone......reimported 4.2 button shows........

so i suppose the last fix had to do with it.....

thank you very much for the excellant support

Za4a Tuner 04-23-2006 11:21 PM

Hy Abe1,
thanks a lot for the new release => it works great!
Now the thanks-button does appear ;)

And my "reported bug" with the broken link in the "public profil" ... forget it :D
i had some bad days -> and didn't recognized, that the testuser in the testvb don't HAVE any thanks to show :D

? "clicked install for the update" ;)

efil 04-24-2006 06:31 PM

hi,
i did installed the Hack and it's working great.

my problem is that when i push the thanks button i get ?????????????? signs instead of "the following user say thank you for this useful post..."

just after i do refresh i get the sentence in hebrew.

https://vborg.vbsupport.ru/external/2006/04/6.gif


please help.

YLP1 04-25-2006 08:39 PM

I installed the latest version of the Thank You, Groan and the can't have groan and thank you mods.

I reverted all the mod templates (vb version is 3.5.4). All works except for the issue with the IE errors and the Thank you button on removing the thanks:

When I click on the thank you, no redirection occurs,the Thank You button is gone, the groan button is present and I receive an IE error (see graphic 1_1.gif).

I have to refresh my page in order to see the thank you given (see graphic 21.gif)

When I try to remove a thank you via the your thanks link.... no action is taken but I do receive an IE error (see graphic 3_1.gif for IE error and graphic that shows the Thank You still there after clicking "remove your thanks" link)

I am able to add a groan and remove a groan with no errors or IE errors.

I don't know what I did to break this but I did do a uninstall and reinstall but get the same issue.

Please advise on how I can fix this.

Thank you in advance.

Abe1 04-25-2006 08:58 PM

Quote:

Originally Posted by YLP1
I installed the latest version of the Thank You, Groan and the can't have groan and thank you mods.

I reverted all the mod templates (vb version is 3.5.4). All works except for the issue with the IE errors and the Thank you button on removing the thanks:

When I click on the thank you, no redirection occurs,the Thank You button is gone, the groan button is present and I receive an IE error (see graphic 1_1.gif).

I have to refresh my page in order to see the thank you given (see graphic 21.gif)

When I try to remove a thank you via the your thanks link.... no action is taken but I do receive an IE error (see graphic 3_1.gif for IE error and graphic that shows the Thank You still there after clicking "remove your thanks" link)

I am able to add a groan and remove a groan with no errors or IE errors.

I don't know what I did to break this but I did do a uninstall and reinstall but get the same issue.

Please advise on how I can fix this.

Thank you in advance.

I think I know why you would get the error. It has to do with the hack that blocks someone from thanking and groaning. I didn't release an update for it yet. I hope to in the near future.


All times are GMT. The time now is 12:41 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.01748 seconds
  • Memory Usage 1,752KB
  • 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_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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