[2.0.17] Message Can

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
3
43%
Very Good
2
29%
Good
1
14%
Fair
0
No votes
Poor
1
14%
 
Total votes: 7

Extensions Robot
Extensions Robot
Extensions Robot
Posts: 29165
Joined: Sat Aug 16, 2003 7:36 am

[2.0.17] Message Can

Post by Extensions Robot »

MOD Name: Message Can
Author: buweichiu
MOD Description: This MOD allows you prepare some message for users to use when they're posting or sending private messages.


MOD Version: 1.0.5

Download File: MessageCan_1_0_5a.zip
mods overview page: View
File Size: 18339 Bytes

Security Score: 0
Last edited by Extensions Robot on Mon Apr 30, 2007 12:29 am, edited 1 time in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)
ycl6
Translator
Posts: 5696
Joined: Sat Feb 15, 2003 10:35 am
Location: Taiwan
Contact:

Post by ycl6 »

MOD Validated/Released

Notes:
With this MOD, admins can prepare some messages in ACP, which allows your users to use them during posting or writting private messages.
Americas Reject
Registered User
Posts: 126
Joined: Thu Jan 13, 2005 3:24 am

Post by Americas Reject »

Nice mod! thanks!
una
Registered User
Posts: 21
Joined: Sun Jul 17, 2005 6:56 pm

Post by una »

Any differences to "canned message" mod?
bugfixed
Registered User
Posts: 101
Joined: Sun Apr 04, 2004 2:57 am
Location: Turkey
Name: Murat
Contact:

Post by bugfixed »

thanks .
User avatar
B€RN@RD
Registered User
Posts: 91
Joined: Mon Dec 30, 2002 10:25 am
Location: chateauvieux / france

Post by B€RN@RD »

hello,

which modifications could be done to this mod to enable theses messages only for the admin of the board

many thanks

best regards

b€rn@rd
zeropoint
Registered User
Posts: 8
Joined: Fri Jul 02, 2004 4:40 am
Location: Holland
Contact:

Post by zeropoint »

Hi!

I have installed Message Can mod, everything went good but.... I see only default message while I have made few message in ACP. In dropdown menu I see the titles of the message but no message except default message:

Message Can: A lot of message to use.

Can anyone help me, please?

Thanks in advance.
User avatar
buweichiu
Registered User
Posts: 23
Joined: Mon Sep 20, 2004 1:39 pm

Post by buweichiu »

Is there any error message when you're posting meesages in ACP?
zeropoint
Registered User
Posts: 8
Joined: Fri Jul 02, 2004 4:40 am
Location: Holland
Contact:

Post by zeropoint »

buweichiu thanks for your response.

No in ACP I didn't get any error message.

This is my posting_body.tpl.
<tr>
<td><span class="genmed"> &nbsp;{L_FONT_COLOR}:
<select name="addbbcode18" onChange="bbfontstyle('[color=' + this.form.addbbcodefontcolor.options[this.form.addbbcodefontcolor.selectedIndex].value + ']', '[/color]');this.selectedIndex=0;" onMouseOver="helpline('s')">
<option style="color:black; background-color: {T_TD_COLOR1}" value="{T_FONTCOLOR1}" class="genmed">{L_COLOR_DEFAULT}</option>
<option style="color:darkred; background-color: {T_TD_COLOR1}" value="darkred" class="genmed">{L_COLOR_DARK_RED}</option>
<option style="color:red; background-color: {T_TD_COLOR1}" value="red" class="genmed">{L_COLOR_RED}</option>
<option style="color:orange; background-color: {T_TD_COLOR1}" value="orange" class="genmed">{L_COLOR_ORANGE}</option>
<option style="color:brown; background-color: {T_TD_COLOR1}" value="brown" class="genmed">{L_COLOR_BROWN}</option>
<option style="color:yellow; background-color: {T_TD_COLOR1}" value="yellow" class="genmed">{L_COLOR_YELLOW}</option>
<option style="color:green; background-color: {T_TD_COLOR1}" value="green" class="genmed">{L_COLOR_GREEN}</option>
<option style="color:olive; background-color: {T_TD_COLOR1}" value="olive" class="genmed">{L_COLOR_OLIVE}</option>
<option style="color:cyan; background-color: {T_TD_COLOR1}" value="cyan" class="genmed">{L_COLOR_CYAN}</option>
<option style="color:blue; background-color: {T_TD_COLOR1}" value="blue" class="genmed">{L_COLOR_BLUE}</option>
<option style="color:darkblue; background-color: {T_TD_COLOR1}" value="darkblue" class="genmed">{L_COLOR_DARK_BLUE}</option>
<option style="color:indigo; background-color: {T_TD_COLOR1}" value="indigo" class="genmed">{L_COLOR_INDIGO}</option>
<option style="color:violet; background-color: {T_TD_COLOR1}" value="violet" class="genmed">{L_COLOR_VIOLET}</option>
<option style="color:white; background-color: {T_TD_COLOR1}" value="white" class="genmed">{L_COLOR_WHITE}</option>
<option style="color:black; background-color: {T_TD_COLOR1}" value="black" class="genmed">{L_COLOR_BLACK}</option>
</select> &nbsp;{L_FONT_SIZE}:<select name="addbbcodefontsize" onChange="bbfontstyle('[size=' + this.form.addbbcodefontsize.options[this.form.addbbcodefontsize.selectedIndex].value + ']', '[/size]')" onMouseOver="helpline('f')">
<option value="7" class="genmed">{L_FONT_TINY}</option>
<option value="9" class="genmed">{L_FONT_SMALL}</option>
<option value="12" selected class="genmed">{L_FONT_NORMAL}</option>
<option value="18" class="genmed">{L_FONT_LARGE}</option>
<option value="24" class="genmed">{L_FONT_HUGE}</option>
</select>
&nbsp; {L_MESSAGECAN}:<select name="addbbcode22" onChange="emoticon(this.form.addbbcode22.options[this.form.addbbcode22.selectedIndex].value);this.selectedIndex=0;" onMouseOver="helpline('messagecan')">
<option value="" class="genmed">{L_MESSAGECAN_DEFAULT}</option>
<!-- BEGIN messagecan -->
<option value="{messagecan.MESSAGE_TEXT}" class="genmed">{messagecan.MESSAGE_TITLE}</option>
<!-- END messagecan -->
</select>

</span></td>
<td nowrap="nowrap" align="right"><span class="gensmall"><a href="javascript:bbstyle(-1)" class="genmed" onMouseOver="helpline('a')">{L_BBCODE_CLOSE_TAGS}</a></span></td>
</tr>


in posting_body.tpl I could not find ....
#
#-----[ FIND ]------------------------------------------
#
{L_FONT_SIZE}:<select name="addbbcode20" onChange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]')" onMouseOver="helpline('f')">


Rest all the files are perfectly moded, SQL was successfully done. (I always test all mods first on my local machine)

Any idea where I have made a mistake?

Thanks.
User avatar
buweichiu
Registered User
Posts: 23
Joined: Mon Sep 20, 2004 1:39 pm

Post by buweichiu »

It seems it's good about template.

Check DB for messages you posted in table phpbb_message.

If there's NO messages you posted, means there's something wrong about admin_messagecan.php(possibly like a bug or ...)

If they are exist in table, the problem of this is in posting.php.
zeropoint
Registered User
Posts: 8
Joined: Fri Jul 02, 2004 4:40 am
Location: Holland
Contact:

Post by zeropoint »

buweichiu I have checked in DB in table phpbb_message and found all messages, that means no bug in admin_messagecan.php, I'll check posting.php if I have made any mistake.

Greetings.
IgnorantNewGuy
Registered User
Posts: 452
Joined: Thu Jul 14, 2005 9:27 pm

Where is it?

Post by IgnorantNewGuy »

I downloaded using easyMod. It worked.

But I can't find the template where I - or the users? - create the message?

Thx,
Scott 8)
zeropoint
Registered User
Posts: 8
Joined: Fri Jul 02, 2004 4:40 am
Location: Holland
Contact:

Re: Where is it?

Post by zeropoint »

Hi Scott,

To create messages please go to ACP and under General Admin you will see Message Can :) .
IgnorantNewGuy
Registered User
Posts: 452
Joined: Thu Jul 14, 2005 9:27 pm

Thx

Post by IgnorantNewGuy »

But it's not there in the ACP.

I'll try reinstalling the MOD and see what I get.

Thx.
Scott 8)
User avatar
buweichiu
Registered User
Posts: 23
Joined: Mon Sep 20, 2004 1:39 pm

Post by buweichiu »

Check admin_messagecan.php in admin folder. ;)
Post Reply

Return to “[2.0.x] MOD Database Releases”