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)

struff 02-02-2010 03:04 PM

It frustrates me that my partners and I can't get this to work on our site (using the default vB 4.0.1 style). Our users really liked the old Thanks (and the No Thanks) on vB 3.8 but we get nothing in the postbit and no Thanks icon to click now. Our profiles all show "Thanked 0 Times in 0 Posts" but that's the only indication that this product exists at all on our site.

armthehomeless1 02-02-2010 10:50 PM

Quote:

Originally Posted by I.am (Post 1971942)
Someone know how to align blog entries?

https://vborg.vbsupport.ru/

I am having this problem also. Is this because it doesn't support legacy yet?? Anyone got a work around??

Had to disable postbit cause it looks terrible!

TimberFloorAu 02-03-2010 12:12 AM

We have Legacy , works fine.

crazyace 02-03-2010 05:11 AM

Quote:

Originally Posted by armthehomeless1 (Post 1973465)
I am having this problem also. Is this because it doesn't support legacy yet?? Anyone got a work around??

Had to disable postbit cause it looks terrible!

I had this issue also. I disabled the thank you mod.

mfbmike 02-04-2010 06:17 PM

Quote:

Originally Posted by RedTrinity (Post 1971947)
I hope the same, our members are complaining about this issue as well.

Otherwise its a great hack :)

You probably still have the old post groan hack still installed but disabled.

I had the same issue. You need to completely uninstall the old post groan hack.

TimberFloorAu 02-04-2010 07:35 PM

I suspect Mike is correct.

When we upgraded we removed all old products, uninstalling. And then removing all files "that were uploaded" via ftp from each product.

Then started a fresh, with new versions.

ddaybofb 02-05-2010 04:12 PM

Any word on post groan hack?

s0lidgr0und 02-06-2010 10:32 AM

You guys should read this thread and/or the support forum before posting in here.

Quote:

Originally Posted by armthehomeless1 (Post 1973465)
I am having this problem also. Is this because it doesn't support legacy yet?? Anyone got a work around??

Had to disable postbit cause it looks terrible!

https://vborg.vbsupport.ru/showpost....&postcount=373

djbaxter 02-06-2010 03:10 PM

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.

djbaxter 02-06-2010 04:28 PM

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 mamber, but there is no display in postbit.

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;
}



All times are GMT. The time now is 10:41 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.03764 seconds
  • Memory Usage 1,746KB
  • 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
  • (4)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