Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications

Reply
 
Thread Tools
Add a button, graphics, text etc in the Welcome Block Details »»
Add a button, graphics, text etc in the Welcome Block
Version: 1.00, by tinjon tinjon is offline
Developer Last Online: Apr 2008 Show Printable Version Email this Page

Version: 3.6.0 Rating:
Released: 08-16-2006 Last Update: Never Installs: 46
Template Edits
 
No support by the author.

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:
HTML 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.
HTML Code:
<!-- 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 -->

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 02-10-2008, 06:34 AM
viper007 viper007 is offline
 
Join Date: Dec 2007
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
where cani set this image ..canu plzz help mee
Reply With Quote
  #23  
Old 02-10-2008, 06:35 AM
viper007 viper007 is offline
 
Join Date: Dec 2007
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://i150.photobucket.com/albums/s101/sreedharg2k6/XFXHX.jpg" target="_blank">http://i150.photobucket.com/albums/s...g2k6/XFXHX.jpg</a>
Reply With Quote
  #24  
Old 02-10-2008, 01:45 PM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there away users can choose there own image through there profile? This is what I got for it:

PHP Code:
<!-- 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.
Reply With Quote
  #25  
Old 02-10-2008, 09:34 PM
ChU v2 ChU v2 is offline
 
Join Date: May 2007
Location: Chicago
Posts: 396
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TCE Killa View Post
Is there away users can choose there own image through there profile? This is what I got for it:

PHP Code:
<!-- 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:

Code:
<!-- 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 -->
Quote:
Originally Posted by viper007 View Post
Do This to add your image Viper:

Code:
<!-- Image -->
<td class="alt1">
<img src="http://i150.photobucket.com/albums/s101/sreedharg2k6/XFXHX.jpg">
</td>
<!-- Image -->
Reply With Quote
  #26  
Old 05-22-2008, 08:27 AM
Deadly Assassin's Avatar
Deadly Assassin Deadly Assassin is offline
 
Join Date: Aug 2006
Location: VbAnswers.com
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works well, thanks

:up:
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:45 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04262 seconds
  • Memory Usage 2,266KB
  • Queries Executed 20 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_html
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete