Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: M-DVD on May 31, 2009, 07:56:16 AM

Title: Maximum RSS News
Post by: M-DVD on May 31, 2009, 07:56:16 AM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1853)




MOD Maximum RSS News v1.0
====================






  • Autor:
M-DVD (http://custom.simplemachines.org/mods/index.php?action=profile;u=148997)
  • Version:
1.0
  • Release:
24th May 2009
  • Languages:
(http://www.simplemachines.org/site_images/lang/english.gif) (http://www.simplemachines.org/site_images/lang/english_british.gif) (http://www.simplemachines.org/site_images/lang/spanish.gif) (http://www.simplemachines.org/site_images/lang/spanish_latin.gif) (http://www.simplemachines.org/site_images/lang/turkish.gif) (http://www.simplemachines.org/site_images/lang/italian.gif)
  • Compatible With:
SMF 1.1.1 - 1.1.9
SMF 2 Beta 3 & 4 & RC1-1




(http://www.simplemachines.org/community/Themes/smsite/images/star.gif)(http://www.simplemachines.org/community/Themes/smsite/images/star.gif)(http://www.simplemachines.org/community/Themes/smsite/images/star.gif)(http://www.simplemachines.org/community/Themes/smsite/images/star.gif)(http://www.simplemachines.org/community/Themes/smsite/images/star.gif) (http://www.simplemachines.org/community/index.php?action=post;topic=314443.0)
Comment this Mod (http://www.simplemachines.org/community/index.php?action=post;topic=314443.0)
(http://www.simplemachines.org/site_images/modtitlebar.png)(http://www.simplemachines.org/site_images/modtitlebar.png)(http://www.simplemachines.org/site_images/modtitlebar.png) (http://custom.simplemachines.org/mods/index.php?action=profile;u=148997)
My MODs (http://custom.simplemachines.org/mods/index.php?action=profile;u=148997)
(http://www.simplemachines.org/community/Themes/smsite/images/bbc/img.gif)(http://www.simplemachines.org/community/Themes/smsite/images/bbc/img.gif)(http://www.simplemachines.org/community/Themes/smsite/images/bbc/img.gif) (http://custom.simplemachines.org/mods/index.php?mod=1853)
Images (http://custom.simplemachines.org/mods/index.php?mod=1853)
(https://www.paypal.com/en_GB/i/btn/btn_donate_SM.gif) (https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4587421)Help support my MODs (https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4587421)

Features:


Note: Recommended this value should be no more than 255, is recommend a small value.

==========================

Languages (normal & utf-8)


$txt['xmlnews_maxnews'] = 'Maximum number XML/RSS news:<div class="smalltext">(Default to latest 5. Recommended no more than 255)</div>';

I welcome new translations here (http://www.simplemachines.org/community/index.php?action=post;topic=314443.0)

==========================

Características:


Nota: El valor no debe ser mayor a 255, es recomendable un valor pequeño.

Fin.
Title: Re: Maximum RSS News
Post by: ოկtђ on May 31, 2009, 01:12:23 PM
modification.turkish.php (turkish translate )

// MOD Maximum RSS News
$txt['xmlnews_maxnews'] = 'En fazla XML/RSS sayısı:<div class="smalltext">(Varsayılan 5 önerilen en fazla değer 250)</div>';)</div>';
Title: Re: Maximum RSS News
Post by: M-DVD on June 01, 2009, 12:39:55 AM
Quote from: Mythcomeback | Burak on May 31, 2009, 01:12:23 PM
modification.turkish.php (turkish translate )

// MOD Maximum RSS News
$txt['xmlnews_maxnews'] = 'En fazla XML/RSS sayısı:<div class="smalltext">(Varsayılan 5 önerilen en fazla değer 250)</div>';)</div>';


Thanks, your translation have been uploaded :D
Title: Re: Maximum RSS News
Post by: ოկtђ on June 01, 2009, 12:05:02 PM
Ok, thanks
Title: Re: Maximum RSS News
Post by: sombra on June 16, 2009, 11:06:37 PM
im using smf 2.0 rc1-1 and i have installed but wen i tell it show 20 news it only shows 5 like always what did i do wrong?
Title: Re: Maximum RSS News
Post by: M-DVD on June 16, 2009, 11:17:59 PM
Quote from: sombra on June 16, 2009, 11:06:37 PM
im using smf 2.0 rc1-1 and i have installed but wen i tell it show 20 news it only shows 5 like always what did i do wrong?

Looks good ::)

Displays 5: http://todoilegal.net/forum/?action=.xml;sa=recent;limit=5;type=rss
Displays 20: http://todoilegal.net/forum/?action=.xml;sa=recent;limit=20;type=rss
Displays 20: http://todoilegal.net/forum/?action=.xml;sa=recent;limit=999;type=rss
Title: Re: Maximum RSS News
Post by: sombra on June 17, 2009, 12:18:23 AM
ohh so if i want to see 20 y need to edit the link manualy?

i was just presing the firefox rss boton
Title: Re: Maximum RSS News
Post by: M-DVD on June 17, 2009, 01:09:52 AM
Quote from: sombra on June 17, 2009, 12:18:23 AM
ohh so if i want to see 20 y need to edit the link manualy?

i was just presing the firefox rss boton

Ok, if you press the firefox rss buttom, then you arenit set the limit.

Then SMF by default (not this MOD) set the limit to 5.

This MOD restricts the max limit.
Nobody will can set a limit (for example) to 1000, 100000, etc, but, the limit set for you.
Title: Re: Maximum RSS News
Post by: Sevgiformu.com on June 17, 2009, 09:23:38 AM
thank you .

very nice mod.
Title: Re: Maximum RSS News
Post by: sombra on June 17, 2009, 09:37:17 AM
i found this error in my log

: fopen(/home/xxx/xxx/Themes/default/languages/Modifications.spanish_latin.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied
Title: Re: Maximum RSS News
Post by: SilvioTO on June 19, 2009, 12:53:39 PM
Italian translation...

$txt['xmlnews_maxnews'] = 'Numero massimo di XML/RSS news:<div class="smalltext">(Predefinito le ultime 5. Raccomandato non piu\' di 255)</div>';
Title: Re: Maximum RSS News
Post by: M-DVD on June 21, 2009, 01:27:26 PM
Quote from: sombra on June 17, 2009, 09:37:17 AM
i found this error in my log

: fopen(/home/xxx/xxx/Themes/default/languages/Modifications.spanish_latin.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied


Ins't problem of this MOD.

A similar error occurs if you have activated the debbuger way, and, occasionally at times.

--

Quote from: Php Coder Turkish on June 17, 2009, 09:23:38 AM
thank you .

very nice mod.

Thanks for your comment :)

--

Quote from: SilvioTO on June 19, 2009, 12:53:39 PM
Italian translation...

$txt['xmlnews_maxnews'] = 'Numero massimo di XML/RSS news:<div class="smalltext">(Predefinito le ultime 5. Raccomandato non piu\' di 255)</div>';

Thanks for translate. Have been uploaded :)