Current time: 02-09-2012, 11:52 AM Hello There, Guest! (LoginRegister)


[B] PM space bar missing
12-26-2008, 12:12 AM
Post: #1
[B] PM space bar missing
Hi, seems like the PM space bar is missing for MyBB 1.4.

I'll copy here some info form where I asked for support.

I just took a look to private.php and found this:

PHP Code:
if($mybb->usergroup['pmquota'] != 0  && $mybb->usergroup['cancp'] != 1

cancp? what's up with this? I checked 1.2 private.php and it's

PHP Code:
if($mybb->usergroup['pmquota'] > 0

Is this intended for 1.4?

I removed the "&& $mybb->usergroup['cancp'] != 1" part and now I can see the pm space bar.................

Huh

Clan UIS
Visit this user's website Find all posts by this user
12-26-2008, 12:34 AM
Post: #2
RE: [B] PM space bar missing
cancp = administrators. Administrators are exempt from that.
Visit this user's website Find all posts by this user
12-26-2008, 12:59 AM
Post: #3
RE: [B] PM space bar missing
But... what if we have pm limits for administrators as well?... (wich is my case)

with that change are you now assuming that admins doesn't have pm limits?

also... why in this community board I can't see the pm space bar if I'm not an admin?

Clan UIS
Visit this user's website Find all posts by this user
12-26-2008, 01:02 AM
Post: #4
RE: [B] PM space bar missing
(12-26-2008 12:59 AM)EviLito Wrote:  also... why in this community board I can't see the pm space bar if I'm not an admin?

As I said in the support thread, we must have unlimited PM space here, so there'd be no use for a bar.

Download My Plugins
My Personal Site - Twitter
[Image: eX4bjF]
Visit this user's website Find all posts by this user
12-26-2008, 01:20 AM
Post: #5
RE: [B] PM space bar missing
(12-26-2008 01:02 AM)MattR Wrote:  
(12-26-2008 12:59 AM)EviLito Wrote:  also... why in this community board I can't see the pm space bar if I'm not an admin?

As I said in the support thread, we must have unlimited PM space here, so there'd be no use for a bar.

Jeje ok ok. Now, my second question:

(12-26-2008 12:59 AM)EviLito Wrote:  But... what if we have pm limits for administrators as well?... (wich is my case)

Clan UIS
Visit this user's website Find all posts by this user
12-26-2008, 06:13 AM
Post: #6
RE: [B] PM space bar missing
(12-26-2008 12:59 AM)EviLito Wrote:  But... what if we have pm limits for administrators as well?... (wich is my case)

Then you can change your copy back to the 1.2 code and make a suggestion in the suggestions forum
Visit this user's website Find all posts by this user
12-27-2008, 09:31 AM
Post: #7
RE: [B] PM space bar missing
In verify_recipient in the PM datahandler, admins are exempt from PM limits, even if they are set in the group (it is ignored essentially for admin usergroups).

PHP Code:
// Check to see if the user has reached their private message quota - if they have, email them.
                        
if($recipient_permissions['pmquota'] != "0" && $user['totalpms'] >= $recipient_permissions['pmquota'] && $recipient_permissions['cancp'] != && $sender_permissions['cancp'] != && !$pm['saveasdraft'] && !$this->admin_override

Dennis Tsang :: MyBB Developer
Follow me on Twitter: @dennistt

Vote MyBB as the #1 Free Forum Software of 2011
Visit this user's website Find all posts by this user


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication