Advertisement:

Author Topic: Personal Message (PM) Warning  (Read 13707 times)

Offline Mr. Pedram

  • Full Member
  • ***
  • Posts: 591
  • Gender: Male
  • SMF MOD Developer
    • LinkinParkPersianFans on Facebook
    • @LPFans_Ir on Twitter
    • Linkin Park Persian Website
Personal Message (PM) Warning
« on: March 26, 2013, 12:41:21 PM »
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
« Last Edit: May 17, 2013, 10:46:07 AM by Mr. Pedram »
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...

Offline johnpaul2k2

  • Sr. Member
  • ****
  • Posts: 738
  • Gender: Male
  • Okija amaka
    • Mgbenka
Re: Personal Message (PM) Warning
« Reply #1 on: March 26, 2013, 03:34:02 PM »
working perfectly ok

i have been looking for this mod  :D



i pray to have my own mod soon

Congrats for this

Offline Mr. Pedram

  • Full Member
  • ***
  • Posts: 591
  • Gender: Male
  • SMF MOD Developer
    • LinkinParkPersianFans on Facebook
    • @LPFans_Ir on Twitter
    • Linkin Park Persian Website
Re: Personal Message (PM) Warning
« Reply #2 on: March 26, 2013, 04:07:47 PM »
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...

Offline johnpaul2k2

  • Sr. Member
  • ****
  • Posts: 738
  • Gender: Male
  • Okija amaka
    • Mgbenka
Re: Personal Message (PM) Warning
« Reply #3 on: March 27, 2013, 05:19:54 PM »
this is not showing on my wap2

any solution??

Offline Mr. Pedram

  • Full Member
  • ***
  • Posts: 591
  • Gender: Male
  • SMF MOD Developer
    • LinkinParkPersianFans on Facebook
    • @LPFans_Ir on Twitter
    • Linkin Park Persian Website
Re: Personal Message (PM) Warning
« Reply #4 on: March 27, 2013, 06:20:16 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...

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: Personal Message (PM) Warning
« Reply #5 on: March 27, 2013, 06:36:32 PM »
WAP/WAP2 etc. have all of their own templates that you'd have to modify (Wireless.template.php)
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Mr. Pedram

  • Full Member
  • ***
  • Posts: 591
  • Gender: Male
  • SMF MOD Developer
    • LinkinParkPersianFans on Facebook
    • @LPFans_Ir on Twitter
    • Linkin Park Persian Website
Re: Personal Message (PM) Warning
« Reply #6 on: March 28, 2013, 09:32:35 AM »
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...

Offline johnpaul2k2

  • Sr. Member
  • ****
  • Posts: 738
  • Gender: Male
  • Okija amaka
    • Mgbenka
Re: Personal Message (PM) Warning
« Reply #7 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???

Offline ApplianceJunk

  • SMF Hero
  • ******
  • Posts: 3,491
    • ApplianceJunk.com
Re: Personal Message (PM) Warning
« Reply #8 on: March 28, 2013, 10:24:07 AM »
Interesting, I may be able to put this to use.

Thanks,

Offline Mr. Pedram

  • Full Member
  • ***
  • Posts: 591
  • Gender: Male
  • SMF MOD Developer
    • LinkinParkPersianFans on Facebook
    • @LPFans_Ir on Twitter
    • Linkin Park Persian Website
Re: Personal Message (PM) Warning
« Reply #9 on: March 28, 2013, 12:16:14 PM »
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:

Code: [Select]
<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:

Code: [Select]
<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...

Offline johnpaul2k2

  • Sr. Member
  • ****
  • Posts: 738
  • Gender: Male
  • Okija amaka
    • Mgbenka
Re: Personal Message (PM) Warning
« Reply #10 on: March 28, 2013, 03:58:43 PM »
it's ok now

working wella

Offline Mr. Pedram

  • Full Member
  • ***
  • Posts: 591
  • Gender: Male
  • SMF MOD Developer
    • LinkinParkPersianFans on Facebook
    • @LPFans_Ir on Twitter
    • Linkin Park Persian Website
Re: Personal Message (PM) Warning
« Reply #11 on: March 28, 2013, 04:14:08 PM »
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...

Offline Mick.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,077
  • Gender: Male
    • idesignSMF on Facebook
    • @idesign360 on Twitter
    • idesignSMF.com
Re: Personal Message (PM) Warning
« Reply #12 on: March 28, 2013, 05:20:15 PM »
Not bad. I like ;)

Offline Mr. Pedram

  • Full Member
  • ***
  • Posts: 591
  • Gender: Male
  • SMF MOD Developer
    • LinkinParkPersianFans on Facebook
    • @LPFans_Ir on Twitter
    • Linkin Park Persian Website
Re: Personal Message (PM) Warning
« Reply #13 on: March 29, 2013, 06:51:40 AM »
Interesting, I may be able to put this to use.

Thanks,

Your Welcome my friend  :)

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...

Offline Colin

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,879
  • Gender: Male
  • SMF Developer
    • colinschoen on GitHub
Re: Personal Message (PM) Warning
« Reply #14 on: May 17, 2013, 02:39:30 AM »
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

Offline Mr. Pedram

  • Full Member
  • ***
  • Posts: 591
  • Gender: Male
  • SMF MOD Developer
    • LinkinParkPersianFans on Facebook
    • @LPFans_Ir on Twitter
    • Linkin Park Persian Website
Re: Personal Message (PM) Warning
« Reply #15 on: May 17, 2013, 10:43:44 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...

Offline Colin

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,879
  • Gender: Male
  • SMF Developer
    • colinschoen on GitHub
Re: Personal Message (PM) Warning
« Reply #16 on: May 17, 2013, 11:36:42 AM »
Sure thing.
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

Offline littlenicki

  • Jr. Member
  • **
  • Posts: 195
Re: Personal Message (PM) Warning
« Reply #17 on: September 26, 2013, 10:46:36 AM »
Will this mod also work with with SMF 1.1. when manually installed?
Fomer SMF user. Switched to Invision Power Board and VBulletin

Offline Mr. Pedram

  • Full Member
  • ***
  • Posts: 591
  • Gender: Male
  • SMF MOD Developer
    • LinkinParkPersianFans on Facebook
    • @LPFans_Ir on Twitter
    • Linkin Park Persian Website
Re: Personal Message (PM) Warning
« Reply #18 on: May 01, 2014, 07:35:34 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...

Offline PLAYBOY

  • SMF Hero
  • ******
  • Posts: 2,065
  • Livephotoshop.com & Lullabyabc.com
    • Lullabies and Us
Re: Personal Message (PM) Warning
« Reply #19 on: March 11, 2016, 04:14:59 AM »
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