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
  #42  
Old 11-26-2010, 04:18 PM
Shazan Shazan is offline
 
Join Date: Jun 2008
Location: S?o Paulo - Brasil
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using vb 3.8.1 patch lvl 1 , I've done the first 3 steps correcly but I can't find the options inside the admin CP (step 4) and the quotes aren't showing in my home even though I tried adding "$quote_manual_template" above "<!-- main -->" in every template.

I'm not very good with Php so I don't understand why it's not working since I did everything right (uploads via ftp in the right folders and importing the other xml). I can even see "Random Quotes" in the list of pluging in Admin CP.

Is there some way to help me? Thx in advance.
Reply With Quote
  #43  
Old 11-27-2010, 06:05 PM
Warlord's Avatar
Warlord Warlord is offline
 
Join Date: Jan 2002
Location: TN, USA
Posts: 668
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
For anyone wondering how to figure out why quotes with apostrophes give you a SQL error...

Change a quote like this....

It's clobberin' time!
to

Quote:
It\'s clobberin\' time!
and it will work just fine.
Reply With Quote
  #44  
Old 12-04-2010, 04:49 PM
imedic's Avatar
imedic imedic is offline
 
Join Date: Mar 2008
Location: Romania
Posts: 178
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tyteen4a03 View Post
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");

I think it can be done by changing phrases.

Or you mean different error message for same error?
Thanks for the edit, it worked, I get rid of the error but quotes are not showing (it shows only Q#: "" - )

I am reffering to put quotes above all errors forum gives and not on index page as this is too boring. And the benefit to this is it will put a smile on ppl face when they should be not happy of receiving an error or a warning from forum.
Reply With Quote
  #45  
Old 05-10-2011, 11:18 AM
mgurain's Avatar
mgurain mgurain is offline
 
Join Date: Apr 2005
Location: KSA - Qatif - Al-Jarodiah
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mgurain View Post
looking for 4.x version of this useful hack ?
Any time ?
Reply With Quote
  #46  
Old 06-12-2011, 05:57 PM
ravenscape's Avatar
ravenscape ravenscape is offline
 
Join Date: Mar 2008
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by killa seven View Post
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.

I have the same problem. I'm getting around it temporarily with a direct link <www.myforum.com>/quotes.php

I would like for the quotes to show up on every page, not just the index page. Any idea how to make that work?
Reply With Quote
  #47  
Old 06-13-2011, 09:18 PM
blackberry's Avatar
blackberry blackberry is offline
 
Join Date: Feb 2008
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

supports images or just the txt?
Reply With Quote
  #48  
Old 02-16-2012, 05:13 PM
ravenscape's Avatar
ravenscape ravenscape is offline
 
Join Date: Mar 2008
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone know if this works with VB4? Of if there's a similar hack for VB4?
Reply With Quote
  #49  
Old 02-19-2013, 05:54 PM
ravenscape's Avatar
ravenscape ravenscape is offline
 
Join Date: Mar 2008
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blackberry View Post
supports images or just the txt?
If you change the Quotes table element type from "text" to "medium text" then you can use html tags in your quotes to include images.
Reply With Quote
  #50  
Old 02-19-2013, 05:55 PM
ravenscape's Avatar
ravenscape ravenscape is offline
 
Join Date: Mar 2008
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, anyone know how to include the random quotes on a vbadvanced portal?
Reply With Quote
  #51  
Old 05-09-2013, 09:09 PM
egexperiment626 egexperiment626 is offline
 
Join Date: Oct 2008
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love this mod so much! Just one little question... While editing the quotes, I ended up with to blank lines. Since there is no information I can't click to delete or edit and they are showing up in the mod as " " . How can I either remove those lines or edit them so I can enter a quote?
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:22 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.05535 seconds
  • Memory Usage 2,339KB
  • 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
  • (3)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