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 MOD-Group
 MOD Add-On Forum (W/Code)
 Logo Mod for Tschive's Portal
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

w2kgamer
Starting Member

USA
20 Posts

Posted - 13 July 2001 :  10:08:07  Show Profile
I wanted to put up a site logo instead of the default which is the name of the forum and "welcome to our homepage" So I embeded a flash logo in there instead!
File: None. Just keep reading.
Demo: http://www.w2kgamer.com/default.asp
File(s) modified: inc_top.asp
credits: Tshive for his cool portal. Give me something to play with.
And the flash code was taken from another thread on this board. http://forum.snitz.com/forum/topic.asp?TOPIC_ID=10858&FORUM_ID=87&CAT_ID=5&Topic_Title=about the flash&Forum_Title=Graphics %26 Style in Snitz%21
Instructions:

Open up top_inc.asp in your favorite editor.
Go down a short distance until you see the following code. Remove the part in red.

' FORUM HEADER
response.write ("<table align=""center"" border=""0"" cellpadding=""0"" cellspacing=""0"" width=""100%"">" & vbCrLf &_
"<tr>" & vbCrLf & "<td bgcolor=""" & strTableBorderColor & """>" &_
"<table align=""center"" border=""0"" cellpadding=""2"" cellspacing=""1"" width=""100%"">" & vbCrLf &_
"<tr>" & vbCrLf &_
"<td bgcolor=""" & strPageBGColor & """>" &_
"<table border=""0"" cellpadding=""0"" cellspacing=""0"" width=""100%""><tr><td bgcolor=""" & strPageBGColor & """>" &_
"<tr valign=""top""><td>" &_
"<div><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>" & strForumTitle & "</b></font></div>" & vbCrLf &_
"<div><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>")


Next: Go down to the sub listed below and comment out the red and put in the green. Of course you will not do it exactly, please put your own path in there.

' HEADER TEXT
Sub IntroText()
Select Case sectionid
Case 1 ' Events & Calendar
response.write ("Welcome to the events calendar.")
Case 2 ' Members Area
response.write ("Welcome to the members area.")
Case 3 ' Help & FAQ
response.write ("Welcome to the help section of the forum.")
Case 4 ' Search
response.write ("Use the search for finding....")
Case 5 ' Search
response.write ("Browse through the list of links.")
Case 6 ' Homepage
' response.write ("Welcome to our Homepage.")
response.write ("<OBJECT WIDTH=300 HEIGHT=80><PARAM NAME=bgcolor VALUE=#000000><EMBED

src=""http://www.w2kgamer.com/images/w2kgamer-logo.swf"" quality=high menu=false scale=exactfit loop=true WIDTH=300 HEIGHT=80

swLiveConnect=true TYPE=""application/x-shockwave-flash""></EMBED></OBJECT>")

Case 888 ' Admin
response.write ("Hey, you are in the ADMIN - section.<br>Are you sure what you are doing?")
Case Else ' Default
response.write ("Welcome to the forum.")
End Select
End Sub


That's all there was to it. I don't know anything about coding anything and I got it working. So I feel proud. Now if I could only get the news to work.


Edited by - w2kgamer on 13 July 2001 10:14:23

dethfire
Starting Member

20 Posts

Posted - 13 July 2001 :  16:32:03  Show Profile
Hi there, I have a question about Tschive's Portal MOD. I already have a successful fofum (with other mods) and really like the portal idea. When I downloaded the portal, I noticed that it also gave all the forum pages and such. How can I get the portal to work with my exisiting forum? Is there a zip file for just the portal items?

thanks!

Go to Top of Page

SalmanKhana
Average Member

USA
961 Posts

Posted - 13 July 2001 :  18:06:44  Show Profile
he is making the zip file.. but you can upgrade the database to work with the portal. so you wont miss nothing.

or you can move your tables from the database and that is what i did

Go to Top of Page

tschive
New Member

Switzerland
63 Posts

Posted - 13 July 2001 :  18:35:25  Show Profile
w2kgamer
your site looks nicer and nicer.
good work!

please post your mods in the portal forum too!

tschive



;-)
.... und tschüss
Go to Top of Page

w2kgamer
Starting Member

USA
20 Posts

Posted - 13 July 2001 :  19:44:56  Show Profile
Hey, do we have to lock you in a room until you get the news done?? Less time writing and more time coding!

Just teasing you. Have a great weekend.

Go to Top of Page

SalmanKhana
Average Member

USA
961 Posts

Posted - 13 July 2001 :  20:41:55  Show Profile
good flash thing up there . Thanks for sharing the code w2kgamer... and thanx tschive {:)] .. u've always been a good man.

hey w2kgamer.. can u help me make the flash image ?? i am pretty dumb at it.

Go to Top of Page

bonkers
Junior Member

United Kingdom
122 Posts

Posted - 14 July 2001 :  21:10:10  Show Profile  Visit bonkers's Homepage
I just want to add a banner.gif in the same place.
Can this be added in a similar way ?
also
why does`nt the gif appear by adding the correct path in admin like the Snitz sr4.
Just curious


bonkers
bonkers Test Portal
http://user.7host.com/bonkers/
Go to Top of Page

w2kgamer
Starting Member

USA
20 Posts

Posted - 15 July 2001 :  19:02:51  Show Profile
Yes, just replace the flash stuff with a link to the .gif file.

Go to Top of Page

Morpheus73
Average Member

Denmark
597 Posts

Posted - 15 July 2001 :  19:30:42  Show Profile
How about an admin.asp for this? ... using HuwR´s fileupload-thing, administrators should be able to use an uploaded image/swf file as logo

Morpheus73 - morpheus73@hotmail.com
Go to Top of Page

SalmanKhana
Average Member

USA
961 Posts

Posted - 16 July 2001 :  03:25:18  Show Profile
quote:

Open up top_inc.asp in your favorite editor.
Go down a short distance until you see the following code. Remove the part in red.




Dude there's no such file as top_inc.asp

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