Current time: 07-05-2009, 01:42 AM Hello There, Guest! (LoginRegister)


Post Reply 
[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

EviL
Fundador/Líder del Clan UIS

[Image: firma_evil.jpg]
Visit this user's website Find all posts by this user
Quote this message in a reply
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 - My Site
Visit this user's website Find all posts by this user
Quote this message in a reply
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?

EviL
Fundador/Líder del Clan UIS

[Image: firma_evil.jpg]
Visit this user's website Find all posts by this user
Quote this message in a reply
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
Ille qui nos omnes servabit.
Visit this user's website Find all posts by this user
Quote this message in a reply
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)

EviL
Fundador/Líder del Clan UIS

[Image: firma_evil.jpg]
Visit this user's website Find all posts by this user
Quote this message in a reply
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 - My Site
Visit this user's website Find all posts by this user
Quote this message in a reply
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
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: