Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Bug Reports (Closed)
 v3.1sr4 BUG+FIX Title doesn't show all in titlebar
 Forum Locked  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 17 December 2000 :  12:17:43  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
I replaced the <title> tag with the following... It shows forum title/topic title if it exists, otherwise it will just show the default forum title.


<%
strTempForumTitle = request.querystring("forum_title")
strTempTopicTitle = request.querystring("topic_title")

if strTempForumTitle = "" and strTempTopicTitle = "" then

response.write("<title>"&strForumTitle&"</title>")

elseif strTempTopicTitle = "" and not(strTempForumTitle = "") then

response.write("<title>"&strTempForumTitle&" - " & strForumTitle & "</title>")

elseif not(strTempTopicTitle = "" and strTempForumTitle = "") then

response.write("<title>"&strTempTopicTitle&" - " & strTempForumTitle & " - " & strForumTitle & "</title>")

else

response.write("<title>" & strForumTitle & "</title>")

end if

%>


Da_Stimulator
Stimmy's Forums - Using 3.1 SR2
"We all die someday, but your goin down before I do" - Me

Changed topic title...

Edited by - Davio on 07 November 2001 16:51:26

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 18 February 2001 :  20:08:30  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
*bump*

----
Da_Stimulator
Snitz Forums Dev Team Member
http://stimmy.cfm-resources.com/forum - my testing forums.
Go to Top of Page

wii
Free ASP Hosts Moderator

Denmark
2632 Posts

Posted - 19 February 2001 :  04:17:00  Show Profile
why not add to this, and make the URL stay the same, so if I have http://www.alphaville.dk/forum/ - the URL stays the same no matter which page I´m on.

Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 19 February 2001 :  12:07:33  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
Thats what it does now, this is to show the topic name/forum name if your viewing one....

------
Da_Stimulator - Snitz Forums Dev Team Member
My Snitz test center
Go to Top of Page

Reinsnitz
Snitz Forums Admin

USA
3545 Posts

Posted - 19 February 2001 :  12:40:25  Show Profile  Visit Reinsnitz's Homepage  Send Reinsnitz an AOL message  Send Reinsnitz an ICQ Message  Send Reinsnitz a Yahoo! Message
This sounds like the prefered behaviour to me.

Reinsnitz (Mike)
><)))'>
"Therefore go and make disciples of all nations,..." Matthew 28:19a
Go to Top of Page

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 19 February 2001 :  12:42:43  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
Kewl

------
Da_Stimulator - Snitz Forums Dev Team Member
My Snitz test center
Go to Top of Page

StockholmStudent
Junior Member

Sweden
329 Posts

Posted - 26 February 2001 :  05:00:56  Show Profile  Visit StockholmStudent's Homepage  Send StockholmStudent an ICQ Message
How do you do this mod!?

Inc_top.asp looks like this:

quote:

end select

mLev = cint(ChkUser2(strDBNTUserName, Request.Cookies(strUniqueID & "User")("Pword")))

Response.Write "<html>" & vbcrlf & vbcrlf & _
"<head>" & vbcrlf & _
"<title>" & strForumTitle & "</title>" & vbcrlf & _
"<meta name=""copyright"" content=""This code is Copyright (C) 2000 Michael Anderson and Pierre Gorissen"">" & vbcrlf
%>



How to change it for the look you like!?




Go to Top of Page

Reinsnitz
Snitz Forums Admin

USA
3545 Posts

Posted - 26 February 2001 :  09:23:13  Show Profile  Visit Reinsnitz's Homepage  Send Reinsnitz an AOL message  Send Reinsnitz an ICQ Message  Send Reinsnitz a Yahoo! Message
In Inc_top.asp replace this:


mLev = cint(ChkUser2(strDBNTUserName, Request.Cookies(strUniqueID & "User")("Pword")))

Response.Write "<html>" & vbcrlf & vbcrlf & _
"<head>" & vbcrlf & _
"<title>" & strForumTitle & "</title>" & vbcrlf & _
"<meta name=""copyright"" content=""This code is Copyright (C) 2000 Michael Anderson and Pierre Gorissen"">" & vbcrlf
%>


with this:


mLev = cint(ChkUser2(strDBNTUserName, Request.Cookies(strUniqueID & "User")("Pword")))

strTempForumTitle = request.querystring("forum_title")
strTempTopicTitle = request.querystring("topic_title")

Response.Write "<html>" & vbcrlf & vbcrlf & _
"<head>" & vbcrlf

if strTempForumTitle = "" and strTempTopicTitle = "" then
Response.Write "<title>" & strForumTitle & "</title>" & vbCrLf
elseif strTempTopicTitle = "" and not(strTempForumTitle = "") then
Response.Write "<title>" & strTempForumTitle & " - " & strForumTitle & "</title>" & vbCrLf
elseif not(strTempTopicTitle = "" and strTempForumTitle = "") then
Response.Write "<title>" & strTempTopicTitle & " - " & strTempForumTitle & " - " & strForumTitle & "</title>" & vbCrLf
else
Response.Write "<title>" & strForumTitle & "</title>" & vbCrLf
end if
Response.Write "<meta name=""copyright"" content=""This code is Copyright (C) 2000 Michael Anderson and Pierre Gorissen"">" & vbcrlf


Reinsnitz (Mike)
><)))'> Need a Mod?
"Therefore go and make disciples of all nations,..." Matthew 28:19a


Edited by reinsnitz on 02/26/2001
Go to Top of Page

StockholmStudent
Junior Member

Sweden
329 Posts

Posted - 26 February 2001 :  09:48:30  Show Profile  Visit StockholmStudent's Homepage  Send StockholmStudent an ICQ Message
so I should replace the "end select" in the beginning!?

Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 26 February 2001 :  09:50:39  Show Profile
no, don't replace the end select.

don't leave out the META Copyright line either.

Edited by - Richard Kinser on 26 February 2001 09:52:30
Go to Top of Page

Reinsnitz
Snitz Forums Admin

USA
3545 Posts

Posted - 26 February 2001 :  10:23:02  Show Profile  Visit Reinsnitz's Homepage  Send Reinsnitz an AOL message  Send Reinsnitz an ICQ Message  Send Reinsnitz a Yahoo! Message
edited my post to reflect the proper change...

Thanks Richard!

Reinsnitz (Mike)
><)))'> Need a Mod?
"Therefore go and make disciples of all nations,..." Matthew 28:19a
Go to Top of Page

Reinsnitz
Snitz Forums Admin

USA
3545 Posts

Posted - 26 February 2001 :  10:24:25  Show Profile  Visit Reinsnitz's Homepage  Send Reinsnitz an AOL message  Send Reinsnitz an ICQ Message  Send Reinsnitz a Yahoo! Message
quote:

so I should replace the "end select" in the beginning!?



Hey Stoky... the next alpha is going to include this code in it... and the resulting beta/final will also... so you might want to just wait on that ;)

there are quite a number of small changes (enouph to be a huge endevor for anyone modifying code).

Reinsnitz (Mike)
><)))'> Need a Mod?
"Therefore go and make disciples of all nations,..." Matthew 28:19a
Go to Top of Page

StockholmStudent
Junior Member

Sweden
329 Posts

Posted - 27 February 2001 :  02:39:11  Show Profile  Visit StockholmStudent's Homepage  Send StockholmStudent an ICQ Message
and what about inc_top_short.asp?

Go to Top of Page

StockholmStudent
Junior Member

Sweden
329 Posts

Posted - 27 February 2001 :  05:34:24  Show Profile  Visit StockholmStudent's Homepage  Send StockholmStudent an ICQ Message
quote:

no, don't replace the end select.

don't leave out the META Copyright line either.

Edited by - Richard Kinser on 26 February 2001 09:52:30



BIG BUG!!! MAYBE THIS AINT GOOD!?

I just found out a thing! This change in the inc_top.asp made the admin-options impossible! There where no trashes etc. any loonger! So I rechanged to the old style! Why is it so!?

cheers
/CHEETAH

AND WHY AINT THE E_MAIL NOTIFICATION WOORKING!?

Go to Top of Page

StockholmStudent
Junior Member

Sweden
329 Posts

Posted - 28 February 2001 :  16:28:53  Show Profile  Visit StockholmStudent's Homepage  Send StockholmStudent an ICQ Message
anyone!?

Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 28 February 2001 :  16:43:14  Show Profile
Dunno, maybe no one spotted your comment? :)

======
Doug G
======
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 Forum Locked  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07