[RC] PhpBB Links MOD

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Scam Warning
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

[RC] PhpBB Links MOD

Post by Stoker 4.0 »

Modification Name: PhpBB Links MOD
Author: Stoker

Modification Description:: This MOD adds a Link page to your forum.
Fully configurable in ACP with following options:
Enable/Disable the mod
Enable/Disable click count
Enable/Disable use of website thumbshots
Enable/Disable use of banner
Set number of links per page
Use website thumbs from thumbshot.org or scrink the web
You can use bbcodes and smilies in the description
Pssst, based on the Red Bar mod.
Modification Version:: 1.0.3

Screenshots: >>>Can be viewed here<<<

Demo URL: http://www.phpbb3bbcodes.com/links.php

Modification Download: http://www.phpbb3bbcodes.com/dm_eds/showcat.php?id=11

Translations: Bottom of this post: http://www.phpbb3bbcodes.com/viewtopic.php?f=45&t=2319
Last edited by Stoker 4.0 on Sat Feb 23, 2013 8:48 am, edited 5 times in total.
User avatar
Theriddler1
Registered User
Posts: 451
Joined: Sat Aug 27, 2011 11:00 pm
Location: NL
Name: Theriddler❶
Contact:

Re: [BETA] PhpBB3 Links MOD

Post by Theriddler1 »

Great and awesome mod you got here stoker, looking great 8-)

Edit: Here are the dutch translations

Code: Select all

<?php
/**
*
* @author Stoker 4.0
* @package PhpBB Links MOD [Dutch]
* @version $Id: info_acp_linksmod.php, v1.0.4 2011/30/11 Exp $
* @copyright (c) 2013 Stoker
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
if (!defined('IN_PHPBB'))
{
	exit;
}
if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

$lang = array_merge($lang, array(
	'ACP_LINKSMOD'				=> 'Links Mod',
	'LINKSMOD_CONFIG'			=> 'Links Mod Instellingen',
	'LINKSMOD_LINKS'			=> 'Links Mod Beheer',
));

?>

Code: Select all

<?php
/**
*
*
* @package PhpBB Links MOD [Dutch]
* @version $Id: linksmod.php,v v1.0.0 2013/01/01 Exp $
* @copyright (c) 2013 Stoker
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* 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

$lang = array_merge($lang, array(		
	'ACP_LINKSMOD_CONFIG'			=> 'Links Mod Configuratie',
	'ACP_LINKSMOD_CONFIG_EXPLAIN'	=> 'Dit is de Configuratie pagina van de Links Mod door Stoker',
	'LINKSMOD_VERSION'				=> 'Versie',
	
	'LINKSMOD_DISABLED'				=> 'Sorry, de Links pagina is op dit moment niet beschikbaar',
	'LINKSMOD_NOT_INSTALLED'		=> 'Links MOD database ingangen werden niet gevonden.<br />A.U.B. start de %sinstaller%s om de nodige wijzigingen in de database door te voeren voor deze mod.',
	'LINKSMOD_NOT_INSTALLED_USER'	=> 'The Links pagina is niet geinstalleerd. Neem contact op met de beheerder van dit forum.',
	'LINKSMOD_EMPTY'				=> 'Op dit moment zijn er nog geen linkjes toegevoegd',
	'LINKSMODPAGE_TITLE'			=> 'Links',
	'LINKSMOD_VISITS'				=> 'Bezoeken',
	'LINKSMOD_BANNER'				=> 'Banner',
	
	'LINKSMOD_NO_REFERRER'			=> 'No Referrer!',
	'LINKSMOD_LEAVING'				=> 'Je verlaat nu',
	'LINKSMOD_GOES_TO'				=> 'en wordt doorgestuurd naar',
	'LINKSMOD_GO_FRONT'				=> 'Je wordt teruggezonden naar de beginpagina',
	'REDIRECT_TITLE'				=> 'Bedankt voor uw bezoek!',
	
	'ACP_LINKSMOD_CONFIG_SET'		=> 'Configureer Links Mod instellingen',
	'LINKSMOD_CONFIG_SAVED'			=> 'Links Mod instellingen gesaved',
	
	'LINKSMOD_ENABLE'				=> 'Inschakelen Links Mod aan',
	'LINKSMOD_ENABLE_EXPLAIN'		=> 'Zet hier de Links Mod Aan of uit. De Links pagina is niet beschikbaar als deze uit staat',
	'LINKSCLICK_ENABLE'				=> 'Inschakelen Klik Teller',
	'LINKSCLICK_ENABLE_EXPLAIN'		=> 'Indien ingeschakeld wordt elk bezoek geteld en weergegeven op de linkspagina. Ook is er een redirect pagina actief',
	'LINKSTHUMB_ENABLE'				=> 'Thumbshots inschakelen',
	'LINKSTHUMB_ENABLE_EXPLAIN'		=> 'Indien ingeschakeld zal er (indien beschikbaar) een website miniatuur van thumbshots.org worden weergegeven',
	'LINKSPAGE_NUMBER'				=> 'Aantal links per pagina',
	'LINKSPAGE_NUMBER_EXPLAIN'		=> 'Dit is zowel voor het forum als de ACP-linkpaginas zelf',
	
	'ACP_LINKSMOD'					=> 'Links Mod Beheer',
	'ACP_LINKSMOD_EXPLAIN'			=> 'Toevoegen, bewerken van koppelingen hier configureren',
	'LINKSMOD_ID'		       		=> 'ID',
	'LINKSMOD_NAME'		       		=> 'Naam',
	'LINKSMOD_URL'		       		=> 'URL',
	'LINKSMOD_DESC'		       		=> 'Beschrijving',
	'LINKSMOD_BANNER'		       	=> 'Banner',
	
	'LINKSMOD_ADDED'		       	=> 'Nieuwe link toegevoegd',
	'LINKSMOD_UPDATED'		       	=> 'Link geupdate',
	'ADD_URL'		       			=> 'Voeg nieuwe link toe',
	'NO_LINKSMOD_NAME'		   		=> 'Je vergat de link naam',
	'NO_LINKSMOD_URL'		       	=> 'Je vergat de link url',
	
	'LINKS_TITLE_PAGE_NUMBER'  		 => 'Pagina %s',
	'LINK_COUNT'      				=> '1 Link',
    'LINKS_COUNT'     				=> '%d Links',
));

$lang = array_merge($lang, array(
	'INSTALL_LINKSLIB'					=> 'Installeer Links Mod',
	'INSTALL_LINKSLIB_CONFIRM'			=> 'Ben je klaar om Links Mod te installeren?',
	'LINKSMOD'							=> 'Links Mod',
	'LINKSLIB_EXPLAIN'					=> 'Installeer Links Mod wijzigingen in de database met de automatische UMIL methode.',
	'UNINSTALL_LINKSLIB'				=> 'Deinstalleren Links Mod',
	'UNINSTALL_LINKSLIB_CONFIRM'		=> 'Ben je klaar om Links Mod te verwijderen? Alle instellingen en gegevens die zijn opgeslagen door deze mod worden verwijderd!',
	'UPDATE_LINKSLIB'					=> 'Links Mod bijwerken',
	'UPDATE_LINKSLIB_CONFIRM'			=> 'Ben je klaar om Links Mod bij te werken?',
));

?>
Last edited by Theriddler1 on Thu Jan 31, 2013 3:26 pm, edited 3 times in total.
Theriddler - Former Moderator @ phpBB.nl | phpBBservice.nl Team-member
Image My Extensions | buy me a beer Image
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [BETA] PhpBB3 Links MOD

Post by Stoker 4.0 »

Install file quick fixed. Can now be installed with automod too. :mrgreen:
User avatar
Theriddler1
Registered User
Posts: 451
Joined: Sat Aug 27, 2011 11:00 pm
Location: NL
Name: Theriddler❶
Contact:

Re: [BETA] PhpBB3 Links MOD

Post by Theriddler1 »

@stoker you forgot to remove

Code: Select all

* donate.php [English]
:mrgreen:
Theriddler - Former Moderator @ phpBB.nl | phpBBservice.nl Team-member
Image My Extensions | buy me a beer Image
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [BETA] PhpBB3 Links MOD

Post by Stoker 4.0 »

Theriddler1 wrote:@stoker you forgot to remove

Code: Select all

* donate.php [English]
:mrgreen:
i know, it has been fixed :oops:

Please fix it in your translated files.
I will add them to next release.
Thanks :D
User avatar
Theriddler1
Registered User
Posts: 451
Joined: Sat Aug 27, 2011 11:00 pm
Location: NL
Name: Theriddler❶
Contact:

Re: [BETA] PhpBB3 Links MOD

Post by Theriddler1 »

:) great!

But i saw something strange when tested the mod, when in acp and when you want to add, edit or remove a link and you allready have a big banner from other link then the action buttons are pushed to the rightside and you can't get with them.

So my question is what are the max dimensions for using a banner in the link mod ?
Theriddler - Former Moderator @ phpBB.nl | phpBBservice.nl Team-member
Image My Extensions | buy me a beer Image
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [BETA] PhpBB3 Links MOD

Post by Stoker 4.0 »

Theriddler1 wrote:So my question is what are the max dimensions for using a banner in the link mod ?
That depends on your screen size.
But my own limits are 90 x 250 px - Looks great on a narrow style.
User avatar
Theriddler1
Registered User
Posts: 451
Joined: Sat Aug 27, 2011 11:00 pm
Location: NL
Name: Theriddler❶
Contact:

Re: [BETA] PhpBB3 Links MOD

Post by Theriddler1 »

Stoker 4.0 wrote: That depends on your screen size.
But my own limits are 90 x 250 px - Looks great on a narrow style.
Ah i see i got a banner that was 500px wide :lol: no wonder that the action buttons were pushed away to the side. Anyway i changed the dimensions of every banner same as yours (90 x 250 px) which is working better.
Thank you.
Theriddler - Former Moderator @ phpBB.nl | phpBBservice.nl Team-member
Image My Extensions | buy me a beer Image
User avatar
emosbat
Registered User
Posts: 564
Joined: Sat Jan 28, 2012 1:25 pm

Re: [BETA] PhpBB3 Links MOD

Post by emosbat »

nice mod :)
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [BETA] PhpBB3 Links MOD

Post by Stoker 4.0 »

Theriddler -> Maybe we should add the credit line for translators in the 2 files you translated?
Which name to use?
Also please translate this for version 1.0.1:

Code: Select all

'LINKSCLICK_DISABLED'			=> 'Clicks are disabled. You are being redirected to the links page.',
emosbat wrote:nice mod :)
Thanks
User avatar
Theriddler1
Registered User
Posts: 451
Joined: Sat Aug 27, 2011 11:00 pm
Location: NL
Name: Theriddler❶
Contact:

Re: [BETA] PhpBB3 Links MOD

Post by Theriddler1 »

Stoker 4.0 wrote:Theriddler -> Maybe we should add the credit line for translators in the 2 files you translated?
Which name to use?
That's a great idea, you can use the name (theriddler - phpBBservice.nl)

Code: Select all

* @author Stoker 4.0
* @package PhpBB Links MOD [Dutch]
* @translation Theriddler - phpBBservice.nl
or something like that ;)
Stoker 4.0 wrote:Also please translate this for version 1.0.1:

Code: Select all

'LINKSCLICK_DISABLED'			=> 'Clicks are disabled. You are being redirected to the links page.',
Here's the translation :)

Code: Select all

LINKSCLICK_DISABLED'			=> 'Klikken is uitgeschakeld. U wordt doorgestuurd naar de links pagina.',
Theriddler - Former Moderator @ phpBB.nl | phpBBservice.nl Team-member
Image My Extensions | buy me a beer Image
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] PhpBB Links MOD

Post by Stoker 4.0 »

Updated to RC 1.0.1 ;)

About translations:
I am not gonna include translations in the download because they are often a version behind.
But I will provide a link to every translation.
Please send me translated files in PM here or on my own site.
And please name them with the mod version number.
I appreciate it :D
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] PhpBB Links MOD

Post by Stoker 4.0 »

Any feature requests?

Im considering to add a featured link on index, but im not sure how to chose the link to be displayed.
It could be random or maybe the most visited link, or the last link added?
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm
Contact:

Re: [RC] PhpBB Links MOD

Post by keith10456 »

Great mod!

How about adding Categories?
User avatar
Stoker 4.0
Registered User
Posts: 1487
Joined: Sun Feb 13, 2011 1:33 pm
Location: Funen, Denmark
Name: Ulrik Christensen
Contact:

Re: [RC] PhpBB Links MOD

Post by Stoker 4.0 »

keith10456 wrote:Great mod!

How about adding Categories?
I will think about it, but probably not.
Locked

Return to “[3.0.x] MODs in Development”