Thread: Show Thread Enhancements - [AJAX] Post Thank You Hack
View Single Post
  #605  
Old 20 May 2008, 09:21
Sunsetdriver Sunsetdriver is offline
 
Join Date: Mar 2007
Lightbulb

Originally Posted by Sunsetdriver View Post
I really don't know. It keeps loading the page with the 'adding product...' message without finalizing. However I went to cpanel and the 'post_thanks' table was created.
As I've said, I've already installed other hacks which create tables in database, so I don't know why this one isn't working.
MAYBE I've found the error.
My user table has 11,000+ records

Basically the hack successfully creates the post_thanks table and also alter it by adding the 'postid' index.

What it doesn't do is alter the 'user' table to add new fields (post_thanks_user_amount....). Maybe 'cause I have too many users?

Can I manually do those 'alter table' queries via phpmyadmin?

ALTER TABLE ****_user ADD post_thanks_user_amount INT(10) UNSIGNED DEFAULT '0' NOT NULL;
ALTER TABLE ****_user ADD post_thanks_amount INT(10) UNSIGNED DEFAULT '0' NOT NULL;
ALTER TABLE ****_user ADD post_thanks_thanked_posts INT(10) UNSIGNED DEFAULT '0' NOT NULL;
ALTER TABLE ****_user ADD post_thanks_thanked_times INT(10) UNSIGNED DEFAULT '0' NOT NULL;
If so, will I be able to update the hack in the future?
Thanks.
Reply With Quote