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)

jancarlo 12-31-2009 01:43 PM

1 Attachment(s)
I come out a mess thanks :confused:

AzzidReign 12-31-2009 02:34 PM

One of the best hacks ever! Thanks for updating quickly!

hmedi 12-31-2009 02:59 PM

Quote:

Originally Posted by sigh (Post 1943364)
We are also having this problem, as quoted. Every time a user clicks the "Thanks" button the page reloads. I don't think this is intended behaviour - any suggestions on fixing it?

We are using vB4 PL1, default style with some colour modifications.

Thanks!


The same problem


Thank you for the nice hak:)

garretbyrne 12-31-2009 04:20 PM

I've tried to install but came across an issue.. I had this mod back in 3.8.4 and my members love it was being well used.. but had to uninstall all the mods because of an issue upgrading to 4 (I'm aware I might have lost previous thanks count) but now when I install I get an SQL error..

------------------
Database error in vBulletin 4.0.0:

Invalid SQL:
ALTER TABLE `user` ADD `post_thanks_user_amount` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL;

MySQL Error : Duplicate column name 'post_thanks_user_amount'
Error Number : 1060
Request Date : Thursday, December 31st 2009 @ 06:06:50 PM
Error Date : Thursday, December 31st 2009 @ 06:06:51 PM
Script : http://www.irishparanormal.org/admin...=productimport
Referrer : http://www.irishparanormal.org/admin...?do=productadd
IP Address : 79.97.12.86
Username : Garret
Classname : vB_Database
MySQL Version : 5.0.85-community
------------------

Is there any ideas on how to fix this?? Because I really like this thanks..

dodgeboard.com 12-31-2009 04:30 PM

Any updates on the post groan addition to this?

We use this hack a little differently on our forums. I had converted the phrases to AGREE (for post thanks) and DISAGREE (for post groan).

This allowed other members of the forums to agree or disagree on a topic without actually cluttering the forums with short posts.

Worked very well.

I would install and support this hack, once the other half is available. :D

Thanks for all your work thus far.

dmart 12-31-2009 05:15 PM

Quote:

Originally Posted by S4RFamily (Post 1943380)
I see that the mod have 2 buttons image but i dont see it when installed. Just "Thank" text :)
How enable it, master :)


Same prob here anyone know how to get the thumb images to show next to the text ?

huuquynh 12-31-2009 05:21 PM

Sometime, I got this error:

Database error in vBulletin 4.0.0:

Invalid SQL:

REPLACE INTO vb_search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
VALUES (0, '67.195.112.188', 1, 'Clue', '', 'post.dateline', 'DESC', 0.00284, 1, '1364950,1364429,1364397', 1262286103, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{} s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:1587;s:4 :\"Clue\";}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\";}}', '5ccd1105ee3bae40ab83b817fe6f2f0a');

MySQL Error : Table 'my_forum.vb_search' doesn't exist
Error Number : 1146
Request Date : Friday, January 1st 2010 @ 02:01:43 AM
Error Date : Friday, January 1st 2010 @ 02:01:43 AM
Script : http://mydomain.com/post_thanks.php?...er_gave&u=1587

What is wrong? I can not find the table vb_search in my forum's database.

vulture 12-31-2009 06:50 PM

Quote:

Originally Posted by garretbyrne (Post 1943487)
I've tried to install but came across an issue.. I had this mod back in 3.8.4 and my members love it was being well used.. but had to uninstall all the mods because of an issue upgrading to 4 (I'm aware I might have lost previous thanks count) but now when I install I get an SQL error..

------------------
Database error in vBulletin 4.0.0:

Invalid SQL:
ALTER TABLE `user` ADD `post_thanks_user_amount` INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL;

MySQL Error : Duplicate column name 'post_thanks_user_amount'
Error Number : 1060
Request Date : Thursday, December 31st 2009 @ 06:06:50 PM
Error Date : Thursday, December 31st 2009 @ 06:06:51 PM
Script : http://www.irishparanormal.org/admin...=productimport
Referrer : http://www.irishparanormal.org/admin...?do=productadd
IP Address : 79.97.12.86
Username : Garret
Classname : vB_Database
MySQL Version : 5.0.85-community
------------------

Is there any ideas on how to fix this?? Because I really like this thanks..

See my post. The install script is coded incorrectly are far as I'm concerned as it doesn't take into account if you are doing an upgrade.

Edit: as you uninstalled, you should really check if all the alterations made by the script are in you db. If not, you need to change the install accordingly.

LuckyNeo 12-31-2009 07:33 PM

Awesome! Thank you, VERY MUCH for this hack!;)

imagirlgeek 12-31-2009 08:46 PM

Quote:

Originally Posted by huuquynh (Post 1943511)
Sometime, I got this error:

Database error in vBulletin 4.0.0:

Invalid SQL:

REPLACE INTO vb_search (userid, ipaddress, personal, searchuser, forumchoice, sortby, sortorder, searchtime, showposts, orderedids, dateline, displayterms, searchhash)
VALUES (0, '67.195.112.188', 1, 'Clue', '', 'post.dateline', 'DESC', 0.00284, 1, '1364950,1364429,1364397', 1262286103, 'a:6:{s:5:\"words\";a:0:{}s:9:\"highlight\";a:0:{} s:6:\"common\";a:0:{}s:5:\"users\";a:1:{i:1587;s:4 :\"Clue\";}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\";}}', '5ccd1105ee3bae40ab83b817fe6f2f0a');

MySQL Error : Table 'my_forum.vb_search' doesn't exist
Error Number : 1146
Request Date : Friday, January 1st 2010 @ 02:01:43 AM
Error Date : Friday, January 1st 2010 @ 02:01:43 AM
Script : http://mydomain.com/post_thanks.php?...er_gave&u=1587

What is wrong? I can not find the table vb_search in my forum's database.

I see this too. Anyone know what I need to change to stop it?


All times are GMT. The time now is 08:04 PM.

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.18460 seconds
  • Memory Usage 1,753KB
  • 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
  • (4)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