Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Rotating Quotes Database Details »»
Rotating Quotes Database
Version: 1.1, by sheppardzwc sheppardzwc is offline
Developer Last Online: Nov 2019 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.8.x Rating:
Released: 12-03-2009 Last Update: 12-03-2009 Installs: 36
DB Changes Uses Plugins Auto-Templates
Re-useable Code Additional Files  
No support by the author.

Rotating Quotes Database


Info

An easy to use quote cycling system that displays on your FORUMHOME. Put in a bunch of Windows jokes to beat around Bill Gates or throw a few of those old inspirational up-lifters to help brighten your user's day!

Features
- Completely lightweight, installs in under 5 seconds.
- Insanely customizable, you can add any quote or joke in under a minute!
- Uses MySQL to cycle through quotes, no extra dependencies or CSS to install.
- Options to display just the quote, the author and the quote, or the quote number, author, and the quote.

Installation

1. Download product-rand_quote.zip.
2. Upload admincp/quotes.php and includes/xml/cpnav-rand_quote.xml.
3. Import product-rand_quote.xml.
4. You can configure it by going to AdminCP > vBOptions > Quote Database
5. The management page can be found in the Quote Database dropdown above "Styles & Templates."
6. All done!

If you have customized your FORUMHOME template, look for:

Code:
<!-- main -->

and add right above it:
$quote_manual_template

Changelog

v1.0
- Initial Release
v1.1
- Bugfix for "T_LNUMBER" or your forumhome page has "an unsupported forum of compression."

Like this mod? Click INSTALL for me! :up:

Download Now

File Type: zip product-rand_quote-1.1.zip (301.0 KB, 285 views)

Screenshots

File Type: jpg forumhome-w-author.jpg (105.9 KB, 0 views)
File Type: jpg forumhome-w-o-author.jpg (103.2 KB, 0 views)
File Type: jpg options.jpg (103.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
egexperiment626, solarboy

Comments
  #32  
Old 01-28-2010, 10:01 PM
Zoomantics Zoomantics is offline
 
Join Date: Jan 2010
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zoomantics View Post
Hi folks,

Any idea as to why this is displaying?



It is showing just above the QOTD.

Cheers
Never mind that, I fixed it.

Can someone point me to the right place to add the QOTD to the search results as well.
It only appears on the homepage currently
Reply With Quote
  #33  
Old 07-05-2010, 03:29 PM
tyteen4a03 tyteen4a03 is offline
 
Join Date: Sep 2008
Location: Hong Kong
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyway it could work with QdbS(www.qdbs.org)? Thanks Zach ;D
Reply With Quote
  #34  
Old 07-05-2010, 05:39 PM
klaush klaush is offline
 
Join Date: Oct 2005
Posts: 340
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Invalid SQL:
SELECT * FROM quote ORDER BY id ASC;

MySQL-Fehler : Table 'blabla_bla.quote' doesn't exist

In deed, the prefix "vb_" before the "qoute" is missing.

Any idea how to fix this?
Reply With Quote
  #35  
Old 07-27-2010, 07:44 PM
imedic's Avatar
imedic imedic is offline
 
Join Date: Mar 2008
Location: Romania
Posts: 178
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Same error to me too. Hope someone correct it.

I was planning to use this in a more creative way:
Not to display the quotes in forum home but in all errors the forum gives, in redirect page , or other forum notification to users making boring errors & redirect pages much more interesting hence forum experience more interesting.

Probably a nice expansion of this mode if u can add from admin cp the insertion of quotes in all errors and redirect pages.
Reply With Quote
  #36  
Old 09-04-2010, 12:20 AM
tyteen4a03 tyteen4a03 is offline
 
Join Date: Sep 2008
Location: Hong Kong
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by klaush View Post
Invalid SQL:
SELECT * FROM quote ORDER BY id ASC;

MySQL-Fehler : Table 'blabla_bla.quote' doesn't exist

In deed, the prefix "vb_" before the "qoute" is missing.

Any idea how to fix this?
Find:
Code:
$quote_list_sql = $db->query_read("SELECT * FROM quote ORDER BY id ASC");
Replace EVERY MATCH with:
Code:
$quote_list_sql = $db->query_read("SELECT * FROM ". TABLE_PREFIX . "quote ORDER BY id ASC");
Quote:
Originally Posted by imedic View Post
Same error to me too. Hope someone correct it.

I was planning to use this in a more creative way:
Not to display the quotes in forum home but in all errors the forum gives, in redirect page , or other forum notification to users making boring errors & redirect pages much more interesting hence forum experience more interesting.

Probably a nice expansion of this mode if u can add from admin cp the insertion of quotes in all errors and redirect pages.
I think it can be done by changing phrases.

Or you mean different error message for same error?
Reply With Quote
  #37  
Old 10-14-2010, 06:32 AM
vivamexico55 vivamexico55 is offline
 
Join Date: Apr 2005
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this available for VB 4.06? I can't find any quotes widget =(
Reply With Quote
  #38  
Old 11-11-2010, 03:03 AM
mgurain's Avatar
mgurain mgurain is offline
 
Join Date: Apr 2005
Location: KSA - Qatif - Al-Jarodiah
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looking for 4.x version of this useful hack ?
Reply With Quote
  #39  
Old 11-13-2010, 01:14 PM
sheppardzwc sheppardzwc is offline
 
Join Date: Dec 2008
Location: South Carolina
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by imedic View Post
Same error to me too. Hope someone correct it.

I was planning to use this in a more creative way:
Not to display the quotes in forum home but in all errors the forum gives, in redirect page , or other forum notification to users making boring errors & redirect pages much more interesting hence forum experience more interesting.

Probably a nice expansion of this mode if u can add from admin cp the insertion of quotes in all errors and redirect pages.
Quote:
Originally Posted by vivamexico55 View Post
Is this available for VB 4.06? I can't find any quotes widget =(
Quote:
Originally Posted by mgurain View Post
looking for 4.x version of this useful hack ?
I'll be working on an update to vB4 and a better vB3 version in the future, keep checking around!
Reply With Quote
  #40  
Old 11-23-2010, 05:50 AM
FreshFroot's Avatar
FreshFroot FreshFroot is offline
 
Join Date: Jul 2005
Posts: 770
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks good. Will keep an eye on this, as I may want to use it soon.

Thanks and hope to see a new update for vB3
Reply With Quote
  #41  
Old 11-24-2010, 02:16 PM
killa seven killa seven is offline
 
Join Date: Aug 2007
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this but for some reason the database drop down menu is not showing up on the left side above styles and templates, do you know why? it is displaying on the forums homes but i cant see how to change the quotes.
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:34 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.08644 seconds
  • Memory Usage 2,340KB
  • Queries Executed 26 (?)
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
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete