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)
-   -   Major Additions - DevNavbar (add navbars & links, display it anywhere) (https://vborg.vbsupport.ru/showthread.php?t=155687)

Developer 08-19-2007 10:00 PM

DevNavbar (add navbars & links, display it anywhere)
 
DevNavbar
v.1.0.0
Description::.
This hack will give you an ability to add unlimited number of navbars & links and make them easy to be controlable by you ..
[Hack Features::.
1-Easy yo install
2-Unlimited number of navbars
3-Unlimited number of links in the navbar
4-Select link's target
5-Select link's alternate text
6-Group permissions
7-Ordered links
8-Option to open links in same/new page
9-Option to active/inactive links/bars
many other things just test the hack or see sreenshots]

Planned Features::.
1-Changing the navbars place will be more easier
2-Able to change display order of the navbar
3-Drop down menus
Installation::.
1-Import The Product.
2-upload files to thier destination directory
3-Read post number 2
History::.
1.0.0 On 20. Aug 2007 Initial Version.

Hack Languages::.
English Only For Now
Details::.
1 plugin, 38 phrases, 0 option, 1 query per page, 2 files

Developer 08-19-2007 10:02 PM

F.A.Q
To display each navbar alone do this
1-Add your navbar with any name that contains LETTERS only
like "first, second" Don't put NUMBERS
2-then edit your template say we will put our navbar above breadcrumb
so we open template navbar
then find
Code:

<!-- breadcrumb, login, pm info -->
above it we add
Code:

$developer_navbar[Navbarname]
so in our example it will be
Code:

$developer_navbar[first]
To Display all navbars under each other
open your template let's say navbar
we want to display navbars under breadcrumb
so we find
Code:

<!-- nav buttons bar -->
add below it
Code:

$dev_navbars


Screenshots
\/
\/
\/
\/
\/
\/

Developer 08-19-2007 10:02 PM

.....

EnIgMa1234 08-19-2007 10:04 PM

Files? :p

Developer 08-19-2007 10:09 PM

no one waits :p

EnIgMa1234 08-19-2007 10:10 PM

Screenshots look good :D will test now.

I got there before you :p

Ba$im 08-19-2007 10:20 PM

gr8 work
wait for files
thanks

EnIgMa1234 08-19-2007 10:26 PM

Files are there ;)

Feckie (Roger) 08-19-2007 10:31 PM

Excellent Idea..................;)


clicks install

CMGU 08-19-2007 10:39 PM

Excellent Great Idea!!!!

JD45 08-20-2007 12:31 AM

exactly what I needed! Thank you!

jgommel 08-20-2007 01:16 AM

This is very cool. I've already added it to my site. I'd really like to see an option to create drop-down menus in the future.

This may be a dumb question, but how do you get this to appear on the vBAdvanced CMPS page? Is there something I need to add to the Portal Output Global Variables within the Main Options of vBadvanced CMPS?

HDT 08-20-2007 02:30 AM

save the thread for later,thanks for create this i have morethan 22 menus on navbar so this will make my site look clean.

gforce75 08-20-2007 02:33 AM

Ya, I like it. Thanks for the mod.

Hornstar 08-20-2007 02:42 AM

Okay, I think this is what i'm looking for since the last navbar mod I was using is bugged.

Hopefully this will work good and easy.

and hopefully it will be able to do drop down menus as well.

Thanks.

Edit: looks awesome so far :)

some suggestions
1. create a folder called screen shots and put the screen shots in that folder in the zip
2. See if you can do drop down menus. that would be awesome!
3. When selecting allowed groups, have a button that will select them all. (saves time when you have 30 or more usergroups and you want to select about 29 of them.

some Bugs
1. When you click on edit navbar, all the allowed groups are unticked, and you have to tick them again.

Other then that, Thanks!

Developer 08-20-2007 08:34 AM

Quote:

Originally Posted by jgommel (Post 1321319)
This is very cool. I've already added it to my site. I'd really like to see an option to create drop-down menus in the future.

This may be a dumb question, but how do you get this to appear on the vBAdvanced CMPS page? Is there something I need to add to the Portal Output Global Variables within the Main Options of vBadvanced CMPS?

Drop down menus in my planned features ...

put in global variables : dev_navbars

Developer 08-20-2007 08:40 AM

Quote:

Originally Posted by hornstar1337 (Post 1321353)
Okay, I think this is what i'm looking for since the last navbar mod I was using is bugged.

Hopefully this will work good and easy.

and hopefully it will be able to do drop down menus as well.

Thanks.

Edit: looks awesome so far :)

some suggestions
1. create a folder called screen shots and put the screen shots in that folder in the zip
2. See if you can do drop down menus. that would be awesome!
3. When selecting allowed groups, have a button that will select them all. (saves time when you have 30 or more usergroups and you want to select about 29 of them.

some Bugs
1. When you click on edit navbar, all the allowed groups are unticked, and you have to tick them again.

Other then that, Thanks!

1- ok
2- planned feature
3- i am using a built in function in vb but i'll look at that for sure ...

about the bug:
i just test it nothing shows to me, i am using a vb3.6.8 with no additional groups or something, i'll create some groups and i'll test it ...

Edit: i've added some groups and check them, then i edit a navbar the still checked, does any one else facing the same issue !!?

projectego 08-20-2007 08:58 AM

Looks fantastic. Nice work, Developer! ;)

young coder 08-20-2007 10:45 AM

I loved it

viper357 08-20-2007 12:44 PM

I am using your previous version for 3.5.4 on my vb 3.6.5

It seems to be working fine, should I use this new version for 3.6.5 or is it still ok to use the older version?

Thanks.

memorex 08-20-2007 12:52 PM

Quote:

Originally Posted by Developer (Post 1321444)
Drop down menus in my planned features ...

put in global variables : dev_navbars

Is there anything else that needs to be done to add to vba? I've never messed with my vba much, and I can't seem to get this to show up by just adding that

Thanks for the great addition to my forums.

Infinite Guitar 08-20-2007 02:54 PM

I must be a total newbie. I installed this mod as well as another mod and couldn't find where the actually mod installed to, and how to edit the navbar through the form. I looked all over the admin control panel. Can someone describe in detail how to find the mod form after it's installed?

Thanks so much.

JD45 08-20-2007 03:37 PM

Quote:

Originally Posted by Infinite Guitar (Post 1321660)
I must be a total newbie. I installed this mod as well as another mod and couldn't find where the actually mod installed to, and how to edit the navbar through the form. I looked all over the admin control panel. Can someone describe in detail how to find the mod form after it's installed?

Thanks so much.

After importing the product, refresh the admin control panel. It's listed in separate options.

wrang 08-20-2007 04:04 PM

Is it possible to have sublink under one main link??

ex.
Link 1
- link 2
- link 3

abdulla1 08-20-2007 04:09 PM

can custom buttons be added in navbar through the hack, and how?

thanks very great hack :)

JD45 08-20-2007 05:39 PM

I'm getting a SQL Error when trying to work with a second navbar. The navbar was created ok, but I can't add links to it.


Code:

Database error in vBulletin 3.6.8:

Invalid SQL:

                SELECT *
                FROM vb_devnavbar_links
               
                WHERE devnavbar_links.linkbar = 2
                ORDER BY vb_devnavbar_links.linkorder DESC
                LIMIT 0, 10;

MySQL Error  : Unknown table 'devnavbar_links' in where clause
Error Number : 1109
Date        : Monday, August 20th 2007 @ 01:37:23 PM
Script      : http://xxxxxxxxxxxxxxxxx/dev_navbar.php?do=viewlinks
Referrer    : http://wxxxxxxxxxxxxx/dev_navbar.php?do=viewlinks
IP Address  :xxxx
Username    : xxx
Classname    : vb_database


meraia 08-21-2007 06:21 AM

Thanks ahmed :up:

eurofunny 08-21-2007 11:43 AM

Can i use the Navbar with arcade?? I have made this"$developer_navbar[eins]" at the arcadetemplate, but the Navbar is not coming.
Nice Work, thx.

Feckie (Roger) 08-22-2007 09:17 AM

The new page or self page setting
does not work

HarryBO 08-22-2007 11:32 AM

Nice Hack, but I´ve some Questions!

1. How does it work with VBA. I use different styles and on the smaller Ones the Linklist will enlarge the style to 100%.

Nice Greetings from Germany
Bo

Developer 08-22-2007 02:47 PM

Quote:

Originally Posted by abdulla1 (Post 1321707)
can custom buttons be added in navbar through the hack, and how?

thanks very great hack :)

custom buttons like what??
Quote:

Originally Posted by JD45 (Post 1321773)
I'm getting a SQL Error when trying to work with a second navbar. The navbar was created ok, but I can't add links to it.


Code:

Database error in vBulletin 3.6.8:

Invalid SQL:

                SELECT *
                FROM vb_devnavbar_links
               
                WHERE devnavbar_links.linkbar = 2
                ORDER BY vb_devnavbar_links.linkorder DESC
                LIMIT 0, 10;

MySQL Error  : Unknown table 'devnavbar_links' in where clause
Error Number : 1109
Date        : Monday, August 20th 2007 @ 01:37:23 PM
Script      : http://xxxxxxxxxxxxxxxxx/dev_navbar.php?do=viewlinks
Referrer    : http://wxxxxxxxxxxxxx/dev_navbar.php?do=viewlinks
IP Address  :xxxx
Username    : xxx
Classname    : vb_database


i cant fine a reason for that
run this sql from you admincp (change the table prefix)
[sql]CREATE TABLE `PREFIX_devnavbar_links` (
`linkid` mediumint(10) unsigned NOT NULL auto_increment,
`link` varchar(255) NOT NULL default '',
`linkname` varchar(255) NOT NULL default '',
`linktarget` tinyint(1) unsigned NOT NULL default '0',
`linkalt` varchar(60) NOT NULL default '0',
`linkorder` int(5) NOT NULL default '0',
`linkstatus` tinyint(3) NOT NULL default '0',
`linkbar` int(5) NOT NULL default '0',
`linkgroups` varchar(80) NOT NULL,
PRIMARY KEY (`linkid`)
);[/sql]
Quote:

Originally Posted by eurofunny (Post 1322262)
Can i use the Navbar with arcade?? I have made this"$developer_navbar[eins]" at the arcadetemplate, but the Navbar is not coming.
Nice Work, thx.

ask the arcade developer about how to put variables in the arcade --> reffer him to this mod if he need this
Quote:

Originally Posted by Feckie (Roger) (Post 1322985)
The new page or self page setting
does not work

i was sure that it's working well, i'll look at this ..
Quote:

Originally Posted by HarryBO (Post 1323067)
Nice Hack, but I?ve some Questions!

1. How does it work with VBA. I use different styles and on the smaller Ones the Linklist will enlarge the style to 100%.

Nice Greetings from Germany
Bo

i see this as a bug in my mod i'll fix it ...

applyimage 08-22-2007 04:14 PM

*installed* :) just what I was looking for.

|Jordan| 08-22-2007 05:44 PM

I installed the plugin, added the code to the template, added a navbar and added a menu item and nothing displays.

I'm using vb 3.6.8

Developer 08-22-2007 06:32 PM

Quote:

Originally Posted by |Jordan| (Post 1323353)
I installed the plugin, added the code to the template, added a navbar and added a menu item and nothing displays.

I'm using vb 3.6.8

Make sure that you give the right group permissions

|Jordan| 08-22-2007 08:30 PM

I have all groups defined able to use it (except banned). It still wont display.

Developer 08-22-2007 09:04 PM

Quote:

Originally Posted by |Jordan| (Post 1323462)
I have all groups defined able to use it (except banned). It still wont display.

What did you put in the template edit??

|Jordan| 08-22-2007 09:08 PM

I followed your instructions in your second post:

Quote:

To Display all navbars under each other

open your template let's say navbar
we want to display navbars under breadcrumb
so we find
Code:

<!-- nav buttons bar -->

add below it
Code:

$dev_navbars

Developer 08-22-2007 09:23 PM

Quote:

Originally Posted by |Jordan| (Post 1323491)
I followed your instructions in your second post:

This as i did in my test forum, i don't see any mistake in this !! ...
check every link's group permissions ...

|Jordan| 08-23-2007 01:06 AM

The navbar itself doesnt even display, let alone any links on it. When i save the navbar (and check the usergroups), and go back to edit the navbar - none of the usergroups have checkmarks on them.

Developer 08-23-2007 10:44 AM

Quote:

Originally Posted by |Jordan| (Post 1323624)
The navbar itself doesnt even display, let alone any links on it. When i save the navbar (and check the usergroups), and go back to edit the navbar - none of the usergroups have checkmarks on them.

What's your vb. version number??
Edit:
try to run this queries:
[sql]UPDATE `devnavbar_navbar` SET `bargroups` = 'a:1:{s:14:"membergroupids";s:13:"4,6,7,2,5,1,3";} '
UPDATE `devnavbar_links` SET `linkgroups` = 'a:1:{s:14:"membergroupids";s:13:"4,6,7,2,5,1,3";} '[/sql]
this will enable all links and navbars to many groups, i am testing something with that ..


All times are GMT. The time now is 07: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.01372 seconds
  • Memory Usage 1,837KB
  • 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
  • (7)bbcode_code_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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