<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
boldherri
Users
Status:
Offline
User theme: Dark
Posts: 46 Joined: May 31st, '18, 13:28
Post
by boldherri » Jun 1st, '18, 16:13
Sniper_E wrote: Jun 1st, '18, 16:03
boldherri wrote: May 31st, '18, 20: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 :(
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
lopoto
Users
Status:
Offline
User theme: Dark
Posts: 74 Joined: Dec 28th, '14, 00:59
Post
by lopoto » Aug 5th, '18, 17:49
How to add, ACP and MCP? for tools, tabs
tools.png
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
ivailo95
Users
Status:
Offline
User theme: Dark
Posts: 919 Joined: Feb 2nd, '18, 11:04
Post
by ivailo95 » Aug 7th, '18, 18:46
to me it's games how can i rename it and add ACP and MCP and other things?
Feed like a disease
And bring them to their knees
They'll pay for their deceit
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
lopoto
Users
Status:
Offline
User theme: Dark
Posts: 74 Joined: Dec 28th, '14, 00:59
Post
by lopoto » Aug 9th, '18, 23:05
In ext no problems , only ACP and MCP is magic
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
lopoto
Users
Status:
Offline
User theme: Dark
Posts: 74 Joined: Dec 28th, '14, 00:59
Post
by lopoto » Aug 12th, '18, 20:13
lopoto wrote: Aug 5th, '18, 17:49
How to add, ACP and MCP? for tools, tabs
tools.png
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
Sniper_E
VIP
Status:
Offline
User theme: Dark
Posts: 1160 Joined: Oct 14th, '14, 17:01
Post
by Sniper_E » Aug 12th, '18, 23: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...
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
martin
Admin
Status:
Offline
User theme: Dark
Posts: 5117 Joined: Apr 6th, '14, 14:12
Post
by martin » Aug 12th, '18, 23:46
New cssmagic can deal with this ext but its not released yet
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.
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
ivailo95
Users
Status:
Offline
User theme: Dark
Posts: 919 Joined: Feb 2nd, '18, 11:04
Post
by ivailo95 » Aug 13th, '18, 17:31
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
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
martin
Admin
Status:
Offline
User theme: Dark
Posts: 5117 Joined: Apr 6th, '14, 14:12
Post
by martin » Aug 13th, '18, 17:35
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
ivailo95
Users
Status:
Offline
User theme: Dark
Posts: 919 Joined: Feb 2nd, '18, 11:04
Post
by ivailo95 » Aug 13th, '18, 17:36
What? o.o
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
martin
Admin
Status:
Offline
User theme: Dark
Posts: 5117 Joined: Apr 6th, '14, 14:12
Post
by martin » Aug 13th, '18, 17:37
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.
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
Voice4Vision
Users
Status:
Offline
User theme: Dark
Posts: 19 Joined: Dec 16th, '17, 04:34
Post
by Voice4Vision » Aug 15th, '18, 19:56
Sniper_E wrote: Aug 12th, '18, 23: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?
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
Sniper_E
VIP
Status:
Offline
User theme: Dark
Posts: 1160 Joined: Oct 14th, '14, 17:01
Post
by Sniper_E » Aug 16th, '18, 04:48
Voice4Vision wrote: Aug 15th, '18, 19: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.
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
Voice4Vision
Users
Status:
Offline
User theme: Dark
Posts: 19 Joined: Dec 16th, '17, 04:34
Post
by Voice4Vision » Aug 16th, '18, 06:38
Sniper_E wrote: Aug 16th, '18, 04:48
Voice4Vision wrote: Aug 15th, '18, 19: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!!!
[phpBB Debug] PHP Warning : in file [ROOT]/vendor/twig/twig/src/Template.php on line 359 : Array to string conversion
Array
martin
Admin
Status:
Offline
User theme: Dark
Posts: 5117 Joined: Apr 6th, '14, 14:12
Post
by martin » Aug 16th, '18, 07:53
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.