PDA

View Full Version : Add a button, graphics, text etc in the Welcome Block


tinjon
08-16-2006, 10:00 PM
You know when you login, you see top, right hand corner it shows,

"Welcome, user_name.
You last visited: ....
Private messages ..."

Well, if you wanted to add something next to this place, just edit the "NAVBAR" template. Check the attached image if you're not sure what I'm syaing.


From your admincp, > Styles & Templates > Styles Manager > pick your style and choose "edit templates" > navigation breadcrumb templates > select "navbar" > press edit button.

note- if you have multiple styles in your forum then you should edit the same template for all the styles. if you only edit for one, it will only show up for that particular style.

Skills : easy
Time : 2/3 minutes
Uploads : none
Purpose : (check the attached file)


Find this code:
<div class="navbar" style="font-size:10pt">
<a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">
<img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" />
</a>
<strong>$vboptions[bbtitle]</strong></div>
</if>
</td>

and BELOW it, enter your own codes.
<!-- your custom whatever -->

<td class="alt1">

<!-- your own code here. you can put anything you want.. -->
<!-- put a small button, paypal button, a text, your own -->
<!-- picture so that everyone knows you.. lol.. -->
<!-- but don't delete the <td class="alt1"> code -->

</td>

<!-- end of custom whatever -->

Kenshin11
08-17-2006, 03:24 PM
thanks gonna test it out .... keeep up the good work

bashy
08-17-2006, 03:35 PM
nice 1 m8 installed!!!

Selene
08-19-2006, 01:09 AM
nice hack! thanks

Snake
08-19-2006, 10:26 AM
Thank you! Just installed it. :)

upsetter
08-21-2006, 06:58 AM
awsome, thanks! :) "installed"

Tuga??
11-26-2006, 09:54 AM
<!-- your custom whatever -->

<td class="alt1">

<!-- your own code here. you can put anything you want.. -->
<!-- put a small button, paypal button, a text, your own -->
<!-- picture so that everyone knows you.. lol.. -->
<!-- but don't delete the <td class="alt1"> code -->

</td>

<!-- end of custom whatever -->

can somebury help me i wonto to put this image but i dont understant how i try this but nothing

<!-- Publicidade -->

<td class="alt1">

<!-- your own code here. you can put anything you want.. -->
<!-- Publicidade -->
<!-- <img src="http://www.cracktugateam.com/images/publicidade1.gif"></img> -->
<!-- but don't delete the <td class="alt1"> code -->

</td>

<!-- end of Publicidade -->

http://www.cracktugateam.com/images/publicidade1.gif
then wen you click on the image go to this link http://www.cracktugateam.com/publicidade.html any help.

Thank you

Any help please

donaldgkimball
11-26-2006, 11:35 AM
this is sweet. i hope i will be able to integrate my Paypal donation button and i will come back with the results..

hotwheels
11-27-2006, 12:05 AM
Try this code and see if this is what you are looking for:

<!-- your custom whatever -->
<td class="alt1"><a href="http://www.cracktugateam.com/publicidade.html"><img src="http://www.cracktugateam.com/images/publicidade1.gif" border="0" alt="" /></a></td>
<!-- end of custom whatever -->

Tuga??
12-09-2006, 10:44 PM
if i wont to add more in the same place wath i need to do ?

thanks

Tuga??
12-13-2006, 04:06 PM
can please tell me how to wen i click on the image open in a new window , and if i wont to add more banners in there.

Thank you

KPalicz
12-14-2006, 03:16 PM
Worked like a charm. Thanks!

smoknz28
12-14-2006, 05:39 PM
Installed on 3.6.4....thanks for sharing. ;)

BarryoBrien
02-22-2007, 03:34 PM
simple but brilliant nice one!

BarryoBrien
02-22-2007, 03:35 PM
do you think you could make it so it shows random ads?

valdet
03-16-2007, 01:27 PM
Great and quite simple hack. Thanks a lot. *installed* :)

Chicago_VLNU_4s
03-25-2007, 09:01 AM
NICE!! Installed

baby41
10-23-2007, 05:40 PM
This will work with Vb 3.6.8:confused:

vnairp11
10-31-2007, 05:33 AM
<a href="http://thetechlife.org/" target="_blank">http://thetechlife.org/</a> demo

bijju
12-30-2007, 04:12 AM
looks cool

viper007
02-10-2008, 06:34 AM
https://vborg.vbsupport.ru/external/2008/02/28.jpg

where cani set this image ..canu plzz help mee

viper007
02-10-2008, 06:35 AM
<a href="http://i150.photobucket.com/albums/s101/sreedharg2k6/XFXHX.jpg" target="_blank">http://i150.photobucket.com/albums/s...g2k6/XFXHX.jpg</a>

TCE Killa
02-10-2008, 01:45 PM
Is there away users can choose there own image through there profile? This is what I got for it:

<!-- Welcome Image -->
<td class="alt1">
<if condition="$post[field39]"><div style="padding:$stylevar[cellpadding]px"><img src="inlineimg" src="$post[field39]" border="0" alt="1" padding="2" /></a></div></if>
</td>
<!-- Welcome Image -->

But it doesn't work, so any other ideas for this code? Thanks.

ChU v2
02-10-2008, 09:34 PM
Is there away users can choose there own image through there profile? This is what I got for it:

<!-- Welcome Image -->
<td class="alt1">
<if condition="$post[field39]"><div style="padding:$stylevar[cellpadding]px"><img src="inlineimg" src="$post[field39]" border="0" alt="1" padding="2" /></a></div></if>
</td>
<!-- Welcome Image -->

But it doesn't work, so any other ideas for this code? Thanks.

Try:


<!-- Welcome Image -->
<td class="alt1">
<if condition="$bbuserinfo[field39]"><div style="padding:$stylevar[cellpadding]px"><img src="inlineimg" src="$bbuserino[field39]" border="0" alt="1" padding="2" /></a></div></if>
</td>
<!-- Welcome Image -->


http://i150.photobucket.com/albums/s101/sreedharg2k6/XFXHX.jpg

Do This to add your image Viper:


<!-- Image -->
<td class="alt1">
<img src="http://i150.photobucket.com/albums/s101/sreedharg2k6/XFXHX.jpg">
</td>
<!-- Image -->

Deadly Assassin
05-22-2008, 08:27 AM
Works well, thanks

:up: