vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Show Thread Enhancements - [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=165673)

Sherrie 03-08-2009 10:48 PM

Hello I am having some problems with my forum (not being able to turn it off and censorship) so I went to un install my plugins to troubleshoot it but after uninstalling this post thank you hack I am now getting database errors when trying to view posts.

Invalid SQL:
SELECT * FROM post_thanks AS post_thanks INNER JOIN user AS user USING (userid) WHERE post_thanks.postid IN (0,185315,185322,185330,185378,185398,185400,18540 3,185417,185419,185431,185436, 185439,185441,185442,185445) ORDER BY post_thanks.username ASC;

parubets 03-10-2009 09:13 PM

Dear Abe1,

i've got strange issue... some users by pressing "thanks" button is adding multiple double value in DB... just look at this:

Code:

| 47 |  1225 | AndyAntonov | 1236694540 | 207703 |
| 48 |  1264 | zholneruk  | 1236694863 | 207703 |
| 49 |  2098 | IesuiT      | 1236694986 | 208090 |
| 50 |  2098 | IesuiT      | 1236694986 | 208090 |
| 53 |  4136 | stardast    | 1236701992 | 208210 |

thanks 49 and 50 has the same timestamp... how it's possible?
i saw a lot of same messages about this strange issue on other forums... let's find what is the problem and solve it...

hungry4knowhow 03-11-2009 01:53 AM

1 Attachment(s)
Im having an issue, when I hit thanks the thanks button disappears and this error popup message happens:

popular 03-12-2009 11:25 AM

anyone else have the page refresh when users press thanks?

beckyvan 03-13-2009 04:50 PM

Quote:

Originally Posted by popular (Post 1766384)
anyone else have the page refresh when users press thanks?

I had to disable the mod, as when it's enabled, and you try to click a post you get the explorer blank page. I'm guessing it's not a compatible plug in with 3.8.1? Bummer, we really liked it.

tldagent 03-13-2009 05:03 PM

Quote:

Originally Posted by popular (Post 1766384)
anyone else have the page refresh when users press thanks?

Yes, this was due to the post groan hack on our forum. People didn't like the groan so we disabled it. If it was still integrated in the vb settings, it caused the page refresh. Disable post grown and or remove it but make sure you de-integrate it in your vbsettings. If you need a hand feel free to PM me.

Seems that the mod creator isn't answering anything here.

Anyone know how to add padding to this hack or move it over to the far right, past the 'blog this'

Quote:

Originally Posted by beckyvan (Post 1767311)
I had to disable the mod, as when it's enabled, and you try to click a post you get the explorer blank page. I'm guessing it's not a compatible plug in with 3.8.1? Bummer, we really liked it.

Becky, it is OK with 3.8.1 it's just quirky. Disable post grown integration and turn it off and you should be OK.

beckyvan 03-13-2009 05:13 PM

I don't see an option for "groan" in the vbulletin options within the ACP :confused:

smirkley 03-14-2009 07:14 AM

Love this hack.

I need to suggest that the settings should include a usergroups permission input box so different usergroups can be given access to the "remove all thanks" in any particular post.

I use two different admin usergroups, each with different levels of accesses, and the second admin usergroup I created, doesnt get the access to delete 'thanks' in posts, like the original admin usergroup.

Right now, there is no option to add a usergroup, and I really need one.

Thanks again.

TheLab 03-14-2009 07:52 AM

Is there any way you can recalculate the reputation from the thanks the users have gotten?

Sworm 03-14-2009 09:02 AM

Hi all,
this is my prefer hack :) ,
it will be possible to send an automatic PM whaen anybody thanks to another user? :)

Will be great if possible. :up:

thealpha 03-17-2009 07:32 PM

Also having an issue reporting incorrect permissions, even though it seemed to be good in 7.6 on vb 3.7.4. Any workaround for this on 3.8.1 with the latest version? Also, I do not have the post groan hack installed.

9bz 03-18-2009 09:03 AM

installed but not working 100% with 3.8.1.no thanks button. but i got admin settings and search forums find all thanked posts. but thats it. can you help.....

mykkal 03-18-2009 07:29 PM

haha. I want to "thank you" but the hack isn't installed on vbulletin.org.

Thank you for a simple and bug free hack.

Vitaly 03-20-2009 04:27 PM

Tested at debug site. Some comments:

1. Function "find all thanked posts" causes full scan, because lack of indexes. Very slow.
2. Unable to remove that link (and access via URL) in setting.
3. It would be nice to have option "disable hack for guests" (to hide all thanks and so on). That's good for SEO.

SliceofLife 03-21-2009 07:06 AM

Hi. I've 'installed' this, and done all that the instructions said to do, but nothing has changed? I'm just wondering if there were any template changes to be made, and where they might be?

SliceofLife 03-21-2009 07:07 AM

Quote:

Originally Posted by 9bz (Post 1771015)
installed but not working 100% with 3.8.1.no thanks button. but i got admin settings and search forums find all thanked posts. but thats it. can you help.....

Same here.

9bz 03-21-2009 05:03 PM

got it to work with this: https://vborg.vbsupport.ru/showthread.php?t=194553

My "Thank You Hack" Postbit Template by Boosted Panda


This is a new "Users Saying Thank You" box. I think its MUCH cleaner! You can adjust colors and etc by changing the CSS fields in the .thanks.

First add this to your additional CSS area:

Code:

.thanks {
border: solid 1px #fff;
color: #444;
background: #def9e5;
font: 10px arial, tahoma, sans-serif;
}


Next add this to the post_thanks_postbit_legacy or post_thanks_postbit template.

Code:

<div style="padding:$stylevar[cellpadding]px 0px 0px 0px">
    <table width="100%" align="center">
        <tr>
            <td class="thanks" style="padding:0px">
                <if condition="$post['post_thanks_amount'] == 1">
                    <strong><phrase 1="$post[username]">$vbphrase[post_thanks_user_says]</phrase></strong>
                <else />
                    <strong><phrase 1="$post[post_thanks_amount_formatted]" 2="$post[username]">$vbphrase[post_thanks_users_say]:</phrase></strong>
                </if>
            $post[post_thanks_bit]
            <if condition="$bbuserinfo['usergroupid'] == 6">
                <td class="thanks" align="center">
                    <a href="post_thanks.php?do=post_thanks_remove_all&amp;p=$post[postid]"<if condition="$vboptions['disable_ajax'] != 2"> onclick="return post_thanks_remove_all($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>);"</if> rel="nofollow">$vbphrase[post_thanks_remove]</a></td>
               
            </if>
            <if condition="$post['show_thanks_remove_option']">
            <td class="thanks" align="center">
                    <a href="post_thanks.php?do=post_thanks_remove_user&amp;p=$post[postid]"<if condition="$vboptions['disable_ajax'] != 2"> onclick="return post_thanks_remove_user($post[postid], <if condition="$vboptions['post_groan_integrate']">true<else />false</if>);"</if> rel="nofollow">$vbphrase[post_thanks_remove_user]</a></td>
            </if>
        </td></tr>
    </table>
</div>


if you use it plz's go and click Mark as Installed.

bokmade 03-22-2009 11:04 AM

Quote:

Originally Posted by TheLab (Post 1767703)
Is there any way you can recalculate the reputation from the thanks the users have gotten?

Yes, you can ..

Quote:

Option to give a user who receives thanks reputation points.

mystikmedia 03-25-2009 11:52 PM

Quick question. Is it possible to change the wording of this text at all?

"The Following User Says Thank You to <username> For This Useful Post:"

Excellent mod, btw. I like it.

cs347 03-26-2009 07:17 AM

thank you im gonna install this

BamaStangGuy 03-26-2009 06:02 PM

Quote:

Originally Posted by hungry4knowhow (Post 1765402)
Im having an issue, when I hit thanks the thanks button disappears and this error popup message happens:

I am having this problem as well.

https://vborg.vbsupport.ru/external/2009/03/22.jpg

A user posted that image of what happens when you click the Thanks button.

slipkot 03-27-2009 08:26 PM

I installed it, (upload the archives, and the xml) and when i post sth, and put it in hide tags for example [hide]test[/hide] it isn't hidden... And the thanks button doesn't appear...

biocyberman 03-31-2009 11:03 PM

When trying to edit thread by "Thread Tools", all thanks given by members disappear! Anyone else get this error?

adamskiii 03-31-2009 11:37 PM

I have added a new theme and now every time a user click thanks, there thanks does go up but that little box under the post that was thanked that shows users that have thanked the post does not show up. Whats the code to make this show up and where do I place it?

thanks

dtommy79 04-01-2009 05:44 PM

Hi,

Do you know some place where I could download cool thanks buttons?

Thanks

VIPER-MAN 04-01-2009 06:43 PM

I installed this but cannot get the "THANKS" button to appear anywhere. It shows on the default template, but not on the custom. I've ensured that it's uploaded to the correct folder.

How do I get the button to appear?

BTW: Using 3.8.2

VIPER-MAN 04-01-2009 10:14 PM

Seems the problem is fixed ... I had to add the controls hook which was missing.
$template_hook[postbit_controls]

mrtroybaker 04-03-2009 12:42 AM

Where do I change what it says? I dont want it to say "X User thanks X user for this useful post"
It might not be a useful post. Just a post that desirves thanking

djbaxter 04-03-2009 12:54 AM

Yes. Go to search in phrases in your ACP and chnage in ("translation") to whatever you prefer,

slipkot 04-03-2009 10:19 AM

Quote:

Originally Posted by slipkot (Post 1778537)
I installed it, (upload the archives, and the xml) and when i post sth, and put it in hide tags for example [hide]test[/hide] it isn't hidden... And the thanks button doesn't appear...

Anyone who can help?

Sworm 04-03-2009 11:39 AM

i have need to a Pm reply when anybody thanks another user....is possible?

Hendrizius 04-05-2009 09:04 AM

Hey there,

works perfect. Marked as installed.

Would it be possible to change the amount of rep you give with the thanks button to the amount of reppower the user has?

Regards,
Hendrik

Vitaly 04-05-2009 01:38 PM

Index missed:

Code:

ALTER TABLE `post_thanks` ADD INDEX `user_date` ( `userid` , `date` )

mrtroybaker 04-05-2009 10:20 PM

Quote:

Originally Posted by djbaxter (Post 1782799)
Yes. Go to search in phrases in your ACP and chnage in ("translation") to whatever you prefer,


Thank you!

Meghwar 04-07-2009 06:37 PM

Hi after I upgrade from 3.8.1 to 3.8.2 I lost my Thanks Botton !!!! any idea my style is old but vb is the latest and it was working until upgrade to 3.8.2

Llandy 04-08-2009 01:31 PM

Installed. Thanks!

zero5854 04-08-2009 03:59 PM

I have a custom template and can only see the thanks x times in normal postbit but not in postbit_legacy?

does anyone what code to add in postbit_legacy to see how many thanks a user has/given?

zero5854 04-08-2009 04:39 PM

1 Attachment(s)
can we somehow move the thanks given to inside the post as shown in ATT?

obviously we would have to make the box smaller to fit into the post too.

Thanks for any help!

Powlo 04-09-2009 08:59 PM

How can i get this to work in the threadbit template?

I have a customised template that i would like a thanks button on the same line as the thread title.

I would pay if this involves a plugin.

pwexe 04-10-2009 04:18 AM

Not working for me, Installed ... Uploaded the files perfect ... Still its not showing up ? Help plz ... vB version 3.8.2


All times are GMT. The time now is 04:33 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.03479 seconds
  • Memory Usage 1,826KB
  • 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_code_printable
  • (9)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