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)

betty02 02-08-2010 10:06 AM

How come i get the word Thanks! could i not have the little images that are included in the .zip?

https://vborg.vbsupport.ru/external/2010/02/77.jpg

Kolbi 02-08-2010 02:33 PM

I got another 3 MySQL failure message with nr 1146....

x YNWA x 02-08-2010 03:07 PM

Is there a way to have it so it just shows something like "Recieved Thanks: 15", instead of what the user has given out?

cmeinck 02-08-2010 04:02 PM

I made the mistake of uninstalling the product. This removed all the data from the table post_thanks. I have an older backup of my forums with this table, which I then used to replace the emptied table on my live forums.

I'm still seeing 0 of 0 thanks, but there is data in the post_thanks table.

Are there any vBulletin Updates or database queries to get this data recognized?

djbaxter 02-09-2010 01:47 PM

1 Attachment(s)
Quote:

Originally Posted by djbaxter (Post 1976072)
My apologies if this has already been addressed.

vBulletin 4.01

This version of the Thank you hack.

Groans not installed.

The buttons show up correctly.

Clicking on the button updates the thanks count for a mmmber in the User CP and the thanks count in the postbit, but doers NOT display the "Thanked by" informatiion under the post.

Added: Happens in both IE8 and Firefox 3.6.

Quote:

Originally Posted by djbaxter (Post 1976110)
More information: When I click on "Thanks", in IE8 I get this error:

Code:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.4; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Sat, 6 Feb 2010 18:27:47 UTC


Message: Object required
Line: 48
Char: 2
Code: 0
URI: http://myforum.com/clientscript/post_thanks.js


Message: 'null' is null or not an object
Line: 12
Char: 4
Code: 0
URI: http://myforum.com/clientscript/post_thanks.js

And here's the portions of that file referenced.

Around line 12:

Code:

var post_thanks_handleSuccess = function(o)
{
        if(o.responseText !== undefined)
        {
                if (post_thanks_callback.object_name[o.tId] !== undefined)
                {
                        fetch_object(post_thanks_callback.object_name[o.tId]).innerHTML = o.responseText;
                }
        }
}

Around line 48:

Code:

function post_thanks_give(postid, integrate)
{
        fetch_object('post_thanks_button_' + postid).style.display = 'none';
        fetch_object('post_thanks_separator_' + postid).style.display = 'none';

        if (integrate == true)
        {
                fetch_object('post_groan_button_' + postid).style.display = 'none';
        }

        var sUrl = 'post_thanks.php';
        var postData = 'do=post_thanks_add&using_ajax=1&p=' + postid + '&securitytoken=' + SECURITYTOKEN;

        var request = YAHOO.util.Connect.asyncRequest('POST', sUrl, post_thanks_callback, postData);

        post_thanks_callback.object_name[request.tId] = 'post_thanks_box_' + postid;

        fetch_object('post_thanks_box_' + postid).style.display = '';

        return false;
}


More information: I just clicked on the Thanks button for a member (I am the owner and admin) and received this:

HansMuenchen 02-10-2010 05:24 PM

Quote:

Originally Posted by Kolbi (Post 1977320)
Got this:
MySQL-Fehler : Table 'search' doesn't exist
Fehler-Nr. : 1146

Here it's the same, someone a idea how to fix it?

Thnx for the answer.

hans

MrKramer 02-10-2010 06:50 PM

Quote:

Originally Posted by HansMuenchen (Post 1979295)
Got this:
MySQL-Fehler : Table 'search' doesn't exist
Fehler-Nr. : 1146

i got this also, its updating the table search, but that table isnt in our DB... and shouldn't be there also.

please make a fix

kermekhaki 02-10-2010 09:25 PM

what is error ? problem db .When I click on the threads. Error occurs.

Database error in vBulletin 4.0.1:

Invalid SQL:
SELECT * FROM post_thanks AS post_thanks INNER JOIN user AS user USING (userid) WHERE post_thanks.postid IN (0Array) ORDER BY post_thanks.username ASC;

MySQL Error : Unknown column '0Array' in 'where clause'
Error Number : 1054
Request Date : Thursday, February 11th 2010 @ 12:22:43 AM
Error Date : Thursday, February 11th 2010 @ 12:22:44 AM
Script : ************
Referrer : *********
IP Address : ********
Username : *********
Classname : vB_Database
MySQL Version : 5.0.81-log

HansMuenchen 02-10-2010 09:51 PM

Quote:

Originally Posted by MrKramer (Post 1979368)
i got this also, its updating the table search, but that table isnt in our DB... and shouldn't be there also.

please make a fix

What you mean with fix? How can I do this?

Thank you for your answer.

Greetings
Hans

Bisha 02-10-2010 11:19 PM

1 Attachment(s)
here you have some nice small pics for Thank you Hack!


All times are GMT. The time now is 10:49 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.03706 seconds
  • Memory Usage 1,750KB
  • 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
  • (3)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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