PDA

View Full Version : Major Additions - DevNavbar (add navbars & links, display it anywhere)


Developer
08-19-2007, 10:00 PM
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 (https://vborg.vbsupport.ru/)
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<!-- breadcrumb, login, pm info -->
above it we add
$developer_navbar[Navbarname] so in our example it will be
$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<!-- nav buttons bar -->
add below it$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
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
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
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
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.


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
can custom buttons be added in navbar through the hack, and how?

thanks very great hack :)
custom buttons like what??
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.


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)
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`)
);
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
The new page or self page setting
does not work
i was sure that it's working well, i'll look at this ..
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
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
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:

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
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
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:
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";}'
this will enable all links and navbars to many groups, i am testing something with that ..

SuperTaz
08-26-2007, 09:31 PM
"3-Drop down menus"

When is the update coming out for this mod? I would like the option highlighted above.

HarryBO
08-26-2007, 11:07 PM
Hi Developer!

I?m still waiting for the update for the small navbar ;) Can you tell me when it comes?

Busterking
08-27-2007, 01:48 AM
I couldn't get the second link to work (many usergroups created).

I deleted everything and I then created a navbar with only certain usergroups enabled.

I then followed the same usergroups for the links in that navbar and all is fine now.

It seems like the tick marks won't stay for the usergroups in the link if they are not allowed originally in the navbar when first created.

Make sense really.

Busterking
08-28-2007, 06:47 PM
Had to uninstall.

Causing all kinds of errors on my forums. But I am using 3.6.7 which could be the problem.

mrghostno1
09-05-2007, 11:15 PM
Seems not to work with Element Blue skin...

Feckie (Roger)
09-22-2007, 10:05 AM
The new page or self page setting
does not work

Bumping on this

HarryBO
09-22-2007, 10:56 AM
...still waiting of an update....

Feckie (Roger)
11-07-2007, 06:41 AM
How can I change the Font Size :cool:

montsa007
02-29-2008, 03:31 AM
Installed :)
Nice 1 :)

fmntprsv
02-29-2008, 01:16 PM
Thanks! works fine!

icona
03-06-2008, 09:21 AM
Installed, thanks!!!

ico

jwaggoner
03-15-2008, 08:25 PM
Newbe here,

I am stuck on item 2 in the instructions. You say to 2-upload files to their destination directory. Could you be a bit more specific?

I tried installing the two xml files from Product Manager. The product-dev_navbar.xml installed. The cpnav_dev_navbar.xml file tells me it is not a Valid file. I don't know where to put the dev_navbar.php file.

This looks like a real nice addition to my site so I am anxious to get it installed and test it.

Angr?cia
03-16-2008, 07:26 PM
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:
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";}'
this will enable all links and navbars to many groups, i am testing something with that ..

I have the same problem... How can i fix it? I have 22 usergroups...

forumrunt
03-21-2008, 05:26 AM
installed worked fine for one sec now it wont show anything :(

Will keep trying

abdulla1
03-21-2008, 11:20 AM
custom buttons like what??

My site is custom navbar, not like the default VB ones.

take a look please: click here (http://www.chessleaders.com)

so i wonder if its possible to use the hack,
thanks :)

wd4x4
03-21-2008, 12:03 PM
The new page or self page setting
does not work

Same issue here. Is there no fix yet ?

jwaggoner
03-24-2008, 01:21 PM
Nice mod!!! There were some small errors in the scripts: TABLE_PREFIX was missing for some WHERE statements in the php file.

Also I've took out the ENGINE=MyISAM database bit to ensure the devnavbar_navbar table is created for versions of mySQL not supporting this type of databases.

Also I've changed the script a little bit to group multiple nav bars in one table (instead of having each bar in a seperate table) and to spread the columns evenly using the width attribute. Have a look if you want to revert this in your official download...

greetings,
Rob Musquetier
http://www.NCRS.org/forums

Speedy1505
05-04-2008, 08:46 PM
nice work ...

how can i use this hack on Portal vBadvanced CMPS ?????

KURTZ
05-04-2008, 08:58 PM
Dev, any chance to get this onto 3.7.0?

Neutral Singh
05-06-2008, 05:15 AM
Not working in 3.7.0???? :(

ChicagoCoin
10-20-2008, 09:47 PM
Not working in 3.7.0???? :(

Thanks for this mod! Just wanted to mention that it's working fine for me with 3.7.3 patch 1.
I've had this installed and working for over a year.
Also wanted to thank jwaggoner, my links are now appearing properly with the new width formatting, I also used to receive a database error when i clicked on View Navbars and clicked on the Name Link, that doesn't happen anymore!

thompson
10-21-2008, 07:35 AM
very nice.

cisco123
11-12-2008, 01:55 AM
im going to be adding this

bluidkiti
01-11-2009, 11:15 PM
I just used this on my site and I have the 3.8 Gold version and it works great. This is a great mod. Thanks a bunch. :up:

ChicagoCoin
01-23-2016, 03:45 AM
Sorry about this reply to a very old thread but I had this mod disabled for a long time and I currently can't uninstall it from the plugins page, I'm going to upgrade to vb4.2.3 soon and am trying to get rid of my mods.

I get database errors when trying to uninstall, I think it might have started when php was upgraded but I'm not sure. I saw the 2 database tables of vb_devnavbar_links and vb_devnavbar_navbar in my database.

I've tried to delete the tables and then upload and import the 1.02 files in this post #57: https://vborg.vbsupport.ru/showpost.php?p=1473280&postcount=57
and the problems remain. I've deleted the files and the db tables and DevNavbar remains on my Manage Products page. This is the only plugin that I can't remove...

edit: Error Message when trying to uninstall:
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`vb_devnavbar_navbar' at line 1
Error Number : 1064

Here's db table info and I think the problem is in the beginning:
-- Generation Time: Jan 22, 2016 at 05:09 PM
-- Server version: 5.6.25
-- PHP Version: 5.6.10

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

-- Table structure for table `vb_devnavbar_links`
--

CREATE TABLE IF NOT EXISTS `vb_devnavbar_links` (
`linkid` mediumint(10) unsigned NOT NULL AUTO_INCREMENT,
`link` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`linkname` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
`linktarget` tinyint(1) unsigned NOT NULL DEFAULT '0',
`linkalt` varchar(60) COLLATE utf8_unicode_ci 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) COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`linkid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=5 ;

--
-- Dumping data for table `vb_devnavbar_links`
--


-- --------------------------------------------------------

--
-- Table structure for table `vb_devnavbar_navbar`
--

CREATE TABLE IF NOT EXISTS `vb_devnavbar_navbar` (
`barid` int(5) unsigned NOT NULL AUTO_INCREMENT,
`barname` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`barstatus` tinyint(1) NOT NULL,
`barlinks` int(10) unsigned NOT NULL,
`bargroups` varchar(80) COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`barid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=2 ;

--
-- Dumping data for table `vb_devnavbar_navbar`