vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Random Text Quotes (https://vborg.vbsupport.ru/showthread.php?t=52831)

Kriek 05-11-2003 10:00 PM

Random Text Quotes
 
Description

Keep in mind these modifications are designed for Random Text Quotes in the postbit, specifically under signatures, although I imagine due to the placement of variables this could be expanded to other sections.

Installation Information

Code:

Files to edit: (1) admin/functions.php
Files to upload: (2) RCQ.php, RCQ.txt
Queries to Run: (0) nada
Templates to edit: (1) postbit templates/postbit
Templates to add: (0) nada
Time to install: approx 4 minutes


msimplay 05-12-2003 12:14 AM

any chance of supplying a random quotes text to use with this hack ?

Kriek 05-12-2003 12:18 AM

msimplay, I suggest downloading WinRAR ;)

msimplay 05-12-2003 01:39 AM

lol nooooo i have win rar
but the text as in i want some quotes to go in the text file not just quote 1 etc

dirtymerc 05-12-2003 01:41 AM

yeah where the hell are the quotes that are random, LOL

Boofo 05-12-2003 06:40 AM

When this changes the quote, will it do it for one message only or all of the messages where you have that signature?

iggy123 05-12-2003 10:33 AM

Not going to install this - but its a dam good hack - I have had quotes on my site before and I still had this file with 250 quotes on it - it might need altering slightly but its a start....

Chris M 05-12-2003 10:46 AM

Looks good:)

For those of you without WinRAR, I have attached a .zip file version;)

Satan

Robink 05-12-2003 01:51 PM

Thanks Satan, I needed the ZIP...

Good hack :D

Kriek 05-12-2003 09:18 PM

Quote:

Today at 03:40 AM Boofo said this in Post #6
When this changes the quote, will it do it for one message only or all of the messages where you have that signature?
Each individual post in a thread will have a unique quote, due to the fact that I am binding the random output of an include file to a single variable. Naturally each instance of that variable will contain a random value.

Quote:

Yesterday at 10:39 PM msimplay said this in Post #4
I want some quotes to go in the text file
I suggest searching for your own quotes ;)


All times are GMT. The time now is 12:27 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.00967 seconds
  • Memory Usage 1,726KB
  • 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)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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