The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Welcome block Add-on for vbAdvanced Details »» | |||||||||||||||||||||||||
Updated Instruction file: The block now looks like the rest of the homepage and not just a box.
Hello; As requested by neogen at vBulletin.nl in this thread Here is my Welcome block for vbAdvanced I thought up the idea but I got major help from TYorke on this in the vbAdvanced thread. What it does it place a block on your homepage, where you can post a welcome to all of your users, and links to important information if you'd like. I have set up some links, one to my Legal Information pages, and one to my new games section You can see a demo at my site http://www.tomshawk.com Show Your Support
|
Comments |
#2
|
|||
|
|||
Quote:
|
#3
|
||||
|
||||
Quote:
Good work |
#4
|
||||
|
||||
Updated Instruction file: The block now looks like the rest of the homepage and not just a box.
|
#5
|
||||
|
||||
Quote:
I haven't quite figured that out yet. |
#6
|
|||
|
|||
I am no expert but when I tried to setup your hack I could not change the colors to easily and apart from that the way the tables were set up meant the colors were not going to look right anyway.
As I say I am no expert but I simply used the code below to create the tables and allow the colors to be easily adjusted, it fits perfectly into my index page. I am not saying your hack was not good, it just did not fit well in my site and I came up with this to make it easier. You can see my welcome box Here Sorry if the code is all over the place, but I did this in a hurry. Code:
<table width="$stylevar[tablewidth]" border="1" bordercolor="#000000" cellspacing="0" cellpadding="$stylevar[outerborderwidth]"> <tr> <td BGCOLOR="#780000" height="21"><center><b>Welcome to UK Debt <center><b></td> </tr> <tr> <td BGCOLOR="#CCCCCC"><font color="#000000"><center>Welcome to our site, I hope you enjoy your stay!</center></font></td> </tr> </table> <BR> |
#7
|
||||
|
||||
Lee Wisener;
No worries, I'm glad you liked it well enough to try and modify it, to get it working. I am like you, meaning not an expert (Novice would be an understatement). If somebody can figure out how to make this so you can add it without having to put in hard coded colors like the BGCOLOR and what not, It think this would be perfect. I could not and still cant figure that part out. Thank you though for the thought and effort in showing people how to get it working in the mean time |
#8
|
|||
|
|||
Well thats the easy part for an expert, lol.
It can I am sure be linked into the VB style so that the colours change automatically, it will be similiar to using code such as $stylevar[tablewidth]. I might even have a look at that and will let you know if I figure anything out. Lee |
#9
|
|||
|
|||
Okay, that was quick.
here is the code that will mean every time you change the general style in the admin panel under styles, the welcome box will also change automatically. Again sorry for the rough formatting of the code, nobody else usually sees my code. Code:
<table width="$stylevar[tablewidth]" border="0" class="tborder" cellpadding="$stylevar[outerborderwidth]"> <tr> <td class="tcat" height="21"><center><b>Welcome to our site.<b></td> </tr> <tr> <td class="alt1" class="alt1active"><center>Put your text here.> </tr> </table> <BR> Above you will see the following code class="tborder" {this is simply the color and weight* of the table border.} class="tcat" {tcat is the css tag for the category strips in the styles menu} class="alt1" {alt1 is the first alternating color in the styles menu} "<font color="alt1active" {font color that matches the alternating color above} *if you have the weight specified in the styles manager If you look in the styles mangager you will see all the boxes giving you the option to change the colors and fonts of that particular item, in the bottom left hand side you will see the "CSS Selector" that is what you use to decide what color you will use. Hope this makes sense! Lee |
#10
|
||||
|
||||
Ha,
and you said you weren't good The only change I made was the border="1" I made it border="0" Excellent work, Thank you for helping me help others. Kuddos |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|