![]() |
Quote:
|
Try something like this:
HTML Code:
<if condition="in_array($_REQUEST['f'], array(forumid1, forumid2, forumid3))">$showrandomquote</if> |
Quote:
|
i installed it.... and it worked.... then for reasons i cannot explain.... it now says this
Database error in vBulletin 3.5.3: Invalid SQL: SELECT COUNT(*) AS count FROM quotes AS quotes WHERE approved = 1 AND quotes.average >= 0 AND quotes.rating >= 0; MySQL Error : Unknown column 'quotes.average' in 'where clause' Error Number : 1054 |
Run this query and tell me what it says:
Code:
SHOW CREATE TABLE $TPquotes |
i don't use a table prefix so i ran it as $quotes.... got some error...
anyways i uninstalled, and reinstalled... and it works again.... but... now i'm wondering if that reinstall.... wiped all my old quotes? And if so... I have the old database.... so it must be possible to import them somehow.... |
You should also have removed the dollar sign. Uninstalling will delete all your quotes, but if you have the backup you can restore your quotes table through phpMyAdmin or just run all the queries.
|
Quote:
Also, and atthe risk of looking extremely dim, what are the following for: Average Threshold and Total Threshhold. Also, what does 'enable context' do? Is that for BB code? Any help appreciated. |
|
Quote:
If they aren't allowed to show up in random posts until a certain rating is received, how do they appear at all to get their rating? I suppose I had just better try the threshold options and see what happens. Thanks for this feature, really adds to the site. |
All times are GMT. The time now is 11:26 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:
|