![]() |
[QUOTE=Dolamite]ok i got it.... for anyone else who might want to do this....
below require_once('./global.php');(in your portal.php, adv_index.php whatever) add: [QUOTE] // ### QUOTEIT ################################################## ####### if ($vboptions['showquote']) { $result_quote = $DB_site->query(" SELECT * FROM quotes WHERE approved=1 ORDER BY rand() LIMIT 1 "); while ($quote = $DB_site->fetch_Array($result_quote)) { $randomquote[quoteid] = $quote[quoteid]; $randomquote Quote:
|
I am using this as a jokes system. Would love to see ratings.
|
well, my quotes won't frickin rotate for ++++, and i have it set so it doesnt need to be moderated.
whatever, they don't support afterall i guess.... |
seangworld: your quote may not be rotating properly due to the SQL statement that is selecting the quote...check that to see if the SQL statement is correct.
ratings are something that would be nice as well lionel, i'll see what i can do |
After a long wait, I'm proud to release QuoteIt! 2.0. It's got some major improvements, I suggest everyone with version 1.2 installed go check it out.
|
Quote:
Thanks a bunch installing now... |
Okay I keep getting this error, I tried re-installing the hack but it wouldn't work, would someone tell me how to fix it or be willingly to fix it for me *blush*. Please put it basically not gd with understanding all this VB, PHP etc stuff!
Invalid SQL: CREATE TABLE vb3_quotes ( `quoteid` int(10) unsigned NOT NULL auto_increment, `quote` mediumtext NOT NULL, `author` mediumtext NOT NULL, `userid` int(10) unsigned NOT NULL default '0', `approved` smallint(5) unsigned NOT NULL default '0', PRIMARY KEY (`quoteid`,`quoteid`), KEY `approved` (`approved`) ) TYPE=MyISAM AUTO_INCREMENT=1 mysql error: Duplicate column name 'quoteid' |
PRIMARY KEY (`quoteid`,`quoteid`),
remove one of the quoteid's |
Which templates are modified by the installer?
|
Quote:
|
All times are GMT. The time now is 04:57 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|