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)

imperial. 01-25-2010 11:36 PM

Gives me this error "invalid_tag_nesting" when I change the header code whit this.

Code:

<div class="top-header-info">
<table border="0">
  <tr>
    <td width="66" valign="top">{vb:raw header_avatar}</td>
    <td valign="top" align="left">Welcome, <b><a href="{vb:link member, {vb:raw bbuserinfo}}" style="color: #FFF; text-decoration: none;">{vb:raw bbuserinfo.username}</a></b> <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}')" style="font-weight: bold; color: #FFF; padding: 2px 4px 2px 4px; background:#2f4456;">X</a><br />
      <br />
      <b>Last Login:</b> {vb:raw pmbox.lastvisitdate} @ {vb:raw pmbox.lastvisittime}<br />
<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" /> User Panel - *New* ({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" /> User Panel</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="underline">My Profile</a></li>
      <li><a href="profile.php?do=editprofile{vb:raw session.sessionurl_q}" class="underline">Edit Profile</a></li>
      <li><a href="usercp.php{vb:raw session.sessionurl_q}" class="underline">My Settings</a></li>
      <li><a href="profile.php?do=buddylist{vb:raw session.sessionurl_q}" class="underline">Friends & Contacts</a></li>
      <li><a href="private.php{vb:raw session.sessionurl_q}">Private Messages</a></li>
    </ul>
  </dd>
</dl>
</vb:if></td>
  </tr>
</table>
</div>


ViciousCode 01-25-2010 11:44 PM

remove

Code:

</vb:if>
at the end, right before the ending tag of the table cell "</td>"

DUI_ 01-26-2010 02:49 AM

1 Attachment(s)
I have followed instructions and installed everything, however mine is showing up like this... (see attachment).

What am I doing wrong?

Razfaz 01-26-2010 05:59 AM

Same here like DUI !!!

Senja 01-26-2010 10:49 AM

Quote:

Originally Posted by s810car (Post 1966136)
that's due to this:



Change the height:50px to whatever you need, possibly remove entirely depending on your style

Thanks:)

Skyrider 01-26-2010 10:54 AM

Quote:

Originally Posted by DUI_ (Post 1966738)
I have followed instructions and installed everything, however mine is showing up like this... (see attachment).

What am I doing wrong?

Got exactly the same.

ViciousCode 01-26-2010 04:38 PM

try putting this in the header template instead

Code:

<link rel="stylesheet" href="{vb:raw vboptions.bburl}/images/dropdown.css" type="text/css" />
<script type="text/javascript" src="{vb:raw vboptions.bburl}/images/dropdown.js"></script>

and move the files dropdown.css and dropdown.js file inside the images folder instead of clientscript

then try it!

Razfaz 01-27-2010 04:57 AM

Quote:

Originally Posted by ViciousCode (Post 1967228)
try putting this in the header template instead

Code:

<link rel="stylesheet" href="{vb:raw vboptions.bburl}/images/dropdown.css" type="text/css" />
<script type="text/javascript" src="{vb:raw vboptions.bburl}/images/dropdown.js"></script>

and move the files dropdown.css and dropdown.js file inside the images folder instead of clientscript

then try it!

Dont work!

ViciousCode 01-27-2010 01:30 PM

works for me.

MmS1 01-27-2010 02:27 PM

1 Attachment(s)
not working with me my forum arabic

is there any way to fix it


All times are GMT. The time now is 03:14 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.01821 seconds
  • Memory Usage 1,745KB
  • 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_code_printable
  • (3)bbcode_quote_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