vb.org Archive

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

blackdesign 09-20-2011 06:04 AM

Thank you so much brother. ;) I will try it. ;)

ngocol 09-23-2011 05:59 AM

installed 4.1.4 and no trouble thanks

shanef 09-23-2011 03:31 PM

How do i stop the numbers from going outside the postbit column? when the numbers start to get big the start to crawl out

Hippy 09-23-2011 06:37 PM

Quote:

Originally Posted by shanef (Post 2249306)
How do i stop the numbers from going outside the postbit column? when the numbers start to get big the start to crawl out



not much you could do ..
you could edit the line in your postbit with <br /> to drop the # down to a different line..

limit the time people can thank.. or pune them..

other than that .. nothing can be done I know of ..

ForceHSS 09-24-2011 01:17 PM

1 Attachment(s)
Version 7.84 (21/06/12 by Forcehss)
Version 7.85 added (22/02/15 by Forcehss)

shanef 09-24-2011 11:59 PM

Quote:

Originally Posted by Hippy (Post 2249371)
not much you could do ..
you could edit the line in your postbit with <br /> to drop the # down to a different line..

limit the time people can thank.. or pune them..

other than that .. nothing can be done I know of ..

i am willing to try the <br /> could you show me where to place in the the code of the postbit template. thank you

Knele 09-25-2011 10:52 AM

@ForceHSS

First of all thank you for supporting this hack :) secondly, i want to ask you is there any hide hack that is compatible with this one, or can you give me a piece of code or a mysql query that checks if a user has thanked a post so i can write my own hack ?

I'm an experienced PHP coder but unfamiliar with vbulletin.

Edit: forgot to mention vb version, 4.1.4

ForceHSS 09-25-2011 12:32 PM

Quote:

Originally Posted by Knele (Post 2249858)
@ForceHSS

First of all thank you for supporting this hack :) secondly, i want to ask you is there any hide hack that is compatible with this one, or can you give me a piece of code or a mysql query that checks if a user has thanked a post so i can write my own hack ?

I'm an experienced PHP coder but unfamiliar with vbulletin.

Edit: forgot to mention vb version, 4.1.4

https://vborg.vbsupport.ru/showthrea...ed+Post+Thanks
this one might be better for you then

Knele 09-25-2011 02:01 PM

It's impossible to position the thank you button like in this hack, inline with the edit/quote etc... (or at least that's what the guy replied when i asked them) that is why i chose this one. So there's nothing you can do to help me ?

tonmo 09-25-2011 07:21 PM

+1 for a notification enhancement - and/or a CMS Widget -- would love to see an activity log for who is thanking what (and would like my members to see it as well)

taavipost 09-27-2011 11:01 AM

The following dependencies were not met:

This product is not compatible with version 4.1.4 of vBulletin. (Compatible starting with 4.0.0 beta 4 / Incompatible with 4.1.0 alpha 1 and greater)


Why cant i import that plugin to my 4.1.4 version ?:(

ForceHSS 09-27-2011 01:31 PM

install the updated one in my post above

taavipost 09-27-2011 04:28 PM

Sry, im dumb, but i only see 1 File in your post: post_thanks_7_82.zip (26.4 KB, 14550 downloads)

ForceHSS 09-27-2011 09:57 PM

that is not my post check poster name
try scrolling up a few posts to post 1847

ForceHSS 09-27-2011 10:05 PM

or check my sig

taavipost 09-28-2011 10:50 AM

Thanks, now it lets me to uplod it, but after upload it gives me mysql error:


Database error in vBulletin 4.1.4:

Invalid SQL:

SELECT stylevardfn.stylevarid, stylevardfn.datatype, stylevar.value
FROM stylevardfn AS stylevardfn
LEFT JOIN stylevar AS stylevar ON (stylevardfn.stylevarid = stylevar.stylevarid AND stylevar.styleid = -1);

MySQL Error : Table 'itmaailm_foorum.stylevar' doesn't exist
Error Number : 1146
Request Date : Wednesday, September 28th 2011 @ 02:49:28 PM
Error Date : Wednesday, September 28th 2011 @ 02:49:29 PM
Script : http://itmaailm.eu/admincp/plugin.php?do=productkill
Referrer : http://itmaailm.eu/admincp/plugin.ph...post_thanks&s=
IP Address : 82.131.25.157
Username : Stenkaa
Classname : vB_Database
MySQL Version : 5.0.92-community

solohdes 09-28-2011 12:38 PM

It would be great to have notifications thanks to know the origin of thanks is the only thing that need this hack to be perfect.

ForceHSS 09-28-2011 04:51 PM

Quote:

Originally Posted by J40544756F6D (Post 2250861)
Thanks, now it lets me to uplod it, but after upload it gives me mysql error:


Database error in vBulletin 4.1.4:

Invalid SQL:

SELECT stylevardfn.stylevarid, stylevardfn.datatype, stylevar.value
FROM stylevardfn AS stylevardfn
LEFT JOIN stylevar AS stylevar ON (stylevardfn.stylevarid = stylevar.stylevarid AND stylevar.styleid = -1);

MySQL Error : Table 'itmaailm_foorum.stylevar' doesn't exist
Error Number : 1146
Request Date : Wednesday, September 28th 2011 @ 02:49:28 PM
Error Date : Wednesday, September 28th 2011 @ 02:49:29 PM
Script : http://itmaailm.eu/admincp/plugin.php?do=productkill
Referrer : http://itmaailm.eu/admincp/plugin.ph...post_thanks&s=
IP Address : 82.131.25.157
Username : Stenkaa
Classname : vB_Database
MySQL Version : 5.0.92-community

that error has nothing to do with this plugin looks like you are missing stylevar table upload all your board files and run the upgrade.php might put that table back in place

vBTwist 10-01-2011 12:24 PM

This is a great mod and has helped us create a "like" modification over at vBTwist.com :up:

matt94gt 10-01-2011 08:09 PM

This wont work on 4.1.5 any tips?

I get error:

"The following dependencies were not met:
This product is not compatible with version 4.1.5 of vBulletin. (Compatible starting with 4.0.0 beta 4 / Incompatible with 4.1.0 alpha 1 and greater)"

Hippy 10-01-2011 08:13 PM

<a href="https://vborg.vbsupport.ru/showpost.php?p=2197392&postcount=1546" target="_blank">https://vborg.vbsupport.ru/showp...postcount=1546</a>

matt94gt 10-01-2011 08:26 PM

That worked. Thanks. One little thing I see is I thanked someone and it now says

"Thanked 1 Time in 1 Post 0
Feedback Score"

Is there a way to fix this alignment? See example here:
http://sn95forums.com/showthread.php...ciation-solved

Also is there a way to only allow it in certain sections, like I dont really want it in the lounge as people will abuse it.

Thanks

ForceHSS 10-01-2011 09:04 PM

my sig has a more up to date version

Hippy 10-01-2011 09:07 PM

<a href="https://vborg.vbsupport.ru/showpost.php?p=2189070&postcount=1489" target="_blank">https://vborg.vbsupport.ru/showp...postcount=1489</a>

StikxX 10-02-2011 12:45 PM

I've installed the Thank You Hack.
Today I've found that the Thanks be displayed incorrectly (see image)

http://www8.pic-upload.de/02.10.11/ek4elyjbg9vp.jpg

I've only once Bedankt, but it is "contributing thanked 2 times in 2"
And I got it two acknowledgments, however, is only "Thank you one" there.

So if the two things are reversed.
Can you help me?

Hippy 10-02-2011 01:23 PM

try a <br /> after or before this code
Code:

<dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>

StikxX 10-02-2011 02:02 PM

it is still displayed incorrectly

There must be exactly the other way.
I have to thank you again and I got two Acknowledgments

Hippy 10-02-2011 02:28 PM

send me a link to your site ..via pm
I will look at the source and see what is causing it

Hippy 10-02-2011 02:39 PM

this is my post_thanks_postbit_info template
Code:

<vb:if condition="$post['userid']">
    <dt>{vb:rawphrase post_thanks_thanks}</dt> <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd>
    <vb:if condition="$post['post_thanks_thanked_times'] == 1">
        <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_time_post}</dd>
    <vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
        <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</dd>
    <vb:else />
        <dd style="white-space:nowrap; display:inline; float: {vb:stylevar left};">{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</dd>
    </vb:if>
</vb:if>

replace yours with this one and see


Quote:

Originally Posted by matt94gt (Post 2252085)
That worked. Thanks. One little thing I see is I thanked someone and it now says

"Thanked 1 Time in 1 Post 0
Feedback Score"

Is there a way to fix this alignment? See example here:
http://sn95forums.com/showthread.php...ciation-solved

Also is there a way to only allow it in certain sections, like I dont really want it in the lounge as people will abuse it.

Thanks

Quote:

Originally Posted by StikxX (Post 2252341)
it is still displayed incorrectly

There must be exactly the other way.
I have to thank you again and I got two Acknowledgments


d19rnyxx 10-02-2011 05:36 PM

Love this hack now I need to find out where i can edit this text so I can translate it into French http://www.screensnapz.com/v/?i=iechll3913IECH.png

michal72 10-02-2011 06:34 PM

Quote:

Originally Posted by d19rnyxx (Post 2252413)
Love this hack now I need to find out where i can edit this text so I can translate it into French http://www.screensnapz.com/v/?i=iechll3913IECH.png

post_thanks_user_says

ForceHSS 10-02-2011 09:52 PM

Quote:

Originally Posted by d19rnyxx (Post 2252413)
Love this hack now I need to find out where i can edit this text so I can translate it into French http://www.screensnapz.com/v/?i=iechll3913IECH.png

that comes up as a virus

car20 10-03-2011 08:42 AM

Hello

admin cant see Remove all link from a post !!

How do I fix it ?

michal72 10-03-2011 02:16 PM

Quote:

Originally Posted by car20 (Post 2252616)
Hello

admin cant see Remove all link from a post !!

How do I fix it ?

Check if your admin group has id 6, if not you need to change post_thanks_postbit template

stained 10-03-2011 07:00 PM

Quote:

Originally Posted by matt94gt (Post 2252085)
That worked. Thanks. One little thing I see is I thanked someone and it now says

"Thanked 1 Time in 1 Post 0
Feedback Score"

Is there a way to fix this alignment? See example here:
http://sn95forums.com/showthread.php...ciation-solved

Also is there a way to only allow it in certain sections, like I dont really want it in the lounge as people will abuse it.

Thanks

Hi,

To fix the alignment issue open the template blog_postbit_entries_link and add <br /> before:
PHP Code:

<dt>{vb:rawphrase blog_entries

You might need two but try it out. This worked for me on 4.1.6

Hippy 10-03-2011 07:36 PM

the updated file posted in this thread fixes all the issues
and re-inables the post thanks search ;)

stained 10-04-2011 06:22 AM

Well, you say that but... :) In vb 4.1.6 I have tried the Abe1 7.8.2 version, I have tried the 7.8.2 version you linked to here due to the 4.1.6 incompatibility issue reported here and I've tried the 7.8.3 version here.

None of them fix that postbit alignment issue. The only way to get things to work is by adding a break to blog_postbit_entries_link to push the Blog Entries line in the postbit down so that this:

Thanks: 0
Thanked: 0 Times in 0 Posts4
Blog Entries

becomes this:

Thanks: 0
Thanked: 0 Times in 0 Posts

Blog Entries 4

vb50kgpoo 10-04-2011 09:10 AM

Am getting mysql errors when guests click "thank"; should guests be able to see the thank button anyway??

Database error in vBulletin 4.1.5:

Invalid SQL:

REPLACE INTO vb_search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
VALUES (0, '80.67.0.130', 1, 'Scabbard', '', 'post.dateline', 'DESC', 0.00052, 1, '49,35,27', 1317721745, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{} s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:1;s:8:\" Scabbard\";}s:6:\"forums\";i:0;s:7:\"options\";a:3 :{s:11:\"starteronly\";i:0;s:11:\"childforums\";i: 1;s:6:\"action\";s:7:\"process\";}}', '2a08d0936e50ea2d7ab9abc0c5dbc9bf');

MySQL Error : Table 'antsword_enter.vb_search' doesn't exist
Error Number : 1146
Request Date : Tuesday, October 4th 2011 @ 02:49:05 AM
Error Date : Tuesday, October 4th 2011 @ 02:49:05 AM
Script : http://www.mydomain.org/post_thanks...._user_gave&u=1
Referrer : http://www.domaincrawler.com/mydomain.org
IP Address : 80.67.0.130
Username : Unregistered
Classname : vB_Database
MySQL Version :

vb50kgpoo 10-04-2011 10:26 AM

Hosting company says this;

Hello,
Script located at post_thanks.php is looking for a table named vb_search, there is no such table in your database. We've checked your backup of 23-SEP-2011 and there was no such table at that time.

It seems you've installed a plugin or module, but for some reasons it had not installed properly.

cayne 10-04-2011 12:03 PM

Is there a working version for vBulletin 4.1.6?


All times are GMT. The time now is 08:06 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.05918 seconds
  • Memory Usage 1,837KB
  • 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
  • (1)bbcode_php_printable
  • (10)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