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 04-12-2007 12:09 PM

Quote:

Originally Posted by hornstar1337 (Post 1225712)
I have uploaded a pic to show you what i mean.

see how it has the asterix around the words. that means it is disabled im pretty sure.


I clicked on *[post_thanks_special_actions]* and then put in a user id who had thanked heaps of people for no reason, it said it processed each one fine. but if i put in that userid again, instead of not showing any, it says it processes each one again, which makes me believe it is not deleteing any thanks at all.

How do I fix this, because im not sure what you meant by acp navbar.

Can you upload a bigger pic? I can barely see this one.

kirstyd 04-12-2007 12:12 PM

We've just upgraded to 6.0 Gold, from 4.5

Code like <if condition="$thread[forumid]==22"> ... </if> works fine in the post_thanks_button template to show different images in different forums, but the same code is failing to work in the post_thanks_postbit template.

Any ideas? Debugging shows that the post_thanks_postbit is definitey being used, but $thread[forumid] doesn't seem to be set to anything.

thanks
kirsty

Abe1 04-12-2007 12:35 PM

Quote:

Originally Posted by kirstyd (Post 1225882)
We've just upgraded to 6.0 Gold, from 4.5

Code like <if condition="$thread[forumid]==22"> ... </if> works fine in the post_thanks_button template to show different images in different forums, but the same code is failing to work in the post_thanks_postbit template.

Any ideas? Debugging shows that the post_thanks_postbit is definitey being used, but $thread[forumid] doesn't seem to be set to anything.

thanks
kirsty

It is placed in a function now.

Try using the hook post_thanks_function_fetch_post_thanks_template_st art and put something like
global $thread;

and see if you get anything.

kirstyd 04-12-2007 12:53 PM

Quote:

Originally Posted by Abe1 (Post 1225891)
It is placed in a function now.

Try using the hook post_thanks_function_fetch_post_thanks_template_st art and put something like
global $thread;

and see if you get anything.

Thanks for the speedy reply, that works just fine :up:

vampireus 04-13-2007 04:28 AM

I also have problem with the "thanks" button not show up. Installed on a clean forum.

Abe1 04-13-2007 04:35 AM

Quote:

Originally Posted by vampireus (Post 1226437)
I also have problem with the "thanks" button not show up. Installed on a clean forum.

Are you just looking at your posts? Do you have more then one template?

vampireus 04-13-2007 05:19 AM

I uploaded every files and edited templates as told in the Instruction. I check other posts, but the button do now show up.

Here are some images.

Hornstar 04-13-2007 08:53 AM

I have a problem at the top of my forum it is saying Warning: Invalid argument supplied for foreach() in /includes/functions_post_thanks.php on line 190

here is a thread one of my members posted about this problem http://www.gamerzneeds.net/forums/ge...ding-page.html

Only occured upon upgrading.

dj_melayu 04-13-2007 10:32 AM

I don't get anything when I go to post_thanks.php. I get a blank page. Is it the statistic page?
I've also get a blank page if I click for Find All post thanks by this user. :)

q8-star 04-13-2007 11:06 AM

I had this hack for a long time now, and I've just enabled the option to enable reputation when thanked.

But I was wondering since there is old thanks, how can I update the counters so it does count those thanks as reputation?


All times are GMT. The time now is 08:34 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.06048 seconds
  • Memory Usage 1,744KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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