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)

stinger2 04-22-2006 08:23 AM

Quote:

Originally Posted by Abe1
$post_thanks_button_image is in the post_thanks_button template. I would ahve to see your acp to see why it doesn't work.

thanks Abe1......but i sstill use 3.4 in the live forum......i did not do the upgrade there...i am testing it in my PC ......

i can copy what ever you like from my ACP in the pc for you........i dont know how to give you access there...

mfizzel 04-22-2006 05:21 PM

Abe, everything works great with the new version but my members have discovered a new error - the counter which displays how many posts they've been thanked in is not updating.

for ex. the member that brought this to my attention, I thanked his post, refreshed the page and he had still been thanked in the same amount of posts...

make sense?

saba 04-22-2006 05:38 PM

does it work with the hide hack

Abe1 04-23-2006 01:18 AM

Quote:

Originally Posted by NeutralizeR
Uncached template post_thanks_box while viewing a pm.

Will fix.

Abe1 04-23-2006 01:20 AM

Quote:

Originally Posted by Za4a Tuner
Hy Abe1,
i did the changes before i updated ->
and i did them now again =>
but the button want appear!

my way now:
first i did all all the templateschanges undone (reset of the templates: postbit, memberinfo and navbar),
and then i put the code of this hack (install.txt) back to the templates!

But i get no button to klick,
and the Link (Find all thanked posts by "username") is still "broken".

I'd have to look at your ACP.

Abe1 04-23-2006 01:21 AM

Quote:

Originally Posted by stinger2
thanks Abe1......but i sstill use 3.4 in the live forum......i did not do the upgrade there...i am testing it in my PC ......

i can copy what ever you like from my ACP in the pc for you........i dont know how to give you access there...

If you gave me your IP address I would be able to get in.

Abe1 04-23-2006 01:23 AM

Quote:

Originally Posted by mfizzel
Abe, everything works great with the new version but my members have discovered a new error - the counter which displays how many posts they've been thanked in is not updating.

for ex. the member that brought this to my attention, I thanked his post, refreshed the page and he had still been thanked in the same amount of posts...

make sense?

Will look into.

Abe1 04-23-2006 01:23 AM

Quote:

Originally Posted by saba
does it work with the hide hack

I didn't come up with an update for that hack yet. I'm sre if you refresh it should work.

chexx 04-23-2006 11:46 AM

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...

bashy 04-23-2006 12:21 PM

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


All times are GMT. The time now is 01:01 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.02999 seconds
  • Memory Usage 1,745KB
  • 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
  • (6)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