vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=122944

[AJAX] Post Thank You Hack
by Abe1
03 Aug 2006 22:36

7 Attachment(s)
vB 3.7 version of this hack here: http://www.vbulletin.org/forum/showthread.php?t=165673
vB 4.0 version of this hack here: http://www.vbulletin.org/forum/showthread.php?t=231666

Post Thank You Hack 7.4


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 guaranteed liking by ALL the members of your forum.

Features:
  • Uses vBulletin easy Product installer/updater/uninstaller
  • Uses AJAX technology so your users don't have to refresh when they thank.
  • Places an easy to use button next to the edit button
  • Separate looks for postbit and postbit_legacy
  • Places all Thanks into one small box
  • Uses only ONE query every time you view a showthread page!
  • Users can't thank twice
  • Option to not allow users to 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 Thanks from a single post
  • Users can remove their own Thanks
  • Turn on and off hack totally
  • 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
  • Option to add to post count when someone clicks 'thanks'.
  • Option to give a user who receives thanks reputation points.
  • Ban Usergroups
  • Ban Users
  • Uses Phrases
  • Cache Templates
  • Guaranteed to be liked by ALL users on your forum!
Installation information on hack: (If installed on vb 3.7)
  • Files edited: 0
  • Templates edited: 0
  • Files to upload: 7
  • Time to install: 1 minute max

Updates:

Version 7.0 (12/20/07):
  • Release of this hack for vBulletin version 3.7
  • This version works on all vBulletin versions from 3.6.0 and up

Version 7.1 (12/24/07):
  • Fixed up the vb3.7 profile block code including fixing showing your info and not the member you are looking at.

Version 7.2 (01/24/08):
  • Updated files: post_thanks.php, functions_post_thanks.php
  • Updated templates: post_thanks_memberinfo_block, post_thanks_member_info
  • New option: Remove User's Thanks Count When Deleting Post
  • New phrase: post_thanks_search_user_gave
  • FIX User reputation level now updates. (Thanks to liwo for this one.)
  • NEW Added option to view all posts a user has thanked.
  • FIX Fixed Special Action - Delete All of a Users Thanks
  • FIX Should have fixed some 'foreach()' errors.

Version 7.3 (03/15/08):
  • Updated file: functions_post_thanks.php
  • Updated template: post_thanks_memberinfo_block
  • Deleted template: post_thanks_memberinfo_css
  • New option: Choice to use Markup Usernames or not. (Thanks to Namaless)
  • New option: Ban User from Getting Thanks
  • New option: Max Thanks a User can Give Per Day
  • FIX Fixed repeating bug on vb 3.6.7 forums.
  • CHANGE Changed where the post thanks info shows on the Profile Page. Moved to same box as statistics. (This will require a template edit if you are running vb3.7 beta 2-4)

Version 7.4 (03/21/08):
  • FIX: Fixed Profile Stats for vb3.7.0 RC1 users.

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 and stats in Postbit
  2. Showing post after 'thanks' (user view)
  3. Showing post after 'thanks' with legacy posts (admin view)
  4. Stats in members profile and link
  5. Link in Search drop down menu
  6. Hacks settings

Farjad 03 Aug 2006 22:56

thanks, really like this hack
* Farjad clicks install

TygerTyger 03 Aug 2006 22:58

Thank you! Are there any changes other than compatibility between this version and the 3.5.4 version? Cos that one worked fine for me on 3.6 anyway...

Abe1 03 Aug 2006 23:01

Quote:

Originally Posted by TygerTyger
Thank you! Are there any changes other than compatibility between this version and the 3.5.4 version? Cos that one worked fine for me on 3.6 anyway...

Just 2 small template edits.

Posof 03 Aug 2006 23:08

Yes i was waiting for this hack.. thanks

nix 03 Aug 2006 23:15

Thanks! Love this hack.

Thinkinstein 04 Aug 2006 00:53

It would be better if it's integrated with a cash system, so that a given amount of money is received when a user get thanked.

MrNase 04 Aug 2006 01:16

Very cool, I might install it. :)

o0Hubba0o 04 Aug 2006 02:37

Quote:

Originally Posted by Abe1
Just 2 small template edits.

Are they required, because it's worked for me so far. Is it possible to point out the differences so we don't have to do all of them?

Milad 04 Aug 2006 03:39

Suggestion: Please can you integrate the ranking and promoting systems with this hack?
To make users ranking and promoting based om this hack?

Thanks in advance

Abe1 04 Aug 2006 04:48

Quote:

Originally Posted by o0Hubba0o
Are they required, because it's worked for me so far. Is it possible to point out the differences so we don't have to do all of them?

Not a regualar edit on your side. It was an edit to 2 templates of this hack. If you just install the upgrade, it will over write the old template.

Abe1 04 Aug 2006 04:48

Quote:

Originally Posted by Milad
Suggestion: Please can you integrate the ranking and promoting systems with this hack?
To make users ranking and promoting based om this hack?

Thanks in advance

The reputation system? It's with it already.

D.Ilyin 04 Aug 2006 06:21

Quote:

Originally Posted by Abe1
The reputation system? It's with it already.

I think Milad means that promotion by amout of THANKs.....

PS Sory for asking again, but...... what about our discution here?

jacki 04 Aug 2006 06:53

thak youuuuuuuuuuuuu

cavyspirit 04 Aug 2006 07:15

How about the Groans? I need both.

So, I just install the new version and it will keep my existing thanks and groans, right?

This hack has worked out so great for us! I really, really like it!

cavyspirit 04 Aug 2006 07:15

How about the Groans? I need both.

So, I just install the new version and it will keep my existing thanks and groans, right?

This hack has worked out so great for us! I really, really like it!

Abe1 04 Aug 2006 08:26

Quote:

Originally Posted by cavyspirit
How about the Groans? I need both.

So, I just install the new version and it will keep my existing thanks and groans, right?

This hack has worked out so great for us! I really, really like it!

If you upgrade to vb3.6, the groans should work fine until an update comes out.

JollyJack 04 Aug 2006 11:53

thanks great to have this back so soon

o0Hubba0o 05 Aug 2006 16:00

Quote:

Originally Posted by Abe1
Not a regualar edit on your side. It was an edit to 2 templates of this hack. If you just install the upgrade, it will over write the old template.

Ok, thanks Abe.

big dan 05 Aug 2006 18:01

Thanks for this hack.. This is something this site should impletment. ;)

Edit on further inspections, it's seems to of broken the dropdown list, for user info. Anyone else experince this?

Patria 05 Aug 2006 18:08

I noticed a strange behavior, after editing a post by Quick Edit the Thanks button disappear.

RS_Jelle 05 Aug 2006 22:29

/me clicks install and uninstall for the old version :)

cavyspirit 06 Aug 2006 02:29

1 Attachment(s)
The thanks are whacking out my template a bit.

Can you help figure out the template edit to fix this?

Thanks,
Teresa

Abe1 06 Aug 2006 02:54

Quote:

Originally Posted by Danny Boy
Thanks for this hack.. This is something this site should impletment. ;)

Edit on further inspections, it's seems to of broken the dropdown list, for user info. Anyone else experince this?

Do you have a screenshot? Not sure what you are talking about.

Abe1 06 Aug 2006 02:55

Quote:

Originally Posted by Patria
I noticed a strange behavior, after editing a post by Quick Edit the Thanks button disappear.

Nothing I can do about that really. vB uses somthing else then normal to pull just the postbit for it.

Abe1 06 Aug 2006 02:56

Quote:

Originally Posted by cavyspirit
The thanks are whacking out my template a bit.

Can you help figure out the template edit to fix this?

Thanks,
Teresa

What version do you have installed where.

cavyspirit 06 Aug 2006 04:13

1 Attachment(s)
Quote:

Originally Posted by Abe1
What version do you have installed where.

I just installed your latest version 5.0 on my 3.6 board. It was an upgrade for me. I also have groans 1.2 installed.

I think somehow there are too many div tags. Attached is a screen shot showing tables (red), table cells (blue) and div tags (brown).

Thanks.

Abe1 06 Aug 2006 05:55

Quote:

Originally Posted by cavyspirit
I just installed your latest version 5.0 on my 3.6 board. It was an upgrade for me. I also have groans 1.2 installed.

I think somehow there are too many div tags. Attached is a screen shot showing tables (red), table cells (blue) and div tags (brown).

Thanks.

Can you post here the last 10-15 lines of you postbit now?

cavyspirit 06 Aug 2006 07:11

Here it is:

<!-- message, attachments, sig -->

</td>
</tr>
</table>

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none;">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
</table>
</div>
<!-- / post $post[postid] popup menu -->
<!-- Start Post Thank You Hack -->
$post_thanks
<!-- End Post Thank You Hack -->
<!-- Start Post Groan Hack -->
$post_groan
<!-- End Post Groan Hack -->

ahsidky 06 Aug 2006 11:36

I like it so much, it's very usefull.
Thank you for this great job.

aLReeMi 06 Aug 2006 11:36

greaaaaaaaaaaaaaaaaat
thanks alot

Abe1 06 Aug 2006 13:01

Quote:

Originally Posted by cavyspirit
Here it is:

<!-- message, attachments, sig -->

</td>
</tr>
</table>

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none;">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_all_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
</table>
</div>
<!-- / post $post[postid] popup menu -->
<!-- Start Post Thank You Hack -->
$post_thanks
<!-- End Post Thank You Hack -->
<!-- Start Post Groan Hack -->
$post_groan
<!-- End Post Groan Hack -->

Do you have any other styles?

dragonhart 06 Aug 2006 13:26

This is great!!!! Thank you very much Dragonhart :D

cavyspirit 06 Aug 2006 17:29

Quote:

Originally Posted by Abe1
Do you have any other styles?

Yes, but they are not used. Nor have I edited them to take advantage of any of my add-ons. I guess I should just delete them. But again, they are not used and my styles are not user selectable.

cavyspirit 06 Aug 2006 17:46

Would it help to view source on one of the pages? Here is an example: http://www.guineapigcages.com/forum/...eat-forum.html

Abe1 06 Aug 2006 18:05

Quote:

Originally Posted by cavyspirit
Would it help to view source on one of the pages? Here is an example: http://www.guineapigcages.com/forum/...eat-forum.html

Did you ever edit the post_thanks_postbit template? If you did, you should revert it.

cavyspirit 06 Aug 2006 18:21

Yup. That was the problem. That worked! Whoohoo! Thank you very much.

cavyspirit 06 Aug 2006 19:39

2 Attachment(s)
Okay. Well, I got my thanks back to normal, now the groans are still wigged out. All templates have been reverted. Of course, the groans are still on v1.2.

What can I do to fix this?
Thanks so much.

Abe1 06 Aug 2006 19:43

Quote:

Originally Posted by cavyspirit
Okay. Well, I got my thanks back to normal, now the groans are still wigged out. All templates have been reverted. Of course, the groans are still on v1.2.

What can I do to fix this?
Thanks so much.

I didn't update groan yet. You can maulay remove from the post_groan_postbit template $spacer_open and closed in the beg. and end of the template.

cavyspirit 06 Aug 2006 19:49

PERFECT! Thank you very much!!

cavyspirit 06 Aug 2006 19:56

I would still like to be able to put two additional queries in the members profile:

Posts GROANED by username
Posts THANKED by username

Can you figure out a way to do that? I really need to be able sometimes remove all groans made by a user, especially when that user is put on restricted, moderated or banned status.

Abe1 06 Aug 2006 20:01

Quote:

Originally Posted by cavyspirit
I would still like to be able to put two additional queries in the members profile:

Posts GROANED by username
Posts THANKED by username

Can you figure out a way to do that? I really need to be able sometimes remove all groans made by a user, especially when that user is put on restricted, moderated or banned status.

Should be there already.

Dermo-MIO 06 Aug 2006 20:53

thanks for the update will install it 2morrow

cavyspirit 06 Aug 2006 22:28

Quote:

Originally Posted by Abe1
Should be there already.

Maybe I'm confused.

In the MemberInfo template, this code:

<!-- Start Post Thank You Hack -->
<br />
$vbphrase[post_thanks_total_thanks]: <strong>$userinfo[post_thanks_user_amount]</strong>
<br />
<if condition="$userinfo[post_thanks_thanked_times_on] == 1">
$vbphrase[post_thanks_time_post]
<else />
<if condition="$userinfo[post_thanks_thanked_posts_on] == 1">
<phrase 1="$userinfo[post_thanks_thanked_times]">$vbphrase[post_thanks_times_post]</phrase>
<else />
<phrase 1="$userinfo[post_thanks_thanked_times]" 2="$userinfo[post_thanks_thanked_posts]">$vbphrase[post_thanks_times_posts]</phrase>
</if>
</if>
</td></tr>
<tr><td>
<a href="search.php?$session[sessionurl]do=findthanks&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[post_thanks_search_user]</phrase></a>
<!-- End Post Thank You Hack -->

At the bottom, that one query (search) gets you all posts that were made by the user that were thanked by someone else (same with groans).

I would ALSO like another query that is all posts made by others that this user has thanked (same with groans).

Abe1 06 Aug 2006 23:07

Quote:

Originally Posted by cavyspirit
Maybe I'm confused.

In the MemberInfo template, this code:

<!-- Start Post Thank You Hack -->
<br />
$vbphrase[post_thanks_total_thanks]: <strong>$userinfo[post_thanks_user_amount]</strong>
<br />
<if condition="$userinfo[post_thanks_thanked_times_on] == 1">
$vbphrase[post_thanks_time_post]
<else />
<if condition="$userinfo[post_thanks_thanked_posts_on] == 1">
<phrase 1="$userinfo[post_thanks_thanked_times]">$vbphrase[post_thanks_times_post]</phrase>
<else />
<phrase 1="$userinfo[post_thanks_thanked_times]" 2="$userinfo[post_thanks_thanked_posts]">$vbphrase[post_thanks_times_posts]</phrase>
</if>
</if>
</td></tr>
<tr><td>
<a href="search.php?$session[sessionurl]do=findthanks&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[post_thanks_search_user]</phrase></a>
<!-- End Post Thank You Hack -->

At the bottom, that one query (search) gets you all posts that were made by the user that were thanked by someone else (same with groans).

I would ALSO like another query that is all posts made by others that this user has thanked (same with groans).

I hear what you are saying now. It's on my to-do list. No garranty though.

cavyspirit 06 Aug 2006 23:46

If you can give me a viable string like this that would work:

search.php?$session[sessionurl]do=findthanks&amp;u=$userinfo[userid]

I'd be happy to add it myself until you make it official.

And probably a little more code in the php file.

Thanks for a great product!

Abe1 07 Aug 2006 00:31

Quote:

Originally Posted by cavyspirit
If you can give me a viable string like this that would work:

search.php?$session[sessionurl]do=findthanks&amp;u=$userinfo[userid]

I'd be happy to add it myself until you make it official.

And probably a little more code in the php file.

Thanks for a great product!

Not possable yet. Needs a lot of code.

Brandon Sheley 07 Aug 2006 01:14

thx, updated :)

cavyspirit 07 Aug 2006 03:50

I forgot about another problem I'm having. I can't update the groan counts when the groans are removed from a post.

Any update on when you'll have the groans upgraded for 3.6 as well? We use them equally with the Thanks.

Abe1 07 Aug 2006 03:54

Quote:

Originally Posted by cavyspirit
I forgot about another problem I'm having. I can't update the groan counts when the groans are removed from a post.

Any update on when you'll have the groans upgraded for 3.6 as well? We use them equally with the Thanks.

The count should update automaticlly.

cavyspirit 07 Aug 2006 05:29

On closer examination, it's not the count that's not working, it's the Remove All Groans on the postbit that's not working.

http://www.guineapigcages.com/forum/...emove&p=228758

Dermo-MIO 07 Aug 2006 13:56

just updated my new 3.6 forum thanks i really love this hack

therocks 07 Aug 2006 15:55

great mod abe! any way to tie this in with a hide hack so users must click on thanks to see hidden content?

Schahab 07 Aug 2006 17:55

Hello,

must i uninstall the version before, or who can i upgrade to the news version?

GOOD Work man!

Abe1 07 Aug 2006 19:18

Quote:

Originally Posted by Schahab
Hello,

must i uninstall the version before, or who can i upgrade to the news version?

GOOD Work man!

Just upload the new XML

iran.gs 07 Aug 2006 23:08

well i must say one thing the thing i did not understand is this

find:
--------------------------------------------------------------------
Quote:

$vbphrase[total_posts]: <strong>$userinfo[posts]</strong> (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)
--------------------------------------------------------------------

AFTER place this:
--------------------------------------------------------------------
<!-- Start Post Thank You Hack -->
<br />
do i just add these following the part like here </phrase>) <<< ?? cuz i did all like this right after the found i added them but it did not apear for me :(

Za4a Tuner 07 Aug 2006 23:32

1 Attachment(s)
Hy Abe1,
at first many thanks for your work => great hack :D

but i've found a little bug!

If you set @ the adminCP the option "write templatenames in source" (sorry, i don't know the exact english expression) =>
you will get a klickable underline after the button!
This does only appear by using the IE,
Firefox or other browsers have don't make "trouble" ;)

look at the source-code of the different browsers and the screenshot

Source-code with IE:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and here the source-code of firefox:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

here you can see the little underline:
Attachment 51783
(klick to enlarge)

blogtorank 09 Aug 2006 07:28

Abe1,

You have some of the best hacks out there, I have almost all of your hacks onsite(s) *Clicks Nominated*

Keep up the awesome work!

WeArab 09 Aug 2006 23:36

Thank you for the nice hack, installed again after the upgrade to 3.6.0 rated with 5 stars!

big dan 10 Aug 2006 01:43

Quote:

Originally Posted by Abe1
Do you have a screenshot? Not sure what you are talking about.

I figured it out it was my error when adding the code to the postbit. Thanks anyhow. :)

Hornstar 10 Aug 2006 03:56


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I've been using the thanks button on my site for so long, upgraded my forums to vb 3.6 gold and then upgraded to this version a few days ago, and then just a few hours ago I had a few database errors come through relating to the database error above.

Anyideas what caused that?

Thanks

unitedpunjab 10 Aug 2006 15:59

How to totally disable this hack for guests ?
for the past few days google spends an hour daily trying to thank posts.

cavyspirit 10 Aug 2006 18:12

Quote:

How to totally disable this hack for guests ?
for the past few days google spends an hour daily trying to thank posts.
You can set who can't thank by user group in the vbulletin options for the plugin.

Of all the posts I've ever read in this forum over the years, that one just totally cracked me up! :)

unitedpunjab 10 Aug 2006 18:15

lol,Did that but dint help.

unitedpunjab 10 Aug 2006 18:31

This is the problem,1/4 of the bots are trying to Thank :surprised:

cavyspirit 10 Aug 2006 19:14

Do your guests see the thanks (and groan if you have it) option/button when on the forum? Is it visible to them?

unitedpunjab 10 Aug 2006 20:04

No,but i think the problem is this code which is shown to all (logged in or not)

Please Check your showthread (view source) if you also have this problem.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


cavyspirit 11 Aug 2006 00:01

I have the same source. But the whole thing is commented out, right? So Google is trying to execute it anyway?

ktaylor 11 Aug 2006 05:20

Quote:

Originally Posted by hornstar1337
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I've been using the thanks button on my site for so long, upgraded my forums to vb 3.6 gold and then upgraded to this version a few days ago, and then just a few hours ago I had a few database errors come through relating to the database error above.

Anyideas what caused that?

Thanks

does anyone have a fix for this? i get the same db error....

iran.gs 11 Aug 2006 15:13

lnstalled

iran.gs 11 Aug 2006 15:16

lnstalled

The Notorious 11 Aug 2006 17:13

Does this hack have an option to hide the post till someone clicks thanks?

Abe1 11 Aug 2006 18:04

Quote:

Originally Posted by hornstar1337
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I've been using the thanks button on my site for so long, upgraded my forums to vb 3.6 gold and then upgraded to this version a few days ago, and then just a few hours ago I had a few database errors come through relating to the database error above.

Anyideas what caused that?

Thanks

It looks like an error with removing all thanks from a post. Any of your admins report this error?

Abe1 11 Aug 2006 18:06

Quote:

Originally Posted by unitedpunjab
How to totally disable this hack for guests ?
for the past few days google spends an hour daily trying to thank posts.

I'm glad Google likes your posts :)

I have down on my list to add a noflow or something like that.

firstrebel 11 Aug 2006 22:31

If a post is edited the 'Thanks' disappears. Is this by design?

Bob

Darat 12 Aug 2006 13:17

I was wondering if and if yes how I could I search for thanked posts in a given month - ideally what I would like to do is add another search option "Posts thanked this month".

texasasl 12 Aug 2006 18:50

Does anybody knows if it works with vbulletin 3.5.3 ??????

I am trying to install it but I get this error message:

"Database error in vBulletin 3.5.3:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO vb3_plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)"

and also I get:

"MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date : Saturday, August 12th 2006 @ 08:55:30 PM
Script : http://www.inout.gr/admincp/plugin.php
Referrer : http://www.inout.gr/admincp/plugin.php?do=productadd"

Can somebody help??? Thank you in advance.

ktaylor 12 Aug 2006 21:09

I think there was a mesage about that earlier like on page 2 or 3 that said this would only work on 3.5.4 and up or something to that nature.

texasasl 12 Aug 2006 22:58

Quote:

Originally Posted by ktaylor
I think there was a mesage about that earlier like on page 2 or 3 that said this would only work on 3.5.4 and up or something to that nature.

No there is nothing about. There is a reference from some more members for the same problem but actually nobody replied or proposed something that solves the problem or explains clearly that does not work with earlier versions as 3.5.3 or 3.5.4. That's I'm asking for. Thanks anyway for your reply.

P.S. Finally I resolved the problem by installing the previous version of this hack and it works fine. Thanks to Abe1.

Eagle Creek 13 Aug 2006 02:35

The GIF file isnt showing up anywhere, so I can't thank for threads?

cavyspirit 13 Aug 2006 08:16

One of my users is reporting that the buttons don't show up for him as he is on Safari (mac). Works on a different browser. Any ideas on that one?

Eagle Creek 13 Aug 2006 23:15

Isn't showing up in FireFox, nor Internet Explorer overhere.

unitedpunjab 14 Aug 2006 21:31

Quote:

Originally Posted by Abe1
I'm glad Google likes your posts :)

I have down on my list to add a noflow or something like that.

The problem is much worse.Google has cached most links as
/showthread.php?do=post_thanks_add&p=xxxxx
and only getting No Permission Messages Instead of The contents of the Thread.


Ref http://www.vbulletin.org/forum/showp...2&postcount=65

cavyspirit 15 Aug 2006 01:01

Yikes. I'm really hoping we can get this sorted out, because I depend heavily on the search engines, especially google, and have vBSEO installed as well.

Roxie 15 Aug 2006 02:38

Quote:

Originally Posted by firstrebel
If a post is edited the 'Thanks' disappears. Is this by design?

Bob

Yes. That way they can't thank again.

Eagle Creek 15 Aug 2006 03:15

Quote:

Originally Posted by Eagle Creek
Isn't showing up in FireFox, nor Internet Explorer overhere.

Anyone?

Schahab 15 Aug 2006 10:03

Is there realy a problem with google spidering the threads? Then i must delte the hack!

unitedpunjab 15 Aug 2006 11:01

Well this is an Excellent Hack and the Problem might be with my setup.
I am not sure but i do have a problem.

here is my Google sitemap stats

https://www.vbulletin.org/forum/

Darat 15 Aug 2006 11:36

Abe1 - this is a great mod but I can't use it on my live forum (almost 2 million posts) because searching for 'thanks' just brings the forum to a virtual stop. I notice you mention on the 3.5 version thread you were going to look into this perhaps by indexing some fields? Also related to this is there a way to limit searches to just posts thanked this month?

movielist 15 Aug 2006 11:38

Quote:

Originally Posted by unitedpunjab
Well this is an Excellent Hack and the Problem might be with my setup.
I am not sure but i do have a problem.

here is my Google sitemap stats

http://img145.imageshack.us/img145/7227/thanksmv0.jpg

Isn't this just because when it's crawling posts, it sees a link (the thank you button) and tries to crawl that too?

It doesn't necessarily mean that your posts aren't getting crawled, just that these links (which are getting No Permission) are being crawled as well.

I may be wrong.

unitedpunjab 15 Aug 2006 11:42

If searchbots are getting Invalid links for half the time they spent on a site.
It cant be good.

Eagle Creek 15 Aug 2006 23:34

Ok.. I won't install it then.. Cause nobody is giving supporT?

bolly.beats 16 Aug 2006 05:38

thank you just installed my first mod :D nice bro thanxxx

Abe1 16 Aug 2006 05:56

Quote:

Originally Posted by firstrebel
If a post is edited the 'Thanks' disappears. Is this by design?

Bob

Has to do with the way the AJAX works with the edit post.

Abe1 16 Aug 2006 05:57

Quote:

Originally Posted by texasasl
Does anybody knows if it works with vbulletin 3.5.3 ??????

I am trying to install it but I get this error message:

"Database error in vBulletin 3.5.3:

Invalid SQL:

### INSERT QUERY GENERATED BY fetch_query_sql() ###
INSERT INTO vb3_plugin
(`active`, `executionorder`, `title`, `hookname`, `phpcode`, `product`)"

and also I get:

"MySQL Error : Unknown column 'executionorder' in 'field list'
Error Number : 1054
Date : Saturday, August 12th 2006 @ 08:55:30 PM
Script : http://www.inout.gr/admincp/plugin.php
Referrer : http://www.inout.gr/admincp/plugin.php?do=productadd"

Can somebody help??? Thank you in advance.

You have to install the vb3.5 version. Look at my sig for the link.

Abe1 16 Aug 2006 05:58

Quote:

Originally Posted by Eagle Creek
The GIF file isnt showing up anywhere, so I can't thank for threads?

Are you looking at your posts only? Do you have more then one style?

bryanb 16 Aug 2006 14:44

Quote:

Originally Posted by Abe1
You have to install the vb3.5 version. Look at my sig for the link.

That did the trick - thanks! :up:

Eagle Creek 16 Aug 2006 15:11

Quote:

Originally Posted by Abe1
Are you looking at your posts only? Do you have more then one style?

Hi!

At this moment I just removed all the stuff of my forums. Including styles, everything.. I will reinstall your hack and let you know.

Kwak 17 Aug 2006 07:47

Thank you. Clicked install.


Can someone create an 'orange' colored Thank You button?

unitedpunjab 18 Aug 2006 19:05

Quote:

Originally Posted by unitedpunjab
The problem is much worse.Google has cached most links as
/showthread.php?do=post_thanks_add&p=xxxxx
and only getting No Permission Messages Instead of The contents of the Thread.


Ref http://www.vbulletin.org/forum/showp...2&postcount=65

User-agent: *
Disallow: /showthread.php?do=post_thanks*

Adding this to the robots.txt solved the problem.I'd recommend everyone to do so just to be safe.


All times are GMT. The time now is 09:12.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.