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)

Tri@de 02-05-2010 09:43 AM

the difference is in the code you see below.
it's modified since last version

s810car 02-07-2010 03:17 AM

if the coder is interested, I have converted this code to remove all table tags, only uses a couple extra divs and a ul/li tag setup for the right side information. PM me if so cause I did a lotta alterations with some colors as well as having to find it all since i didn't follow all the directions on placement

ViciousCode 02-07-2010 04:20 AM

Quote:

Originally Posted by s810car (Post 1976415)
if the coder is interested, I have converted this code to remove all table tags, only uses a couple extra divs and a ul/li tag setup for the right side information. PM me if so cause I did a lotta alterations with some colors as well as having to find it all since i didn't follow all the directions on placement

sure if you want to, but whats wrong with tables?

rlvassallo 02-11-2010 10:41 AM

vicious, do you ever respond to those looking for support or fixes from the developer?

Alexandre.R 02-17-2010 07:20 PM

I had no problems setting up with V1 (until vB upgraded to 4.0.1 and now to 4.0.2) but here I have no idea what to do.... upload files from archive to correct folder??

The 2 files in dropdown.zip, where do I extract them?
And what files do I move to images folder?

Sorry man.... but I think the setup instructions need a bit of re-working :(
Hope this can be done soon.. I totally love this mod, I would donate too. But not if I cannot install this mod properly :) hope you understand

FlameGun 02-17-2010 11:54 PM

Is there anyway I can change the backgrounds behind the Username, Get-Help, and Logout

Datenpapst 02-18-2010 02:33 PM

does it work with 4.0.2?

Alexandre.R 02-19-2010 12:54 PM

Avatar is missing :( am using vB 4.0.2 and follow the setup instructions correctly.

Edit: Got it to work, forgot to upload the plugin.

Alex@Mk3OC 02-20-2010 12:09 PM

Quote:

Originally Posted by Datenpapst (Post 1985642)
does it work with 4.0.2?

Working fine on my test forum with 4.0.2

min0taur 02-23-2010 10:10 AM

Yeah its working fine in 4.0.2 anyway can i have arrowdown.png icon?

Shabow 02-24-2010 10:17 PM

How do I add in the arrows like the dev. has in his example? I see they're coded for them, but he did not include them

whitedd 02-25-2010 10:47 AM

Quote:

Originally Posted by min0taur (Post 1989513)
Yeah its working fine in 4.0.2 anyway can i have arrowdown.png icon?

...installed but missing same...

dannyheath 02-26-2010 02:10 PM

plz fix it with ie as i will have to take it off to it fix

Alex@Mk3OC 02-26-2010 03:03 PM

What IE version, as the latest update seems to have fixed it in IE7 here

dannyheath 02-26-2010 03:19 PM

it not working with IE8 dont no why

claystation 02-26-2010 03:53 PM

Yeah its working fine in 4.0.2 anyway can i have arrowdown.png icon?
Quote:

Originally Posted by whitedd (Post 1991143)
...installed but missing same...

same here

Alex@Mk3OC 02-26-2010 06:17 PM

Working fine in IE8 here

RedFoxy 02-28-2010 11:44 PM

1 Attachment(s)
good mod, just I don't understand because it isn't with phrase variables and similar...

Attached you can find some pics that I drew for it, but I don't understand the pic arrowrightbl.png

HondaATC 03-06-2010 01:51 PM

How do I change the background color of the box to Black, or dark gray? I played around with dropdown.css and got like zero change.

http://www.3wheelerworld.com/forum.php

HondaATC 03-06-2010 10:19 PM

Nevermind, found the one in vbulletin.css to change it, thanks :)

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

axix20xx 04-29-2010 07:41 AM

1 Attachment(s)
my forum is right to left and all i see is this . please help fix it ...

Golzarion 04-30-2010 08:08 PM

Yes. It is not compatible with Right-to-Left forums ...

Golzarion 04-30-2010 08:23 PM

Quote:

Originally Posted by Golzarion (Post 2029742)
Yes. It is not compatible with Right-to-Left forums ...

ok. to fix it for Right-to Left languages forums , just the step 2 will be a little different :
Step 2.

Edit vbulletin.css (inside CSS templates)

add this code at the very bottom

Code:

.top-header-info{
    position:absolute;
    z-index: 2000;
    top:0px;
    left:0px;
    padding-right: 12px;
    padding-top: 8px;
    padding-left: 6px;
    padding-bottom: 0px;
    margin-top: -0px;
    height: 85px;
    width:320px;
    color:#FFFFFF;
    background: #7192A8 url(images/gradients/gradient-grey-down.png) top left repeat-x;
    font: 12px verdana;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius-topright: 0px;
    -webkit-border-radius-top-right: 0px;
    -moz-border-radius-topleft: 0px;
    -webkit-border-radius-top-left: 0px;
    -moz-border-topright-radius: 0px;
    -webkit-border-top-right-radius: 0px;
    -moz-border-topleft-radius: 0px;
    -webkit-border-top-left-radius: 0px;
}

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

@ViciousCode : You created the nice mod specially for vB4 . please add this codes at the first post for Right-to-Left forums.
thx.

ViciousCode 04-30-2010 09:13 PM

i dont have right to left experience, sorry

JohnMcClane 04-30-2010 11:02 PM

Probably already been asked but isn't it possible to have this modification without template edits?

sKippah 05-07-2010 10:56 AM

Would be nice if u could use the vb:phrase instead of "My Profile - Edit Profile and so on"
Thanks

fluidswork 05-07-2010 04:06 PM

Nice addon !!!!!!!!!!!

Jacob_ITAPros 05-08-2010 03:40 AM

Everything is fine for me, however the two administrative lines:

Code:

<vb:if condition="$show['admincplink']"><li><a href="{vb:raw admincpdir}/index.php{vb:raw session.sessionurl_q}" class="th-underline">Admin cPanel</a></li></vb:if>
<vb:if condition="$show['modcplink']"><li><a href="{vb:raw modcpdir}/index.php{vb:raw session.sessionurl_q}" class="th-underline">Mod cPanel</a></li></vb:if>

...Are not working for me. The {vb:raw admincpdir} variable (and the mod one) is not picking up for some reason and as a result, these lines links directly to site.com/index.php. The path is fine and these links are identical to what is being used in the footer to do the same thing, the only difference is that they work in the footer.

Can anyone duplicate this issue?

BellyBelly 05-10-2010 11:18 PM

Can anyone show me an example in a bigger screenshot, so I can see where/how it sits in the forum?

GamerPerfection 05-20-2010 05:03 PM

Awesome, looks good on my test site. Thanks and installed.


All times are GMT. The time now is 02:39 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.01349 seconds
  • Memory Usage 1,863KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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