![]() |
[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:
|
Quote:
|
This hack is no longer supported, as I said in my post above, you should install this one instead.
To answer your question, the installer doesn't actually modify any existing templates, but to use the random quote you have to modify the FORUMHOME template by hand. |
thanks alooooooooot
|
Just installed it, and have a small problem.
The Quote Moderation thing only displays one quote. How can I change it? |
Quote:
|
Quote:
|
As I mentioned earlier, this hack is old and you should use the new version.
If you're still set on using this one, though, open install_quoteit.php, find: Code:
PRIMARY KEY (`quoteid`,`quoteid`), Code:
PRIMARY KEY (`quoteid`), |
All times are GMT. The time now is 11:04 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|