[ABD] Custom Navigation Bar v1.0.7

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
Locked
drooid
Registered User
Posts: 81
Joined: Tue Mar 31, 2009 9:15 am

Re: [ALPHA] Custom Navigation Bar v1.0.7

Post by drooid »

I don't now if this was reported but there is a problem with sorting submenus. Buttons up and down didn't work properly.
Movie
Registered User
Posts: 127
Joined: Sun Nov 02, 2014 2:54 pm
Location: Chicago Illinois Area.

Re: [ALPHA] Custom Navigation Bar v1.0.7

Post by Movie »

Brilliant extension thanks a lot.

I too found problems with sorting submenus. Buttons up and down didn't work properly.
View signatures turned off.
Movie
Registered User
Posts: 127
Joined: Sun Nov 02, 2014 2:54 pm
Location: Chicago Illinois Area.

Re: [ALPHA] Custom Navigation Bar v1.0.7

Post by Movie »

TheStigP11GT wrote:Would it be possible to have an option to add a separator.

example: Home • Another Page • Other Site

Also an option to change the font and whether you can make it bold.
Just add them to the words when you build the menu no CSS required attach them to one of the words like below
Link 1 --> Home
Link 2 -->• Another Page •
Link3 --> Other Site

I used this style separator, play with the spacing to get what your looking for.
Home | Another Page | Other Site |Other Site | PHPBB.com | Google|Admin Email|
View signatures turned off.
JWPlatt
Registered User
Posts: 25
Joined: Tue Nov 07, 2006 4:41 am

Re: [ALPHA] Custom Navigation Bar v1.0.7

Post by JWPlatt »

This extension has been very useful, thanks!

Issues:
  • The button text does not change color on rollover - should it?
  • I have also noted that ordering doesn't work well. For those having trouble, I adjust the order numbers directly in the database, starting from 0 (zero). The values were not getting written. It might have something to do with deleting the default link? Or maybe it is getting written, but it's always 0.
  • Lower left and right corners of the navbar go square when hovering over it.
Feature requests:
  • It really would be nice to have an option in the ACP to put a thin-line separator between buttons so we don't have to fiddle with special characters so people won't need to ask for help about how to do it. Maybe an ACP option just for that separator character? Or a dropdown for a separator style?
  • ACP option to have the buttons left-justified, centered, or right-justified for all three themes. I prefer the dropdown menus, but need them to the left so I have to use the sliders.
  • ACP option for rollover color.
  • ACP option to make all button text identically spaced according to longest link title. Or an option to specify the spacing ourselves to make it easier to code.
Edit: This fixes the rollover square corners in slider.css - change 0 to 5:

Code: Select all

#menu_bar:hover {
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
}
Edit2:
To make the button text change color on hover, add this new entry to slider.css (or dropdown.css or phpbb.css) to override the HTML tag:

Code: Select all

.top_menu li a:hover font {
	text-decoration:underline;
	color: #A8D8FF;
}
Change attributes to suit yourself. I copied how the Prosilver SE section titles behave on a hover.

It would be great if you could make the color (and maybe even the underline) configurable in the ACP.

Just to add a suggestion, it would be better to move all your tags like font out of the HTML and into the CSS. I had a tough time figuring out why the font color refused to get applied on a hover in the CSS (.top_menu li a:hover) until I found font declared in overall_header_page_body_before.html.
User avatar
bbthailand
Translator
Posts: 76
Joined: Wed Jun 18, 2008 6:00 am
Contact:

Re: [ALPHA] Custom Navigation Bar v1.0.7

Post by bbthailand »

Nice, thanks.
JWPlatt
Registered User
Posts: 25
Joined: Tue Nov 07, 2006 4:41 am

Re: [ALPHA] Custom Navigation Bar v1.0.7

Post by JWPlatt »

FYI:

In overall_header_page_body_before.html, line 7, at the very end of the line, there is a space between the ending tags.

Code: Select all

... </font> </a>
It should be edited out, because during a rollover (hover), IE shows the rollover underline (see my post above) in a different color. Chrome doesn't care, and probably the others.
User avatar
thunderchero
Registered User
Posts: 129
Joined: Sun Nov 03, 2013 10:16 pm

Re: [ALPHA] Custom Navigation Bar v1.0.7

Post by thunderchero »

Hi,

I used "Extra Navbar Menu" on 3.0.13, now I am updating site to 3.1.3 and installed "[ALPHA] Custom Navigation Bar v1.0.7" when I go to "links" page to add links I get this error message.

Code: Select all

General Error
SQL ERROR [ mysqli ]

Unknown column 'parent' in 'where clause' [1054]

SQL

SELECT * FROM phpbb_navbar WHERE parent = 0 ORDER BY button_order ASC

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 194
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/ext/vipaka/navbar/acp/main_module.php
LINE: 358
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/includes/functions_module.php
LINE: 674
CALL: vipaka\navbar\acp\main_module->main()

FILE: [ROOT]/adm/index.php
LINE: 81
CALL: p_master->load_active()
then when I go to site with extension enabled I get this error

Code: Select all

SQL ERROR [ mysqli ]

Unknown column 'parent' in 'where clause' [1054]

SQL

SELECT * FROM phpbb_navbar WHERE parent = 0 ORDER BY button_order ASC

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 855
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 194
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/ext/vipaka/navbar/event/main_listener.php
LINE: 80
CALL: phpbb\db\driver\factory->sql_query()

FILE: (not given by php)
LINE: (not given by php)
CALL: vipaka\navbar\event\main_listener->add_page_header_links()

FILE: [ROOT]/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php
LINE: 164
CALL: call_user_func()

FILE: [ROOT]/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php
LINE: 53
CALL: Symfony\Component\EventDispatcher\EventDispatcher->doDispatch()

FILE: [ROOT]/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php
LINE: 167
CALL: Symfony\Component\EventDispatcher\EventDispatcher->dispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 60
CALL: Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 46
CALL: phpbb\event\dispatcher->dispatch()

FILE: [ROOT]/includes/functions.php
LINE: 4793
CALL: phpbb\event\dispatcher->trigger_event()

FILE: [ROOT]/index.php
LINE: 201
CALL: page_header()


any idea?

thunderchero
Last edited by thunderchero on Sun May 03, 2015 2:38 pm, edited 1 time in total.
JWPlatt
Registered User
Posts: 25
Joined: Tue Nov 07, 2006 4:41 am

Re: [ALPHA] Custom Navigation Bar v1.0.7

Post by JWPlatt »

Without looking at any prior history for this extension, I'd assume a new column "parent" was added to this extension at some point after your original install. In a local test before applying to production, try adding the "parent" column to the phpbb_navbar table. Not knowing your setup, you might have to make your best guess about adjusting values. Set them to 0 (zero) initially.

Sorry, but if you're not familiar with how to go about using a test server or database client, I can't offer a tutorial. But I use Uniform Server(Z) and MySQL Workbench, respectively.

On the chance you have other missing columns, here's the full MySQL CREATE statement to help guide you:

Code: Select all

CREATE TABLE `phpbb_navbar` (
  `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
  `parent` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `sub_parent` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `button_order` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `url` varchar(255) COLLATE utf8_bin NOT NULL DEFAULT '',
  `guest` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `registered` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `display` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `external` mediumint(8) unsigned NOT NULL DEFAULT '0',
  `linked` mediumint(8) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
User avatar
thunderchero
Registered User
Posts: 129
Joined: Sun Nov 03, 2013 10:16 pm

Re: [ALPHA] Custom Navigation Bar v1.0.7

Post by thunderchero »

Thanks, I had a buddy make changes and worked perfectly.

thunderchero
User avatar
wkuzma
Registered User
Posts: 392
Joined: Sun Sep 02, 2007 10:18 pm
Contact:

Re: [ALPHA] Custom Navigation Bar v1.0.7

Post by wkuzma »

The extension works great and you did a lot of work correcting errors for that I want to say thank you.

I have a request if your still open to requests
I see that there are only two functions that have to do with permissions

Display Link for Registered Users Only:
Display Link for Guests Only:

Is it possible to add a display link for certain groups only
I have 6 groups not including the predefined groups and it would be great if I can
assign a certain group to see and use the button.

If this is not possible I completely understand and still thank you for a great extension.
Slechtvalk
Registered User
Posts: 34
Joined: Tue Jan 15, 2008 12:56 pm

Re: [ALPHA] Custom Navigation Bar v1.0.7

Post by Slechtvalk »

Hello,

mmmm. i have installed dion designs bridgedd to wordpress.

i got the message of new member who register that there is a fatal sql error. The register process works, but i want to get rid of it.
I am not really sure how, maybe some one has an idea, because its a not installed module that seems to cause the break in the phpbb register process.
Fatal error: SQL ERROR [ mysql4 ]<br /><br />Table 'usr_web1_2.wp_navbar' doesn't exist [1146]<br /><br />Beim Laden der Seite ist ein SQL-Fehler aufgetreten. Bitte kontaktiere die <a href="mailto:xxxxxxxxxxxxxxxxxx">Board-Administration</a>, falls dieses Problem fortlaufend auftritt. in /var/www/blutigetempler/forum/phpbb/db/driver/driver.php on line 855
Call Stack
# Time Memory Function Location
1 0.0075 347048 {main}( ) ../ucp.php:0
2 0.7201 14645856 p_master->load( ) ../ucp.php:75
3 0.7203 14646440 p_master->load_active( ) ../functions_module.php:998
4 0.7238 14777032 ucp_register->main( ) ../functions_module.php:674
5 3.1145 33034888 trigger_error ( ) ../ucp_register.php:449
6 3.1146 33045000 msg_handler( ) ../ucp_register.php:449
7 3.1163 33046280 page_header( ) ../functions.php:4039
8 3.1171 33056048 phpbb\event\dispatcher->trigger_event( ) ../functions.php:4837
9 3.1171 33056192 phpbb\event\dispatcher->dispatch( ) ../dispatcher.php:46
10 3.1171 33056192 Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch( ) ../dispatcher.php:60
11 3.1173 33059568 Symfony\Component\EventDispatcher\EventDispatcher->dispatch( ) ../ContainerAwareEventDispatcher.php:167
12 3.1174 33060224 Symfony\Component\EventDispatcher\EventDispatcher->doDispatch( ) ../EventDispatcher.php:53
13 3.1352 33285544 call_user_func ( ) ../EventDispatcher.php:164
14 3.1352 33285576 vipaka\navbar\event\main_listener->add_page_header_links( ) ../EventDispatcher.php:164
15 3.1365 33287736 phpbb\db\driver\factory->sql_query( ) ../main_listener.php:80
16 3.1365 33287784 phpbb\db\driver\mysql->sql_query( ) ../factory.php:329
17 3.1368 33287784 phpbb\db\driver\driver->sql_error( ) ../mysql.php:181
18 3.1370 33290224 trigger_error ( )


vipika navbar is an phpbb extension. but usr_web1_2.wp_navbar should be wordpress. it is a little bit strange, whats happening there. usr_web1_2.phpbb3_navbar does exist, but not wp_navbar
User avatar
Galixte de EzCom
Registered User
Posts: 1106
Joined: Mon Oct 04, 2004 11:14 pm
Location: France
Name: Raphaël M.
Contact:

Re: [ALPHA] Custom Navigation Bar v1.0.7

Post by Galixte de EzCom »

Hi,
wkuzma wrote:The extension works great and you did a lot of work correcting errors for that I want to say thank you...
where is the update, the files in archive on first post are dated from december 2014. :?
Communau EzCom
📖 « Traductions d’extensions & styles pour phpBB 3.2.x & 3.3.x ».
📋 Lists of all extensions identified for phpBB 3.1.x & 3.2.x.
📋 Lists of all styles identified for phpBB 3.1.x & 3.2.x.
Image Tu as un forum et tu veux aussi un site web ? Regarde par ici.
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 28654
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: [ALPHA] Custom Navigation Bar v1.0.7

Post by Paul »

This topic has been marked as [ABD] - Abandoned as the extension author has not been active recently. If the extension author wishes to continue development, please PM anyone on the Extensions Team to request this topic be unlocked.

Notice!
We do not recommend that a user of the phpBB software install this extension, or any other extension that is marked as “abandoned” or “in development”, on a live forum. Doing so may cause your forum to not perform in the manner it should.


Thank you,
The phpBB Extensions Team
Locked

Return to “Abandoned Extensions”