The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
QuoteIt! - Quote Database Details »» | |||||||||||||||||||||||||
QuoteIt! version 3.1
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. Older versions (no longer in development): QuoteIt! 3 for vBulletin 3.5.x | QuoteIt! 2.03 for vBulletin 3.0.x Show Your Support
|
Comments |
#512
|
||||
|
||||
Quote:
Code:
quotes = random = |
#513
|
||||
|
||||
That is very strange. The ids are managed by MySQL, so it doesn't really matter what they are, but you should be able to reset them with this query (replacing $TP with your table prefix), although I wouldn't mess with that unless it really bothers you (that's what the "Show Continuous Quote IDs" option is for):
[sql]ALTER TABLE $TPquotes AUTO_INCREMENT = 1[/sql] The only thing I can suggest to try is finding this in includes/functions_quoteit.php: PHP Code:
PHP Code:
|
#514
|
||||
|
||||
Quote:
Quote:
|
#515
|
||||
|
||||
About the alter query, that was a typo and it should actually be run on the quotes table. The table prefix is whatever you chose in your config.php. I have no experience altering the auto_increment value, but it should only affect new quotes. I'm not sure how the gaps would get there in the first place; have you restored backups of the quotes table before? That's the only thing I can think of that might mess with the auto_increment value.
The edits I had you do would only show up for me (859 is my userid on your site), but if it fixed itself you can go ahead and remove them. I swear the bbcode parser has a mind of its own sometimes. |
#516
|
|||
|
|||
What a great mod! I have installed it and so far everything was great until I turned it on. My forumhome page was totally white. No error message. When I turned it off then it came back. I deleted the forumhome Quotes coding, and still the same problem until I turned off Quotes.
Any ideas? I'd love to use this but I'm not sure how I can turn it on and have my forum home available. Thanks so much! |
#517
|
||||
|
||||
Quote:
[sql]ALTER TABLE quotes AUTO_INCREMENT=252[/SQL]Instead of using 1 as the variable, I used the next desired quote number. This set the Next Autoindex to the desired value. The huge gaps occurred when I had repeatedly deleted and imported quotes from a text file. Thanks for the lead! |
#518
|
||||
|
||||
The gaps are from quotes that have been deleted. That is normal procedure in the increment world. My home-grown quotes hack does the same thing. Be careful messing with the auto-increment too much as it can cause more headaches than it's worth sometimes. I am proof of that.
|
#519
|
||||
|
||||
Thanks for posting information about the auto incrementing. I would have expected it to reuse the ids of deleted quotes, but I guess not.
cookiepants - Can you check your server's error log? Something might have shown up there. If not, try adding a quote before turning on the random quote by going to quotes.php?do=addquote on your site. You can also try reuploading the files and reimporting the product. |
#520
|
|||
|
|||
It worked out great, thanks! My members LOVE this feature.
Is there a way to make the font and or the quote box a bit smaller? Thanks! |
#521
|
||||
|
||||
No way it can, that is why it is called "auto-increment". It only increments. It doesn't care if you mess with what it did before. And those missing rows don't do anything harmful at all. It's as if they never existed except for the numbering.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|