News:

Wondering if this will always be free?  See why free is better.

Main Menu

Postbox Message

Started by Bulakbol, January 20, 2009, 12:44:54 AM

Previous topic - Next topic

Daniel0

Would be great for SMF2 and with a per-board and per-group setting.

Bulakbol

I may do that in the next update for version 1.1.7 though.  Thanks for the idea.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Marcus Forsberg

Swedish translation:

Help.swedish.php:


$helptxt['post_box_rows'] = 'Det här låter dig ändra höjden på meddelandeboxen.';
$helptxt['post_box_columns'] = 'Det här låter dig ändra bredden på meddelandeboxen.';
$helptxt['post_box_message'] = 'Ange det meddelande so mvisas för medlemmar när de skriver ett inlägg. Du kan använda bbkod och smileys.';
$helptxt['post_box_switch'] = 'Det här inaktiverar visningen av meddelanden i meddelandeboxen.';


Modifications.swedish.php:


$txt['post_box_rows'] = 'Höjd på meddelandeboxen';
$txt['post_box_rows_desc'] = 'Standard är 12 rader';
$txt['post_box_columns'] = 'Bredd på meddelandeboxen';
$txt['post_box_columns_desc'] = 'Standard är 96%.';
$txt['post_box_message'] = 'Ange meddelandet som visas för medlemmar';
$txt['post_box_message_desc'] = 'Du kan använda BBkod och smileys.';
$txt['post_box_switch'] = 'Inaktivera meddelandeboxen;
$txt['post_box_switch_desc'] = 'Göm meddelandet från författare.';

Bulakbol

Thanks Nas. I will update the mod today.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

wandawill

I got the same message. How did you fix it? thanks
Quote from: cleanfiles on January 23, 2009, 05:04:52 PM
Quote from: xrunner on January 23, 2009, 08:03:16 AM
Damn test failed! Any suggestions?

1.     Execute Modification     ./Sources/ManagePosts.php     Test successful
2.    Execute Modification    ./Sources/Subs-Post.php    Test successful
3.    Execute Modification    ./Themes/default/Admin.template.php    Test successful
4.    Execute Modification    ./Themes/default/Post.template.php    Test failed
5.    Execute Modification    ./Themes/default/languages/Help.english.php    Test successful
6.    Execute Modification    ./Themes/default/languages/Modifications.english.php    Test successful
7.    Execute Modification    ./Themes/default/languages/Help.english-utf8.php    Test successful
8.    Execute Modification    ./Themes/default/languages/Modifications.english-utf8.php    Test successful
I had the same result, I installed it anyway and modified the post.template.php manually its works fine m8.

Bulakbol

@wandawill
Apologies for the late reply. Do you still need help with the Post.template.php?
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

djaca

Greate mod...

I need help. How to put in quick reply?

Thanks...

Bulakbol

@djaca
In default/languages/index.english.php, find
$txt['quick_reply_2']
and replace the contents.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

[̲̅J̲̅][̲̅U̲̅][̲̅R̲̅][̲̅E̲̅][̲̅K̲̅] ٩(×̯×)۶

Hello! Can you please tell me how to change background color of Postbox in normal Reply? Its black on my forum (See 1st attach) And can you please post code that you used on this pic..i like your style on your postbox.. (See 2nd attach).. Thank you!

Bulakbol

#29
@Jurek
To change the background of the notice box, load the default/Post.template.php and look for
<td class="tborder" width="18%" height="', $context['post_box_rows'], '" valign="top" align="left" style="overflow: auto; padding: 4px; border: 1px solid red;">
replace with
Quote<td class="tborder" width="18%" height="', $context['post_box_rows'], '" valign="top" align="left" style="overflow: auto; padding: 4px; border: 1px solid red; background-color: yellow;">

Use the bulletin board codes (bbc). Here's your request.
[center][size=12pt][b]W a r n i n g[b][/size][hr][/center][list]
[li][color=blue]No double posting.[/color][/li]
[li][color=green]No flaming.[/color][/li]
[li][color=red]No Trolling.[/color][/li]
[li][color=purple]No fighting.[/color][/li]
[/list]
[center][color=red]Violators will be[br] prosecuted.

You are now warned.[/color]

[url=http://localhost/testboard/index.php/topic,314.0.html][u]Read the Rules[/u][/url][/center]


You can also use [br] instead of linebreak.
... [center][color=red]Violators will be[br] prosecuted.
[br][br]You are now warned.[/color] ...



/edited for spelling mistake.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

[̲̅J̲̅][̲̅U̲̅][̲̅R̲̅][̲̅E̲̅][̲̅K̲̅] ٩(×̯×)۶

OMG man..your a God :) thank you very much.. your mod rules :)

Bulakbol

Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

FragaCampos

Thanks a lot for this great mod :)

Here's the portuguese strings:

Quote<!-- default/languages/Help.portuguese.php -->
<file name="$languagedir/Help.portuguese.php">
      <operation>
         <search position="end" />
         <add><![CDATA[
$helptxt['post_box_rows'] = 'Esta op&ccedil;&atilde;o ir&aacute; alterar a altura por defeito da sua caixa de t&oacute;pico.';
$helptxt['post_box_columns'] = 'Esta op&ccedil;&atilde;o ir&aacute; alterar a largura por defeito da sua caixa de t&oacute;pico.';
$helptxt['post_box_message'] = 'Introduza a mensagem a mostrar aos utilizadores quando abrem um novo t&oacute;pico. Pode utilizar c&oacute;digo BBC e smileys.';
$helptxt['post_box_switch'] = 'Esta op&ccedil;&atilde;o ir&aacute; desactivar a exibi&ccedil;&atilde;o da mensagem na caixa de t&oacute;pico.';
]]></add>
      </operation>
   </file>
   
<!-- default/languages/Modifications.portuguese.php  -->
<file name="$languagedir/Modifications.portuguese.php">
      <operation>
         <search position="end" />
         <add><![CDATA[
$txt['post_box_rows'] = 'Nova altura da caixa de t&oacute;pico';
$txt['post_box_rows_desc'] = 'O valor pr&eacute;-definido s&atilde;o 12 linhas';
$txt['post_box_columns'] = 'Nova largura da caixa de t&oacute;pico';
$txt['post_box_columns_desc'] = 'O valor pr&eacute;-definido &eacute; 96%.';
$txt['post_box_message'] = 'Introduza a mensagem que quer ver exibida';
$txt['post_box_message_desc'] = 'Pode utilizar c&oacute;digo BBC e smileys';
$txt['post_box_switch'] = 'Desactivar a mensagem da caixa de t&oacute;pico';
$txt['post_box_switch_desc'] = 'Esconder a mensagem dos utilizadores';
]]></add>
      </operation>
   </file>


It would be great if in a future release we could choose the boards in which to show the box, from the admin panel instead of manually edit the Post.template.php.
Anyway, it works perfectly just the way it is  ;)

Bulakbol

@FragaCampos
Thanks for the language translation. I'll add them to the next update/version. I will add the board id text box to where the message will appear as well.

Thanks guys for the suggestion.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

S3NTYN3L

How about the option to have it show for users under a certain (configurable) postcount?

Bulakbol

Maybe by group. I don't have time to update my mods yet though. Thanks for the suggestion.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

technica

While installing it on SMF 1.1.11 I get error "The package you are trying to download or install is either corrupt or not compatible with this version of SMF."
Programming and Webmaster Forum - AdSense Revenue Sharing Forum
Online Magazine

pinoypetfinder

any update bulakbol?
or, technica have you tried installing the mod manually? might work?

Bruno36

an update is scheduled for SMF 2.0 RC3 ?
Bruno36 the French
SMF 2.0.9

Laza

Can you please update this mod for SMF 2.0 RC4  :)

Advertisement: