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
  #42  
Old 01-06-2007, 03:53 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

The database error should be fixed, as well as the Quick Language Chooser (I mean it this time). The Quote Filtering Options currently gets squeezed to the side in Firefox with some styles. If anyone good with CSS knows how to fix it, I'd appreciate the help because I can't seem to get it right without messing up the search box.

efil - What do you mean some options won't save? To arrange everything right to left, try editing the css files and switching left and right in those.

MaestroX - Do you have any quotes in the database? Make sure you download the latest version. If it still doesn't work then your server might have a problem with redirects.

Amiga Harrison - Thanks for catching that, it should be there now. It appears at the bottom of this list, though, and make sure you give yourself permission to approve quotes.

TwinsForMe - It uses the table width for whatever style you're using. You could adjust that or edit one of the css files.

everyone with problems editing quotes - Make absolutely sure you have the latest .js files on your server. If it still doesn't work, please post the exact error. In Firefox, it'll be under Tools -> Javascript Console; in Internet Explorer, there's probably an icon that you have to double-click on the bottom-left of the window.

Quote:
Originally Posted by jluerken
I have the same error like efil is posting above
Which error is that?
Reply With Quote
  #43  
Old 01-06-2007, 07:38 AM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cap'n Steve View Post
Which error is that?
The templates on quotes.php are not shown correctly. There is a column missing of the filter setting and I still have the problem that the product messes up my language chooser.
Reply With Quote
  #44  
Old 01-06-2007, 08:20 AM
MaestroX MaestroX is offline
 
Join Date: Aug 2006
Location: UK
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for your help so far Cap'n Steve. 'm still having trouble, I just installed your latest version and still the same problem. I've checked the DB and the field are there. There wasn't any quotes in there so I inserted one but still no luck. (also my server handles redirects fine)

Any ideas?

Also if possible, would it be possible to add quotes from the admincp? That would be great for my needs

Just thought of something nifty, you have the $showrandomquote function, how about showing a random quote from a certain category?
Reply With Quote
  #45  
Old 01-07-2007, 12:06 AM
Amiga Harrison Amiga Harrison is offline
 
Join Date: Nov 2006
Location: UK
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cap'n Steve View Post
everyone with problems editing quotes - Make absolutely sure you have the latest .js files on your server. If it still doesn't work, please post the exact error.
I have the latest QuoteIt files on my server including the .js files but am still getting an error for the editing quotes button. The javascript error it returns when clicked is:

Code:
Error: agent.handler.responseXML has no properties
Source File: http://url/clientscript/quoteit_moderation.js
Line: 282
I also still have a problem when selecting a category without any quotes in it. I am not getting the DB error any longer so thank you for fixing that problem, it does now show the correct"No quotes matched your search" message. But then after this the auto redirect gets the url wrong. Instead of redirecting to http://siteurl/quotes.php it is trying to go to http://siteurl/siteurl/quotes.php

And one final small error. When adding a new quote the context text box is very small and aligned to the left of the page.
Reply With Quote
  #46  
Old 01-07-2007, 08:07 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

The bad redirect should be fixed and several things should look better in Firefox.

MaestroX - Have you approved the quote you added? Try going to quotes.php?do=view&quoteid=1 and tell me if the quote shows up. You can import a file full of quotes through the admincp if you'd like. Good idea about the categories, I'll put that in 3.1.

Amiga Harrison - What version of Firefox are you using? Have you changed any of the default settings regarding timeouts or something similar? Try holding shift and hitting refresh before editing a quote. I know that editing quotes works on Firefox 1.5 and 2, so I'm not sure what problem you're having. :/
Reply With Quote
  #47  
Old 01-07-2007, 11:28 AM
zetetic's Avatar
zetetic zetetic is offline
 
Join Date: Apr 2004
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Cap'n Steve.

I've been using this hack for a long time. Great work. I'm having trouble upgrading, though. I recently upgraded my forum from 3.0.6 -> 3.6.4 and upgraded to the 3.5.x version of QuoteIt 2.0 at the same time. However, when I just tried to upgrade to QuoteIt 3.0 (downloaded just now) I got this db error when attempting to import the product:

Code:
 Invalid SQL:

		DELETE ratings.* FROM quoteratings AS ratings
		LEFT JOIN quotes AS quotes ON quotes.quoteid = ratings.quoteid
			WHERE quotes.quote IS NULL;

MySQL Error  : Not unique table/alias: 'ratings'
That seemed to be just a clean-up operation, so I decided to remark it out. However when I tried the import again I got the same db error TwinsForMe mentions above:

Code:
Invalid SQL:

		INSERT INTO datastore
		(title, data) VALUES
		("quote_settings", "a:14:{s:13:\"enablecontext\";s:1:\"0\";s:14:\"moderatequotes\";s:1:\"0\";s:16:\"numbertomoderate\";s:1:\"5\";s:9:\"allowhtml\";i:0;s:11:\"allowbbcode\";i:1;s:12:\"allowsmilies\";i:1;s:11:\"allowimages\";i:0;s:15:\"allowlinebreaks\";i:1;s:13:\"continuousids\";i:1;s:12:\"saveascookie\";i:0;s:11:\"upgradedate\";i:1168175936;s:16:\"enablecategories\";i:1;s:14:\"showunapproved\";i:1;s:12:\"reportemails\";s:0:\"\";}");

MySQL Error  : Duplicate entry 'quote_settings' for key 1
Reply With Quote
  #48  
Old 01-07-2007, 12:22 PM
GrabAssGirl GrabAssGirl is offline
 
Join Date: Feb 2005
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What the heck is going on with the quotation images? They don't line up with the quote. Is there anyway to fix it? It's doing it on your "demo site" forums.monkeycrap.com as well.
Reply With Quote
  #49  
Old 01-07-2007, 02:03 PM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for all of your hard work Steve, Looks like a very promising hack. A+
Reply With Quote
  #50  
Old 01-07-2007, 03:58 PM
Defkalion Defkalion is offline
 
Join Date: Jan 2007
Location: Athens, Greece
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I installed the module on my 3.6.4 version, and immediately after the import in the Plugins admin cp, I refreshed the page and now my whole portal does not display! Instead I get the following error when I type the URL for the admincp:

Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 3553

And the main portal page is just blank.

Is there a way to disable the module now that I do not have access to the admin cp? Any help would be appreciated. Thanks.
Reply With Quote
  #51  
Old 01-07-2007, 05:37 PM
Calash's Avatar
Calash Calash is offline
 
Join Date: Jun 2006
Location: East Coast, USA
Posts: 297
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is the Java Error I am getting
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 12:18 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.05035 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
  • (3)bbcode_code
  • (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