Caricamento...
Nascondi Eventi overall_header_head_append overall_header_stylesheets_after overall_header_body_before
overall_header_page_body_before
overall_header_content_before

viewtopic_topic_title_prependMinimum Topics to Read Messageviewtopic_topic_title_append

Specific support for my extension "Minimum Topics to Read Message" This forum include support, request and bug tracker.
(Supporto specifico per la mia estensione "Minimum Topics to Read Message". In questo forum si può anche segnalare bug e fare richieste, oltre al supporto)
viewtopic_buttons_top_before Rispondi viewtopic_buttons_top_after
viewtopic_body_postrow_post_before
viewtopic_body_avatar_before Avatar utente viewtopic_body_avatar_after
brunino
Site Admin
Messaggi: 665
Iscritto il: dom nov 02, 2014 7:21 pm
viewtopic_body_postrow_custom_fields_before
Has thanked: 2 times
Been thanked: 57 times
viewtopic_body_postrow_custom_fields_after viewtopic_body_contact_fields_before viewtopic_body_contact_fields_after

Minimum Topics to Read Message

    viewtopic_body_post_buttons_before
  • Cita
  • viewtopic_body_post_buttons_after

Messaggio da leggereda brunino » sab dic 26, 2015 11:10 am

english

NAME: Minimum Topics to Read Message
DESCRIPTION: It adds a new bbcode [limit=xyz]text[/limit] who hide text to guests and users who have posted less than xyz topics
Immagine
INSTALLATION: copy files on forum_root/ext/bruninoit/mtrm
DEMO: topic demo
AUTHORS: brunino
REPOSITORY: https://github.com/bruninoit/mtrm

italiano

NOME: Minimum Topics to Read Message
DESCRIZIONE: Aggiunge un BBcode [limite=xyz]messaggio[/limite] che mostra il messaggio solo a coloro che che hanno inviato xyz topic
Immagine
INSTALLAZIONE: caricare nella cartella ext/bruninoit/mtrm
DEMO: topic demo
AUTORI: brunino
REPOSITORY: https://github.com/bruninoit/mtrm
viewtopic_body_postrow_post_notices_before
viewtopic_body_postrow_post_notices_after
viewtopic_body_postrow_post_content_footer

viewtopic_body_postrow_post_after viewtopic_body_postrow_post_before
viewtopic_body_avatar_before Avatar utente viewtopic_body_avatar_after
BF79
DONATORE
Messaggi: 46
Iscritto il: gio dic 24, 2015 7:27 pm
viewtopic_body_postrow_custom_fields_before
Has thanked: 4 times
Been thanked: 1 time
viewtopic_body_postrow_custom_fields_after viewtopic_body_contact_fields_before viewtopic_body_contact_fields_after

Re: Minimum Topics to Read Message

    viewtopic_body_post_buttons_before
  • Cita
  • viewtopic_body_post_buttons_after

Messaggio da leggereda BF79 » dom dic 27, 2015 5:45 pm

great!!!

thank you... I will try it right now!!
viewtopic_body_postrow_post_notices_before
viewtopic_body_postrow_post_notices_after
viewtopic_body_postrow_post_content_footer

viewtopic_body_postrow_post_after viewtopic_body_postrow_post_before
viewtopic_body_avatar_before Avatar utente viewtopic_body_avatar_after
BF79
DONATORE
Messaggi: 46
Iscritto il: gio dic 24, 2015 7:27 pm
viewtopic_body_postrow_custom_fields_before
Has thanked: 4 times
Been thanked: 1 time
viewtopic_body_postrow_custom_fields_after viewtopic_body_contact_fields_before viewtopic_body_contact_fields_after

Re: Minimum Topics to Read Message

    viewtopic_body_post_buttons_before
  • Cita
  • viewtopic_body_post_buttons_after

Messaggio da leggereda BF79 » dom dic 27, 2015 5:59 pm

what is bbcode in post ?? should I write manualy exp: [limit=5]text[/limit]
viewtopic_body_postrow_post_notices_before
viewtopic_body_postrow_post_notices_after
viewtopic_body_postrow_post_content_footer

viewtopic_body_postrow_post_after viewtopic_body_postrow_post_before
viewtopic_body_avatar_before Avatar utente viewtopic_body_avatar_after
brunino
Site Admin
Messaggi: 665
Iscritto il: dom nov 02, 2014 7:21 pm
viewtopic_body_postrow_custom_fields_before
Has thanked: 2 times
Been thanked: 57 times
viewtopic_body_postrow_custom_fields_after viewtopic_body_contact_fields_before viewtopic_body_contact_fields_after

Re: Minimum Topics to Read Message

    viewtopic_body_post_buttons_before
  • Cita
  • viewtopic_body_post_buttons_after

Messaggio da leggereda brunino » dom dic 27, 2015 6:28 pm

Yes
viewtopic_body_postrow_post_notices_before
viewtopic_body_postrow_post_notices_after
viewtopic_body_postrow_post_content_footer

viewtopic_body_postrow_post_after viewtopic_body_postrow_post_before
viewtopic_body_avatar_before Avatar utente viewtopic_body_avatar_after
BF79
DONATORE
Messaggi: 46
Iscritto il: gio dic 24, 2015 7:27 pm
viewtopic_body_postrow_custom_fields_before
Has thanked: 4 times
Been thanked: 1 time
viewtopic_body_postrow_custom_fields_after viewtopic_body_contact_fields_before viewtopic_body_contact_fields_after

Re: Minimum Topics to Read Message

    viewtopic_body_post_buttons_before
  • Cita
  • viewtopic_body_post_buttons_after

Messaggio da leggereda BF79 » dom dic 27, 2015 8:13 pm

I want to add 2 langages more !! like this ?

'NOT_ENOUGH' => '<b>This content is reserved to users who send at least %d topics, you have sent only %d topics.</b><br/>
portuguese langage <br/>
russian langage <br/>',

));
viewtopic_body_postrow_post_notices_before
viewtopic_body_postrow_post_notices_after
viewtopic_body_postrow_post_content_footer

viewtopic_body_postrow_post_after viewtopic_body_postrow_post_before
viewtopic_body_avatar_before Avatar utente viewtopic_body_avatar_after
brunino
Site Admin
Messaggi: 665
Iscritto il: dom nov 02, 2014 7:21 pm
viewtopic_body_postrow_custom_fields_before
Has thanked: 2 times
Been thanked: 57 times
viewtopic_body_postrow_custom_fields_after viewtopic_body_contact_fields_before viewtopic_body_contact_fields_after

Re: Minimum Topics to Read Message

    viewtopic_body_post_buttons_before
  • Cita
  • viewtopic_body_post_buttons_after

Messaggio da leggereda brunino » dom dic 27, 2015 9:14 pm

It dipends... If a user is registered on registration had choosen his language, no?
viewtopic_body_postrow_post_notices_before
viewtopic_body_postrow_post_notices_after
viewtopic_body_postrow_post_content_footer

viewtopic_body_postrow_post_after viewtopic_body_postrow_post_before
viewtopic_body_avatar_before Avatar utente viewtopic_body_avatar_after
BF79
DONATORE
Messaggi: 46
Iscritto il: gio dic 24, 2015 7:27 pm
viewtopic_body_postrow_custom_fields_before
Has thanked: 4 times
Been thanked: 1 time
viewtopic_body_postrow_custom_fields_after viewtopic_body_contact_fields_before viewtopic_body_contact_fields_after

Re: Minimum Topics to Read Message

    viewtopic_body_post_buttons_before
  • Cita
  • viewtopic_body_post_buttons_after

Messaggio da leggereda BF79 » dom dic 27, 2015 11:22 pm

brunino ha scritto:It dipends... If a user is registered on registration had choosen his language, no?

no I mean... I edit just default english langage and I add this lines.. so members will read all.. en pr and ru
viewtopic_body_postrow_post_notices_before
viewtopic_body_postrow_post_notices_after
viewtopic_body_postrow_post_content_footer

viewtopic_body_postrow_post_after viewtopic_body_postrow_post_before
viewtopic_body_avatar_before Avatar utente viewtopic_body_avatar_after
BF79
DONATORE
Messaggi: 46
Iscritto il: gio dic 24, 2015 7:27 pm
viewtopic_body_postrow_custom_fields_before
Has thanked: 4 times
Been thanked: 1 time
viewtopic_body_postrow_custom_fields_after viewtopic_body_contact_fields_before viewtopic_body_contact_fields_after

Re: Minimum Topics to Read Message

    viewtopic_body_post_buttons_before
  • Cita
  • viewtopic_body_post_buttons_after

Messaggio da leggereda BF79 » lun dic 28, 2015 12:00 am

first test !!

'NOT_ENOUGH' => '<b>This content is reserved to users who send at least %d topics, you have sent only %d topics.</br>
Este conteúdo é reservado para usuários que enviam pelo menos %d tópicos, você enviou apenas %d tópicos</b>',
));


I got error in top of page of my forum... the forum worked but with those line
[phpBB Debug] PHP Warning: in file [ROOT]/ext/bruninoit/mtrm/event/listener.php on line 89: sprintf(): Too few arguments
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 537: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 538: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 537: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/ext/sniper/mobiledevice/event/listener.php on line 538: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5277: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5277: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5277: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3903)


===============
edited extension again to restore it... and error gone..

=============
the second test


[limit=5]
[hide] link [/hide]
[/limit]

only the hide bbcode worked
viewtopic_body_postrow_post_notices_before
viewtopic_body_postrow_post_notices_after
viewtopic_body_postrow_post_content_footer

viewtopic_body_postrow_post_after viewtopic_body_postrow_post_before
viewtopic_body_avatar_before Avatar utente viewtopic_body_avatar_after
brunino
Site Admin
Messaggi: 665
Iscritto il: dom nov 02, 2014 7:21 pm
viewtopic_body_postrow_custom_fields_before
Has thanked: 2 times
Been thanked: 57 times
viewtopic_body_postrow_custom_fields_after viewtopic_body_contact_fields_before viewtopic_body_contact_fields_after

Re: Minimum Topics to Read Message

    viewtopic_body_post_buttons_before
  • Cita
  • viewtopic_body_post_buttons_after

Messaggio da leggereda brunino » lun dic 28, 2015 7:59 am

For languages I remember only now that you can use %d only 1 time. Remove it from other language.

For the second test bho... It dipends how the hide bbcode extension work... I'll see
viewtopic_body_postrow_post_notices_before
viewtopic_body_postrow_post_notices_after
viewtopic_body_postrow_post_content_footer

viewtopic_body_postrow_post_after viewtopic_body_postrow_post_before
viewtopic_body_avatar_before Avatar utente viewtopic_body_avatar_after
BF79
DONATORE
Messaggi: 46
Iscritto il: gio dic 24, 2015 7:27 pm
viewtopic_body_postrow_custom_fields_before
Has thanked: 4 times
Been thanked: 1 time
viewtopic_body_postrow_custom_fields_after viewtopic_body_contact_fields_before viewtopic_body_contact_fields_after

Re: Minimum Topics to Read Message

    viewtopic_body_post_buttons_before
  • Cita
  • viewtopic_body_post_buttons_after

Messaggio da leggereda BF79 » lun dic 28, 2015 12:21 pm

thanks I will try !!
viewtopic_body_postrow_post_notices_before
viewtopic_body_postrow_post_notices_after
viewtopic_body_postrow_post_content_footer

viewtopic_body_postrow_post_after

viewtopic_body_topic_actions_before
viewtopic_buttons_bottom_before Rispondi viewtopic_buttons_bottom_after

Chi ha visto questo topic

brunino (26), lordofflies (2), Peralta (2), ozzi (1), BF79 (18), nextgen (1), RTI kartname (2), snide (2), Potku (1)

viewtopic_body_footer_before

Torna a “Minimum Topics to Read Message”

Chi c’è in linea

Visitano il forum: Nessuno e 1 ospite

overall_footer_content_after
  • Argomenti più visti
    Top Poster
    Ultimi Post
overall_footer_page_body_after
cron
overall_footer_after

Login