Page 2 of 11

Re: [3.1][3.2][RC] Header Links

Posted: Sat Feb 18, 2017 8:16 pm
by KhurramMunawar
what will be the logout link for the user, if i want him to logout using this extension.

can we use language variables ?

Re: [3.1][3.2][RC] Header Links

Posted: Sat Feb 18, 2017 9:50 pm
by Kaycee
I installed this extension but could not enable it. Every time click on confirm enable, it returns with a blank page. Any help?

Re: [3.1][3.2][RC] Header Links

Posted: Sun Feb 19, 2017 9:54 am
by HiFiKabin
KhurramMunawar wrote:
Sat Feb 18, 2017 8:16 pm
what will be the logout link for the user, if i want him to logout using this extension.

can we use language variables ?

Name the button and hover as you wish and use ucp.php?mode=logout as the buttons URL

re left/centre/right I'll look into it
Kaycee wrote:
Sat Feb 18, 2017 9:50 pm
I installed this extension but could not enable it. Every time click on confirm enable, it returns with a blank page. Any help?
Check the customise tab of your ACP to ensure that the extension is disabled and data deleted. Then purge the cache, log out of the forum

Log on again, log on to the acp enable it again. Hopefully that will fix any issues.

Re: [3.1][3.2][RC] Header Links

Posted: Sun Feb 19, 2017 11:38 am
by Bernd R.
The fifth link will not appear when used. If I Use the same entrys as the sixth link it will work. Only Link #5 will never bee seen in the header if I use activate vor everyone. It works for guests or members only.

Re: [3.1][3.2][RC] Header Links

Posted: Sun Feb 19, 2017 11:50 am
by HiFiKabin
My bad, RC4 will be uploaded within the next few minutes

Re: [3.1][3.2][RC] Header Links

Posted: Sun Feb 19, 2017 11:54 am
by HiFiKabin
1.0.0_RC4 now available

switch error corrected

Update from previous version:
  • Download the latest release and unzip it.
  • Disable Header Link in the ACP
  • Delete headerlink folder from the server
  • Upload the folder hifikabin to root/ext/
  • Enable it in the ACP

Re: [3.1][3.2][RC] Header Links

Posted: Sun Feb 19, 2017 2:03 pm
by Bernd R.
Thanks! Everything ok now, as far as I see.

Re: [3.1][3.2][RC] Header Links

Posted: Sun Feb 19, 2017 7:55 pm
by Bernd R.
German Translation
Common.php

Code: Select all

<?php
/**
*
* @package phpBB Extension - Header Links
* @copyright (c) 2015 HiFiKabin
* @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(

    'HEADERLINK_MENU'               => 'Links',
    'HEADERLINK_MENU_HOVER'         => 'Zeige Links',

));
info_acp_headerlink.php

Code: Select all

<?php
/**
*
* @package phpBB Extension - Header Links
* @copyright (c) 2015 HiFiKabin
* @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(

    'ACP_HEADERLINK'                            => 'Header Link',
    'ACP_HEADERLINK_CONFIG'                     => 'Header Link',
    'ACP_HEADERLINK_CONFIG_EXPLAIN'             => 'Das ist die Konfigurationsseite für die Header Link Extension.' ,
    'ACP_HEADERLINK_INFO'                       => 'Hier kannst du bis zu 8 Links einfügen, jeden mit eigener Benennung und eigenem Ziel. Fülle nur das Formular unten aus',
    'ACP_HEADERLINK_INT_URL'                    => 'Interne URLs können ohne http:// und Domain eingetragen werden Z.B. app.php/help/faq ',
    'ACP_HEADERLINK_EXT_URL'                    => 'Externe URLs müssen mit http:// eingetragen werden ',

    'ACP_HEADERLINK_LINK_1'                     => 'Erster Link',
    'ACP_HEADERLINK_LINK_2'                     => 'Zweiter Link',
    'ACP_HEADERLINK_LINK_3'                     => 'Dritter Link',
    'ACP_HEADERLINK_LINK_4'                     => 'Vierter Link',
    'ACP_HEADERLINK_LINK_5'                     => 'Fünfter Link',
    'ACP_HEADERLINK_LINK_6'                     => 'Sechster Link',
    'ACP_HEADERLINK_LINK_7'                     => 'Siebter Link',
    'ACP_HEADERLINK_LINK_8'                     => 'Achter Link',

    'ACP_HEADERLINK_URL_PLACEHOLDER'            => 'Link URL',
    'ACP_HEADERLINK_NAME_PLACEHOLDER'           => 'Link Name',
    'ACP_HEADERLINK_HOVER_PLACEHOLDER'          => 'Link bei Mouse over',
    'ACP_HEADERLINK_TARGET'                     => 'Öffne Link in neuem Tab',
    'ACP_HEADERLINK_DISABLE'                    => 'Schalte diesen Link aus',
    'ACP_HEADERLINK_GUEST'                      => 'Aktiviere diesen Link nur für Gäste',
    'ACP_HEADERLINK_MEMBER'                     => 'Aktiviere diesen Link nur für Mitglieder',
    'ACP_HEADERLINK_ACTIVE'                     => 'Aktiviere diesen Link für alle',

    'HEADERLINK_CONFIG'                         => 'Header Link Einstellungen',
    'HEADERLINK_SAVED'                          => 'Header Link Einstellungen gespeichert',

));

Re: [3.1][3.2][RC] Header Links

Posted: Sun Feb 19, 2017 8:09 pm
by HiFiKabin
Bernd R. wrote:
Sun Feb 19, 2017 7:55 pm
German Translation
Many thanks, added to my site

Re: [3.1][3.2][RC] Header Links

Posted: Mon Feb 20, 2017 2:42 am
by KhurramMunawar
Name the button and hover as you wish and use ucp.php?mode=logout as the buttons URL
this link does not work

I think there is a session id issue for individual user.

Re: [3.1][3.2][RC] Header Links

Posted: Mon Feb 20, 2017 7:46 am
by Stoker 4.0
Nice EXT,

Remove the border-radius in .headerbar in responsive, like this;

Code: Select all

@media only screen and (max-width: 700px), only screen and (max-device-width: 700px)
{
    .phpbb-navbar {
        border-radius: 0 !important;
        margin: 1px -5px 0;
    }

    .phpbb-navbar .phpbb-menu, .headerbar {
        border-radius: 0px ;
    }
}
Looks better in responsive view

Re: [3.1][3.2][RC] Header Links

Posted: Mon Feb 20, 2017 9:35 am
by HiFiKabin
Thanks Stoker, will do

Re: [3.1][3.2][RC] Header Links

Posted: Wed Feb 22, 2017 11:04 am
by HiFiKabin
1.0.0_RC5 now available

Blank page on install fixed, special characters supported, slight style tweak

Update from previous version:
  • Download the latest release and unzip it.
  • Disable Header Link in the ACP
  • Delete headerlink folder from the server
  • Upload the folder hifikabin to root/ext/
  • Enable it in the ACP

Re: [3.1][3.2][RC] Header Links

Posted: Wed Feb 22, 2017 11:05 am
by HiFiKabin
KhurramMunawar wrote:
Mon Feb 20, 2017 2:42 am
Name the button and hover as you wish and use ucp.php?mode=logout as the buttons URL
this link does not work

I think there is a session id issue for individual user.
Yes, I didn't realise that the session needed to be appended. Sorry, but I don't think you can have a 'Log Out' button without a lot of extra coding that is beyond the scope of this extension

Re: [3.1][3.2][RC] Header Links

Posted: Wed Feb 22, 2017 10:11 pm
by KhurramMunawar
In Rc5
Fifth link is not being activated for Everyone

Header Links shows blue background for a while in prosilver_se when hard reset ( ctrl + f5 ) applies.

In responsive view : No mouse over effect being shown.