vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Custom Navbar Links (https://vborg.vbsupport.ru/showthread.php?t=98934)

harmor19 02-12-2006 10:13 PM

Quote:

Originally Posted by Rover416
Nice hack.

The only thing is my members keep getting logged out if the forum when clicking any of the links,any idea why.

I'm sorry, I don't know.

TeaTree 02-13-2006 09:23 PM

Quote:

Originally Posted by NeighHorse09
Hey,

Have been using your navbar hack and I have to say it's really good

How would I go about changing the drop down menu's name from Extra's to SamsterTeenz Other
???

Many Thanks,

Sam

How do I go about changing this please?

harmor19 02-13-2006 09:38 PM

Quote:

Originally Posted by NeighHorse09
How do I go about changing this please?

Admin CP --> Languages & Phrases --> Phrase Manager click "Search".
In the "Search for Text" box type "Extras" and click "Find".
Click The "Edit" button on the page that comes up.
In the "English (US) Translation" box type the word you would like to use and click "Save".

GoTTi 02-22-2006 07:22 AM

um...where do i use this tool in admincp???

GoTTi 02-22-2006 07:23 AM

neverind

wes.wilhour@sbc 02-23-2006 04:05 PM

I'm new to vbullitine but I did read this entire post.
I do not have an Extra on my toolbar, just the drop down button.
Any suggestions?
Thank you.

kizzmet 02-23-2006 08:19 PM

This is awesome! Thanks for the great hack.

harmor19 02-23-2006 10:15 PM

Quote:

Originally Posted by wes.wilhour@sbc
I'm new to vbullitine but I did read this entire post.
I do not have an Extra on my toolbar, just the drop down button.
Any suggestions?
Thank you.

Did you upload product-custom_links.xml into your Product Manager?

wes.wilhour@sbc 02-24-2006 02:30 PM

Sorry I missed that line in the install.txt.
Thank you for the help.

TheHeartSmasher 02-26-2006 10:24 PM

This link works pretty well now what do I put in the links mmm.

TheHeartSmasher 02-27-2006 02:11 AM

Is there a way to get the links to appear as the same on the navigation bar for advanced vbulletin CMS. The Extra's appear there but the links are not there.

MorrisMcD 02-27-2006 03:21 AM

I know this is minor, but its kinda annoying.. when you use the new posts on the navbar a lot, you will notice it.. when you go to new posts and there arent any new posts, (from that page) the extras menu drops down with nothing.. Any ideas why?

SaN-DeeP 02-27-2006 02:47 PM

this extension will come handy for quick editing navbar.. :)

CnB 02-27-2006 10:05 PM

in 3.5.3 the line

<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>

is not there ?
anybody know where to place it?

harmor19 02-28-2006 02:35 AM

Quote:

Originally Posted by TheHeartSmasher
Is there a way to get the links to appear as the same on the navigation bar for advanced vbulletin CMS. The Extra's appear there but the links are not there.

You could try the same method that works for the CMPS
Code:

In your CMPS settings under Portal Output Global Variables place:
custom_droplinks
custom_singlelinks

Quote:

Originally Posted by MorrisMcD
I know this is minor, but its kinda annoying.. when you use the new posts on the navbar a lot, you will notice it.. when you go to new posts and there arent any new posts, (from that page) the extras menu drops down with nothing.. Any ideas why?

I have no idea why it does that.

Quote:

Originally Posted by CnB
in 3.5.3 the line

<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>

is not there ?
anybody know where to place it?

Search for $vbphrase[calendar]

CnB 02-28-2006 04:14 AM

Search for $vbphrase[calendar][/QUOTE]

i found that in the forumhome template.
but <!-- / NAVBAR POPUP MENUS --> was no in there

here is what my navbar template looks like
PHP Code:

<script type="text/javascript">
<!--
function 
log_out()
{
    
ht document.getElementsByTagName("html");
    
ht[0].style.filter "progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)";
    if (
confirm('$vbphrase[sure_you_want_to_log_out]'))
    {
        return 
true;
    }
    else
    {
        
ht[0].style.filter "";
        return 
false;
    }
}
//-->
</script>


 <!-- 
top category table setup -->
<
table width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" border="0" cellpadding="0" cellspacing="0">
  <
tr>
    <
td width="140" height="27" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_ls.gif" width="140" height="27" alt=" " border="0" /></td>
    <
td width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" valign="middle">&nbsp;</td>
     <
td width="140" height="27" align="right" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_rs.gif" width="140" height="27" alt=" " border="0" /></td>
  </
tr>
</
table>
        <!-- 
End top category table setup -->

<!-- 
breadcrumbloginpm info -->
<
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">
<
tr>
    <
td class="alt1" width="100%">
        <if 
condition="is_array($navbits)">
            <
table cellpadding="0" cellspacing="0" border="0">
            <
tr valign="bottom">
                <
td><a href="#" onclick="history.back(1)"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]border="0" /></a></td>
                <
td>&nbsp;</td>
                <
td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php?$session[sessionurl]accesskey="1">$vboptions[bbtitle]</a></span$navbits[breadcrumb]</td>
            </
tr>
            <
tr>
                <
td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink.gif" alt="$vbphrase[reload_this_page]border="0" /></a> <strong>$navbits[lastelement]</strong></td>
            </
tr>
            </
table>            
        <else />
            <
div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php?$session[sessionurl]accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
        </if>
    </
td>    
    
    <if 
condition="$bbuserinfo['userid']">
    
        <
td class="alt2" valign="top" nowrap="nowrap">
        <
div class="smallfont">
            <!--<
span style="float:$stylevar[right]">[<a href="login.php?$session[sessionurl]do=logout&amp;u=$bbuserinfo[userid]onclick="return log_out()">$vbphrase[log_out]</a>]</span>-->
            <
strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
            <
phrase 1="$pmbox[lastvisitdate]2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
            <if 
condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]2="$vbphrase[total_x_nav_compiled]3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if>
        </
div>
        </
td>
        
    <else />
        
        <
td class="alt2" nowrap="nowrap" style="padding:0px">
            
        <!-- 
login form -->
        <
form action="login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password)">
        <
script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
        <
table cellpadding="0" cellspacing="$stylevar[formspacer]border="0">
        <
tr>
            <
td class="smallfont">$vbphrase[username]</td>
            <
td><input type="text" class="button" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="1" value="$vbphrase[username]onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
            <
td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="3" id="cb_cookieuser_navbar" accesskey="c" checked="checked" />$vbphrase[remember_me]</label></td>
        </
tr>
        <
tr>
            <
td class="smallfont">$vbphrase[password]</td>
            <
td><input type="password" class="button" name="vb_login_password" size="10" accesskey="p" tabindex="2" /></td>
            <
td><input type="submit" class="button" value="$vbphrase[log_in]tabindex="4" title="$vbphrase[enter_username_to_login_or_register]accesskey="s" /></td>
        </
tr>
        </
table>
        <
input type="hidden" name="s" value="$session[sessionhash]/>
        <
input type="hidden" name="do" value="login" />
        <
input type="hidden" name="forceredirect" value="1" />            
        <
input type="hidden" name="vb_login_md5password" />
        </
form>
        <!-- / 
login form -->
            
        </
td>
        
    </if>    
    
</
tr>
</
table>
<!-- / 
breadcrumbloginpm info -->

  <!-- 
bottom table setup -->
    <
table width="100%" border="0" cellpadding="0" cellspacing="0">
      <
tr>
        <
td width="70" align="left" valign="top"><img src="$stylevar[imgdir_misc]/ls_main_table_bottom.gif" width="70" height="14" alt=" " border="0" /></td>
        <
td  width="100%" style="background-image:url($stylevar[imgdir_misc]/extended_main_table_bottom.gif)"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="14" alt=" " border="0" /></td>
        <
td width="70" align="right" valign="top"><img src="$stylevar[imgdir_misc]/rs_main_table_bottom.gif" width="70" height="14" alt=" " border="0" /></td>
      </
tr>
    </
table>
   <!-- 
End bottom table setup -->
    <
div style="padding: 7px 7px 7px 7px;"></div>

<if 
condition="$show['popups']">
<!-- 
NAVBAR POPUP MENUS -->
    
    <if 
condition="$show['searchbuttons']">
    <!-- 
header quick search form -->
    <
div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
        <
table cellpadding="4" cellspacing="1" border="0">
        <
tr>
            <
td class="thead">$vbphrase[search_forums]</td>
        </
tr>
        <
tr>
            <
td class="vbmenu_option" title="nohilite">
            <
form action="search.php" method="post">
                <
input type="hidden" name="do" value="process" />
                <
input type="hidden" name="showposts" value="0" />
                <
input type="text" class="bginput" name="query" size="20" />$gobutton<br />
            </
form>
            </
td>
        </
tr>
        <
tr>
            <
td class="vbmenu_option"><a href="search.php?$session[sessionurl]accesskey="4">$vbphrase[advanced_search]</a></td>
        </
tr>
        </
table>
    </
div>
    <!-- / 
header quick search form -->
    </if>

    <if 
condition="$show['member']">
    <!-- 
user cp tools menu -->
    <
div class="vbmenu_popup" id="usercptools_menu" style="display:none">
        <
table cellpadding="4" cellspacing="1" border="0">
        
        <
tr><td class="thead">$vbphrase[quick_links]</td></tr>        
        <if 
condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getnew">$vbphrase[new_posts_nav]</a></td></tr></if>
        <
tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
        <
tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
                
        <
tr><td class="thead"><a href="usercp.php?$session[sessionurl]">$vbphrase[user_control_panel]</a></td></tr>
        <if 
condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
        <if 
condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>
        <
tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
        <
tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
        
        <
tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
        <if 
condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]">$vbphrase[private_messages]</a></td></tr></if>
        <
tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]">$vbphrase[subscribed_threads]</a></td></tr>
        <
tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
        <if 
condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php?$session[sessionurl]">$vbphrase[whos_online]</a></td></tr></if>
        
        </
table>
    </
div>
    <!-- / 
user cp tools menu -->
    </if>
<!-- / 
NAVBAR POPUP MENUS -->
</if> 


harmor19 02-28-2006 04:35 AM

can you post a link to your site so I can see what's going on.

shadowdancer36 02-28-2006 05:50 AM

Quote:

Originally Posted by harmor19
In the phrase manager search for "Extras".
Edit the wird and in the "English Translation" box put what you want it to say.

Few Questions:

Is it away to keep it from showing up twice? You have extra ON the navbar, then it looks as if you did a thead with extra in it again. Can I remove the 2nd instance? Or name it something else?

Also, is it possible to do more than one dropdown per stand alone link?

Last but not least, is it possible to keep the drop downs lined up with standalone it's under? My drops are showing left justified or something. Is it a tag that centers the drops that I might've changed by mistake?

CnB 02-28-2006 06:57 PM

hmm dunno doesnt seem like this something for me.
either my style uses a different navbar or the template changed in 3.5.3 and 3.5.4

it is in the header though, but then again the <!-- / NAVBAR POPUP MENUS -->
is not int he header its in the navbar

Devil Woman 03-04-2006 09:52 PM

I am having the same problem in 3.5.4 there is nothing in the navbar template to do with calandar and I have take a look loads of times, I can however find $vbphrase[calendar] in the forumhome template but that is not the same as what it asks to look for however I can find <!-- / NAVBAR POPUP MENUS --> in the navbar template so I can do the 2nd part but not the first as I can not find anything to do with calendar in the navbar template

Thanks

Devil Woman 03-08-2006 03:27 PM

Is there no possible way to add this into vb 3.5.4?

Nikki x

BC_IZZ 03-10-2006 06:18 PM

this Hacks sounds great will you be working on getting it to work with 3..5.4 ?
or has it been fixed allready ? thnx .;)

Devil Woman 03-11-2006 03:23 PM

Still awaiting this for 3.5.4 haven't managed to get it working yet and have tried everything I can think of to get it wokring

Nikki

MoveOver.cc 03-20-2006 08:09 AM

Firstly great hack and apologies if I am repeating what has already been asked.

I have followed the instructions, but when I look click on Extras, all that I see in the drop down box is Extras, and none of the links I have added.

Can anybody help.

Thanks

Lost_Prophet 03-20-2006 09:07 AM

I've installed it into 3.5.4 and it works fine.
Any way to rename it from 'Extras' to something else? I may have missed that in the thread, I'll go back and look.

Lost_Prophet 03-20-2006 09:21 AM

Nvm got it :)

harmor19 03-23-2006 05:12 AM

Quote:

Originally Posted by Devil Woman
Still awaiting this for 3.5.4 haven't managed to get it working yet and have tried everything I can think of to get it wokring

Nikki

If you like I could try and install it for you.

Quote:

Originally Posted by MoveOver.cc
I have followed the instructions, but when I look click on Extras, all that I see in the drop down box is Extras, and none of the links I have added.

When you add a link make sure you check the radio box "Add Stand Alone Link" to "No"

mudanoman 03-25-2006 08:29 PM

I installed the extension (files to appropriate locations) and it seems to work fine on my navigation bar. However, I cant seem to find the Options to add/change links in the ACP?! Any help appreciated. Thanks, Ivan

webgeek247 03-27-2006 09:37 PM

Nice hack :cool:

One question, is there a way of getting rid of the extras link and drop down menu as i just want to display a home page link to my main websites index page as a stand alone :confused:

tipoboy 03-27-2006 10:36 PM

Quote:

Originally Posted by djpassion
Nice hack :cool:

One question, is there a way of getting rid of the extras link and drop down menu as i just want to display a home page link to my main websites index page as a stand alone :confused:

look at your original post

Brandon Sheley 03-28-2006 04:26 AM

/me clicks install

works great on 3.5.4

*edit* I don't really understand the standalon option,, but the other works good..

harmor19 03-28-2006 04:40 PM

Quote:

Originally Posted by mudanoman
I installed the extension (files to appropriate locations) and it seems to work fine on my navigation bar. However, I cant seem to find the Options to add/change links in the ACP?! Any help appreciated. Thanks, Ivan

It should be under "Announcements"

Quote:

Originally Posted by Loco.M
*edit* I don't really understand the standalon option,, but the other works good..

The stand alone option works as a regular link such as calendar, New Posts, or Member List while the drop down option works like Quick Links.

MorrisMcD 03-29-2006 03:49 AM

I asked earlier in the thread, but I never saw a response... Not a huge deal, but is there a way for the extra dropdown and any standalone links I added to work on the search.php pages? For example... If I do NEW POSTS, it disappears on that one screen.. Extras is there.. But nothing in the menu.. And the stand alone links I added go away too..

harmor19 03-29-2006 05:21 AM

Quote:

Originally Posted by MorrisMcD
I asked earlier in the thread, but I never saw a response... Not a huge deal, but is there a way for the extra dropdown and any standalone links I added to work on the search.php pages? For example... If I do NEW POSTS, it disappears on that one screen.. Extras is there.. But nothing in the menu.. And the stand alone links I added go away too..

I have no clue why, sorry.

MorrisMcD 03-29-2006 05:25 AM

Quote:

Originally Posted by harmor19
I have no clue why, sorry.

Ok cool.. No big deal.. Thanks for the response though... It really isnt that big of a deal and I can definately live with it

mudanoman 03-31-2006 01:49 AM

Quote:

Originally Posted by harmor19
It should be under "Announcements".

I reinstalled it again, uploaded both files and installed the xml. However, there is still no sign of the custom links option. Very strange. Any advice much appreciated. I would be more than happy to send you login info for you to see for yourself.

Best,

Ivan

cmbehan 04-05-2006 08:37 PM

Quote:

Originally Posted by mudanoman
I reinstalled it again, uploaded both files and installed the xml. However, there is still no sign of the custom links option. Very strange. Any advice much appreciated. I would be more than happy to send you login info for you to see for yourself.

Best,

Ivan


I'm having the same problem.


Any help would be sincerely appreciated.

Traxdata 04-10-2006 06:14 PM

Quote:

Originally Posted by mudanoman
I reinstalled it again, uploaded both files and installed the xml. However, there is still no sign of the custom links option. Very strange. Any advice much appreciated. I would be more than happy to send you login info for you to see for yourself.

Best,

Ivan

did you refresh your acp? aol user?

cmbehan 04-10-2006 06:18 PM

Quote:

Originally Posted by Traxdata
did you refresh your acp? aol user?


Yes, I refreshed my Admincp, logged out and back in, cleared all temp internet files, etc...

I'm still only getting "Announcement Manager" and "Add New Announcement" under the Announcement menu.

harmor19 04-11-2006 09:44 PM

It's not in the Announcements category, it's immediately below it.
What is the URL to your site?


All times are GMT. The time now is 08:34 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.01730 seconds
  • Memory Usage 2,000KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (19)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
  • (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