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
  #62  
Old 01-08-2007, 11:58 AM
thepub thepub is offline
 
Join Date: Aug 2006
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you help me about the error message I got when I tried to import the product? I posted it above. Thanks!
Reply With Quote
  #63  
Old 01-08-2007, 12:14 PM
thepub thepub is offline
 
Join Date: Aug 2006
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok I was able to install and the big error message went away, but now I get this error message
Quote:
Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 3542
and my board disappeared. I disabled the quoter and it came back.
Reply With Quote
  #64  
Old 01-08-2007, 12:19 PM
thepub thepub is offline
 
Join Date: Aug 2006
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Warning: Unknown(/home/theneigh/public_html/includes/functions_quoteit.php): failed to open stream: No such file or directory in /index.php(63) : eval()'d code on line 2
Fatal error: (null)() [function.require]: Failed opening required '/home/theneigh/public_html/includes/functions_quoteit.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/theneigh/public_html/index.php(63) : eval()'d code on line 2
this is what I get when I go to board
Reply With Quote
  #65  
Old 01-08-2007, 05:12 PM
BaconDelight BaconDelight is offline
 
Join Date: Jan 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is mostly working, but when I enable editing/deleting for a user group, the random quotes display fails to parse BBCode.
Reply With Quote
  #66  
Old 01-08-2007, 06:10 PM
MaestroX MaestroX is offline
 
Join Date: Aug 2006
Location: UK
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.
My quote I put in the database came up, yay! From there I tried to add a quote and was successful but then redirected to my forum home. Anytime I try to access quotes.php I get redirect to my forum home. I get the message ""Your quote has been submitted.".

Hope you can help,

Thanks
Reply With Quote
  #67  
Old 01-08-2007, 09:33 PM
BaconDelight BaconDelight is offline
 
Join Date: Jan 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BaconDelight View Post
This is mostly working, but when I enable editing/deleting for a user group, the random quotes display fails to parse BBCode.
Sorry to poke again, but I'm hoping to pop this into my live board tonight and would like this to be working.

Thanks!
Reply With Quote
  #68  
Old 01-09-2007, 12:02 AM
Amiga Harrison Amiga Harrison is offline
 
Join Date: Nov 2006
Location: UK
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The page redirect is now working correctly for me and returning back to the correct page. So thanks for fixing that.

I am still getting the edit quote error. I tested it in IE and Opera and it doesn't work in those either.

In IE7 the page returns the same error as someone else posted above.

Code:
Line: 283
Char: 5
Error: 'agent.handler.respondeXML.documentElement' is null or not an object
Code: 0
URL: http://forum.classicamiga.com/quote.php
And in Opera I get the following errors:

Code:
JavaScript - http://forum.classicamiga.com/quotes.php
Unknown thread
Error:
name: TypeError
message: Statement on line 282: Could not convert undefined or null to object
Backtrace:
  Line 282 of linked script http://forum.classicamiga.com/clientscript/quoteit_moderation.js
    var author = (agent.handler.responseXML.documentElement.getElementsByTagName("author"))[0].firstChild.data;
  At unknown location
    [statement source code not available]
The edit foes however work in all three browsers if I select to open the edit link in a new window or tab. Therefore is this an AJAX error?

There are also a lot of layout problems:

When submitting a new quote (in IE, Firefox or Opera) all of the text entry fields are justified to the right and the titles and information about each field is bunched up on the left. This leaves a huge space between the two. Are you just using float left and float right css for this? I much preferred the way it was laid out before this change with the information text above the entry fields.

Also the text entry field for the context field is only set to a size of 25 which is way too small to even display the default information automatically entered into the field. Where is this fields size set?

And finally IE7 has a lot of bad layout problems. When viewing the list of existing quotes the list expands futher to the right than the browser window and goes beyond the right hand edge of the forum template. This makes everything on the right of the quotes hidden off the right of the page including the voting and editing buttons. This doesn't happen in Firefox or Opera where the page looks fine and works as expected.
Reply With Quote
  #69  
Old 01-09-2007, 01:29 AM
thepub thepub is offline
 
Join Date: Aug 2006
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BaconDelight View Post
Sorry to poke again, but I'm hoping to pop this into my live board tonight and would like this to be working.

Thanks!

ditto for me too.
Reply With Quote
  #70  
Old 01-09-2007, 03:45 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

GrabAssGirl - The closing quote is now hidden in Internet Explorer on the random quote. It seems to want to start in the top right corner no matter what I do. The images are in the quote_listbit template if you want to remove them completely.

Calash - I've enabled editing quotes on my forum. Register on monkeycrap.com, add a quote and then try editing it. I've tested editing with all those browsers, so it must be either a server or browser setting that's causing problems.

Amiga Harrison - Try the thing I posted above about editing. If the labels were above the fields before, then that was an error. If you want to change this or the size of the inputs, it's set in the quote_manager template. I don't get any of the other errors you're seeing. Do you have a link or a screenshot?

zetetic - When you say you dumped them to a flat file, do you mean through phpMyAdmin? The quote importing just takes a text file with each field separated by whatever character you specify. If you could post the options you filled in at the quote importing screen and at least the first line of the file, that might help.

thepub - Is your functions_quoteit.php in the directory it says? It seems to be having trouble finding it. If you could post a few lines from includes/functions.php from around line 3542 I could get a better idea of what the issue is.

MaestroX - Is this page on the Internet, a link would be helpful. You can also try reuploading all the files and reinstalling the product.
Reply With Quote
  #71  
Old 01-09-2007, 04:35 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

BBcode in the random quote should be fixed now, also.
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 04:43 AM.


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.05074 seconds
  • Memory Usage 2,321KB
  • 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
  • (5)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