3.2.x Extensions Database 3.2 / 3.3Navbar 3.2.x

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
User avatar

boldherri
Users
Users
Posts: 46
Joined: 31 May 2018, 15:28
    Windows 10 Firefox

Re: Navbar 3.2.x

Post by boldherri »

Sniper_E wrote: 01 Jun 2018, 18:03
boldherri wrote: 31 May 2018, 22:52 I'm sorry that nobody here in the forum gave me a simple advice
You just posted this yesterday afternoon. And I am just now seeing your post here this morning.

No one is sitting online here waiting for your post to come in so they can give you an immediate response.
It's like you expected an instant response. There is no Live Help available on these sites waiting to help you.

Please go cry somewhere else about that. And no one is bound to give help that fast so please don't demand it.
ok but it took 2 seconds to respond, i never claimed help,
I had to write on another forum to help me and i immediately resolved.

ok I'm crying :(

User avatar

lopoto
Users
Users
Posts: 73
Joined: 28 Dec 2014, 01:59
    Windows 10 Firefox

Re: Navbar 3.2.x

Post by lopoto »

How to add, ACP and MCP? for tools, tabs :eyes2: :question:
tools.png
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

ivailo95
Users
Users
Posts: 918
Joined: 02 Feb 2018, 12:04
    Windows 7 Opera

Re: Navbar 3.2.x

Post by ivailo95 »

to me it's games how can i rename it and add ACP and MCP and other things? :roll:
Feed like a disease
And bring them to their knees
They'll pay for their deceit

User avatar

lopoto
Users
Users
Posts: 73
Joined: 28 Dec 2014, 01:59
    Windows 10 Firefox

Re: Navbar 3.2.x

Post by lopoto »

In ext no problems , only ACP and MCP is magic :D

User avatar

lopoto
Users
Users
Posts: 73
Joined: 28 Dec 2014, 01:59
    Windows 10 Firefox

Re: Navbar 3.2.x

Post by lopoto »

lopoto wrote: 05 Aug 2018, 19:49 How to add, ACP and MCP? for tools, tabs :eyes2: :question:
tools.png
:question:

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Navbar 3.2.x

Post by Sniper_E »

Open: navbar/styles/prosilver/template/event/overall_header_navigation_prepend.html

Code: Select all

<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
	<li id="quick-links" class="quick-links responsive-menu dropdown-container<!-- IF not S_DISPLAY_QUICK_LINKS and not S_DISPLAY_SEARCH --> hidden<!-- ENDIF -->" data-skip-responsive="true">
		<a href="#" class="responsive-menu-link dropdown-trigger">
			<i class="icon fa-bars fa-fw" aria-hidden="true"></i><span>{L_NAVBAR_LINKS}</span>
		</a>
		<div class="dropdown hidden">
			<div class="pointer"><div class="pointer-inner"></div></div>
			<ul class="dropdown-contents-navbar" role="menu">
				<!-- EVENT dmzx_navbar_quick_links -->
			</ul>
		</div>
	</li>
	<!-- IF U_ACP or U_MCP -->
	<li id="quick-mod-links" class="quick-links responsive-menu dropdown-container<!-- IF not S_DISPLAY_QUICK_LINKS and not S_DISPLAY_SEARCH --> hidden<!-- ENDIF -->" data-skip-responsive="true">
		<a href="#" class="responsive-menu-link dropdown-trigger">
			<i class="icon fa-gavelfa-fw" aria-hidden="true"></i><span>{L_MOD_TOOLS}</span>
		</a>
		<div class="dropdown hidden">
			<div class="pointer"><div class="pointer-inner"></div></div>
			<ul class="dropdown-contents-navbar" role="menu">
				<!-- IF U_ACP -->
				<li data-last-responsive="true">
					<a href="{U_ACP}" title="{L_ACP}" role="menuitem">
						<i class="icon fa-cogs fa-fw" aria-hidden="true"></i><span>{L_ACP_SHORT}</span>
					</a>
				</li>
				<!-- ENDIF -->
				<!-- IF U_MCP -->
				<li data-last-responsive="true">
					<a href="{U_MCP}" title="{L_MCP}" role="menuitem">
						<i class="icon fa-gavel fa-fw" aria-hidden="true"></i><span>{L_MCP_SHORT}</span>
					</a>
				</li>
				<!-- ENDIF -->
			</ul>
		</div>
	</li>
	<!-- ENDIF -->
<!-- ENDIF -->
Open: navbar/language/en/common.php

Code: Select all

$lang = array_merge($lang, array(
	'NAVBAR_LINKS'		=> 'Games',
	'MOD_TOOLS'		=> 'Tools',
));
Try that...
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Navbar 3.2.x

Post by martin »

New cssmagic can deal with this ext but its not released yet :wink:

I did not add lang as was just testing
Selection_004.png
Selection_003.png
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
Image

User avatar

ivailo95
Users
Users
Posts: 918
Joined: 02 Feb 2018, 12:04
    Windows 7 Opera

Re: Navbar 3.2.x

Post by ivailo95 »

Navbar_3_2_x\navbar\styles\prosilver\template\event

Code: Select all

<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
<li id="quick-links" class="quick-links responsive-menu dropdown-container<!-- IF not S_DISPLAY_QUICK_LINKS and not S_DISPLAY_SEARCH --> hidden<!-- ENDIF -->" data-skip-responsive="true">
<a href="#" class="responsive-menu-link dropdown-trigger">
	<i class="icon fa-bars fa-fw" aria-hidden="true"></i><span>{L_NAVBAR_LINKS}</span>
</a>
	<div class="dropdown hidden">
		<div class="pointer"><div class="pointer-inner"></div></div>
		<ul class="dropdown-contents-navbar" role="menu">
		
			<!-- EVENT dmzx_navbar_quick_links -->
		</ul>
	</div>
</li>
<!-- ENDIF -->
<!-- IF U_ACP or U_MCP -->
	<li id="quick-mod-links" class="quick-links responsive-menu dropdown-container<!-- IF not S_DISPLAY_QUICK_LINKS and not S_DISPLAY_SEARCH --> hidden<!-- ENDIF -->" data-skip-responsive="true">
		<a href="#" class="responsive-menu-link dropdown-trigger">
			<i class="icon fa-gavelfa-fw" aria-hidden="true"></i><span>{L_MOD_TOOLS}</span>
		</a>
		<div class="dropdown hidden">
			<div class="pointer"><div class="pointer-inner"></div></div>
			<ul class="dropdown-contents-navbar" role="menu">
				<!-- IF U_ACP -->
				<li data-last-responsive="true">
					<a href="{U_ACP}" title="{L_ACP}" role="menuitem">
						<i class="icon fa-cogs fa-fw" aria-hidden="true"></i><span>{L_ACP_SHORT}</span>
					</a>
				</li>
				<!-- ENDIF -->
				<!-- IF U_MCP -->
				<li data-last-responsive="true">
					<a href="{U_MCP}" title="{L_MCP}" role="menuitem">
						<i class="icon fa-gavel fa-fw" aria-hidden="true"></i><span>{L_MCP_SHORT}</span>
					</a>
				</li>
				<!-- ENDIF -->
			</ul>
		</div>
	</li>
	<!-- ENDIF -->
<!-- ENDIF -->
Navbar_3_2_x\navbar\language\en

Code: Select all

<?php
/**
*
* @package phpBB Extension - Navbar
* @copyright (c) 2016 dmzx - http://www.dmzx-web.net
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/

/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
	exit;
}

if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste:
// ’ » “ ” …
//

$lang = array_merge($lang, array(
	'NAVBAR_LINKS'		=> 'Games',
	'MOD_TOOLS'		=> 'Tools',
));
I clear the cache and press CTR+R and F5
i saw it broke my board :question: :roll:

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Navbar 3.2.x

Post by martin »

:lol:

User avatar

ivailo95
Users
Users
Posts: 918
Joined: 02 Feb 2018, 12:04
    Windows 7 Opera

Re: Navbar 3.2.x

Post by ivailo95 »

What? o.o :roll: :shock:

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Navbar 3.2.x

Post by martin »

If you ask me you should leave it alone get some one who will do it some will do it for free some will charge i think after reading your posts you should get a guy to do your stuff.

User avatar

Voice4Vision
Users
Users
Posts: 19
Joined: 16 Dec 2017, 05:34
    Windows 10 Chrome

Re: Navbar 3.2.x

Post by Voice4Vision »

Sniper_E wrote: 13 Aug 2018, 01:12 Open: navbar/styles/prosilver/template/event/overall_header_navigation_prepend.html

Code: Select all

<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
	<li id="quick-links" class="quick-links responsive-menu dropdown-container<!-- IF not S_DISPLAY_QUICK_LINKS and not S_DISPLAY_SEARCH --> hidden<!-- ENDIF -->" data-skip-responsive="true">
		<a href="#" class="responsive-menu-link dropdown-trigger">
			<i class="icon fa-bars fa-fw" aria-hidden="true"></i><span>{L_NAVBAR_LINKS}</span>
		</a>
		<div class="dropdown hidden">
			<div class="pointer"><div class="pointer-inner"></div></div>
			<ul class="dropdown-contents-navbar" role="menu">
				<!-- EVENT dmzx_navbar_quick_links -->
			</ul>
		</div>
	</li>
	<!-- IF U_ACP or U_MCP -->
	<li id="quick-mod-links" class="quick-links responsive-menu dropdown-container<!-- IF not S_DISPLAY_QUICK_LINKS and not S_DISPLAY_SEARCH --> hidden<!-- ENDIF -->" data-skip-responsive="true">
		<a href="#" class="responsive-menu-link dropdown-trigger">
			<i class="icon fa-gavelfa-fw" aria-hidden="true"></i><span>{L_MOD_TOOLS}</span>
		</a>
		<div class="dropdown hidden">
			<div class="pointer"><div class="pointer-inner"></div></div>
			<ul class="dropdown-contents-navbar" role="menu">
				<!-- IF U_ACP -->
				<li data-last-responsive="true">
					<a href="{U_ACP}" title="{L_ACP}" role="menuitem">
						<i class="icon fa-cogs fa-fw" aria-hidden="true"></i><span>{L_ACP_SHORT}</span>
					</a>
				</li>
				<!-- ENDIF -->
				<!-- IF U_MCP -->
				<li data-last-responsive="true">
					<a href="{U_MCP}" title="{L_MCP}" role="menuitem">
						<i class="icon fa-gavel fa-fw" aria-hidden="true"></i><span>{L_MCP_SHORT}</span>
					</a>
				</li>
				<!-- ENDIF -->
			</ul>
		</div>
	</li>
	<!-- ENDIF -->
<!-- ENDIF -->
Open: navbar/language/en/common.php

Code: Select all

$lang = array_merge($lang, array(
	'NAVBAR_LINKS'		=> 'Games',
	'MOD_TOOLS'		=> 'Tools',
));
Try that...
I managed to get this working Ed, but a couple of additional questions relating to this.

How do I remove the original ACP and MCP links?
How may I add the stk link?
And last question...
How would I create the navbar links for FAQ and BBcode FAQ?

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Navbar 3.2.x

Post by Sniper_E »

Voice4Vision wrote: 15 Aug 2018, 21:56 I managed to get this working Ed, but a couple of additional questions relating to this.

How do I remove the original ACP and MCP links?
How may I add the stk link?
And last question...
How would I create the navbar links for FAQ and BBcode FAQ?
The original/duplicate acp and mcp links are in your style's template/navbar_header.html template.

Code: Select all

		<!-- IF U_ACP -->
			<li data-last-responsive="true">
				<a href="{U_ACP}" title="{L_ACP}" role="menuitem">
					<i class="icon fa-cogs fa-fw" aria-hidden="true"></i><span>{L_ACP_SHORT}</span>
				</a>
			</li>
		<!-- ENDIF -->
		<!-- IF U_MCP -->
			<li data-last-responsive="true">
				<a href="{U_MCP}" title="{L_MCP}" role="menuitem">
					<i class="icon fa-gavel fa-fw" aria-hidden="true"></i><span>{L_MCP_SHORT}</span>
				</a>
			</li>
		<!-- ENDIF -->
Either remove those lines or comment them out.

You can add the stk links by installing this ext.
stklinks_1.0.1.zip

I will have to create the navbar links for FAQ and BBcode FAQ and share with you later.

User avatar

Voice4Vision
Users
Users
Posts: 19
Joined: 16 Dec 2017, 05:34
    Windows 10 Chrome

Re: Navbar 3.2.x

Post by Voice4Vision »

Sniper_E wrote: 16 Aug 2018, 06:48
Voice4Vision wrote: 15 Aug 2018, 21:56 I managed to get this working Ed, but a couple of additional questions relating to this.

How do I remove the original ACP and MCP links?
How may I add the stk link?
And last question...
How would I create the navbar links for FAQ and BBcode FAQ?
The original/duplicate acp and mcp links are in your style's template/navbar_header.html template.

Code: Select all

		<!-- IF U_ACP -->
			<li data-last-responsive="true">
				<a href="{U_ACP}" title="{L_ACP}" role="menuitem">
					<i class="icon fa-cogs fa-fw" aria-hidden="true"></i><span>{L_ACP_SHORT}</span>
				</a>
			</li>
		<!-- ENDIF -->
		<!-- IF U_MCP -->
			<li data-last-responsive="true">
				<a href="{U_MCP}" title="{L_MCP}" role="menuitem">
					<i class="icon fa-gavel fa-fw" aria-hidden="true"></i><span>{L_MCP_SHORT}</span>
				</a>
			</li>
		<!-- ENDIF -->
Either remove those lines or comment them out.

You can add the stk links by installing this ext.
stklinks_1.0.1.zip

I will have to create the navbar links for FAQ and BBcode FAQ and share with you later.
I got it...everything. To inlcude my FAQ and BBCode

The BBcode was a bit of a challenge, since it was never fully implemented into phpBB 3.2

My file are as follows.

ext/dmzx/navbar/styles/prosilver/template/event/overall_header_navigation_prepend.html

Code: Select all

<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
<li id="quick-links" class="quick-links responsive-menu dropdown-container<!-- IF not S_DISPLAY_QUICK_LINKS and not S_DISPLAY_SEARCH --> hidden<!-- ENDIF -->" data-skip-responsive="true">
<a href="#" class="responsive-menu-link dropdown-trigger">
	<i class="icon fa-bars fa-fw" aria-hidden="true"></i><span>{L_NAVBAR_LINKS}</span>
</a>
	<div class="dropdown hidden">
		<div class="pointer"><div class="pointer-inner"></div></div>
		<ul class="dropdown-contents-navbar" role="menu">
			<!-- EVENT dmzx_navbar_quick_links -->
		</ul>
	</div>
</li>

<li id="extensions-links" class="quick-links responsive-menu dropdown-container" data-skip-responsive="true">
<a href="#" class="responsive-menu-link dropdown-trigger">
	<i class="icon fa-bars fa-fw" aria-hidden="true"></i><span>{{ lang('Extensions') }}</span>
</a>
	<div class="dropdown hidden">
		<div class="pointer"><div class="pointer-inner"></div></div>
		<ul class="dropdown-contents" role="menu">
			<!-- EVENT dmzx_navbar_extensions -->
		</ul>
	</div>
</li>
<li id="help-links" class="quick-links responsive-menu dropdown-container" data-skip-responsive="true">
<a href="#" class="responsive-menu-link dropdown-trigger">
	<i class="icon fa-bars fa-fw" aria-hidden="true"></i><span>{{ lang('Help') }}</span>
</a>
	<div class="dropdown hidden">
		<div class="pointer"><div class="pointer-inner"></div></div>
		<ul class="dropdown-contents" role="menu">
			<li <!-- IF not S_USER_LOGGED_IN -->data-skip-responsive="true"<!-- ELSE -->data-last-responsive="true"<!-- ENDIF -->>
<a href="{U_FAQ}" rel="help" title="{L_FAQ_EXPLAIN}" role="menuitem">
<i class="icon fa-question-circle fa-fw" aria-hidden="true"></i><span>{L_FAQ}</span>
<a href="/help/bbcode" rel="help" title="{L_BBCODE_EXPLAIN}" role="menuitem">
<i class="icon fa-code fa-fw" aria-hidden="true"></i><span>{L_BBCODE_GUIDE}</span>
		</ul>
	</div>
</li>
	<!-- IF U_ACP or U_MCP -->
	<li id="admin-links" class="quick-links responsive-menu dropdown-container<!-- IF not S_DISPLAY_QUICK_LINKS and not S_DISPLAY_SEARCH --> hidden<!-- ENDIF -->" data-skip-responsive="true">
		<a href="#" class="responsive-menu-link dropdown-trigger">
			<i class="icon fa-gavel fa-fw" aria-hidden="true"></i><span>{{ lang('Admin') }}</span>
		</a>
		<div class="dropdown hidden">
			<div class="pointer"><div class="pointer-inner"></div></div>
			<ul class="dropdown-contents-navbar" role="menu">
				<!-- IF U_ACP -->
				<li data-last-responsive="true">
					<a href="{U_ACP}" title="{L_ACP}" role="menuitem">
						<i class="icon fa-cogs fa-fw" aria-hidden="true"></i><span>{L_ACP_SHORT}</span>
					</a>
				</li>
				<!-- ENDIF -->
				<!-- IF U_MCP -->
				<li data-last-responsive="true">
					<a href="{U_MCP}" title="{L_MCP}" role="menuitem">
						<i class="icon fa-gavel fa-fw" aria-hidden="true"></i><span>{L_MCP_SHORT}</span>
					</a>
				</li>
				<!-- ENDIF -->
		{% if U_ACP %}
			<li data-last-responsive="true">
				<a href="./stk" title="{{ lang('STK') }}" role="menuitem">
					<i class="icon fa-wrench fa-fw" aria-hidden="true"></i><span>{{ lang('STK_SHORT') }}</span>
				</a>
			</li>
		{% endif %}
			</ul>
		</div>
	</li>
	<!-- ENDIF -->
<!-- ENDIF -->
Thank you Ed. You are helping move on to bigger things today!!!

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Navbar 3.2.x

Post by martin »

I may sort mine out and post it its all in one ext but i have removed the acp and mcp from core.
Selection_002.png
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

Post Reply Previous topicNext topic