Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

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

Version: 3.0.7 Rating:
Released: 04-10-2005 Last Update: 11-05-2005 Installs: 47
DB Changes
 
No support by the author.

QuoteIt! version 2.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. This was developed on vBulletin 3.0.7, but should work on 3.0.0 and above.

You can see a demo on forums.monkeycrap.com.
Instructions for adding a random quote to vBadvanced and vBindex are in this post.


Features (features new to 2.0 are in yellow)

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
- the quote shown is much more random than in previous versions


Quote Database
- quotes can only be edited or deleted by an administrator
- quotes can be viewed individually or listed on several pages
- quotes can be sorted by total score, average score, author, submitter, or date added
- quotes now have a "context" field that can be turned on or off to include more information about the quote
- 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 administrator can now edit quotes
- the quote moderation que is now more like the que for posts, enabling the moderation of several quotes at once




Don't forget to click

This hack is based on QuoteIt! 1.2, originally by magnus. The "submit post" feature was inspired by an addon by CtrlAltDel. The location code is based on a post by Acido.

You may release translations of this hack as long as the original credits are included. Otherwise, you not redistribute this hack without permission from me.

Show Your Support

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

Comments
  #122  
Old 05-13-2005, 11:48 AM
Torqued Torqued is offline
 
Join Date: Oct 2004
Location: Houston, TX
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cap'n Steve
I actually thought about adding categories to this version but decided against it. Here's a list of what I hope to include in the next version (which will probably not be out for a while, though):

- quote categories
- dated quotes
- view only new quotes
- view only quotes you haven't rated

Any suggestions for other features would be appreciated!
I'd like the ability to pull categories via a url. I'd like to display relevant quotes in different sections such as specific forums, photo galleries, etc.

Something like: http://www.mysite.com/forum/quote.php?cat=motorcycles for my motorcycle quotes, etc.
Reply With Quote
  #123  
Old 05-13-2005, 06:29 PM
Megareus Rex's Avatar
Megareus Rex Megareus Rex is offline
 
Join Date: Feb 2004
Location: Pennsylvania, USA
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its still an incomplete installation. Some of the phrases that, by deduction, SHOULD be there aren't. Like Edit this Quote. It worked with Accept and Accept All, but thats it.
Reply With Quote
  #124  
Old 05-14-2005, 12:10 AM
deb0 deb0 is offline
 
Join Date: Sep 2004
Location: somewhere
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I upgraded board to 307. Could not get qoute 1.2 to show up on forum home, does in acp. Tried to upgrade. Still can't get it to show up in in Forum home. All templates and file edits are correct.

Is there a way to start over without losing quote tables in database? What are my options at this point?

thx in advance.
Reply With Quote
  #125  
Old 05-14-2005, 04:16 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

deb0 - you need to run this query:

[sql] INSERT INTO $TPsetting
(varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES
("showquote", "forumhome", 1, 1, "yesno", 5, 0, 0)[/sql]

Don't forget to replace $TP with your table prefix. The option should show up after that.

Megareus - the error it gives you is the
Code:
mysql error: Duplicate entry '$phrasename-0-$number'
part. Your only real choice is to find the two lines in install_quoteit.php that are in the form of
Code:
			(0, "$phrasename", "$phrastext", $number),
and delete them. You'll just have to keep doing this and rerunning step 3 of the installer to make sure all the phrases are there. Sorry, but I don't know how it's possible to get a partial installation in the first place. :ermm:
Reply With Quote
  #126  
Old 05-14-2005, 04:25 AM
deb0 deb0 is offline
 
Join Date: Sep 2004
Location: somewhere
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, Im making progress.

Now when I give a rating and hit the vote button at the bottom, I get a blank page.
Reply With Quote
  #127  
Old 05-14-2005, 05:13 AM
Megareus Rex's Avatar
Megareus Rex Megareus Rex is offline
 
Join Date: Feb 2004
Location: Pennsylvania, USA
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cap'n Steve
deb0 - you need to run this query:

[sql] INSERT INTO $TPsetting
(varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES
("showquote", "forumhome", 1, 1, "yesno", 5, 0, 0)[/sql]

Don't forget to replace $TP with your table prefix. The option should show up after that.

Megareus - the error it gives you is the
Code:
mysql error: Duplicate entry '$phrasename-0-$number'
part. Your only real choice is to find the two lines in install_quoteit.php that are in the form of
Code:
			(0, "$phrasename", "$phrastext", $number),
and delete them. You'll just have to keep doing this and rerunning step 3 of the installer to make sure all the phrases are there. Sorry, but I don't know how it's possible to get a partial installation in the first place. :ermm:
But why does it do that in the first place? Its like the script is trying to insert the same exact phrase TWICE. The phrases that it says are duplicates are NOT already in the database, so thast the only logical reason...:ermm:
Reply With Quote
  #128  
Old 05-14-2005, 05:29 AM
Megareus Rex's Avatar
Megareus Rex Megareus Rex is offline
 
Join Date: Feb 2004
Location: Pennsylvania, USA
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think I figured out why, I already had SOME of the phrases in the database, so it duplicated them ,and gave the error. Perhaps I had one of the phrases in there already? (from a previous hack, or of my own creation perhaps). I'm checking each one right now, and apparently I had the first few in there. I'll post again when I've discovered more.
Reply With Quote
  #129  
Old 05-14-2005, 05: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

deb0 - What rating system are you using? Is it the random quote or the quotes list? Could you give me the link?

Megareus - Are you sure the phrase isn't already there? If you have access to phpMyAdmin, can you find it in there? Did you try editing and saving an existing phrase like I suggested earlier?

EDIT: You posted while I was typing. I don't think it's another hack, unless something you have uses a "number_of_quotes_to_moderate" phrase, which would be weird.
Reply With Quote
  #130  
Old 05-14-2005, 12:34 PM
deb0 deb0 is offline
 
Join Date: Sep 2004
Location: somewhere
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The rating in radom works fine. The rating is not working on the quotelist.

Suggestion: I noticed that non-members can use the quote system. Is there a way to restrict it to members only?
Reply With Quote
  #131  
Old 05-14-2005, 05:35 PM
Megareus Rex's Avatar
Megareus Rex Megareus Rex is offline
 
Join Date: Feb 2004
Location: Pennsylvania, USA
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cap'n Steve
deb0 - What rating system are you using? Is it the random quote or the quotes list? Could you give me the link?

Megareus - Are you sure the phrase isn't already there? If you have access to phpMyAdmin, can you find it in there? Did you try editing and saving an existing phrase like I suggested earlier?

EDIT: You posted while I was typing. I don't think it's another hack, unless something you have uses a "number_of_quotes_to_moderate" phrase, which would be weird.
I dunno what happened, but they're all installed now. Except for one.

In QuoteIt options, the second line is missing the phrase. (Between Ratings and Show Random Quote). Do you happen to know what it is?
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 05:19 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.05597 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
  • (4)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