vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Random Quote (https://vborg.vbsupport.ru/showthread.php?t=115715)

halpern 05-16-2006 02:13 AM

Random Quote
 
Ok I am currently using a mod called Random Content. You can put quotes on one line in a text file. The module will then read each line at random and post the quote in a block. You can see this at work by going to my site theofficeforum.net. I have a request though. I want a form that a user can fill out with their name, email (unless they are logged in it would be nice for that to be autocompleted since they are a member and their info is in the db) and a notes/comments section where they can add a quote from the show. It would be convenient if there was a way to store this informaiton so that it could be loaded into the Random Quote module and be displayed at random. Almost like submitting a comments forms but instead this would insert information into a file to be read at random thru the module. Can anyone assist me with this? It's annoying to have to manually add each quote to a .txt file and put it on my server when I could have users submit their own and have it be done automatically. I could see a mod like this becomign popular. Thanks!

Jasmin 05-16-2006 02:39 AM

I'm not a programmer, but I can agree with the need for this. I've wanted random, rotating content pretty badly -- for quotes, tips, what have you.

Boofo 05-16-2006 02:58 AM

Why not store the quotes in a db table and call them from there? That's what I do with over 1300 quotes. ;)

peterska2 05-16-2006 02:59 AM

Quote It - Quote Database

:)

halpern 05-16-2006 03:14 PM

Awesome! Thanks. Would there be any way to make this a small left block? I wouldn't have a need to have a center block, taking up that much space. Take a look at my site theofficeforum.net on the left side in Random Quotes to get an idea of the size..Can anyone hack this mod to make it a small block? Thanks.


All times are GMT. The time now is 08:49 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00938 seconds
  • Memory Usage 1,713KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete