The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
QuoteIt! - Quote Database Details »» | |||||||||||||||||||||||||
QuoteIt! version 3.0 QuoteIt! allows you to have a database of quotes integrated with your forum. Users submit quotes that can then be voted on by the other users, using your choice of two rating systems. The average installation will show a random quote on the forum home page, but you can include it on any vBulletin page or on your portal home page. If you'd like to see a demo, go to forums.monkeycrap.com. Features: Random Quote - a random quote can be shown on any vBulletin powered page - the administrator can set a default rating threshold that quotes must meet before showing up as the random quote - a new random quote can be chosen at a specific interval of time, to reduce server load Quote Database - quotes can be searched, filtered, and sorted by many different criteria - quotes have a "context" field that can be turned on or off to include more information about the quote - quotes can be embedded in posts with bbcode - each post and private message now has a "Submit to Quotes" link that allows users to quote things said on your forum more easily Quote Ratings System - quotes can be rated either plus/minus or on a scale from 1 to 5 - quotes below a certain total score or average score can be filtered out Quote Management - quotes can either be automatically approved or moderated - the quote moderation que is like the que for posts, enabling the moderation of several quotes at once - usergroup permissions are used for adding, editing, deleting, rating and viewing quotes - most actions use AJAX to avoid page reloads Don't forget to click install! Currently known problems are listed here. The files needed to edit the included images are attached to this post. This hack is based on QuoteIt! 1.2, originally by magnus. The "submit post" feature was inspired by an addon by CtrlAltDel. Other versions (development will continue for the 3.6 version only): QuoteIt! 3 for vBulletin 3.6.x | QuoteIt! 2.03 for vBulletin 3.0.x Show Your Support
|
Comments |
#304
|
|||
|
|||
The quote part of it works. It's getting it to show up that's causing me problems. My settings don't seem to be saving. Don't know whether that's as desired or if it's the problem.
|
#305
|
||||
|
||||
You mean the random quote isn't showing up? Try enabling it through vBulletin Options->Forum Home Page Options.
|
#306
|
|||
|
|||
Don't have an option there. Perhaps I missed something?
|
#307
|
||||
|
||||
Try reinstalling. It sounds like the settings never got created somehow.
|
#308
|
|||
|
|||
No luck. The settings to me just don't seem to be saving (when I go to the page again, they're back to the way they were at first). How would I go about manually editing the settings?
|
#309
|
||||
|
||||
Run these queries to enable it manually, replace the $TP with your table prefix:
[sql]UPDATE $TPsetting SET value = 1 WHERE varname = "showquote"[/sql] [sql]UPDATE $TPdatastore SET data = "" WHERE title = "options"[/sql] |
#310
|
|||
|
|||
Quote:
Not tested, Do try this @ Home first You can never have enough db backups Dont blame me if you havent followed the above Code box used for vb licenced users veiwing only. Code:
Copy the content of this vbA modules php (quote.php) code to your fav text editor dropping the <?php and the ?> (first and last line).
Add this global line probably before any other.
global $vbpoptions, $vbplingual, $vboptions, $vbphrase, $db;
Find:
eval('$home[$mods[\'modid\']][\'content\'] .= "' . fetch_template('quote_randomquote') . '";');
and change to:
eval('$showrandquote = "' . fetch_template('quote_randomquote') . '";');
and add below it:
return $showrandquote;
Now hop into your vbPortal CP and add a new block
Type: php
Title: Random quote
Weight: any number above 0
Link: (optional add link to the quote page if you want)
Uses templates: No (*for now)
save and then add your new php code to the text area and save again.
Preview block in the vbPortal CP
All good go toggle it on where you like in your module manager.
*Dont like the display ( portal block output )?
Copy the quote_randomquote template to P_quote_randomquote
Edit your block and change this line from:
eval('$showrandquote = "' . fetch_template('quote_randomquote') . '";');
to:
eval('$showrandquote = "' . fetch_template('P_quote_randomquote') . '";');
Now you can edit the portal output without affecting the forum home output. You may wish to try setting the block to use templates now. :)
Final note: ensure your quoteit threshold setting is such that you will get a random quote or you might not get displayed what was expected. Thanks to Sandman53 for being the guineapig. |
#311
|
|||
|
|||
I can confirm that nitro's solution for vbportal works perfectly.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|