vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   vB RANDOM QUOTE ON FORUMHOME (https://vborg.vbsupport.ru/showthread.php?t=96226)

Mathiau 09-14-2005 09:36 PM

sounds good will try it out on RC3 - always loved this hack :)

advice - maybe put the zip file in the first post and keep 1 updated instead of in multiple posts :D

Wayne Luke 09-14-2005 10:10 PM

Why not just use Javascript and a template edit?

http://clarksco.com/blog/?p=6

Gray Matter 09-15-2005 12:46 AM

First of all, thank you so much for creating this hack after I've been lobbying for it for so long! :D

I do have some suggestions, though.
  • Easy quote adder/editor in the ACP. (the current way of editing the rand.txt file is so tidious and time-consuming -- especially for me, who's got over 350 quotes on his vB2 site that he wants to transfer to vB3.5)
  • Have two variables that we can edit through templates: "$quote" and "$quoter". This way, I can use HTML, but I can customize it for all of the quotes in an instant rather than manually customize via the text file.
I think that's about it. :)

Quote:

Originally Posted by KirbyDE
And why global_start if it's only for Forumhome?

I think it's a good idea to have it with global_start, in case someone (such as I have) would like to display the quote on every page (by adding it to the footer template, etc.)

Great hack, nevertheless. ;)

adamgessel 09-15-2005 01:33 AM

Like I said... I know I didn't do it the best way. It gets the job done, so expect a better version later but this does what it is supposed to do.

I will be making a new version soon... but just keep in mind that I want to wait until the final release of vBulletin before making anything huge.

adamgessel 09-15-2005 01:35 AM

KuRi, thanks for your contribution. If you'd like to be added as a co-author, let me know and I will be happy to put you up there.

I will update and create a better version soon.

KuRi 09-15-2005 01:13 PM

Quote:

Originally Posted by adamgessel
KuRi, thanks for your contribution. If you'd like to be added as a co-author, let me know and I will be happy to put you up there.

I will update and create a better version soon.

if you feel that i should then why not... lol

Just an update.... im working on integrating into the admincp.... its proving more dificult than i first thaught it to be

mOdEtWo 09-15-2005 03:01 PM

Please make this a plugin with a nice ACP edit function, that would rock. I have a "Quote of the week" function at my forums, but I have to edit the phrase each time I want to change it.

Mr Blunt 09-15-2005 03:28 PM

Well Chute.... I've been working on something "similar" for the last few weeks and just finished it today.

I can definately say mine gets displayed A LOT different (and besides it's just one of many features in my extension) so I don't see why both hacks can't coexist here at vb.org

Nice job with this one so far, Adam!!
I almost think I like yours better than mine!!
Ummmm .... almost is a keyword ... hehe!!
:D

I can't show ya screens of mine yet due to technical reasons but soon.

Mr Blunt 09-16-2005 03:19 AM

believe me, not trying to steal any potential people from this hack because it does look real cool (ok, yours DOES look better than mine :D) but maybe my product will help you along the way a little bit somehow someway.

https://vborg.vbsupport.ru/showthread.php?t=95264

Edited to correct url .... my bad!!

KuRi 09-16-2005 12:28 PM

Quote:

Originally Posted by Mr Blunt
believe me, not trying to steal any potential people from this hack because it does look real cool (ok, yours DOES look better than mine :D) but maybe my product will help you along the way a little bit somehow someway.

https://vborg.vbsupport.ru/showthread.php?t=93167

very well but what exactly is the relevance of that hack to this one?? this one shows random quotes, yours shows attachment download stats.... you have confued me!!


All times are GMT. The time now is 03:24 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.01051 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete