Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

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
  #662  
Old 10-27-2008, 03:57 PM
shane greer shane greer is offline
 
Join Date: Oct 2008
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any help appreciated guys. I cant even get into my admin now as it states..

Warning: Invalid argument supplied for foreach() in [path]includes\functions.php on line 3951
Reply With Quote
  #663  
Old 10-27-2008, 04:06 PM
Forgott3n Forgott3n is offline
 
Join Date: Oct 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cap'n Steve View Post
Run this query and tell me what the output is (replace $TP with your table prefix):

[sql]SELECT * FROM $TPdatastore
WHERE title = "quote_settings"[/sql]
Code:
quote_settings  	a:26:{s:15:"showrandomquote";i:1;s:7:"ratings";i:2;s:16:"averagethreshold";s:0:"";s:14:"totalthreshold";s:0:"";s:14:"showquotecount";i:1;s:12:"enablebbcode";i:0;s:14:"showquotestats";i:1;s:7:"version";s:4:"3.12";s:12:"freshinstall";i:0;s:12:"usemegaquery";i:0;s:20:"randomquotefrequency";s:5:"every";s:11:"cachebbcode";i:0;s:14:"randomcategory";i:0;s:13:"enablecontext";i:0;s:13:"languagecount";s:1:"1";s:12:"reportquotes";i:0;s:14:"moderatequotes";i:1;s:16:"numbertomoderate";i:10;s:17:"enableguestvoting";i:0;s:13:"requireauthor";i:0;s:10:"softdelete";i:0;s:16:"enablecategories";i:0;s:13:"continuousids";i:0;s:14:"showunapproved";i:0;s:12:"saveascookie";i:0;s:12:"reportemails";s:0:"";}  	0
Reply With Quote
  #664  
Old 10-27-2008, 04:15 PM
shane greer shane greer is offline
 
Join Date: Oct 2008
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Upload everything in the upload directory to your forum directory.

Go to your administrator control panel and select "Plugin System", then "Manage Products", then "Add/Import Product". Follow the instructions to import product-quoteit.xml. If you have a previous version of QuoteIt! installed, be sure to set "Allow Overwrite" to yes.

It was at this point when everything crashed.

I will run a query like you asked.
Reply With Quote
  #665  
Old 10-27-2008, 04:20 PM
shane greer shane greer is offline
 
Join Date: Oct 2008
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im completely new to this. what exactly am I to type in.... what is the code below?

Do I type in SELECT * FROM $TPdatastore
WHERE title = "quote_settings"

And replace $TP with my database name?

Quote:
Originally Posted by Forgott3n View Post
Code:
quote_settings  	a:26:{s:15:"showrandomquote";i:1;s:7:"ratings";i:2;s:16:"averagethreshold";s:0:"";s:14:"totalthreshold";s:0:"";s:14:"showquotecount";i:1;s:12:"enablebbcode";i:0;s:14:"showquotestats";i:1;s:7:"version";s:4:"3.12";s:12:"freshinstall";i:0;s:12:"usemegaquery";i:0;s:20:"randomquotefrequency";s:5:"every";s:11:"cachebbcode";i:0;s:14:"randomcategory";i:0;s:13:"enablecontext";i:0;s:13:"languagecount";s:1:"1";s:12:"reportquotes";i:0;s:14:"moderatequotes";i:1;s:16:"numbertomoderate";i:10;s:17:"enableguestvoting";i:0;s:13:"requireauthor";i:0;s:10:"softdelete";i:0;s:16:"enablecategories";i:0;s:13:"continuousids";i:0;s:14:"showunapproved";i:0;s:12:"saveascookie";i:0;s:12:"reportemails";s:0:"";}  	0
Reply With Quote
  #666  
Old 10-27-2008, 04:31 PM
shane greer shane greer is offline
 
Join Date: Oct 2008
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok I deleted the files via FTP and reuploaded them.

Im getting this error...

Quote:
Warning: Invalid argument supplied for foreach() in [path]includes\functions.php on line 3951
when I try to enter my admincp and also at the top of my forum.
Reply With Quote
  #667  
Old 10-27-2008, 05:30 PM
shane greer shane greer is offline
 
Join Date: Oct 2008
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any help appreciated guys.

I know some folk had similar problems... any of you able to help a fellow vB user out?
Reply With Quote
  #668  
Old 10-27-2008, 06:08 PM
Forgott3n Forgott3n is offline
 
Join Date: Oct 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shane greer View Post
Im completely new to this. what exactly am I to type in.... what is the code below?

Do I type in SELECT * FROM $TPdatastore
WHERE title = "quote_settings"

And replace $TP with my database name?
Sorry Shane, that support was directed at me.

I am unsure on how to proceed with your issue. Did you backup before installing QuoteIt? Your best bet is to contact vbulletin.com member support.
Reply With Quote
  #669  
Old 10-27-2008, 06:15 PM
shane greer shane greer is offline
 
Join Date: Oct 2008
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok thanks. Do the guys over at vbulletin.com offer support for this mod?

Cap'n Steve already answered someone else with this problem... Im not sure where Im to put this.

Quote:
Originally Posted by Defkalion
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.

Add this to includes/config.php:
PHP Code:
define('DISABLE_HOOKS', 1);
Reply With Quote
  #670  
Old 10-27-2008, 07:14 PM
Forgott3n Forgott3n is offline
 
Join Date: Oct 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by shane greer View Post
Ok thanks. Do the guys over at vbulletin.com offer support for this mod?

Cap'n Steve already answered someone else with this problem... Im not sure where Im to put this.
Ok, what you need to do is edit your config.php file which is located at yoursite.com/forumpath/includes/config.php

add
Code:
define('DISABLE_HOOKS', 1);
to the end of the file.
Reply With Quote
  #671  
Old 10-31-2008, 07:22 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

shane greer - Sorry, I've been busy. Glad to see you found the solution. Once you're able to get back in the admincp, you can reinstall the product.

Forgott3n - It seems to be saved properly. Are you sure the quotes aren't going into the moderation queue? A link to your site would also be helpful.
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:59 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.04837 seconds
  • Memory Usage 2,316KB
  • 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
  • (6)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