Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
Title Rotater Details »»
Title Rotater
Version: 1.2, by Null Parameter Null Parameter is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.3 Rating:
Released: 09-15-2008 Last Update: 09-16-2008 Installs: 23
Uses Plugins
Re-useable Code  
No support by the author.

Title Rotater
--------------------------------------
Created By: Null Parameter

This mod is tested with 3.7.3, but may work with earlier versions.

Please leave any comments, suggestions or bugs.

Description
This mod takes a list of admin defined possible titles and chooses one randomly to be displayed as the page title for FORUMHOME. Both a prefix and postfix can be defined to encapsulate the random title.

You may also use the keyword {username} to specify the current user's name.

See the attached image for the ACP options panel.

Demo
You can see my site use this on FORUMHOME, here:
http://www.xforgery.com/forum/index.php
Refresh it a few times to see different titles.

Although, it doesn't use the postfix option.


Limitations
  • This mod will not work if you have altered the default title in the FORUMHOME or FORUMDISPLAY template, or if a style doesn't use the same format.

    The Title code in FORUMHOME should appear like this:
    Code:
    <title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>

    The Title code in FORUMDISPLAY should appear like this:
    Code:
    <title>$foruminfo[title_clean]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>

Fixes

* Version 1.2
  • Changed {username} occurences for unregistered users to $vbphrase[guest]
  • Added FORUMDISPLAY capabilities
  • Added Options to enable/disable individually on FORUMHOME & FORUMDISPLAY
  • Reworded a few things

This is the first mod that I decided to make into a releasable form, so I hope you like it.

Show Your Support

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

Comments
  #12  
Old 09-17-2008, 11:24 AM
Null Parameter's Avatar
Null Parameter Null Parameter is offline
 
Join Date: Jun 2008
Location: Minnesota, USA
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by M-Tuning View Post
Doesn't this work?:

Code:
<if condition="$show['member']"> {username} 
<else />
$vbphrase[guest]
</if>
I guess something like that would do the job
I'll upload a version with that change later today.
Reply With Quote
  #13  
Old 09-17-2008, 05:28 PM
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Location: Las Vegas, NV.
Posts: 1,433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how can this be used for FORUMDISPLAY?
and how affects SEO?
Reply With Quote
  #14  
Old 09-17-2008, 06:30 PM
Null Parameter's Avatar
Null Parameter Null Parameter is offline
 
Join Date: Jun 2008
Location: Minnesota, USA
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iogames View Post
how can this be used for FORUMDISPLAY?
and how affects SEO?
I just added into the latest version the ability to apply this to FORUMDISPLAY, it is now an additional option, along with the ability to enable/disable either of the two locations.

And I am not too familiar with how SEO works, so I am unable to comment on this.
Reply With Quote
  #15  
Old 09-17-2008, 08:03 PM
iogames's Avatar
iogames iogames is offline
 
Join Date: Jan 2007
Location: Las Vegas, NV.
Posts: 1,433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check this: https://vborg.vbsupport.ru/showthread.php?t=156894

It supposes to be more friendly to search engines, boosting your indexing capabilities
Reply With Quote
  #16  
Old 09-17-2008, 08:27 PM
Null Parameter's Avatar
Null Parameter Null Parameter is offline
 
Join Date: Jun 2008
Location: Minnesota, USA
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by iogames View Post
Check this: https://vborg.vbsupport.ru/showthread.php?t=156894

It supposes to be more friendly to search engines, boosting your indexing capabilities
I still couldn't tell you as I am not really familiar with SEO. I'm not sure how much the title of a page plays into optimization for search engines. Although, I know that there are main stream sites that do something similar to this.
Reply With Quote
  #17  
Old 11-17-2008, 08:03 PM
jonbaker jonbaker is offline
 
Join Date: Oct 2007
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okay, does the "demo" still work? maybe i am jsut not knowledgeable in this.

does this mod randomly rotate "forums/images/misc/header.gif"

if not, can someone link me to a mod that does?
Reply With Quote
  #18  
Old 11-18-2008, 04:10 AM
Null Parameter's Avatar
Null Parameter Null Parameter is offline
 
Join Date: Jun 2008
Location: Minnesota, USA
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, the demo is still running.

No, this mod doesn't rotate a header image, only the webpage title (found at the top of the browser).
Reply With Quote
  #19  
Old 08-18-2009, 07:04 PM
Canadians360's Avatar
Canadians360 Canadians360 is offline
 
Join Date: Jul 2009
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well looky here I didnt know you actually put products up null. I gotta this is great if you have a fun community and like to hang some of your better moments above your board.
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 08:52 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.04295 seconds
  • Memory Usage 2,286KB
  • Queries Executed 23 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)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