Maximum RSS News

Started by M-DVD, May 31, 2009, 07:56:16 AM

Previous topic - Next topic

M-DVD

Link to Mod




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






  • Autor:
M-DVD
  • Version:
1.0
  • Release:
24th May 2009
  • Languages:
  • Compatible With:
SMF 1.1.1 - 1.1.9
SMF 2 Beta 3 & 4 & RC1-1




Comment this Mod
My MODs
Images
Help support my MODs

Features:

  • With this MOD you can set the Maximum number XML/RSS news (moreover prevent bandwidth abuse).

    Admin > Main > News and newsletters > Settings

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

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

Características:

  • Con este MOD podrás configurar el máximo número de Noticias XML/RSS que podrán ser leídas por petición (además previene abuso de ancho de banda).

    Administración > Controles del Foro > Noticias y Boletines > Configuración

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

Fin.

ოկtђ

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>';

M-DVD

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

ოկtђ


sombra

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?

M-DVD

#5
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

sombra

ohh so if i want to see 20 y need to edit the link manualy?

i was just presing the firefox rss boton

M-DVD

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.

Sevgiformu.com

thank you .

very nice mod.

sombra

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

SilvioTO

Italian translation...

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

M-DVD

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 :)

Advertisement: