Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
QuoteIt! - Quote Database Details »»
QuoteIt! - Quote Database
Version: 3.17, by Cap'n Steve Cap'n Steve is offline
Developer Last Online: May 2010 Show Printable Version Email this Page

Category: Major Additions - Version: 3.6.0 Rating:
Released: 01-01-2007 Last Update: 04-30-2008 Installs: 207
DB Changes Uses Plugins Template Edits
Re-useable Code Additional Files Translations  
No support by the author.

QuoteIt! version 3.1

I'm no longer able to put very much time into this mod, so I've set up a Subversion repository at http://www.vbulletinprogramming.com/projects/quoteit/ to allow others to help out. You can use the login "vbuser" with the password "vbulletin" to edit files. If someone would like to completely take over the mod, please contact me.


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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #502  
Old 01-26-2008, 02:53 PM
gettingbetter gettingbetter is offline
 
Join Date: Nov 2007
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've enabled the moderation option in my QuoteIt settings, yet users have somehow been able to bypass it and their quotes show up right away on the page. What could be the problem here?

Moderate Quotes is set to YES.
Reply With Quote
  #503  
Old 01-28-2008, 08:46 AM
Cap'n Steve's Avatar
Cap'n Steve Cap'n Steve is offline
 
Join Date: Feb 2004
Location: Kalamazoo, MI, USA
Posts: 745
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That is strange. Try saving the options again and try creating a new user and adding a quote with that account. Does it still get automatically approved? A link to your site might help, too.
Reply With Quote
  #504  
Old 02-01-2008, 01:28 AM
Dr. Bantham's Avatar
Dr. Bantham Dr. Bantham is offline
 
Join Date: Feb 2007
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it feasible to be able to add additional fields to quote entries? I wish to add a URL reference field and a media file path field.
Reply With Quote
  #505  
Old 02-02-2008, 06:43 AM
Cap'n Steve's Avatar
Cap'n Steve Cap'n Steve is offline
 
Join Date: Feb 2004
Location: Kalamazoo, MI, USA
Posts: 745
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't have time to do it right now, but it shouldn't be that hard. Just add the appropriate database columns, then add the fields in the quote_listbit and quote_manager templates and a little bit of code in quotes.php to insert the fields in the right columns.
Reply With Quote
  #506  
Old 02-02-2008, 12:54 PM
Dr. Bantham's Avatar
Dr. Bantham Dr. Bantham is offline
 
Join Date: Feb 2007
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The quotes and randomquote BBCodes are not functional on my board, though they have been in the past. No content of any nature appears. I double checked the settings, and they are turned on. I saved all QuoteIt options, rebuilt bitfields, re-uploaded all files and re-imported the product. No dice. The BBCodes are there, but the Replacement fields are blank. Furthermore, the randomquote BBCode entries are stripped entirely from the post content after saving.

UPDATE #1
I deleted the BBCodes and repeated all procedures above. Now the quotes BBCode is functional, but the randomquote is still defunct.

UPDATE #2
Perhaps I spoke too soon. The quotes BBCode appears to be functional after first saving and displaying post content, however it reverts back to displaying plain text tags thereafter. When viewing the BBCodes within the BBCode manager of ACP, it displays {Q1201967627:42} in the HTML and Replacement columns for quotes and {R1201967627:0} for these respective fields for randomquote. When you edit both quotes and randomquote BBCodes, the Replacement box is empty.

UPDATE #3
I have discovered that the quotes BBCode is working only on quick replies and quick edits, and only when first displaying the post immediately thereafter. Refreshing the page or going back later to view the post reverts to plain text tags (ie "[quotes]246[/quotes]". Again, randomquote disappears regardless.
Reply With Quote
  #507  
Old 02-03-2008, 06:01 AM
Cap'n Steve's Avatar
Cap'n Steve Cap'n Steve is offline
 
Join Date: Feb 2004
Location: Kalamazoo, MI, USA
Posts: 745
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ooh, that random quote does look pretty broken, although I don't see what you mean about the [quotes] BBCode. I'm not sure what update caused that problem, but I'll take a look at it tomorrow. Ignore the BBCodes in the admincp, though. That was originally just an example and probably should have been taken out.
Reply With Quote
  #508  
Old 02-03-2008, 03:17 PM
Dr. Bantham's Avatar
Dr. Bantham Dr. Bantham is offline
 
Join Date: Feb 2007
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cap'n Steve View Post
Ooh, that random quote does look pretty broken, although I don't see what you mean about the [quotes] BBCode. I'm not sure what update caused that problem, but I'll take a look at it tomorrow. Ignore the BBCodes in the admincp, though. That was originally just an example and probably should have been taken out.
Thanks for taking a look, Steve. As for the [quotes] BBCode, it appears to work upon preview and the first display of a quick reply or quick edit. However, if you refresh the post or go back later, it reverts to text as if the BBCode is unrecognized.
Reply With Quote
  #509  
Old 02-05-2008, 07:24 AM
Cap'n Steve's Avatar
Cap'n Steve Cap'n Steve is offline
 
Join Date: Feb 2004
Location: Kalamazoo, MI, USA
Posts: 745
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, it appears that something changed with the removal of empty BBCodes. For the time being, just put anything between the randomquote tags, like this:
Code:
[randomquote]oug[/randomquote]
I still can't duplicate the [quotes] problem, though. I'd like to try it on your site, do you want to make a hidden forum or something so I can test it out?
Reply With Quote
  #510  
Old 02-05-2008, 09:41 AM
Dr. Bantham's Avatar
Dr. Bantham Dr. Bantham is offline
 
Join Date: Feb 2007
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cap'n Steve View Post
Ok, it appears that something changed with the removal of empty BBCodes. For the time being, just put anything between the randomquote tags, like this:
Code:
[randomquote]oug[/randomquote]
This resulted in a blank post, though it does now retain the BBCode instead of having it stripped.
Quote:
Originally Posted by Cap'n Steve View Post
I still can't duplicate the [quotes] problem, though. I'd like to try it on your site, do you want to make a hidden forum or something so I can test it out?
I'm OK with a public test. You can delete your post when finished, or I can clean it up later.
As for the forum, how about this one:
http://www.ligotti.net/forumdisplay.php?f=86

Thanks again!
Reply With Quote
  #511  
Old 02-08-2008, 07:20 AM
Cap'n Steve's Avatar
Cap'n Steve Cap'n Steve is offline
 
Join Date: Feb 2004
Location: Kalamazoo, MI, USA
Posts: 745
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try reuploading the latest files and reinstalling (without uninstalling) the product. If that doesn't work, edit the "Finalize BBCode" plugin that uses the "newpost_preview" hook and replace this:

PHP Code:

with this:

PHP Code:
header('Content-type: text/plain');
die(
'quotes = ' print_r($quotebbcodeidstrue) . "\n random = " print_r($randomquotestrue));

Then try previewing a post with a few [quotes] and [randomquote] bbcodes in it and tell me what the output is. This will break the post preview, so undo the edit after you're done.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:14 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06211 seconds
  • Memory Usage 2,330KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete