vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - Advanced Header V2 Rework (https://vborg.vbsupport.ru/showthread.php?t=233813)

gruftiradio 03-15-2010 11:24 PM

Hello,

great mod! It works all... only my header is at the ride side of the Window, not centered. Please look at www.gruftiradio.de
How do I fix it?

Greetings,
Andreas

Da-Vinci 03-19-2010 09:58 AM

I had to do quite a bit of editing to get mine looking right but it looks good now, thanks for this it looks great on my forum. Installed and rated 5 https://vborg.vbsupport.ru/

https://vborg.vbsupport.ru/external/2010/03/34.png

https://vborg.vbsupport.ru/external/2010/03/35.png

Demo: www.nzb-forum.com

baghdad4ever 03-19-2010 12:51 PM

1 Attachment(s)
it doesnt work in arabic forum with ads in header

any fixation ?

thanks

Morsolo 04-01-2010 07:19 AM

Yeah, I edited mine up a fair bit to get to look right as well. Still a brilliant piece of work though.

Could I request a script or something that flashes the username bar red (or turns it to a different colour) when the user has a notification? I think the "- (1)" isn't really enough to attract attention.
Nevermind, figured it out, simple enough :)

gruftiradio 04-05-2010 08:33 PM

I still have the problem, that the header with this, is not centered. I can't find a solution... what could it be?

Razfaz 04-08-2010 12:58 PM

Hi,
is it possible to show the posts or threads awaiting for moderation for the Mods?
Like the private messages!

dtommy79 04-11-2010 11:56 AM

1 Attachment(s)
Hi,

Is the install the same if you have facebook connect enabled?

+

I have a white vertical line next to the dropdown. Check the attached image.

How can i remove it?

Alex@Mk3OC 04-12-2010 08:08 AM

The code needs to be added into the mod header tempate code for the facebook connect button, I have done it on my test site, but it's not enabled yet so haven't been able to test it

Alex@Mk3OC 04-12-2010 09:15 AM

To add the FB Connect button in from VB 4.0.3 use this in your vbulletin.css instead of what's in the first post:

PHP Code:

.top-header-info{
    
position:absolute;
    
z-index2000;
    
top:0px;
    
right:0px;
    
padding-left12px;
    
padding-top8px;
    
padding-right6px;
    
padding-bottom0px;
    
margin-top: -0px;
    
height95px;
    
width:320px;
    
color:#FFFFFF;
    
background#7192A8 url(images/gradients/gradient-grey-down.png) top left repeat-x;
    
font12px verdana;
    -
moz-border-radius5px;
    -
webkit-border-radius5px;
    -
moz-border-radius-topright0px;
    -
webkit-border-radius-top-right0px;
    -
moz-border-radius-topleft0px;
    -
webkit-border-radius-top-left0px;
    -
moz-border-topright-radius0px;
    -
webkit-border-top-right-radius0px;
    -
moz-border-topleft-radius0px;
    -
webkit-border-top-left-radius0px;
}

#one-ddcontent li a:link{
    
color#000000;
}
#one-ddcontent li a:hover{
    
color#FFFFFF;


Then in your header template use this code instead of the on in the first post:

PHP Code:

<div class="top-header-info">
<
table border="0">
  <
tr>
    <
td width="66" valign="top" style="padding-top: 1px;">{vb:raw header_avatar}</td>
    <
td valign="top" align="left"><vb:if condition="$notifications_total">
<
dl class="th-dropdown">
  <
dt id="one-ddheader" onmouseover="ddMenu('one',1)" onmouseout="ddMenu('one',-1)"><img src="images/arrowdown.png" border="0" /> {vb:raw bbuserinfo.username} - ({vb:raw notifications_total})</dt>
  <
dd id="one-ddcontent" onmouseover="cancelHide('one')" onmouseout="ddMenu('one',-1)">
    <
ul>
{
vb:raw notifications_menubits}
<
vb:else />
      <
dl class="th-dropdown">
  <
dt id="one-ddheader" onmouseover="ddMenu('one',1)" onmouseout="ddMenu('one',-1)"><img src="images/arrowdown.png" border="0" /> {vb:raw bbuserinfo.username}</dt>
  <
dd id="one-ddcontent" onmouseover="cancelHide('one')" onmouseout="ddMenu('one',-1)">
    <
ul>
</
vb:if>
      <
li><a href="{vb:link member, {vb:raw bbuserinfo}}" class="th-underline">My Profile</a></li>
      <
li><a href="profile.php?do=editprofile{vb:raw session.sessionurl_q}" class="th-underline">Edit Profile</a></li>
      <
li><a href="usercp.php{vb:raw session.sessionurl_q}" class="th-underline">My Settings</a></li>
      <
li><a href="profile.php?do=buddylist{vb:raw session.sessionurl_q}" class="th-underline">Friends Contacts</a></li>
      <
li><a href="private.php{vb:raw session.sessionurl_q}">Private Messages</a></li>
    </
ul>
  </
dd>
</
dl><div style="margin: 0px 0px 7px 0px; font-size: 11px;"><b>Last Login:</b> {vb:raw pmbox.lastvisitdate} @ {vb:raw pmbox.lastvisittime}</div>
<
div style="width: 194px; color: #FFF; padding: 4px 4px 4px 4px; background:#2f4456; font-size: 11px;"><b><vb:if condition="$vboptions['enablefacebookconnect']">
                    {
vb:raw facebook_header}
                </
vb:if><a rel="help" href="support.php{vb:raw session.sessionurl_q}">Help</a>&nbsp;-&nbsp;<a href="login.php?{vb:raw session.sessionurl}do=logout&amp;logouthash={vb:raw bbuserinfo.logouthash}" onclick="return log_out('{vb:rawphrase sure_you_want_to_log_out}')">Logout</a></b></div></td></tr>
</
table>
</
div

Also find the facebook_header template and remove:

PHP Code:

<li id="fb_headerbox"

and
PHP Code:

</li


dtommy79 04-12-2010 07:16 PM

Thnks,

Any idea why this white column is in the dropdown?

https://vborg.vbsupport.ru/external/2010/04/9.gif


All times are GMT. The time now is 02:38 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01529 seconds
  • Memory Usage 1,786KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete