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)

scorpsy 09-21-2006 04:59 PM

Quote:

Originally Posted by GearTripper
NOTE: IF YOU ARE UPGRADING FROM A PRE 2.0 VERSION THAT WAS RUNNING ON A vBulletin v3.0 FORUM, RUN THESE 4 QUERIES MANUALY NOW.
--------------------------------------------------------------------
DELETE FROM `setting` WHERE `grouptitle` = 'post_thanks' AND `product` = '';

DELETE FROM `settinggroup` WHERE `grouptitle` = 'post_thanks' AND `product` = '';

DELETE FROM `phrase` WHERE `varname` LIKE '%post_thanks%' AND `product` = '';

DELETE FROM `template` WHERE `title` LIKE '%post_thanks%' AND `product` = '';
--------------------------------------------------------------------



I was running 3.0.12 & went strait to 3.6.1. I never removed the hack when I up graded.


Also when I get the right queries where do I run them?


Thanks for helping me ;)

big dan 09-21-2006 05:24 PM

Are there any plans to implement a "No thanks" addition? Where garbage posts would be given a thumbs down. Possibly reducing there thanks amount? I think that would make an excellent tie in.

Also, it would be nice if this could some how be integrated with the user rep system. Members on my board don't even bother with the rep system, if would tie say 10 thanks = 1 rep point that would be great.

Either way I'm satisfied with it just as it. It adds a great dynamic to my forum. :)

Abe1 09-21-2006 05:34 PM

Quote:

Originally Posted by scorpsy
I was running 3.0.12 & went strait to 3.6.1. I never removed the hack when I up graded.


Also when I get the right queries where do I run them?


Thanks for helping me ;)

Run these queries and then import the xml.

Abe1 09-21-2006 05:35 PM

Quote:

Originally Posted by Danny Boy
Are there any plans to implement a "No thanks" addition? Where garbage posts would be given a thumbs down. Possibly reducing there thanks amount? I think that would make an excellent tie in.

Also, it would be nice if this could some how be integrated with the user rep system. Members on my board don't even bother with the rep system, if would tie say 10 thanks = 1 rep point that would be great.

Either way I'm satisfied with it just as it. It adds a great dynamic to my forum. :)

Both are done already. This hack works with rep system, and there is a Post groan hack.

big dan 09-21-2006 05:47 PM

Quote:

Originally Posted by Abe1
Both are done already. This hack works with rep system, and there is a Post groan hack.

Thank you much, Abe.. I didn't even realize this was already implemented and out. :)

This place could really use the thanks hack ;)

scorpsy 09-21-2006 06:59 PM

Quote:

Originally Posted by Abe1
Run these queries and then import the xml.

How & where do I run them?


I tried the tools in the do not upload then run the xml still getting The same data base error:confused:

vivamexico55 09-22-2006 03:59 AM

Question:

How can I remove the "Thanked Posts/Thanked" bits that display in every user's post?
For instance in my forum it goes
USERNAME
(title)
(avatar)
Join date: 2006
posts: 55
Thanked: 1 *
Thanks received: 1

I'd like to remove that.

Quote:

Originally Posted by Abe1
Both are done already. This hack works with rep system, and there is a Post groan hack.

Also, where is this? I only found this for Vbulletin 3.5.4, not for 3.6.1

Thanks for your awesome work, it's pretty cool =)

oz_moses 09-22-2006 04:13 AM

Cheers Abe1, I've found an easy solution though as it looks like you've already worked this in.

What I did was configure the thanks to give +1 reputation. Then I enabled the rep system and hid the Rep icon from the postbit.

Now when someone get's thanked it shows up as new rep on the usercp with a link to the post. Easy as :)

Aylwin 09-22-2006 05:02 AM

Quote:

Originally Posted by vivamexico55
How can I remove the "Thanked Posts/Thanked" bits that display in every user's post?

If I'm not mistaken, simply remove the following from your postbit/postbit_legacy template:
Code:

$vbphrase[post_thanks_thanks]: $post[post_thanks_user_amount]
<br />


kushal 09-22-2006 08:00 PM

great mod. thank You

scorpsy 09-23-2006 07:01 PM

OK

I got it working after running the queries but now I have 2 thank you messages instead of one.

does anyone know why?

grc 09-23-2006 08:11 PM

Quote:

Originally Posted by GearTripper
post vB 3.6.1 upgrade, i am receiving this message atop my forums when a user clicks Find All Thanked Posts from within the navbar search and/or memberinfo...

I upgraded today and am seeing the same error. Was this ever resolved?

TygerTyger 09-24-2006 09:01 AM

Love this hack :) but I think someone already mentioned, it would be great to have the AJAX dealt with via a cached JS file as opposed to having all the code inline for each post, it adds a very substantial amount of extra code to the source.

Abe1 09-24-2006 11:28 PM

Quote:

Originally Posted by scorpsy
OK

I got it working after running the queries but now I have 2 thank you messages instead of one.

does anyone know why?

Make sure you didn;t make the template edits 2 times.

TygerTyger 09-25-2006 03:47 PM

I'm using this along with post groan and it's currently very easy to vote both on the same post just by clicking on one button then the other before the AJAX updates the button status. Is there any easy way to prevent this?

scorpsy 09-25-2006 04:10 PM

Quote:

Originally Posted by Abe1
Make sure you didn;t make the template edits 2 times.


Well I checked & did not see any doubles. I reverted just in case installed the hacks again works like a dream :) :)


Thanks guys for all your help one happy chap ;)

Abe1 09-25-2006 05:08 PM

Quote:

Originally Posted by TygerTyger
I'm using this along with post groan and it's currently very easy to vote both on the same post just by clicking on one button then the other before the AJAX updates the button status. Is there any easy way to prevent this?

Turn off the option to not allow users to thank and groan.

Mevo 09-25-2006 05:13 PM

Thank you...One of my favorite Modifications :cool:

RMS-Chef 09-26-2006 04:56 AM

I think I mentioned this before on the previous version's thread but I would love to see an addon to this hack with the ability to add a new column to FORUMDISPLAY next to "Replies" and "Views" that showed the number of "Thanks" that each thread has. Perhaps have it display a periodically cached value or something to reduce server loads if that would be an issue.

Kadi 09-28-2006 09:03 PM

This is just what we need for our forum. How would I translate the phrases? Thanks

Jcee 09-29-2006 06:43 AM

What happens to Tx records, when merging posts?

TygerTyger 09-29-2006 10:42 AM

Quote:

Originally Posted by Abe1
Turn off the option to not allow users to thank and groan.

I have done that, it's not a problem after the vote has been placed. It's before the effect of the AJAX update has kicked in. Try it yourself, click one then the other as fast as you can. It gives both a thanks and a groan even though it's set not to.

Abe1 09-29-2006 11:43 AM

Quote:

Originally Posted by TygerTyger
I have done that, it's not a problem after the vote has been placed. It's before the effect of the AJAX update has kicked in. Try it yourself, click one then the other as fast as you can. It gives both a thanks and a groan even though it's set not to.

i already re-did some of the code. It will disappear right away in next version.

category 10-01-2006 03:27 AM

its doesnt let me to upload the product what should i do?

Shazz 10-01-2006 04:21 AM

Installed working perfect..

Eagle Creek 10-03-2006 07:45 AM

Is there a way to reset all thanks back to 0? (maybe with dbase?)

sananedir 10-03-2006 11:10 PM

i was using version 2 i dont know about new version,
but it must also be using crazy mysql querries making the database very overloaded.
be carefull while installing this hack.

i also found a solution for database load that this script causes but it is really too long edits to tell here

Shazz 10-03-2006 11:49 PM

Quote:

Originally Posted by sananedir
i was using version 2 i dont know about new version,
but it must also be using crazy mysql querries making the database very overloaded.
be carefull while installing this hack.

Seems to basic to do that ...

FRESHNESS 10-04-2006 05:11 AM

what's the differences between this hack and Psionic Vision's hack of thank you hack?

ahmed-samara 10-04-2006 12:36 PM

thak youuuuuuuuuuuuu

mhdhallak 10-04-2006 06:05 PM

Fabolous. This is such an awesome mod. Don't you just hate the 10-page thread with one useful post and 99 thank yous!

THANKS AGAIN!

category 10-06-2006 02:21 AM

this hack doesnt work for me whenever i try to upload it page can not be displayed and i also executed the query

RS_Jelle 10-06-2006 01:50 PM

Quote:

Originally Posted by Abe1
Has to do with the way the AJAX works with the edit post.

Is it possible to fix this 'problem'? :)

Quote:

Originally Posted by FRESHNESS
what's the differences between this hack and Psionic Vision's hack of thank you hack?

I also saw it on his site, but it isn't released as a paid mod and also not for free. It seems to be a different mod, not just a modded version of the Post Thank You Hack (other url etc.), but it looks a lot the same.

saman 10-07-2006 12:20 AM

Hi ABE,

I am running 3.6.1 and it seems its working great for me . Thanks for creating this hack.

Just one question, how is it possible to set every each (for example) 15 thanks, one rep. point added after 15 times receiving thanks

15 thanks = 1 rep. point ???

Cheers,
Saman

Rob Eh 10-08-2006 05:58 AM

Works great. I thought I really screwed up when I couldn't see the button on my posts or when not logged on as a guest. but I see that is the default.

Regards,

Abe1 10-09-2006 02:02 AM

Quote:

Originally Posted by Eagle Creek
Is there a way to reset all thanks back to 0? (maybe with dbase?)

Empty the MYSQL take called 'post_thanks'. After, run all 4 re-counts in your ACP maint..

Abe1 10-09-2006 02:03 AM

Quote:

Originally Posted by sananedir
i was using version 2 i dont know about new version,
but it must also be using crazy mysql querries making the database very overloaded.
be carefull while installing this hack.

i also found a solution for database load that this script causes but it is really too long edits to tell here

A lot of changes since version 2.0.

Abe1 10-09-2006 02:04 AM

Quote:

Originally Posted by FRESHNESS
what's the differences between this hack and Psionic Vision's hack of thank you hack?

What hack?

Abe1 10-09-2006 02:06 AM

Quote:

Originally Posted by RS_Jelle
Is it possible to fix this 'problem'? :)

Not really. Since it uses AJAX, it doesn't us the regular postbit. It seems to just drop the other buttons back with out looking for everything.

Abe1 10-09-2006 02:07 AM

Quote:

Originally Posted by saman
Hi ABE,

I am running 3.6.1 and it seems its working great for me . Thanks for creating this hack.

Just one question, how is it possible to set every each (for example) 15 thanks, one rep. point added after 15 times receiving thanks

15 thanks = 1 rep. point ???

Cheers,
Saman

Nope.


All times are GMT. The time now is 05:11 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.02491 seconds
  • Memory Usage 1,829KB
  • 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
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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