Author |
Topic |
|
Trefenwyd
Starting Member
Italy
31 Posts |
Posted - 08 January 2005 : 13:21:57
|
i was wondering if there's a mod able to change the aspect of inc_header...
i mean, i have installed a lot of mods in my forum, so the links at the top-right of the forum take 2 lines...id like to put the title image at the top of the screen (not at top left) and extend this links (home, profile, Register...ecc) on all the screen in a single line, something like:
http://www.webforumz.com/webforums.asp
if there's no mod, how can i get to there changing the code?
Thanks for any answer! (to have an idea, my forum is here) |
Edited by - Trefenwyd on 08 January 2005 13:25:36 |
|
Classicmotorcycling
Development Team Leader
Australia
2084 Posts |
Posted - 08 January 2005 : 16:05:02
|
E-mail sent to you. |
Cheers, David Greening |
|
|
Etymon
Advanced Member
United States
2385 Posts |
Posted - 08 January 2005 : 16:15:03
|
The header is all enclosed within nested tables. First, I made a backup of my inc_header.asp file. Then, in my fresh copy of inc_header.asp, I found all of the tables and either changed their border settings from border="0" to border="1", and I changed all of the table background colors to colors I could easily recognize like red, blue, green, yellow, orange, lime, etc. If there was no border or background color, I created it.
You need to remember that you can also change the background colors of your td properties. Also take note that some table background and td colors are preset with variables from the database, so you might want to make a few copies of your inc_header.asp file for references as you make your changes as this could get into a fairly complex process. By doing these things I could see where all of my tables were. Next, when I wanted to work with one I just looked for the color name and went from there.
Look at what I did on my wife's site at http://www.cricketscreations.com. It is similar to what you are asking about yet not the same I know. If you wanted to learn how to do it exactly the way you see in the example you gave, then look at the source of that page and use the border and background color method I mentioned above to figure out how they did it.
Cheers,
Etymon
|
Edited by - Etymon on 08 January 2005 16:48:08 |
|
|
laser
Advanced Member
Australia
3859 Posts |
Posted - 08 January 2005 : 17:24:03
|
quote: Look at what I did on my wife's site at http://www.cricketscreations.com It is similar to what you are asking about yet not the same I know.
Don't you need the "Powered By" link on that main page though ? It's using Snitz code after all. |
|
|
Etymon
Advanced Member
United States
2385 Posts |
Posted - 08 January 2005 : 18:27:32
|
Good point, laser!
I looked at the forum (http://www.cricketscreations.com/forum/) to figure out what I was thinking and realized that I had wrapped the forum's normal footer inside the table I created for the site's normal footer because I wanted the footer on the forum pages to be uniform with the footer on the home page.
I have to update the copyright date and some other stuff anyway, and I don't mind at all throwing the Snitz link in there as well. I'll just have to figure out a way to make it look uniform.
|
|
|
Etymon
Advanced Member
United States
2385 Posts |
Posted - 09 January 2005 : 00:13:24
|
Home page is now fixed. |
|
|
Trefenwyd
Starting Member
Italy
31 Posts |
Posted - 09 January 2005 : 05:14:42
|
quote: Originally posted by Classicmotorcycling
E-mail sent to you.
problems with your mail...
by the way, my inc_header.asp is here... |
|
|
Classicmotorcycling
Development Team Leader
Australia
2084 Posts |
Posted - 09 January 2005 : 17:54:37
|
File sent back. Let me know how it goes, and also remember to back up your original inc_header.asp...
Can not see why there was an issue with my e-mail. |
Cheers, David Greening |
|
|
Trefenwyd
Starting Member
Italy
31 Posts |
Posted - 10 January 2005 : 05:45:51
|
in the mail you sent i cant find the attachment with the inc_header.asp modified!
can u post here a link pls? |
|
|
Classicmotorcycling
Development Team Leader
Australia
2084 Posts |
Posted - 10 January 2005 : 05:57:58
|
The link is at: Here
I don't understand why you are having issues with my e-mails as I do not get anything back, but hey, that's life.
Let us know how it goes.
|
Cheers, David Greening |
|
|
Neilr
Junior Member
Australia
107 Posts |
Posted - 10 January 2005 : 06:27:01
|
Hi Guys,
A little off topic but if I wanted to put say a smilie before the "you are logged on as" bit how would you do it?
I have changed the wording a bit..
------------------------------------------------------------------------------
Response.Write " <form action=""" & Request.ServerVariables("URL") & """ method=""post"" id=""form2"" name=""form2"">" & vbNewLine & _ " <input type=""hidden"" name=""Method_Type"" value=""logout"">" & vbNewLine & _ " <tr>" & vbNewLine & _ " <td align=""center"">" & vbNewLine & _ " <table>" & vbNewLine & _ " <tr>" & vbNewLine & _ " <td align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>G'day<br />" -------------------------------------------------------------------------------
This question comes about because I also have removed the ligo image bit..
Cheers
Neil |
|
|
Classicmotorcycling
Development Team Leader
Australia
2084 Posts |
Posted - 10 January 2005 : 06:54:31
|
Neilr,
Nice looking site you have there, but to do what you want, simply do the following:Response.Write " <form action=""" & Request.ServerVariables("URL") & """ method=""post"" id=""form2"" name=""form2"">" & vbNewLine & _
" <input type=""hidden"" name=""Method_Type"" value=""logout"">" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td align=""center"">" & vbNewLine & _
" <table>" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td align=""center"">""" & getCurrentIcon(strIconSmileBig,"G'day","") & """ <font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>G'day<br />" Or failing that, then this:Response.Write " <form action=""" & Request.ServerVariables("URL") & """ method=""post"" id=""form2"" name=""form2"">" & vbNewLine & _
" <input type=""hidden"" name=""Method_Type"" value=""logout"">" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td align=""center"">" & vbNewLine & _
" <table>" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td align=""center""><img src=""" & strForumUrl & strImageUrl & "icon_smile_big.gif"" alt=""G'day""> <font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """>G'day<br />" It just need the red part added...
I hope it helps.
|
Cheers, David Greening |
|
|
Neilr
Junior Member
Australia
107 Posts |
Posted - 10 January 2005 : 07:26:11
|
Hi David,
Thanks and all done. Just have to remove the image from the live site now.
Appreciate your help!
Cheers
Neil |
|
|
Neilr
Junior Member
Australia
107 Posts |
Posted - 10 January 2005 : 07:34:52
|
Back again,
Without being a pain in the******can I ask just one more favour (really)
It would be really nice if the actual member name was in line and after the G'day and before the log out button.
Is this possible or does it put the member name below all the time?? So it would look like:
G'day Neilr (logout button)
Cheers
Neil |
|
|
Trefenwyd
Starting Member
Italy
31 Posts |
Posted - 12 January 2005 : 08:40:36
|
thank you so much classic! it seems to work well! |
|
|
Classicmotorcycling
Development Team Leader
Australia
2084 Posts |
Posted - 13 January 2005 : 04:57:46
|
Anytime Trefenwyd. Glad to help. |
Cheers, David Greening |
|
|
|
Topic |
|