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-08-2007 01:28 AM

Quote:

Originally Posted by efil (Post 1221649)
Hi,
After the upgrade the ajax is not working.

Quote:

Originally Posted by Danny Boy (Post 1221734)
Excellent hack, thank you for the update, Abe. :)

I have one question, is it normal for the entire page to refresh when you give or remove a thanks? This never happened in the 5.x series.

Thank you,
Dan

Make sure you uploaded all the files and did all the template edits.

menababu 04-08-2007 02:44 AM

Thanks .installed and working great on 3.6.5

big dan 04-08-2007 02:57 AM

Quote:

Originally Posted by Abe1 (Post 1222379)
Make sure you uploaded all the files and did all the template edits.

Thank you a reupload of all files did the trick. :)

redlabour 04-08-2007 12:47 PM

BUG

At every "Thanks" that i will give i get the "No Permission" Screen. After getting back and refreshing the "Thanks" i want to give is given.

I have updated and done all Templateedits.

Abe1 04-08-2007 04:13 PM

Quote:

Originally Posted by redlabour (Post 1222630)
BUG

At every "Thanks" that i will give i get the "No Permission" Screen. After getting back and refreshing the "Thanks" i want to give is given.

I have updated and done all Templateedits.

I wouldn't call it a bug, since it seems like a problem on your end only. If I can view your ACP I can try to figure out the problem with the installation.

mktrilogy 04-09-2007 06:40 AM

Thanks for this hack.

tobybird 04-09-2007 03:49 PM

I've modified this ever so slightly to make it "girly" as my forum is for women. Anyway, I launched it about 10 minutes ago and my members LOVE it. Thanks and great job!! :up:

cirdok2 04-10-2007 04:55 AM

Just 3 questions :o :

1) is it possible to count the "thanks" as replies in the forum home?
2) a post that has been just thanked, doesn't go up, but I'd like it to go up

EDIT: just found this that I guess answers my questions... :(
https://vborg.vbsupport.ru/showpost....&postcount=363

3) is it possible to customize the thanks, allowing users to insert a small phrase? (so they can say "thanks", "good job", "bravo"!", as they wish...)

Thanks :)

foulplay 04-10-2007 12:45 PM

For some reason on GARS Comment, I use the postbit template and I'm receiving this error in which I never encountered from this previous post thanks upgrade:

Warning: Invalid argument supplied for foreach() in /includes/functions_post_thanks.php on line 190

What is causing this? I've reuploaded all the files and did the template edits. At the moment this hack is disabled until a fix comes up.

romanticyao 04-10-2007 09:28 PM

from my exp, for those having problem with the upgrade, do the following will solve the issue...

step one: reupload all the files

step two: import xml file again(very important...)

koolasia 04-10-2007 09:37 PM

i am having a problem

even after enabling the mod i cant see thanks button

dbirosel 04-10-2007 09:40 PM

Quote:

Originally Posted by koolasia (Post 1224476)
i am having a problem

even after enabling the mod i cant see thanks button

Did you upload the post_thanks.gif in the correct directory?

koolasia 04-10-2007 09:49 PM

Quote:

Originally Posted by dbirosel (Post 1224481)
Did you upload the post_thanks.gif in the correct directory?

yes in my skins button folder i even edited it later and added the url of the image but it still didnt work

SuperJesus 04-10-2007 11:46 PM

I'm having some problems..
1. I can't remove thanks
2. the name of the person who clicks thanks doesn't show up
3. The "thanks" box shows up twice in the thread

Screen Shot
http://img201.imageshack.us/img201/4840/hacktb1.jpg

i've reuploaded all the files, recheked the edits. No luck.

Abe1 04-11-2007 12:36 AM

Quote:

Originally Posted by ant0nio (Post 1224133)
For some reason on GARS Comment, I use the postbit template and I'm receiving this error in which I never encountered from this previous post thanks upgrade:

Warning: Invalid argument supplied for foreach() in /includes/functions_post_thanks.php on line 190

What is causing this? I've reuploaded all the files and did the template edits. At the moment this hack is disabled until a fix comes up.

No. Clue. I would have to check your ACP.

Abe1 04-11-2007 12:38 AM

Quote:

Originally Posted by SuperJesus (Post 1224558)
I'm having some problems..
1. I can't remove thanks
2. the name of the person who clicks thanks doesn't show up
3. The "thanks" box shows up twice in the thread

Screen Shot
http://img201.imageshack.us/img201/4840/hacktb1.jpg

i've reuploaded all the files, recheked the edits. No luck.

Seems like you have to fix your postbit. get rid of all post thanks edits and re-do them.

Abe1 04-11-2007 12:39 AM

Quote:

Originally Posted by koolasia (Post 1224476)
i am having a problem

even after enabling the mod i cant see thanks button

Are you only looking at your posts?

koolasia 04-11-2007 05:35 AM

Quote:

Originally Posted by Abe1 (Post 1224595)
Are you only looking at your posts?

nops i checked others btw does thanks mod work on all the old post also or only the new ones ?

ComputerForumz 04-11-2007 05:57 AM

just installed the mod, and it works fine, tks!
;)

Abe1 04-11-2007 02:18 PM

Quote:

Originally Posted by koolasia (Post 1224730)
nops i checked others btw does thanks mod work on all the old post also or only the new ones ?

Should be all unless you set it other wise.

koolasia 04-11-2007 02:35 PM

Quote:

Originally Posted by Abe1 (Post 1224981)
Should be all unless you set it other wise.

Dunnoy y but it isnt working :confused:

Abe1 04-11-2007 03:54 PM

Quote:

Originally Posted by koolasia (Post 1224989)
Dunnoy y but it isnt working :confused:

I would have to look at your ACP.

koolasia 04-11-2007 04:10 PM

Quote:

Originally Posted by Abe1 (Post 1225048)
I would have to look at your ACP.

i had installed hide addon also can that cause a prob ?

Abe1 04-11-2007 05:04 PM

Quote:

Originally Posted by koolasia (Post 1225059)
i had installed hide addon also can that cause a prob ?

No clue

Hornstar 04-12-2007 04:28 AM

hey I just updated, i noticed that there is a new heading in the acp, but it has an asterix on either side eg. *[post_thanks]* and the headings under it all have * * as well. does this mean its not enabled? how do i fix this, as i want to use the special actions and not sure if it will work now.

homespun-bleach 04-12-2007 04:47 AM

Thanks a lot, I clicked install.
Ye're a genious, man.

Abe1 04-12-2007 05:02 AM

Quote:

Originally Posted by hornstar1337 (Post 1225610)
hey I just updated, i noticed that there is a new heading in the acp, but it has an asterix on either side eg. *[post_thanks]* and the headings under it all have * * as well. does this mean its not enabled? how do i fix this, as i want to use the special actions and not sure if it will work now.

Look in the ACP nav bar at the post thanks options.

Amorpho[US] 04-12-2007 06:43 AM

Hello.
How can I include this plugin only in certain sections of the forum?

Hornstar 04-12-2007 07:17 AM

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.

Abe1 04-12-2007 12:08 PM

Quote:

Originally Posted by Amorpho[US] (Post 1225699)
Hello.
How can I include this plugin only in certain sections of the forum?

There is an option to only allow this hack in some forums.

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 05:14 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.02973 seconds
  • Memory Usage 1,833KB
  • 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
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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