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)

dilbert 08-24-2009 11:03 PM

Quote:

Originally Posted by Dutch_Boy (Post 1861309)
Hey abe1,

I got a problem and i hope you can help me fix it:

Invalid SQL:
SELECT * FROM vb_post_thanks AS post_thanks INNER JOIN vb_user AS user USING (userid) WHERE post_thanks.postid IN (0,15812,15816,15821,15824,15825,15831,15832,15838 ,15847,15849,15850,15855,15935,15968,16052,16055,1 6064,16469,16471) ORDER BY post_thanks.username ASC;

MySQL Error : SELECT command denied to user 'iwsgamin_iwsvb'@'localhost' for column 'userid' in table 'post_thanks'
Error Number : 1143

Kind regards,

Dutch_Boy.

I have made no changes to my site. This morning it was working fine, now I get the same error.
Were able to resolve this issue?

Thanks

Makc666 08-25-2009 11:25 AM

<a href="http://dev.mysql.com/doc/refman/5.1/en/error-messages-server.html#error_er_columnaccess_denied_error" target="_blank">http://dev.mysql.com/doc/refman/5.1/...s_denied_error</a>

This just means that user 'iwsgamin_iwsvb'@'localhost' can't use SELECT command.
Ask you hoster why.

digif 08-25-2009 04:07 PM

does someone know how to get rid of counter for thanks in profile??

mitch84 08-25-2009 04:11 PM

Quote:

Originally Posted by digif (Post 1874169)
does someone know how to get rid of counter for thanks in profile??

hi, normaly you can select this option in acp

9bz 08-25-2009 04:15 PM

this hack works with 3.8.4 install the hack then install My "Thank You Hack" Postbit Template ,Version: 1.00, by Boosted Panda. and it works great.

yes just fix this i did not put image in my style. hehehehehe

digif 08-25-2009 05:28 PM

Quote:

Originally Posted by mitch84 (Post 1874174)
hi, normaly you can select this option in acp

thnx

digif 08-25-2009 05:36 PM

hey, I got this when installing this product

Warning: require_once([path]/includes/functions_post_thanks.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/class_postbit.php(265) : eval()'d code on line 1

Fatal error: require_once() [function.require]: Failed opening required '/home/beneamat/public_html/includes/functions_post_thanks.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/beneamat/public_html/includes/class_postbit.php(265) : eval()'d code on line 1

when reading some threads

princeedward 08-25-2009 06:13 PM

thanks...for this...work great as usual.....;)

NTMID8 08-25-2009 06:38 PM

Quote:

Originally Posted by 9bz (Post 1874177)
this hack works with 3.8.4 install the hack then install My "Thank You Hack" Postbit Template ,Version: 1.00, by Boosted Panda. and it works great. but with my style the thanks button image is not all there. (just a box with a red cross and thanks in it.)

This means the button image is not in the right directory. Right-click on the red X and look at the Properties. It will show you the path and file name it is looking for. Place the fil in the correct spot, or create a button that matches your style with the correct filename and place in appropriate directory.

NTMID8 08-25-2009 06:41 PM

Would still like to find a way to have a post marked New once it has been thanked or to have the author of the post PM'd or otherwise notified when their post is thanked. Maybe a New Thanks notification with the rest of the options on the Notifications menu?

digif 08-25-2009 07:15 PM

Quote:

Originally Posted by digif (Post 1874224)
hey, I got this when installing this product

Warning: require_once([path]/includes/functions_post_thanks.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/class_postbit.php(265) : eval()'d code on line 1

Fatal error: require_once() [function.require]: Failed opening required '/home/beneamat/public_html/includes/functions_post_thanks.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/beneamat/public_html/includes/class_postbit.php(265) : eval()'d code on line 1

when reading some threads

NTMID8?

NTMID8 08-25-2009 09:20 PM

Quote:

Originally Posted by digif (Post 1874286)
NTMID8?

Not sure on this one, but have you checked to make sure the files listed were uploaded properly to your /includes directory of your forum root?

digif 08-25-2009 09:55 PM

what? I downloaded just the product, do I have to import something more?

snakes1100 08-25-2009 10:01 PM

Yes upload the files to your ftp, they are in the zip file you downloaded for a reason.

Turbe 08-28-2009 05:50 PM

Where would we edit/add a conditional statement to not show (in every User's Post)>

Shows how many thanks a user got - if this = 0, do not show this line at all (in a User's Posts).
Shows how many thanks a user gives - if this = 0, do not show this line at all (in a User's Posts).


They need to be independent conditionals for both of those

Thanks in advance

NTMID8 08-28-2009 08:29 PM

I'm still looking for a way to accomplish one of the following:

A) Provide the user a notification when they receive a thanks, much like the new PM, new comment or new friend request notifications

B) Mark the message that was thanked as unread so it shows up under New Posts

bek4ever7 08-30-2009 12:46 AM


i have installed this hack but the thanks button not showing ..

how can i added it & how can make statics in postbit showed ?



ChrisTech 08-31-2009 07:30 PM

Quote:

Originally Posted by bek4ever7 (Post 1876609)

i have installed this hack but the thanks button not showing ..


Ditto that, going to go back in and remove it, and reload it. Maybe something got hosed up.

** edit nope, still not even showing its installed. I see the options in admin panel, but nothing is showing on the boards. VB 3.8.3

Unless another hack is causing issues?

kalemisj 09-01-2009 04:39 PM

Quote:

Originally Posted by bek4ever7 (Post 1876609)

i have installed this hack but the thanks button not showing ..

how can i added it & how can make statics in postbit showed ?



Hello all . I have installed this hack too. Everything is working fine except that i can not see the button . It's only appears ''Thanks''
What i did wrong? My version of Vbulleting is 3.8.1 original license
Can anyone help me please?
thank you in advance

kalemisj 09-01-2009 09:59 PM

1 Attachment(s)
I found the problem. The attached image is not good for my version. I used this (attached) and worked fine . Thank you

Installed

alexchairman 09-02-2009 10:19 AM

Quote:

Originally Posted by alexchairman (Post 1867689)
Any one Please give me Post Thank error solution

Member total post 25 but thanks showing 4294967295

how to fix this error

still there is no solution ????????

Boni77 09-02-2009 08:01 PM

Quote:

Originally Posted by bek4ever7 (Post 1876609)

i have installed this hack but the thanks button not showing ..

how can i added it & how can make statics in postbit showed ?





bump, help or support would be a great thing...
Ver. 3.8.4
And Hack Ver. 7.7

dilbert 09-03-2009 10:46 AM

Quote:

Originally Posted by Makc666 (Post 1873992)
http://dev.mysql.com/doc/refman/5.1/...s_denied_error

This just means that user 'iwsgamin_iwsvb'@'localhost' can't use SELECT command.
Ask you hoster why.

I asked my host, and the db user does have access.
They said there had been no changes on the server, and I haven't made any changes to the forum.
All was well, then I started getting the db errors.
Any other suggestions?

Mad Kayaker 09-10-2009 08:00 PM

Love it! Thanks!

Joseph C 09-14-2009 04:00 PM

Very nice MOD I love it. Question is though how can I move the

Thanks: 0
Thanked 0 Times in 0 Posts

In Postbit? Its above the AIM,YIM,MSN icons I want it to be below it just looks cleaner. I looked i postbit templates couldnt find a trace of thanks to move it down.

Appreciate it!

choccyclaire 09-15-2009 10:16 PM

I just upgraded but have immediately had to go back to 7.4 as like many others the page refreshes once you click thanks. :(

jkcerda 09-20-2009 05:22 AM

its working :thumb:

Tolden 09-20-2009 09:40 AM

What am I doing wrong. I copied all the files on the server. I installed the "post_thanks_7-7_de.xml" and added "$template_hook[postbit_controls_left]" to postbit & "$template_hook[postbit_controls_left]" to postbit_legacy, but the "Thanks" Button does not appear!
In the Userprofile / Statistics I can see the informations of the hack, but no button at all? Someone an idea?

CharLzarD 09-21-2009 12:05 AM

Does anyone know how to get rid of the "Thanks"?

I only want the "Thanked" to show up.

zombietom 09-21-2009 01:28 AM

Quote:

Originally Posted by kalemisj (Post 1878063)
I found the problem. The attached image is not good for my version. I used this (attached) and worked fine . Thank you

Installed

I made a "Thanks button" pack some time ago,it has several different styles and colors of thanks buttons...nothing too fancy but it can come in handy.

https://vborg.vbsupport.ru/showthread.php?t=197389

thanks

jacko_162 09-21-2009 04:23 PM

1 Attachment(s)
i edited a few templates if anyone is interested in using them;

in template "post_thanks_box_bit"
Code:

<img src="INSERT_URL_HERE/thanks_icon.gif" border="0" /><a href="member.php?$session[sessionurl]u=$thank[userid]" rel="nofollow">$thank[username]</a><if condition="$date_thank">&nbsp;($date_thank)</if>$virg
Overwrite with the above code and replace "INSERT_URL_HERE" with your direct link to the image file (attached to this post) for example; "http://www.yoursite.com/forum/images/misc/thanks_icon.gif"


Next open up template "post_thanks_postbit"
Code:

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

and replace whole template with the above code.

the above template edits make the font and text fit better into most styles.

hope you like

Hi-Jack 09-21-2009 04:24 PM

Well, I installed it and initially thought it was working ok but when anyone clicks on "thanks" the whole page is messed up. I'm sure it conflicts with another mod or so so too bad...

rrahro 09-23-2009 07:29 PM

Cool, Worked !

FootyFansForum 09-24-2009 04:08 PM

Does this work with (vBulletin 3.8.4)

And does it recieve any login token coupon errors?

benny92000 09-26-2009 12:34 AM

Thanks for this!! Everyone on the forum loves it.

Is there a way to see the top thanked users?

SMXKidd 09-27-2009 06:50 PM

I've installed this, everything works except the image. I uploaded it into the right folder; however it's not working.

mintman72 09-28-2009 10:44 PM

I need some help with this one please!!

I've installed it, but the thanks do not get added to the user reputation. Also, they don't show up in the user cp either.

Anyone have any ideas?

ThomasBolley 09-29-2009 06:29 AM

how i can change the position of the post thanx button ?

found myself

goycarden 09-29-2009 08:40 AM

Is it possible to have the same look in postbit-legacy like normal postbit?


I mean this:

https://vborg.vbsupport.ru/external/2009/10/4.jpg

for postbit-legacy too.

The standard looking for legacy is too high for my style.

https://vborg.vbsupport.ru/external/2009/10/4.jpg


Edit:

I've found the solution. For all interested people: Only copy the code for the postbit-thank-template to the postbit-legacy one.

Cloud2 09-29-2009 04:52 PM

Hi, i have got some problem. How i can fix that ?

https://vborg.vbsupport.ru/external/2009/09/1.jpg


All times are GMT. The time now is 12:32 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.03463 seconds
  • Memory Usage 1,839KB
  • 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
  • (2)bbcode_code_printable
  • (12)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