The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Благодарность от: | ||
too_cool_3 |
Comments |
#72
|
|||
|
|||
Waht is a "Super Administrator"? In my vB 3.6 there is only a Administrator group. In this group are 3 users, including me. But nobody except of me is able to see the "Read PMs" Link. I have the userid 1, but I don't think this is important.
Maybe anybody knows how to fix that problem? |
#73
|
||||
|
||||
Manually edit your config.php and there's a place to list the userids of those that you wish to be Super Admins.
|
#74
|
|||
|
|||
Super Admin is the "god Account" usualy userid# 1
You can add more admins, by adding there userid to the "is super Admin" line in the config.php file. |
#75
|
|||
|
|||
I installed this, but didn't like a few things. I'm using 3.6.4, and I had the serialized "to" field issue. I also didn't like that I had to promote someone to superadministrator just to review private messages -- because that let them have authority over administrators, which I did not want.
In order to change the security check, I did this: In \includes\config.php Find: Code:
// ****** SUPER ADMINISTRATORS ****** // The users specified below will have permission to access the administrator permissions // page, which controls the permissions of other administrators $config['SpecialUsers']['superadministrators'] = '1'; Code:
// ****** PRIVATE MESSAGE ADMIN ****** // The users specified below will have permission to view all user PMs $config['SpecialUsers']['privatemessageadmin'] = '1'; Find: Code:
if (!in_array($vbulletin->userinfo['userid'], preg_split('#\s*,\s*#s', $vbulletin->config['SpecialUsers']['superadministrators'], -1, PREG_SPLIT_NO_EMPTY)) ) { Code:
if (!in_array($vbulletin->userinfo['userid'], preg_split('#\s*,\s*#s', $vbulletin->config['SpecialUsers']['privatemessageadmin'], -1, PREG_SPLIT_NO_EMPTY)) ) { Next, to change the unserialization issue... In \admin\read_pms.php Find: Code:
//print_label_row('To', htmlspecialchars($pm['touserarray'])); $to = is_array(unserialize($pm['touserarray'])) ? implode(", ", array_values(unserialize($pm['touserarray']))) : null; $to = ($to == 'Array') ? htmlspecialchars($pm['touserarray']) : $to; print_label_row('To' , $to); Code:
$myarray = array_values(unserialize($pm['touserarray'])); if (is_array($myarray[0])) print_label_row('To' , htmlspecialchars(implode(", ", array_values($myarray[0])))); if (is_array($myarray[1])) print_label_row('BCC' , htmlspecialchars(implode(", ", array_values($myarray[1])))); All of the above worked beautifully for me on 3.6.4... your mileage may vary. |
#76
|
||||
|
||||
Thanks But this Hack take privaci of all users and finished PM. Installed and Runnig. Best Regards
|
#77
|
||||
|
||||
Hm i am not able to install this thing. Tried it via fileupload as well as putting it to ./includes/xml/cpnav_rpm.xml
Always same error message: File invalid (Datei ung?ltig) cpnav_rpm.xml file content: Code:
<?xml version="1.0" encoding="ISO-8859-1"?> <navgroups product="vbulletin"> <navgroup phrase="users" permissions="canadminusers" displayorder="110"> <navoption displayorder="130"> <text>Read PMs</text> <link>read_pms.php</link> </navoption> </navgroup> </navgroups> EDIT: workaround if any other has this problem (i think it depends because displayorder 130 is alreay used with another menu or something) OPEN: ./includes/xml/cpnav_vbulletin.xml FIND: <navoption displayorder="120"> <phrase>access_masks</phrase> <link>accessmask.php?do=modify</link> </navoption> AFTER ADD: <navoption displayorder="121"> <text>Read PMs</text> <link>read_pms.php</link> </navoption> This will add the Menu in the Users Admin menu by Hand. |
#78
|
||||
|
||||
Click Install, Thank you,
|
#79
|
||||
|
||||
Intalled.
Thanks for the fix GeekDrew ! |
#80
|
|||
|
|||
Im SO glad I found this mod. I have a serious case of people signing up just to spam our PM's.
|
#81
|
|||
|
|||
Really is it not a shame to you? To read personal messages of users, this disrespect for them. On that they Personal!
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|