News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Personal Message (PM) Warning

Started by Mr. Pedram, March 26, 2013, 12:41:21 PM

Previous topic - Next topic

Mr. Pedram

Link to Mod

Personal Message (PM) Warning v1.0
Add a warning note to Personal Message!

Compatibility
SMF 2.0

Changelog
(v2.0 update: 29 March 2013)
* Support WAP2
* Permissions setting added

Mod by: Mr. Pedram


This mod is licensed under a CC BY-NC-ND 3.0
My Modifications:
» Loading For SMF
» Buddies Block
» Redirect Links
» Birthdate On Registration
» PM Warning
» Instagram
» Add Table,Td,Tr Button
» Search Topic & Board Button
Browse All...

johnpaul2k2

working perfectly ok

i have been looking for this mod  :D



i pray to have my own mod soon

Congrats for this

Mr. Pedram

Thanks johnpaul2k2
Hope to see you'r first mod soon :)
My Modifications:
» Loading For SMF
» Buddies Block
» Redirect Links
» Birthdate On Registration
» PM Warning
» Instagram
» Add Table,Td,Tr Button
» Search Topic & Board Button
Browse All...

johnpaul2k2

this is not showing on my wap2

any solution??

Mr. Pedram

Quote from: johnpaul2k2 on March 27, 2013, 05:19:54 PM
this is not showing on my wap2

any solution??

Hmm.. i will try it with new update.
My Modifications:
» Loading For SMF
» Buddies Block
» Redirect Links
» Birthdate On Registration
» PM Warning
» Instagram
» Add Table,Td,Tr Button
» Search Topic & Board Button
Browse All...

Arantor

WAP/WAP2 etc. have all of their own templates that you'd have to modify (Wireless.template.php)

Mr. Pedram

Quote from: johnpaul2k2 on March 27, 2013, 05:19:54 PM
this is not showing on my wap2

any solution??

MOD updated with support Wap2 ;)
My Modifications:
» Loading For SMF
» Buddies Block
» Redirect Links
» Birthdate On Registration
» PM Warning
» Instagram
» Add Table,Td,Tr Button
» Search Topic & Board Button
Browse All...

johnpaul2k2

worked but it is appearing twice

i mean the message warning. maybe there is a code we added 2 times???

ApplianceJunk

Interesting, I may be able to put this to use.

Thanks,

Mr. Pedram

Quote from: johnpaul2k2 on March 28, 2013, 10:16:36 AM
worked but it is appearing twice

i mean the message warning. maybe there is a code we added 2 times???

One for wap, other one for wap2
works fine for me (see screenshot)
Anyway, for now until i fix this issue, reinstall the mod,then Open Wireless.template.php

Find:

<tr bgcolor="#6d92aa"><td><font color="#ffffff">', $txt['new_message'], '</tr></td>', empty($context['post_error']['messages']) ? '' : '';
//PM Warning WAP
if (!empty($modSettings['pmwarning_enable']) && !empty($modSettings['pmwarning'])){
$modSettings['pmwarning'] = parse_bbc($modSettings['pmwarning']);
echo '
<p class="pmwarning">', $modSettings['pmwarning'], '</p>';
}
echo'


Replace With:

<tr bgcolor="#6d92aa"><td><font color="#ffffff">', $txt['new_message'], '</tr></td>', empty($context['post_error']['messages']) ? '' : '


...

can someone test the new version, and get us a feedback for this issue?
My Modifications:
» Loading For SMF
» Buddies Block
» Redirect Links
» Birthdate On Registration
» PM Warning
» Instagram
» Add Table,Td,Tr Button
» Search Topic & Board Button
Browse All...


Mr. Pedram

I've updated MOD a few minutes ago, WAP issue solved and permissions setting added.
NJoy
My Modifications:
» Loading For SMF
» Buddies Block
» Redirect Links
» Birthdate On Registration
» PM Warning
» Instagram
» Add Table,Td,Tr Button
» Search Topic & Board Button
Browse All...

Mick.


Mr. Pedram

Quote from: ApplianceJunk on March 28, 2013, 10:24:07 AM
Interesting, I may be able to put this to use.

Thanks,

Your Welcome my friend  :)

Quote from: Mick. on March 28, 2013, 05:20:15 PM
Not bad. I like ;)

Thanks  ;)
My Modifications:
» Loading For SMF
» Buddies Block
» Redirect Links
» Birthdate On Registration
» PM Warning
» Instagram
» Add Table,Td,Tr Button
» Search Topic & Board Button
Browse All...

Colin

It looks like your mod preview images are bad links now.
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

Mr. Pedram

Quote from: Colin on May 17, 2013, 02:39:30 AM
It looks like your mod preview images are bad links now.

Damn upload center, they removed my images..
anyway, , re-uploaded.
Thanks for that Colin.
My Modifications:
» Loading For SMF
» Buddies Block
» Redirect Links
» Birthdate On Registration
» PM Warning
» Instagram
» Add Table,Td,Tr Button
» Search Topic & Board Button
Browse All...

Colin

"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

littlenicki

Will this mod also work with with SMF 1.1. when manually installed?
Fomer SMF user. Switched to Invision Power Board and VBulletin

Mr. Pedram

Quote from: littlenicki on September 26, 2013, 10:46:36 AM
Will this mod also work with with SMF 1.1. when manually installed?

it's too late, but the answer is: No
for future questions!
My Modifications:
» Loading For SMF
» Buddies Block
» Redirect Links
» Birthdate On Registration
» PM Warning
» Instagram
» Add Table,Td,Tr Button
» Search Topic & Board Button
Browse All...

PLAYBOY

Is there anyway to set this for a specific member group only? Because I want this to be visible only when they`re sending a PM to Admins

Advertisement: