vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - Advanced Navbar Links (https://vborg.vbsupport.ru/showthread.php?t=120517)

harmor19 04-25-2007 01:58 PM

Quote:

Originally Posted by itsblack (Post 1235220)
I just updated from 1.0.1 to 2.0.2, and all my links are gone. I have to add it again.

Go into phpmyadmin and select your vbulletin database.
Browse the table named "custom_droplinks". Change all the "catid's" with 0 to 1.
Go into your ACP --> Advanced Navbar Links --> Modify/Delete The links should show up under the first category. You can edit the links from here and select a different category to place it in.

harmor19 04-25-2007 01:59 PM

Quote:

Originally Posted by redlabour (Post 1235208)
Does it delete my Links again at Updating or did you fix this Bug this Time?

It won't delete the links.

AzzidReign 04-25-2007 02:04 PM

Quote:

Originally Posted by harmor19 (Post 1235064)
Update: 2.0.2
When you edit a menu or link the usergroups selections do not reset.
I have changed the usergroup multi-select form to checkboxes.
I have cached the "custom_droplinks_cat" template.

--Changed Files--
product-custom_links.xml
admincp/admin_custom_links.php

You rock!

I know I keep pumping out suggestions...I hope you don't mind me suggesting 1 more (for the time being lol).

In the edit menu where you can see all the menus and links you can edit, for all the links inside the menu, can you show the display order of those and be able to change them there like you would changing the display order for styles and templates? That would be helpful, at least for me since I always forget to add links and I like certain links at the top and others near the bottom, etc.

Thanks!

Neutral Singh 04-25-2007 02:39 PM

Quote:

Originally Posted by harmor19
In the "Resources" drop down menu I see "Guru Granth Sahib Translation".


Click on that link in the menu and see what happends...

UP_Webmaster 04-25-2007 06:24 PM

Cant download the updates files. Says page is unavailable. Can someone email me this to webmaster@unifiedproductions.com?

Thank you!

harmor19 04-25-2007 11:43 PM

Quote:

Originally Posted by Neutral Singh (Post 1235274)
Click on that link in the menu and see what happends...

I don't know why it doesn't work.

TaBsiCore 04-29-2007 08:27 AM

Quote:

Originally Posted by rickyreter (Post 1233013)
Just had quick look and you could put:

<tr><td class="thead">Whatever</td></tr> in the name on add a link if you want a seperator it does show up a small table error but nothing to worry about..... for me anyway...:) Just back things up

see under gallery and video demo menu

class="thead" should be integrated in a new version ;)

bjhuang 05-01-2007 05:37 AM

i got a similar problem. when i modify a link and save, it tells me saved sucessfuly, but nothing saved. this only happens to stand-alone links editing.

Quote:

Originally Posted by AzzidReign (Post 1234379)
I don't know if this has been brought up yet...but when you go to edit a menu (I haven't tried individual links yet), it won't let you. When you click edit, you edit it to your likings, then you click save, it tells you that the name is already in use... So the changes don't take place :(


dragonlove 05-01-2007 01:46 PM

Thank you for this hack! I've already vote it 5* and mark as installed!


Can you help me out how to use this with the style : dark_vb_v2 , it use button image instead of text link on the navbar.


I only use your hack to make new dropdown menus, so I created a new button called "LiveScores"



This is the darkvbv2 navigation-bar code :
Dropdown Search menu:
PHP Code:

<td id="navbar_search"><a href="$show[nojs_link]#navbar_search"><img src="$stylevar[imgdir_misc]/link_search.gif" border="0" alt="" /></a><script type="text/javascript"vbmenu_register("navbar_search" ,1); </script></td


And this is my code to make it possible with the style (with the old version of Advanced Navbar Links - 1.6.0):
PHP Code:

<td id="custom_links"><a href="#custom_links"><img src="$stylevar[imgdir_misc]/link_custom.gif" border="0" alt="" /></a><script type="text/javascript"vbmenu_register("custom_links"); </script></td


---> But the problem is : it only display the button with the menu_open.gif image, it has no function as the search menu! and even a little fall out of the navbar images row!

Please have a look at this image :
http://img408.imageshack.us/img408/9023/navbartr1.jpg




Can you plz help me figuring out this problem?

Many thanks!!!!

sbeehre 05-01-2007 11:42 PM

I have installed the mod and it works great when i am on the forum home, but it wont show up on the vbadvanced portal even though i have added the required text to the Portal Output Global Variables.... anyone have any idea's?

cpgaming 05-02-2007 10:55 AM

I have this mod installed on one of the websites I host and I'm finding that it can't be added to their custom theme (assualt-squad fps) but it works in the default vb theme/style with no problems. Is there a workaround to add this to custom themes that don't have the "$vbphrase[calendar]</a></td>" code to add the settings after?

AzzidReign 05-02-2007 02:12 PM

Look for the USER CP code then and just add it below it. I haven't seen the fps skin yet but I know of the people that make those skins...so I don't know if you will have to add an image with it as well...

dragonlove 05-05-2007 09:11 AM

Any suggestion for my question?
:-s :( :((

harmor19 05-05-2007 09:23 AM

Quote:

Originally Posted by dragonlove (Post 1241805)
Any suggestion for my question?
:-s :( :((

Have you tried editing the "custom_droplinks_cat" template?

redlabour 05-06-2007 07:25 AM

Please send Updatemail next Time you update your Hack!

akulion 05-06-2007 09:34 AM

hey nice.
I dont really need it but I would definately recommend that such a feature should be built into vB by default.
It would add that extra bit of ease for users - good job

clicks install - to show support :)

dragonlove 05-06-2007 01:40 PM

I can't find the phrase "custom_droplinks_cat" in the Templates Searcher, cauz I 'm using the 1.6 ver and I think it's more easier to meet my need than the newer ver , can you help me?

this template use button-links instead of text-links, just that

harmor19 05-06-2007 05:04 PM

Quote:

Originally Posted by redlabour (Post 1242331)
Please send Updatemail next Time you update your Hack!

I did send updates.

rickyreter 05-07-2007 02:59 PM

I Have installed everything fine and set permissions so all can see..plus added global variations for cmps..but still not showing up on navbar when a guest visits any ideas.....Harmor

harmor19 05-07-2007 03:55 PM

I don't know what's going on ricky

rickyreter 05-07-2007 04:06 PM

I am using photoplog but that would'nt effect it would it?as you can see it works 4 forums but not cmps...bloody annoying as i don't wanna uninstall it,and have sep links:confused:

talenak 05-28-2007 08:18 PM

My drop down menu disappears when I'm in the arcade and I just noticed when I click new posts it doesn't show up on the navbar when the results post.

Is there a way to fix this? Thanks!

I just noticed it only doesn't show up in my navbar if there are no new posts to display. But I'd still like it to show up! I definitely want it to show up when i'm in the arcade! Thanks for your help.

winpro19 05-29-2007 05:54 AM

Thanks for this but have a question. how do I change background? Right now it's pointing to : "misc/cat_back.gif" but I want it to point to "misc/nav_background.gif"

Let me know

Thanks

harmor19 05-29-2007 09:29 AM

Quote:

Originally Posted by talenak (Post 1256441)
My drop down menu disappears when I'm in the arcade and I just noticed when I click new posts it doesn't show up on the navbar when the results post.

Is there a way to fix this? Thanks!

I just noticed it only doesn't show up in my navbar if there are no new posts to display. But I'd still like it to show up! I definitely want it to show up when i'm in the arcade! Thanks for your help.

I don't have any idea why the links won't work on those pages.


Quote:

Originally Posted by winpro19 (Post 1256671)
Thanks for this but have a question. how do I change background? Right now it's pointing to : "misc/cat_back.gif" but I want it to point to "misc/nav_background.gif"

Let me know

Thanks

You'll have to edit the product and change the class names.

winpro19 05-29-2007 04:03 PM

Thanks worked

elmstr 05-31-2007 02:54 PM

Great hack! Works like a charm.
Thank you.

dealxa 06-01-2007 12:25 PM

installed

super, good modification, thanks harmor19

talenak 06-02-2007 04:55 AM

Haha, Man, it's tedious scanning long threads. I'm sorry if this answer is covered. I've seen a couple posts hit on it, but nothing that really solves it.

I want to add categories to my drop down menu. Like quick links has miscellanious and user cp. just the darker colored bar.

Is there a way to do this? Thanks!

harmor19 06-02-2007 05:52 AM

There isn't a way to do this in this version.

talenak 06-02-2007 07:22 PM

Oh but there IS Harmor! I found it a little bit ago, AFTER, I posted of course.

Can I suggest you link to this post in your MOD description?

Edit to add a suggestion and pictures: For anyone who wants to add the categories using the linked to methiod, Don't add a category strip as the first to display. There is an extra space added above each manually added strip that just looks tacky if its in the #1 display order. Images attached. Also it doesn't display correctly in acp, but it doesn't harm anything. See attached images.

gator777 06-05-2007 07:54 AM

Quote:

Originally Posted by talenak (Post 1259882)
Oh but there IS Harmor! I found it a little bit ago, AFTER, I posted of course.

Can I suggest you link to this post in your MOD description?

Edit to add a suggestion and pictures: For anyone who wants to add the categories using the linked to methiod, Don't add a category strip as the first to display. There is an extra space added above each manually added strip that just looks tacky if its in the #1 display order. Images attached. Also it doesn't display correctly in acp, but it doesn't harm anything. See attached images.

This would make an already good mod even greater. I hope you can add this to your mod as well. Thanks for all the hard work. :D

UaeStar 06-06-2007 02:08 AM

nice thanks

Ophelia 06-14-2007 06:38 PM

Not sure if it's been noted yet.

Adding a ' into the hover text removes anything after the '

Today's Photos turns into Today

harmor19 06-15-2007 02:52 AM

Quote:

Originally Posted by Ophelia (Post 1268562)
Not sure if it's been noted yet.

Adding a ' into the hover text removes anything after the '

Today's Photos turns into Today

Thanks. I'll see if I can fix the problem.

Jay-MOB 06-21-2007 01:56 PM

can the menu style be changed to the normal forum style?

HaCaoChien 06-25-2007 06:35 PM

Installed.

Everything seem work well when I add Menu and Link to Menu. But in Stand-Alone Link, I checked all in option "Select the usergroups that can see this link" but it do not show and when I try to edit that Stand-Alone Link, I see in that option, nothing checked. Please help

Thanks

Alfa1 07-25-2007 11:36 PM

Can you put conditionals in links that you add to this hack? Or doesn't that work?

vcruiser 07-26-2007 06:38 PM

All went well with the install and it works great. The link I created is Home. It shows in the navbar, in the center, how do I position it to where ever I want?

Brew 08-04-2007 10:56 PM

My navbar links are not in my navbar template, they're in the header.

I have been trying to get this to work but the table rows and columns just won't let this format correctly.

My source is:

HTML Code:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
 <td><a href="index.php"><img src="redbar/elements/logo.jpg" border="0"></a></td>
</tr>
<tr>
<td>
<br>
$header_advertisement
</td></tr>
<tr>
 <td background="redbar/elements/catsub.jpg" height="24" class="menu">
<a href="index.php">Main</a> &nbsp;&nbsp;
<if condition="$show['member']">
<a href="usercp.php">User CP</a> &nbsp;&nbsp;
</if>
<if condition="$show['registerbutton']">
<a href="register.php">Register</a> &nbsp;&nbsp;
</if>
<a href="memberlist.php">Member List</a> &nbsp;&nbsp;
<a href="calendar.php">Calendar</a> &nbsp;&nbsp;
<a href="faq.php">FAQ</a> &nbsp;&nbsp;
<if condition="$show['member']">
<a href="search.php">Search</a> &nbsp;&nbsp;
</if>
<if condition="$show['member']">
<a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">Logout</a>
</if>

$custom_droplinks_cat
$custom_singlelinks

</td>
</tr>

$custom_droplinks

<tr>
  <td width="655">
<!-- /logo -->
<!-- content table -->
$spacer_open
$leftcolumn_advertisement
$_phpinclude_output

As you can see I have the first two variables just after the login/logout link and the other is outside the table columns/rows.

I have tried to put the three lines ( $custom_singlelinks, $custom_droplinks_cat and $custom_droplinks ) everywhere I can think of but the formatting just isn't working.

Can someone give me a hand with this?

You can see what the above code is doing to the layout (as of 8/4/07) here:

http://www.criticalreactor.com/forums/index.php

Whoever can help me I would greatly appreciate it, I'm pulling my hair out in this :D

cynthetiq 08-05-2007 08:27 PM

Thanks alot! I haven't created my menus but


All times are GMT. The time now is 07:40 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.03066 seconds
  • Memory Usage 1,849KB
  • 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_html_printable
  • (2)bbcode_php_printable
  • (13)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