Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

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
  #82  
Old 04-28-2005, 02:59 AM
anarchystar anarchystar is offline
 
Join Date: Dec 2004
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bingo .... that looks like it may be the problem. When I went to that part of vBoptions I got the following error at the top of the page:

Code:
Parse error: parse error, unexpected T_STRING, expecting ']' in /var/www/forums/includes/adminfunctions_options.php(96) : eval()'d code on line 1
and, the setting to display the random quotes in that area was not there, also there were no options listed for the quote rating system value.

That must be where the problem is. Unfortunatly, I am on a friends computer now, so I will have to wait untill I get home to look at the code in adminfunctions_operations.php .

Hopefully I can get that fixed up later and get this thing working again.
Reply With Quote
  #83  
Old 04-28-2005, 04: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

That's weird, I'm getting that error now too, but my settings work fine. It's a problem with the options list for the quote ratings. Upload the attached file to your admincp and run it once to fix it.
Reply With Quote
  #84  
Old 04-28-2005, 06:00 AM
anarchystar anarchystar is offline
 
Join Date: Dec 2004
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright, i ran that script and it did clear up that parse error that I posted earlier, but it does'nt show up anywhere where I put $showrandomquote ...

In the post you made earlier, you said that there should be an option to display random quote in the forum home page options. I don't have that option there, all I have is an option to select the rating scale for quoteit, random quote average threshhold, and random quote total threshhold. Am I missing an option there?

Also when I select a quote rating option from forum home page options and save it, it will always display disabled no matter what I pick, but it will diplay the option I chose in the quoteit options.
Reply With Quote
  #85  
Old 04-28-2005, 07:54 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

Yes, you are missing an option and I can't see how that would happen, since that option is actually left over from the old version. I've updated the quoteit_fix.php to fix the problem of the wrong option being selected. You can run it again to have it show the correct setting, although that's not what's causing your main problem.

To manually set the "showquote" variable, you can run this SQL query:
Code:
UPDATE $TPsetting SET value = 1
WHERE varname="showquote"
If for some reason you don't have that variable, the first query will
give you an error and you should run this one instead:
Code:
INSERT INTO $TPsetting
(varname, grouptitle, value, defaultvalue, optioncode, displayorder, advanced, volatile) VALUES
("showquote", "forumhome", 1, 1, "yesno", 5, 0, 0)
Be sure to replace $TP with your table prefix.
Reply With Quote
  #86  
Old 04-28-2005, 03:08 PM
anarchystar anarchystar is offline
 
Join Date: Dec 2004
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I ran the first query from your last post with no errors in my phpmyadmin.

It's still not showing up, lol .... on the bright side, I also ran the new fix script you made, and it cleared up that other issue ... at least it's progress, right?

Can you tell me specifically what code I need to look for to confirm that option that should be in forum home page settings?

I am going to re-check my code again, just to be extra, extra sure I have it all right ... would it help if I attached any of those .php files for you to look at yourself? If you want to check any of them just tell me which ones you need.
Reply With Quote
  #87  
Old 04-28-2005, 06:26 PM
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 first one is my fault, I forgot that it needs to rebuild the datastore. You can just run this query:
Code:
DELETE FROM $TPdatastore WHERE title = "options"
and it will rebuild it with the new options the next time someone loads a page. That should get the random quote to show up. To see if you have the appropriate options saved in the database, run these queries and post what they return:
Code:
SELECT * FROM $TPphrase WHERE varname = "setting_showquote_desc" OR varname = "setting_showquote_title"
Code:
SELECT * FROM $TPsetting WHERE varname = "showquote"
Don't forget to replace $TP with your table prefix.
Reply With Quote
  #88  
Old 04-28-2005, 09:07 PM
anarchystar anarchystar is offline
 
Join Date: Dec 2004
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, I ran the first query, but the missing option is still MIA ... no luck with that :disappointed:

Ran the next 2 queries and did a screen capture of the output for you.
Reply With Quote
  #89  
Old 04-28-2005, 10:07 PM
emtee emtee is offline
 
Join Date: Aug 2004
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anarchystar, note that you have to approve the quote after you add it. It's under Moderation/Moderate Quotes. If you don't approve, you won't see anything in forumhome.
Reply With Quote
  #90  
Old 04-28-2005, 10:16 PM
anarchystar anarchystar is offline
 
Join Date: Dec 2004
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have moderate quotes turned off
Reply With Quote
  #91  
Old 04-28-2005, 10:23 PM
anarchystar anarchystar is offline
 
Join Date: Dec 2004
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cap'n Steve
and it will rebuild it with the new options the next time someone loads a page. That should get the random quote to show up. To see if you have the appropriate options saved in the database, run these queries and post what they return:
Code:
SELECT * FROM $TPphrase WHERE varname = "setting_showquote_desc" OR varname = "setting_showquote_title"
Code:
SELECT * FROM $TPsetting WHERE varname = "showquote"
Don't forget to replace $TP with your table prefix.
On a whim I went back and ran that 2nd query from this post even though I did not get an error from teh first query. That fixed the problem! I can see the mod now, thanks for the awesome support!
Reply With Quote
Reply

Thread Tools

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 10:55 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.04982 seconds
  • Memory Usage 2,313KB
  • 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
  • (8)bbcode_code
  • (1)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
  • (1)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