Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Split ForumHome page - Custom Pagetitles! Details »»
Split ForumHome page - Custom Pagetitles!
Version: 1.00, by flup flup is offline
Developer Last Online: Nov 2021 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 05-15-2007 Last Update: Never Installs: 6
Template Edits
 
No support by the author.

Title: Custom Pagetitles for different pages
Add-on for: Split ForumHome Page in Multiple Pages
Template mod by: Joshua de Gier (flup)

What does it do?

I noticed a lot of people needed a custom title for their different pages, this template modification helps you to do this! It's just a little edit in the FORUMHOME template.

Here we go!

Go to your adminCP -> Style Manager -> Edit Templates
Select: Forum Home Templates and double click FORUMHOME

### Step 1: Search this line:

Quote:
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
### Step 2: Replace this line with:

Quote:
<if condition="$_GET['page'] == 2">
<title>Your Custom Pagetitle</title>
<else />
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
</if>
### Step 3: More pages? Simple add this line above all:

Quote:
<if condition="$_GET['page'] == 3">
<title>Your Custom Pagetitle 2</title>
</if>
### The total codeview would look like this in this case:

Quote:
<if condition="$_GET['page'] == 3">
<title>Your Custom Pagetitle 2</title>
</if>
<if condition="$_GET['page'] == 2">
<title>Your Custom Pagetitle</title>
<else />
<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
</if>

Good luck and Have fun!

Show Your Support

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

Comments
  #2  
Old 05-27-2007, 02:58 PM
Coleccromos's Avatar
Coleccromos Coleccromos is offline
 
Join Date: Apr 2005
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To forgive for my English and if this answer this in this thread

My idea is to make in my forum a second it paginates with several sub forums and several categories.

As I have to make it
Reply With Quote
  #3  
Old 05-27-2007, 09:41 PM
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Location: Maastricht, NL
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure what you mean, but if you want to know how to split up your forums over various threads you have to take a loot at this mod:

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

this is just a template edit to have custom page titles for these pages.
Reply With Quote
  #4  
Old 05-28-2007, 05:18 PM
Coleccromos's Avatar
Coleccromos Coleccromos is offline
 
Join Date: Apr 2005
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by flup View Post
I'm not sure what you mean, but if you want to know how to split up your forums over various threads you have to take a loot at this mod:

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

this is just a template edit to have custom page titles for these pages.

To see if I explain to myself better. the idea is to put it like it is here in this forum vbulletin.org in menus. Here we see that there are several accesses Mods,Articles,Forums,Home....
and inside these menus there are several categories with their sub forums

This is my idea and I believe that one can make with this mod, but alone it shows me a single category with their sub forums when I assign him so that it is seen in it paginates it 2 or other categories
Reply With Quote
  #5  
Old 06-01-2007, 06:34 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks, including this fix now. look forward to seeing if you can fix some of the other problems you may find in it and posting them as well.

1 possible fix that would be great if you could fix is this:

My page 3 is here for example http://www.gamerzneeds.net/forums/gfx.html

when you click on the help request forum, it takes you to this:

http://www.gamerzneeds.net/forums/help-request/

When your inside that forum, the thingy in the navbar does not include the actual page, so users can not go back to the page 3 but instead have to go back to page 1.

example of what it looks like:

Gamerz Needs - For All Your Gaming Needs! > GfX - For All your Graphic Needs

but instead it should have this:

Gamerz Needs - For All Your Gaming Needs! > Page 3 title > GfX - For All your Graphic Needs



If you could fix this, you would be awesome ^^
Reply With Quote
  #6  
Old 11-19-2007, 04:45 PM
Discussions Discussions is offline
 
Join Date: Nov 2006
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I agree with hornstar.

Is there any chance of getting an update on this?
Reply With Quote
  #7  
Old 11-07-2008, 09:10 PM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump. would be great for this to be continued.
Reply With Quote
  #8  
Old 12-15-2008, 11:40 PM
flup's Avatar
flup flup is offline
 
Join Date: Jan 2002
Location: Maastricht, NL
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm.. in that case we should be passing values to the next page I guess,.. or getting the 'page' value from the DB and parse it on the page URL and parse the title in the breadcrumb which would be some more work I guess :$
Reply With Quote
Reply


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 02:58 PM.


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.04122 seconds
  • Memory Usage 2,273KB
  • Queries Executed 21 (?)
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
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete