[RC] NV newspage 1.0.2

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!
Anti-Spam Guide
Locked
User avatar
nickvergessen
Former Team Member
Posts: 4397
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

[RC] NV newspage 1.0.2

Post by nickvergessen »

MOD-Title: NV newspage
MOD-Version: 1.0.2
MOD-Description:
  • Adds a extra-page to the board where a switchable number of news are displayed.
    The text can be shorten to a certain number of chars.
    Also the Icons can be switched of (post icons, user icons)
MOD-Download: phpBB-Version: phpBB 3.0.5
phpBB-Languages: en, de
phpBB-Styles: prosilver, subsilver2
MOD-Demo:
Last edited by nickvergessen on Wed Jul 15, 2009 6:12 pm, edited 4 times in total.
No Support via PM

rickyschuijff
Registered User
Posts: 75
Joined: Mon May 14, 2007 4:50 pm
Contact:

Re: [Beta] NV news-page 0.0.1

Post by rickyschuijff »

Very nice MOD

The Dutch translation

Code: Select all

<?php
/**
*
* who was here [Dutch]
*
* @package language
* @version $Id: lang_wwh.php 4 2007-06-02
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @translation (c) Ricky  http://www.flyffworld.nl
*
**/
if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

$lang = array_merge($lang, array(
// for the normal sites
	'NEWS'						=> 'Nieuws',
	'NEWS_NONE'					=> 'geen nieuws',
	'NEWS_GO_TO_TOPIC'			=> 'Link naar topic',
	'NEWS_COMMENTS'				=> 'Commentaar',
	'NEWS_SAVED'				=> 'setup opgeslagen',
	'NEWS_NUMBER'				=> 'nummer of nieuws',
	'NEWS_FORUMS'				=> 'forums, waar het nieuws is geplaatst.<br />(verdeelt bij "," )',
));

?>
Flyff Game go to FlyffWorld

User avatar
Raimon
Former Team Member
Posts: 12088
Joined: Tue May 30, 2006 5:31 pm
Location: Netherlands
Name: Raimon Meuldijk
Contact:

Re: [Beta] NV news-page 0.0.1

Post by Raimon »

rickyschuijff wrote:Very nice MOD

The Dutch translation

Code: Select all

<?php
/**
*
* who was here [Dutch]
*
* @package language
* @version $Id: lang_wwh.php 4 2007-06-02
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @translation (c) Ricky  http://www.flyffworld.nl
*
**/
if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

$lang = array_merge($lang, array(
// for the normal sites
	'NEWS'						=> 'Nieuws',
	'NEWS_NONE'					=> 'geen nieuws',
	'NEWS_GO_TO_TOPIC'			=> 'Link naar topic',
	'NEWS_COMMENTS'				=> 'Commentaar',
	'NEWS_SAVED'				=> 'setup opgeslagen',
	'NEWS_NUMBER'				=> 'nummer of nieuws',
	'NEWS_FORUMS'				=> 'forums, waar het nieuws is geplaatst.<br />(verdeelt bij "," )',
));

?>
I suggested that you use strict dutch language, you use english & dutch language, what not correct language is.
And the lines are not very well translated into the dutch language.

search:

Code: Select all

// for the normal sites
	'NEWS'						=> 'Nieuws',
	'NEWS_NONE'					=> 'geen nieuws',
	'NEWS_GO_TO_TOPIC'			=> 'Link naar topic',
	'NEWS_COMMENTS'				=> 'Commentaar',
	'NEWS_SAVED'				=> 'setup opgeslagen',
	'NEWS_NUMBER'				=> 'nummer of nieuws',
	'NEWS_FORUMS'				=> 'forums, waar het nieuws is geplaatst.<br />(verdeelt bij "," )',
replace with:

Code: Select all

// for the normal sites
	'NEWS'						=> 'Nieuws',
	'NEWS_NONE'					=> 'Er is geen nieuws',
	'NEWS_GO_TO_TOPIC'			=> 'Link naar het onderwerp',
	'NEWS_COMMENTS'				=> 'Commentaar',
	'NEWS_SAVED'				=> 'Het nieuws is opgeslagen',
	'NEWS_NUMBER'				=> 'Aantal nieuwsartikellen',
	'NEWS_FORUMS'				=> 'forums, waar het nieuws is geplaatst.<br />(verdeelt bij "," )',
Need phpBB installation, extenstions, Styles or integrate phpBB with you website?
Contact me for fair prices and good service!

User avatar
nickvergessen
Former Team Member
Posts: 4397
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: [Beta] NV newspage 0.0.2

Post by nickvergessen »

MOD-Title: NV newspage
MOD-Version: 0.0.2
MOD-Description / Beschreibung:
  • English:
    Adds a extra-page to the board where a switchable number of news are displayed.
    The text can be shorten to a certain number of chars.
    Also the Icons can be switched of (post icons, user icons)
  • Deutsch:
    Fügt eine neue Seite zum Board hinzu, auf der eine einstellbare Anzahl von News angezeigt werden.
    Der Text kann auf eine bestimmte Anzahl von Buchstaben gekürzt werden.
    Die Buttons (ändern, zitieren,... und Benutzerbuttons) können ausgeschalten werden.
MOD-Manual / Anleitung:
Image
MOD-Download: phpBB-Version:
  • phpBB 3.0.RC7
phpBB-Languages:
  • en
  • de
phpBB-Styles:
  • prosilver
  • subsilver2
MOD-Demo:
updated to RC7 and made some feature (see description)
No Support via PM

tusem
Registered User
Posts: 21
Joined: Sun Oct 28, 2007 8:48 pm

Re: [Beta] NV newspage 0.0.2

Post by tusem »

I've have some trouble installing the mod. I followed all the instructions from install002.xml, but what do I need to do with the code listed in "SQL" (above File Copy)?

.:: Chico ::.
Registered User
Posts: 463
Joined: Fri Aug 03, 2007 6:35 am
Location: Rio de Janeiro
Contact:

Re: [Beta] NV newspage 0.0.2

Post by .:: Chico ::. »

:o
i didn't see this one.
Very useful!
i'm gonna test it right now.
always with good ideas/mods, Nick.

Thank you soo much!


Edit:
a suggestion: to learn, in instructions maybe, how to desinstall the SQL queries, because in this one, at config values, i don't know how to remove then after.
I've have some trouble installing the mod. I followed all the instructions from install002.xml, but what do I need to do with the code listed in "SQL" (above File Copy)?
you need to go in your database (phpbmyadmin) and at "SQL" copy the codes in instructions

User avatar
cyberken
Registered User
Posts: 185
Joined: Wed Jul 27, 2005 11:51 am
Location: Edinburgh

Re: [Beta] NV newspage 0.0.2

Post by cyberken »

Interesting modification :)

Just one question - the news page is there but where in the ACP do you configure it from - im guessing you have to enable a module? if not im lost :)

.:: Chico ::.
Registered User
Posts: 463
Joined: Fri Aug 03, 2007 6:35 am
Location: Rio de Janeiro
Contact:

Re: [Beta] NV newspage 0.0.2

Post by .:: Chico ::. »

cyberken wrote:Interesting modification :)

Just one question - the news page is there but where in the ACP do you configure it from - im guessing you have to enable a module? if not im lost :)
yes, you have to enable a new module!

tusem
Registered User
Posts: 21
Joined: Sun Oct 28, 2007 8:48 pm

Re: [Beta] NV newspage 0.0.2

Post by tusem »

.:: Chico ::. wrote: you need to go in your database (phpbmyadmin) and at "SQL" copy the codes in instructions
Thanks a lot, I think I found it. :D
One more question though: There is a file called "modx.prosilver.en.xsl". What do I do with it?

.:: Chico ::.
Registered User
Posts: 463
Joined: Fri Aug 03, 2007 6:35 am
Location: Rio de Janeiro
Contact:

Re: [Beta] NV newspage 0.0.2

Post by .:: Chico ::. »

tusem wrote:
.:: Chico ::. wrote: you need to go in your database (phpbmyadmin) and at "SQL" copy the codes in instructions
Thanks a lot, I think I found it. :D
One more question though: There is a file called "modx.prosilver.en.xsl". What do I do with it?
NOthing, ignore it! ;)

tusem
Registered User
Posts: 21
Joined: Sun Oct 28, 2007 8:48 pm

Re: [Beta] NV newspage 0.0.2

Post by tusem »

Sorry for asking again..I'm new to this :oops:
I installed everything and created a new module, but I don't know how to link a forum to the news. Whenever I click on the little news tab in the board index, it's blank. Am I missing anything?

Edit: Got it working :)

The "read full news" link does not work though. Anybody else having the same problem?

User avatar
nickvergessen
Former Team Member
Posts: 4397
Joined: Mon Apr 30, 2007 5:33 pm
Location: Stuttgart, Germany
Name: Joas Schilling
Contact:

Re: [Beta] NV newspage 0.0.2

Post by nickvergessen »

tusem wrote:The "read full news" link does not work though. Anybody else having the same problem?
Is already fixed in the next version

open: newspage.php
find:

Code: Select all

append_sid("{$phpbb_root_path}viewnews.$phpEx", 'news=' . $topic_id),
replace, with:

Code: Select all

append_sid("{$phpbb_root_path}newspage.$phpEx", 'news=' . $topic_id),
No Support via PM

lanouvelle
Registered User
Posts: 11
Joined: Tue Oct 30, 2007 3:20 pm
Contact:

Re: [Beta] NV newspage 0.0.2

Post by lanouvelle »

Ware can i enable a new module.
i have done all the actions nud i donts see tje news

lanouvelle
Registered User
Posts: 11
Joined: Tue Oct 30, 2007 3:20 pm
Contact:

Re: [Beta] NV newspage 0.0.2

Post by lanouvelle »

Ware can i enable a new module.
i have done all the actions nud i donts see tje news

FluGan|
Registered User
Posts: 22
Joined: Mon May 28, 2007 12:03 pm

Re: [Beta] NV newspage 0.0.2

Post by FluGan| »

when i go to ACP to configure the mod the page goes blank.. =/

Locked

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