Author Topic: Number of PMS a user may send in an hour. Need it disabled. How to do it?  (Read 1355 times)

0 Members and 1 Guest are viewing this topic.

Offline Trulyana

  • Full Member
  • *
  • Posts: 211
  • Karma: 5
  • Gender: Female
  • SMF Version: 1.1.5
How would you go about disabling the following setting, to go in accordance with membergroups PM limitations?
 
Admin>Configuration>features and options>basic features>Number of personal messages a user may send in an hour> I put one, which means users can send private messages within the next hour. If I put 0, it means anyone can send any number of messages at any time. How would i cancel this setting?
 
You see, I've changed the Private message limitations according to membergroups. New users start off, only allowed to send 1 private message for all time, until they reach 50 posts, then they have the opportunity to send 5. The list continues as users contribute more, and their membership has more priviliges. This has already been modified in membergroups. All I need now, is for it to work as the main setting in basic features is still allowing new users to send more than 1 pm, but within the next hour.
 

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13215
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
So you want it so they can only send one in total or one per hour. ???

Offline Trulyana

  • Full Member
  • *
  • Posts: 211
  • Karma: 5
  • Gender: Female
  • SMF Version: 1.1.5
So you want it so they can only send one in total or one per hour. ???

One in total, for new users. It changes when users reach 50 posts, and raises when they gain more posts etc.

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13215
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
I don't think there is a way unless a code change or mod was made.

Offline Trulyana

  • Full Member
  • *
  • Posts: 211
  • Karma: 5
  • Gender: Female
  • SMF Version: 1.1.5
I don't think there is a way unless a code change or mod was made.

So, this clashes with the membergroups maximum pms sent configuration. It's useful if the admin wants to stop a stream of pms being sent within the hour, but it doesn't help if a user just signs up to send spam pms to other users, and beats the purpose of membergroup priviliges.
 
How would i go about disabling or changing this setting? Where would i need to make changes in your eyes?

Offline bigguy

  • Site Owner
  • Administrator
  • *
  • Posts: 13215
  • Karma: 269
  • Gender: Male
  • Get'r Done
    • P.C. Tweakr
  • SMF Version: 2.0 Gold
maybe the PersonalMessage.php in the Sources directory. (Just a guess right now.)

Offline Trulyana

  • Full Member
  • *
  • Posts: 211
  • Karma: 5
  • Gender: Female
  • SMF Version: 1.1.5
maybe the PersonalMessage.php in the Sources directory. (Just a guess right now.)

Thanks, that's useful, but am still a newbie at all this.
 
I tried a different permissions way, to see if it would work. But pms per hour still occurrs, and not maximum of total number of pms, which is what I want. I'm leaving it at the per hour for now, until there is a way of doing it, for total number of pms sent.