Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Page Title - Most MOD's don't update this

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
endomorph Posted - 14 March 2008 : 15:33:16
One thing I have noticed with most (if not all MODS) is that they do not include any code changes to update the page title.

When people view a forum, the page titles are shown as -

1. Forum Title
2. {Topic Subject} - Forum Title - (When displaying a topic page)
3. {Category Title} - Forum Title - (When displaying a category page)
4. Forum Title - Page Title - When viewing the standard pages)

But when people start to add all these MOD's to their site with new pages, there are no page title updates.

So, this is how you do it -

In inc_func_common.asp, look for the following around line 1460 -

Case "policy.asp"
strNewTitle = strForumTitle & " - User Agreement"
Case "register.asp"
strNewTitle = strForumTitle & " - Register"
Case "down.asp"
strNewTitle = strForumTitle & " is currently closed."
Case "default.asp"
strNewTitle = strForumTitle
Case else
strNewTitle = strForumTitle


All you need to do is insert your own Case statements for the pages you have. For example -

Case "pm_view.asp"
strNewTitle = strForumTitle & " - Private Messages"


or

Case "searchlog.asp"
strNewTitle = strForumTitle & " - Search Log"


Apart from making the forum more informative, it also helps in the search engines.

Hope this helps some people



<
1   L A T E S T    R E P L I E S    (Newest First)
philsbbs Posted - 18 March 2008 : 19:50:00
updated my site.<

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.22 seconds. Powered By: Snitz Forums 2000 Version 3.4.07