[CDB] Header Links

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
KhurramMunawar
Registered User
Posts: 534
Joined: Tue Mar 25, 2014 2:20 am
Location: Islamabad, Pakistan
Name: Khurram Munawar

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

Post 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 ?
Get Free Traffic To Your Website
Trafficonic.com - Free Traffic To Your Website
Kaycee
Registered User
Posts: 307
Joined: Tue Aug 10, 2010 6:23 am
Location: Nigeria

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

Post 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?
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6772
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

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

Post 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.
Bernd R.
Registered User
Posts: 28
Joined: Fri Feb 06, 2015 5:01 pm

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

Post 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.
A big thank you to all the people, spending time to keep phpBB running
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6772
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

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

Post by HiFiKabin »

My bad, RC4 will be uploaded within the next few minutes
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6772
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

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

Post 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
Bernd R.
Registered User
Posts: 28
Joined: Fri Feb 06, 2015 5:01 pm

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

Post by Bernd R. »

Thanks! Everything ok now, as far as I see.
A big thank you to all the people, spending time to keep phpBB running
Bernd R.
Registered User
Posts: 28
Joined: Fri Feb 06, 2015 5:01 pm

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

Post 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',

));
A big thank you to all the people, spending time to keep phpBB running
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6772
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

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

Post by HiFiKabin »

Bernd R. wrote: Sun Feb 19, 2017 7:55 pm German Translation
Many thanks, added to my site
User avatar
KhurramMunawar
Registered User
Posts: 534
Joined: Tue Mar 25, 2014 2:20 am
Location: Islamabad, Pakistan
Name: Khurram Munawar

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

Post 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.
Get Free Traffic To Your Website
Trafficonic.com - Free Traffic To Your Website
User avatar
Stoker 4.0
Registered User
Posts: 1504
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen

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

Post 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
Regards Stoker
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6772
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

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

Post by HiFiKabin »

Thanks Stoker, will do
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6772
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

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

Post 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
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6772
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

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

Post 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
User avatar
KhurramMunawar
Registered User
Posts: 534
Joined: Tue Mar 25, 2014 2:20 am
Location: Islamabad, Pakistan
Name: Khurram Munawar

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

Post 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.
Get Free Traffic To Your Website
Trafficonic.com - Free Traffic To Your Website

Return to “Extensions in Development”