If you are getting errors about the my SQL table not working run this query:
[sql]CREATE TABLE prefix_forum_home_counter (
`count` varchar(6) NOT NULL default '',
PRIMARY KEY (`count`)
) TYPE=MyISAM;
INSERT INTO prefix_forum_home_counter VALUES ('0');
[/sql]
All Done
[high]What will be added?[/high]
amount of users who visted on the calender
[high]Update Log[/high]
1.0.4; No more edits.
1.0.3; Changed numbers from 1000 to 1,000.
1.0.2; Fixed the the install, the text on forum home.
1.0.1; Fixed to work with table prefixs.
[high]*Support Info[/high]
Support is only given to those who click install! It's a simple request.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
MySQL said: Documentation
#1064 - 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 '584254' at line 1
MySQL said: Documentation
#1064 - 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 '584254' at line 1
Any advice?
try this:
[sql]UPDATE `forum_home_counter` SET `count` = '60';[/sql]
Would be great if this worked - for whatever reason it doesn't add the table in the database, tried to create it manaually but just didn't work - bit of a led down.
i tried the 1.02 one still came up with the sql error.. had to manaully create table by running the query below
CREATE TABLE vbulletin_forum_home_counter (
`count` varchar(6) NOT NULL default '',
PRIMARY KEY (`count`)
) TYPE=MyISAM;
INSERT INTO vbulletin_forum_home_counter VALUES ('0');
keep in mind my table prefixes are vbulletin_ adjust yours accordingly
If you want to change the starting count number.. just change last 0 to whatever number you want.
also I placed <div align="center"><phrase 1="$count">$vbphrase[counter]</phrase> </div>
on bottom of adv_portal_foot template so it only show on my main portal page..
i tried the 1.02 one still came up with the sql error.. had to manaully create table by running the query below
CREATE TABLE vbulletin_forum_home_counter (
`count` varchar(6) NOT NULL default '',
PRIMARY KEY (`count`)
) TYPE=MyISAM;
INSERT INTO vbulletin_forum_home_counter VALUES ('0');
keep in mind my table prefixes are vbulletin_ adjust yours accordingly
If you want to change the starting count number.. just change last 0 to whatever number you want.
also I placed <div align="center"><phrase 1="$count">$vbphrase[counter]</phrase> </div>
on bottom of adv_portal_foot template so it only show on my main portal page..
Thanks, that did the trick, was trying to suss out the MySQL code but got so stressed I just left it - if anything that's probably easier