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)

NachoTPAO 05-02-2010 03:26 PM

It worked fine for a year, but now my users randonmly have over 4 billion thanks (probably the thanks counnter variable's maximun), it's there a way to fix it?

fatal1980 05-02-2010 08:04 PM

I found that I have a few random users with 1-2 posts but billions of thanks also... no idea why..

TURKCESPIKER 05-03-2010 05:56 AM

I have the same problem.Now i have some members which have 4 billions thanks.I asked them if they know anything about this...but they don't...so i hope it will be fixed.

vortech1 05-11-2010 12:37 AM

I have vBulletin 3.8.4 Patch Level 2 installed this everything works but the there is no thank you button in the post. Is there a simple fix?

Simon Lloyd 05-11-2010 02:49 AM

Quote:

Originally Posted by vortech1 (Post 2034845)
I have vBulletin 3.8.4 Patch Level 2 installed this everything works but the there is no thank you button in the post. Is there a simple fix?

Are you sure you have the images in the right folder? Is the product enabled?, Have you got the settings right for posting thanks?

Remember unless you turned it on you won't see the thanks button in your posts, or you may have it set for only the first post or you may have a post count restriction set.

I used it out of the box on 3.8.4 and have upgraded to 3.8.5 with no problems.

Mostjolly 05-11-2010 08:32 AM

Question:

Since you CAN'T thank a person in "PM" how do you remove the button?

Thanks!

vortech1 05-11-2010 12:58 PM

Quote:

Originally Posted by Simon Lloyd (Post 2034889)
Are you sure you have the images in the right folder? Is the product enabled?, Have you got the settings right for posting thanks?

Remember unless you turned it on you won't see the thanks button in your posts, or you may have it set for only the first post or you may have a post count restriction set.

I used it out of the box on 3.8.4 and have upgraded to 3.8.5 with no problems.

Yep I put the image under the default and my custom theme ./wrimages/buttons/

Product enabled. I checked settings everything looks right.. Just nothing shows up in the post. i can see the thank you stats in there profile.

Simon Lloyd 05-11-2010 06:25 PM

Quote:

Originally Posted by vortech1 (Post 2035128)
Yep I put the image under the default and my custom theme ./wrimages/buttons/

Product enabled. I checked settings everything looks right.. Just nothing shows up in the post. i can see the thank you stats in there profile.

I think you will find that because you have changed the name of your images file you will need to do that in the mod too! wrimages is referenced in the mod as images.

vortech1 05-11-2010 06:34 PM

Not sure I follow where would I change that?

Simon Lloyd 05-11-2010 07:10 PM

How do you have you variables set up? are you using this $stylevar[imgdir_button] to display all your other buttons i.e pointed to the style vars, you should have your images/buttons location set in the Style Vars at this point
Button Images Folder
This is the folder containing all the button images for this style.
The location of this folder can be overridden by a language setting

vortech1 05-11-2010 07:32 PM

Style Manager/ All style options / Image Paths / Button Images Folder / wrimages/buttons should that be set some where else as well? All my other buttons work. Just not the thank you image but I put it in the images/buttons and wrimages/buttons to be sure.

Simon Lloyd 05-11-2010 08:57 PM

Maybe qualify the location of the php file then in Styles & Tempalates>Style Manager>YOUR STYLE>Post Thank You Templates>post_thanks_button at the top you will see <a href="post_thanks.php......etc maybe qualify it like this <a href="http://www.YOURSITE.COM/FORUM/post_thanks.php....etc


Just a shot in the dark, without beig able to see that all the files have been ftp'd to the correct places, checking your styles....etc i don't think i can help further, sorry :(

KrisP 05-15-2010 05:53 PM

Suggestion. More configurable buttons, fx. "I Agree", "Best post in thread", "Thanks" etc. combined with vbexperience this could be a powerfull very rating/rep system.

I am actually planning on doing an attemt to hack the core functionality of this myself over the next weeks/months.

sbs68 05-16-2010 07:24 PM

Quote:

Originally Posted by R*NightOwl (Post 1988580)
I was able to fix the depreciated errors, open "post_thanks.php",
replace

PHP Code:

error_reporting(E_ALL & ~E_NOTICE); 

with

PHP Code:

error_reporting(E_ALL E_DEPRECATED); 

doesn't really replace or fix the depreciated code, but, at least it works.

It worX - Genius !

By the way R*NightOwl says this is not the real solution. Somebody knows what is that???????

Simon Lloyd 05-17-2010 08:49 AM

Quote:

Originally Posted by sbs68 (Post 2038085)
It worX - Genius !

By the way R*NightOwl says this is not the real solution. Somebody knows what is that???????

To Take care of later PHP incompatibilities or problems it should read:
PHP Code:

error_reporting(E_ALL & ~E_NOTICE & ~8192); 


Dj Smuggla 05-17-2010 10:51 AM

Quote:

Originally Posted by Makc666 (Post 1987605)
Search in templates for:
PHP Code:

$template_hook[postbit_controls

You will find it in two templates:
  • postbit
  • postbit_legacy

Will look like:
PHP Code:

        $template_hook[postbit_controls]
        <!-- / 
controls --> 

Now you have to move:
PHP Code:

$template_hook[postbit_controls

some about ~20 lines up.

And put it right after:
PHP Code:

<!-- controls --> 


So it will look like:
PHP Code:

        <!-- controls -->
        
$template_hook[postbit_controls

P.S. Note that
PHP Code:

<!-- / controls --> 

and
PHP Code:

<!-- controls --> 

are different lines.

Also!

All other products' buttons which also use this hook will move left.

Thanks Makc666 it worked great...

MonkYZ 05-21-2010 06:21 AM

Sorry, i think i posted in the wrong area (4.x version) so i appologise and post it here too:

Abe1, can you please add an option for "No Thanks" or "Thumbs down" ? Something to be the exact opposite of Thanks... because it seems everyone is abusing Thanks on my forum, but bad comments can't be rated. It would be really great to be able to rate down a post.

Thank you in advance and keep up the good work ! This is probably the most used mod on my forum

magic77 05-22-2010 08:25 PM

Many Thanks for this nice hack ...

Any way to force users thank ; before they Download attachments ?

The Executioner 05-24-2010 04:01 PM

Installed and working great!!!

The Executioner 05-24-2010 04:02 PM

Quote:

Originally Posted by magic77 (Post 2041994)
Many Thanks for this nice hack ...

Any way to force users thank ; before they Download attachments ?

I think you can force members to read a thread and then set to a minimum of amount of posts to be made before they can download anything.

tech@MSE 05-25-2010 01:16 PM

We are seeing this db error for some users:

Quote:

SELECT * FROM vb_post_thanks AS post_thanks INNER JOIN vb_user AS user USING (userid) WHERE post_thanks.postid IN () ORDER BY post_thanks.username ASC;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY post_thanks.username ASC' at line 1
Also users in Opera seem to be having problems using this hack, while IE appears to always work...

tech@MSE 05-25-2010 03:08 PM

We're also seeing failed attempts to access pages entitled "thanks<postid>" (where <postid> is the actual postid number) in the PHP error logs. They are throwing File does not exist of course. Anyone else seeing that?

payman 05-26-2010 05:34 AM

hi when i press thanks button say me :

page not found

!!!! how repair this error
please help me
my vb : 3.8.5
thnks version : 7.7
i upload all file in host

payman 05-26-2010 06:20 AM

i found it 1 file not uploaded in host

corbis 05-27-2010 04:58 PM

Hello,

I have some remnants of this plugin installed, even though i have disabled it.

I have purchased the vS-Hide Hack Resurrection (Expanded Edition) but some traces of this hack i believe making the regular [hide] tag not work....

I am getting errors emailed to me like:

Database error in vBulletin 3.8.5:

Invalid SQL:

SELECT post_thanks.postid AS postid
FROM tbmforumpost_thanks AS post_thanks
LEFT JOIN tbmforumpost AS post USING (postid)
INNER JOIN tbmforumthread AS thread ON(thread.threadid = post.threadid)
WHERE post_thanks.userid = 6041
AND thread.forumid IN(142,2,93,108,60,4,140,96,97,98,101,99,61,100,14 1,67,68,65,7,64,6,63,62,78,79,123,124,125,126,127, 129,130,106,107,131,13,53,14,16,55,138,139,134,17, 9,133,132,135,136,102,103,104,105,94,52,18,92,89,9 0,91)
ORDER BY post.dateline DESC
LIMIT 1000;

MySQL Error : Table 'thebaymusic.tbmforumpost_thanks' doesn't exist
Error Number : 1146
Request Date : Thursday, May 27th 2010 @ 12:24:03 PM
Error Date : Thursday, May 27th 2010 @ 12:24:03 PM
Script : http://board.thebaymusic.com/post_th...er_gave&u=6041
Referrer :
IP Address : 67.218.116.164
Username : Unregistered
Classname : vB_Database
MySQL Version :


Can you possibly point me in the direction of how i can fully remove this hack? I believe i didnt upgrade it along the way at some point when i updated to vb 3.8.5 and its manually in some of my templates or something...

Been Told 05-31-2010 03:16 PM

Is there ever going to be a feature where a thanked person is notified via the notifications menu when someone thanks them?

romaszek 06-04-2010 07:46 PM

Hi.
As to add "Remove All" for the Moderator?

Thanks :)

RFViet 06-06-2010 04:18 PM

How to remove all thanks from a user ?

yamahapaul 06-06-2010 04:33 PM

Quote:

Originally Posted by Been Told (Post 2046071)
Is there ever going to be a feature where a thanked person is notified via the notifications menu when someone thanks them?

You get a notification if you use it along with this mod-

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

nintendo 06-15-2010 01:14 AM

Quote:

Originally Posted by Been Told (Post 2046071)
Is there ever going to be a feature where a thanked person is notified via the notifications menu when someone thanks them?

Don't get your hopes up...

Last Update: 27 Jul 2008

Fivestones 06-15-2010 05:33 PM

Thanks i like it a lot ..

Xtrigit 07-05-2010 05:26 PM

How do I make the thanks button visible to everyone?

Currently, only registered members can see it.

Thanks

MonkYZ 07-15-2010 05:02 AM

Quote:

Originally Posted by MonkYZ (Post 2041061)
Abe1, can you please add an option for "No Thanks" or "Thumbs down" ? Something to be the exact opposite of Thanks... because it seems everyone is abusing Thanks on my forum, but bad comments can't be rated. It would be really great to be able to rate down a post.

Thank you in advance and keep up the good work ! This is probably the most used mod on my forum

Any chance for something like this ?

bahrainonline 07-21-2010 02:30 PM

i have problem installing this, its taking long time and nothing happen, its just hang, any luck on installing it or show me the manual way of installing it

Welshy2008 07-29-2010 03:50 PM

Is there any way that I could Hide the "Find all thanked posts by" and the " Find all posts thanked by" links in the profile, from Unregistered/not logged in, please?

I don't want to disallow access for unregistered/not logged in, for them all, just limitations as to what they can see.

I want logged in members to see everything. Is this possible please?

Many Thanks.

dpnow 08-06-2010 08:06 PM

I have the problem where I can't see the thankyou button. The stats are in the user's profile page, but there are no buttons on posts. Could this be a template issue?

Ian

dpnow 08-09-2010 01:18 PM

I have now installed this on all three of my forums.

At dpnow.com/forum2 I only see the stats on the profile page, nothing else.

On e-group.uk.net/forum the button shows and I see stats on the profile page, but no user stats on the posts.

Finally, on fourthirds-user.com/forum - it seems to work fine! :)

SO just need some help with the other two sites...

Ian

newguy 08-11-2010 03:16 PM

I did look, and search this thread, but it is almost 2000 post's long now. So I want to ask something.

I have "Show Stats in Postbit" set to yes. What is the code I would use to to manually edit my postbit legacy template so this info would show in the postbit just like the other information that I have in my postbit legacy? Basically I want to set "Show Stats in Postbit" to no, then edit my template and have the same information look like I want it to.

newguy 08-12-2010 06:27 PM

Quote:

Originally Posted by newguy (Post 2082211)
I did look, and search this thread, but it is almost 2000 post's long now. So I want to ask something.


I have "Show Stats in Postbit" set to yes. What is the code I would use to to manually edit my postbit legacy template so this info would show in the postbit just like the other information that I have in my postbit legacy? Basically I want to set "Show Stats in Postbit" to no, then edit my template and have the same information look like I want it to.

bump, can any one help?

cmmguy 08-20-2010 09:33 PM

Bug? If a user edits a posts that has a THANKS, the THANKS is cleared. Is this intentional?


All times are GMT. The time now is 02:29 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.05938 seconds
  • Memory Usage 1,844KB
  • 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
  • (10)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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