Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
vB RANDOM QUOTE ON FORUMHOME Details »»
vB RANDOM QUOTE ON FORUMHOME
Version: 1.00, by adamgessel adamgessel is offline
Developer Last Online: Aug 2007 Show Printable Version Email this Page

Version: 3.5.0 RC3 Rating:
Released: 09-13-2005 Last Update: Never Installs: 16
Template Edits
Code Changes Additional Files  
No support by the author.

This hack will work for every Release Candidate version.

=============
DEMO BOARD
=============
Demo board is located at: http://www.forumfreedom.net/
Feel free to visit.

=============
DESCRIPTION
=============
This hack will add custom random quotes directly below the navbar (See the example ). You customize the quotes in a text file easily, and a random one is displayed. Makes it very easy. This hack was requested in the vbulletin 3.5 request forum.

Keep in mind that this will randomize any text and display different lines of the text file randomly, so it can be used for more than quotes.

=============
INSTALLATION
=============
Difficulty: Easy
Time: 1-2 Minutes

PLEASE CLICK INSTALL!!!

Supporters / CoAuthors

    Show Your Support

    • This modification may not be copied, reproduced or published elsewhere without author's permission.

    Comments
      #2  
    Old 09-14-2005, 02:36 AM
    KuRi KuRi is offline
     
    Join Date: Jan 2005
    Posts: 128
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    do correct me if im wrong but cant the file edit be subsidised by a plugin??
    Reply With Quote
      #3  
    Old 09-14-2005, 02:37 AM
    adamgessel adamgessel is offline
     
    Join Date: Oct 2004
    Posts: 101
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    It can but it's getting late over here and some people wanted this hack, so I'll probably update it tomorrow but I haven't read up on plugins and I'm not sure how to create them... I'll have to do the rest tomorrow but this works and will keep people happy. It's hardly any work on the installer's part.
    Reply With Quote
      #4  
    Old 09-14-2005, 02:47 AM
    KuRi KuRi is offline
     
    Join Date: Jan 2005
    Posts: 128
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    ive tested it with plugin and it works... allso you mite wanna update your instructions as its the forumhome template you want to edit not the navbar template and commenting lines out of templates with // wont work you need to use <!-- text --> <!-- /end text -->
    Reply With Quote
      #5  
    Old 09-14-2005, 02:53 AM
    KuRi KuRi is offline
     
    Join Date: Jan 2005
    Posts: 128
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    As im so nice ive done the fixes for you.... no file edit requred

    EDIT: i forgot to add the updated instructions file to the zip.... and i have allso updated the template edit so it is collapsable
    Reply With Quote
      #6  
    Old 09-14-2005, 03:03 AM
    Boofo's Avatar
    Boofo Boofo is offline
     
    Join Date: Mar 2002
    Location: Des Moines, IA (USA)
    Posts: 15,776
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    Why would you want to display different lines of the quotes randomly? That would mess up a quote with more than one line to it.

    Also, you need to make a test count for your demo links in your Mods instead of enticing users to register at your forums just to see what the mod looks like. Posting pics here in the thread would be better.
    Reply With Quote
      #7  
    Old 09-14-2005, 03:11 AM
    KuRi KuRi is offline
     
    Join Date: Jan 2005
    Posts: 128
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    updated again... no need for rand.php as that can be put in the plugin..... now all i need to do is get rid of the need for the txt file lol

    EDIT: Added a screenshot of the result using my update....
    Reply With Quote
      #8  
    Old 09-14-2005, 09:35 AM
    Andreas's Avatar
    Andreas Andreas is offline
     
    Join Date: Jan 2004
    Location: Germany
    Posts: 6,863
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    I'd make it a mySQL Table, with some nice ACP Script to manage quotes and then just randomly select one?

    And why global_start if it's only for Forumhome?

    Btw: I had to remove the original ZIP due to license issues.
    Reply With Quote
      #9  
    Old 09-14-2005, 11:44 AM
    Barakat's Avatar
    Barakat Barakat is offline
     
    Join Date: Nov 2004
    Location: Jerusalem
    Posts: 571
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    just fix the
    PHP Code:
    <--! vbRandomQuote by Adam Gessel --> 
    to
    PHP Code:
    <!-- vbRandomQuote by Adam Gessel --> 
    in the formhome so as not to show up .
    Reply With Quote
      #10  
    Old 09-14-2005, 08:15 PM
    adamgessel adamgessel is offline
     
    Join Date: Oct 2004
    Posts: 101
    Благодарил(а): 0 раз(а)
    Поблагодарили: 0 раз(а) в 0 сообщениях
    Default

    I will make this better of course, I know I didn't do it the best way but if you want it, here it is. Just understand that this was something I did quick, and it will be updated and you will know when an update comes.
    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 04:17 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.10498 seconds
    • Memory Usage 2,285KB
    • Queries Executed 24 (?)
    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
    • (2)bbcode_php
    • (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
    • (2)pagenav_pagelink
    • (10)post_thanks_box
    • (10)post_thanks_button
    • (1)post_thanks_javascript
    • (1)post_thanks_navbar_search
    • (10)post_thanks_postbit_info
    • (9)postbit
    • (10)postbit_onlinestatus
    • (10)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
    • post_thanks_function_fetch_thanks_end
    • post_thanks_function_thanked_already_start
    • post_thanks_function_thanked_already_end
    • fetch_musername
    • postbit_imicons
    • bbcode_parse_start
    • bbcode_parse_complete_precache
    • bbcode_parse_complete
    • postbit_display_complete
    • post_thanks_function_can_thank_this_post_start
    • pagenav_page
    • pagenav_complete
    • tag_fetchbit_complete
    • forumrules
    • navbits
    • navbits_complete
    • showthread_complete