vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Post Thank You Hack 1.10 (https://vborg.vbsupport.ru/showthread.php?t=73410)

Abe1 12-27-2004 10:00 PM

Post Thank You Hack 1.10
 
Click here for vBulletin 3.5 version

Post Thank You Hack 1.10


About this hack:
One of the biggest problems on forums as you may know is 'posts boosting'. There are users who LOVE to say 'thanks' when ever they can. How can it hurt? Their post count goes up, they have nothing to loose.

There are also users who really like to express their thanks to post but don't like posting a post that looks like they're post boosting.

Then comes the moderators who have to delete people?s thanks yous so a thread can look readable with out the thanks yous thrown around.

Finally comes the posters of these useful posts. They have no idea how many people really likes their posts if only some people say 'thanks'.

What this hack does is fix ALL these problems - except those users who like post boosting. This places a button called 'thanks.' When a user clicks on it, it places his username in a box right under the post saying that so-and-so says 'thanks' for the post. Every-one who clicks is placed in one box.

By giving your users the extra feature, you forum will look allot nice and organized. It is a granted liking by ALL the members of your forum.

The hack has been tested VERY well, including 5 weeks of beta testing, but I'm only human I can't guaranty there are no problems.

There is a similar hack called 'Automatic Thank You Hack'. That hack only lets you thank the first post of a thread and not just any post. The options in this hack doesn't compare to my hack. It's also unsupportive and was release for an older version of vBulletin.

Features:
  • Comes with easy installer/updater/uninstaller file
  • Places an easy to use button next to the edit button
  • Separate looks for postbit and postbit_legacy
  • Places all Thank Yous into one small box
  • [NEW]Uses only ONE query every time you view a showthread page!
  • Users can't thank twice
  • Users can't thank their own post
  • Guests don't see 'thanks' button
  • Counts how many thanks a user gives
  • Counts how many thanks a post gets
  • Shows how many thanks a user gave in every post of his
  • Shows how many thanks a user gave in profile
  • Shows how many thanks a user got
  • Shows how many posts or a user are thanked
  • Shows info in profile
  • Search for a users thanked posts
  • Search for all thanked posts
  • Administrator can remove all Thank Yous from a single post
  • Turn on and off hack
  • Turn on and off hack for only some forums
  • Option to turn off hack for all but the first post of a thread
  • Option to turn off hack for all but the first post of a thread in specific forums
  • Option to turn off hack view of date for specific or all forums
  • [NEW]Option to add to post count when someone clicks 'thanks'.
  • [NEW]Option to give a user who receives thanks reputation points.
  • Ban Usergroups
  • Ban Users
  • Update Counters in ACP (found in 'Import & Maintenance')
  • Uses Phrases
  • Guaranteed to be liked by ALL users on your forum!

Installation information on hack:
  • Files edited: 3
  • Templates edited: 4
  • New Phrases: 44 (installer installs them)
  • New Templates: 2 (installer installs them)
  • Queries: 15 excluding phase and template queries (installer installs it)
  • Files to upload: 4
  • Time to install: between 5-10 minutes

Updates:

Version 1.0 (12/28/04):
  • Release

Version 1.01 (1/10/05):
  • [FIX]Templates stay when you upgrade your forum

Version 1.02 (2/22/05):
  • [NEW]Installer Has Installer for After You Upgrade Your Forum
  • [NEW]Search for a users thanked posts
  • [NEW]Search for all thanked posts

Version 1.03 (2/23/05):
  • [FIX]Turn hack on for only first posts of threads now works

Version 1.10 (5/9/05):
  • [FIX]Compatibility for vBulletin 3.0.7
  • [FIX]Reduced the amount of queries need to run this hack every time you view a showthread page to only ONE query. No more 1 to 2 queries per post that comes up.
  • [FIX]I cached the templates used to save 1 query.
  • [NEW]Option to add to post count when someone clicks 'thanks'.
  • [NEW]Option to give a user who receives thanks reputation points.

Please post your comments or suggestions for this hack. I read ALL posts.

MAKE SURE YOU CLICK INSTALL!
You will get an email when a new version is released.

Pictures:
  1. Showing the 'thanks' button
  2. Showing post after 'thanks' (admin view)
  3. Showing post after 'thanks' with legacy posts (admin view)
  4. Stats in member?s profile
  5. Hacks settings
  6. Update counts view
I'll try to get some updated pictures up soon.

alexhalliday 12-28-2004 01:50 PM

I'll have a go at installing this on my test board, sounds like a brilliant idea.

Too many "Thanks for the info" posts

TwinsX2Dad 12-28-2004 01:54 PM

Nice hack - I have the 0.6 Beta installed. What do we need to do to upgrade from it?

Abe1 12-28-2004 01:58 PM

Quote:

Originally Posted by TwinsX2Dad
Nice hack - I have the 0.6 Beta installed. What do we need to do to upgrade from it?

Download this and there is an updater from 0.6 to 1.0.

There is also only one file edit you have to do. And no template edits.

One more thing, don't forget to click 'install'.

Geographic2 12-28-2004 02:25 PM

Thanks. :lick:

gembels 12-28-2004 04:28 PM

acontrol panel no phrase ?

Abe1 12-28-2004 04:30 PM

Quote:

Originally Posted by gembels
acontrol panel no phrase ?

oh man. I must have messed un something with the phrases. Let me look.

gembels 12-28-2004 04:32 PM

Import & Maintenance phrase include the sub of it.. :)
wow so fast reply..

Abe1 12-28-2004 04:33 PM

Quote:

Originally Posted by gembels
Import & Maintenance phrase include the sub of it.. :)
wow so fast reply..

you used the update right?

gembels 12-28-2004 04:38 PM

Quote:

Originally Posted by Abe1
you used the update right?

yes.. i do update from 0.5 to 0.6 and now i do 0.6 to 1.0.. but the phrase on admincp especially on Import do was lost the phrase..

Abe1 12-28-2004 04:39 PM

Quote:

Originally Posted by gembels
yes.. i do update from 0.5 to 0.6 and now i do 0.6 to 1.0.. but the phrase on admincp especially on Import do was lost the phrase..

Ok. So far i know it's a problem with the update. I need to find out if the fresh install also doesn't so the phrases. I'll check it out now.

gembels 12-28-2004 04:43 PM

and also.. check http://www.gembels.com/portal/forums/showthread.php?t=8 it was doesn't look every posting have thanks icon.. u really write like that this is the bugs or what.. thanks for the advanced

and after i update the the cyle database all phrase come lost .. sorry my english not well.. that will display like Posts/: 12/0 the phrase gone.. maybe that the problem exactly.. first i upgrade they have the phrase

Abe1 12-28-2004 04:50 PM

Quote:

Originally Posted by gembels
and also.. check http://www.gembels.com/portal/forums/showthread.php?t=8 it was doesn't look every posting have thanks icon.. u really write like that this is the bugs or what.. thanks for the advanced

There is no bug. The only problem is the updater putting in the phrases that were changed. I will try to fix that asap. There is no problem with free installs.

I don't know what you mean by button not always showing. It wont show if it's your post.

gembels 12-28-2004 04:57 PM

yeah.. u can say that.. but the problem come to me.. take a look the attach image :ermm:

Abe1 12-28-2004 05:04 PM

OK Guys. The updater has been fixed. Anyone who used the updater download the file again and upload the installer file. Run it and click 'update from 0.6 to 1.0. Don't do the file edit.

gembels 12-28-2004 05:14 PM

thanks.. i just uninstall it but do not change any uninstall instruction until done.. then i do install and now all done.. fixed.. thanks bro.. two thumbs up for u.. check installed !

greetz from gembels indonesian society

Bison 12-28-2004 08:37 PM

Quote:

Originally Posted by Abe1
OK Guys. The updater has been fixed. Anyone who used the updater download the file again and upload the installer file. Run it and click 'update from 0.6 to 1.0. Don't do the file edit.


Very nice piece of work Abe1 ... thank you!

*** Installed ***

TCB 12-28-2004 10:10 PM

This mod is very thoughtfull... great work :D

I have just installed it and will check it this week.

red_baron2000 12-28-2004 10:58 PM

thank you for the update ..on my way to try this version cheers:)

bubbasmurf 12-29-2004 10:21 PM

I'm not getting the thanks button next to the edit button to show up, everything else is ok. I put the Button Image in my images/buttons folder.
I dont know what went wrong.

Abe1 12-29-2004 11:49 PM

Quote:

Originally Posted by bubbasmurf
I'm not getting the thanks button next to the edit button to show up, everything else is ok. I put the Button Image in my images/buttons folder.
I dont know what went wrong.

Did you do the file and template edits?

VB-Fanatiker 12-29-2004 11:49 PM

Great Hack! :classic: :classic:
I can't upgrade my Board because of thousend hacks. Will this work with vb 3.0 too? Somebody with 3.0 just done it?
Thanks!

Abe1 12-29-2004 11:51 PM

Quote:

Originally Posted by VB-Fanatiker
Great Hack! :classic: :classic:
I can't upgrade my Board because of thousend hacks. Will this work with vb 3.0 too? Somebody with 3.0 just done it?
Thanks!

As far as I know there should be no problem. I didn't test it on it but the features are basic and should work on any 3.x.

VB-Fanatiker 12-29-2004 11:53 PM

Quote:

Originally Posted by Abe1
As far as I know there should be no problem. I didn't test it on it but the features are basic and should work on any 3.x.

THANK YOU! I need this hack and I test it now. If it works I'll tell you.
Best regards of germany




EDIT: It works perfectly with vB 3.0

VB-Fanatiker clicks INSTALL

bubbasmurf 12-30-2004 07:11 AM

Quote:

Originally Posted by Abe1
Did you do the file and template edits?

Yes did all the file and template edits, I will uninstall and try again to check everything.

mindbuster 12-31-2004 11:26 PM

Cool hack, though on my new upcoming forums it would have the opposite effect, it's a forum for a mmorpg game, with a hall of fame forum, so when someone ingame get's a good loot and make a thread about it, everyone go in and say "Gratz" to him, then he would click "Thanks" on all the "Gratz" replies, meaning all who said "Gratz" to him would get alot of "Thanks" :rolleyes: ending up with alot of "Gratz" instead of "Thanks".

But, very usefull anyway, i can just make it as a "Gratz Hack" instead, and only have it in that one hall of fame forum, then the guy getting a good loot ingame would get alot of "Gratz" counts, standing out as a heavy looter, this would encourage ppl to post their loots in the hall of fame. :smoke:

On my TODO list :wink:

mindbuster 01-01-2005 12:02 AM

Ok, i downloaded the zip, but the instructions.txt doesnt say anything about which files needing editing :ermm:

Slapp3r 01-01-2005 11:22 AM

Thanks *clicks install*

Slapp3r 01-01-2005 11:37 AM

I cannot see the button how do i do file and template edits thanks for the help

mindbuster 01-02-2005 11:27 AM

Anyone got instructions on file/template edits ?

Abe1 01-02-2005 12:04 PM

Quote:

Originally Posted by mindbuster
Anyone got instructions on file/template edits ?

Yes. It was in the installer. When you go step by step, there is one page that tells you the file edits and another that tells you the template edits.

If you ran the installer already and didn't do the edits, there is option in the installer to jump to the file edits.

calvinnguyen 01-03-2005 07:00 AM

just install, thanks Abe1

mindbuster 01-03-2005 11:54 AM

Quote:

Originally Posted by Abe1
Yes. It was in the installer. When you go step by step, there is one page that tells you the file edits and another that tells you the template edits.

If you ran the installer already and didn't do the edits, there is option in the installer to jump to the file edits.

Ahh, so thats why i couldnt find it :o

I like reading through the whole hack before installing :squareeyed:

MikaK 01-04-2005 05:27 PM

*install* All seems ok.=M=

Intex 01-08-2005 11:28 AM

Nice hack. I've installed it but have one small issue. As the style on my website is very different, the postbit_legacy template is very different. I've got my own image in place, so all I need is the actual link which allows the user to create the thanks post.

In your instructions it's this:

$post_thanks

Which creates the main button and link and as I can't use that, I just need the link itself :).

Thanks


Edit: Fixed Myself :).

TTG 01-08-2005 01:32 PM

For anyone that has a problem after upgrading to vbulletin 3.0.5. Simply run the installer again and all will then work as intended :)

chet 01-08-2005 04:27 PM

Everytime a new person hits the tnaks button, do this make a new post or does it edit the same thankyou post everytime

Can have a url of this in action :)

Cheers

Chet

Intex 01-09-2005 08:05 AM

The link for the thanks action is:

<a href="/forum/post_thanks.php?do=post_thanks&p=$post[postid]"></a>


Quote:

Originally Posted by chet
Everytime a new person hits the tnaks button, do this make a new post or does it edit the same thankyou post everytime

Can have a url of this in action :)

Cheers

Chet


Intex 01-09-2005 08:07 AM

OK, I've got everything work now except the admincp settings don't appear. I can see the Post Thanks options in the main vbulletin options, but when I select it, there's no options below.

I can see the option info in the phrases. Any ideas?

Abe1 01-09-2005 12:29 PM

Quote:

Originally Posted by Intex
OK, I've got everything work now except the admincp settings don't appear. I can see the Post Thanks options in the main vbulletin options, but when I select it, there's no options below.

I can see the option info in the phrases. Any ideas?

No clue. Try running the installer again.


All times are GMT. The time now is 02: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.01604 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
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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