![]() |
Welcome block Add-on for vbAdvanced
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 |
Quote:
|
Quote:
Good work |
Updated Instruction file: The block now looks like the rest of the homepage and not just a box. ;)
|
Quote:
I haven't quite figured that out yet. |
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:
|
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 ;) |
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 |
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:
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 |
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 ;) |
Glad to help :)
|
Nice & easy addon - thanks !!!
*installed* |
i went through all of the necessary modifications as stated in the instructions, and while i don't get any error messages, it just didn't do anything. any thoughts? the website it's on is:
www.thevividedge.com |
can anybody help me on this? i rechecked everything, and still nothing.
|
Quote:
The center news and the recent threads blocks are not working either, of course you may have the recent threads block disabled, and you may have no posts in the forum you chose for your news. I'd start with getting the rest working first, then we can get the block working. But, my first guess would be the PHP Code:
Sorry and hope that helps ;) |
Quote:
http://www.yorkietalk.com |
This is a lot easier and should make everything look perfect (for the index_welcome template)
Code:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" i just got that from the custom templates in adv_index... i just modified the code a little. |
Quote:
Tomshawk - nice hack. Just looking at your homepage. Is that just a standard bit of DHTML coding used for your news scroller? Where do you get it? |
I Added the hack and get nothing on my main page, what info do you need me to post to help? the site is gloryandthegold.com
|
Quote:
Been rather crazy at my own site. Intex: Yes, That is "err" was a DHTML script displaying scrolling news. I removed it, because it slowed down the site to much and alot of users with different browsers. (i.e. Opera, Mozilla, Firefox) said it messed up the layout pretty badly You can get it here though, if you still want it https://vborg.vbsupport.ru/showthread.php?t=60135 Joe Price: I hit your site and at the moment it appears you dont have it installed. Again, I know it's been a while. Let me know if you are still interested. ;) |
I don't understand why it was necessary for it to be a hack. I think I'm "blind" here. Why can't you just create a new template/module, that can only be seen by unregistered users? You could just use whatever text/links/format you wanted for the welcome block?
What is the difference between the 2 possible ways to do this? Here is what I did, just using vbadvanced settings, no hacks used at all. Only non-registered/logged out members see it. www.onlinedebate.net |
Quote:
HTH |
...as I said....
Quote:
hehe ty. |
All times are GMT. The time now is 08:45 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|