Current time: 03-18-2010, 12:05 PM 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
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.

[Image: ryangordon.png]
My Blog - My Mods
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?
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.

My Personal Site - Twitter
MyBB Support Team
[Image: lqscs]
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)
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

[Image: ryangordon.png]
My Blog - My Mods
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

[Image: sig.php?mybb]
MyBB is on Facebook and Twitter
Hosting available, PM for details
Visit this user's website Find all posts by this user


Forum Jump: