![]() |
recently added admin can read pms but help me plz
We recently added this hack https://vborg.vbsupport.ru/showthrea...t=read+user+pm
but we cant read them via admin cp we have to use a link http://www.oh-twadi.com/forum/admincp/pm.php?userid=1 and u have to change the number at the end to wateva user u want to see is there a better hack? or a way u can make it so u can go to admincp and see them there and also not have to change the url manualy? plz help |
Quote:
|
Try this...
Code:
############################################################## |
what will that do?
|
It will put an option to read a user's PMs into the admincp edit member page, for greater convenience.
|
ok thanx
so i need to do what it says and then i shud be able to read them in admin cp? |
Yep, then you should be able to read them from admin CP without having to type in the link.
|
where will i see thme at now?
where can iaccess them at? cannot seem to find them |
Quote:
|
does not appear to be there
what will it say |
If you added the phrase like the instructions said, it should say
Read Private Messages In the drop down at the top of the edit user page. |
ok i will check
|
Quote:
|
what global phrase?
here is what the modifed code looks like $quicklinks = array_merge( $quicklinks, array( "user.php?$session[sessionurl]do=emailpassword&email=" . urlencode(unhtmlspecialchars($user['email'])) => $vbphrase['email_password_reminder_to_user'], "../private.php?$session[sessionurl]do=newpm&userid=$userid" => $vbphrase['send_private_message_to_user'], "usertools.php?$session[sessionurl]do=pmfolderstats&userid=$userid" => $vbphrase['private_message_statistics'], "usertools.php?$session[sessionurl]do=removepms&userid=$userid" => $vbphrase['delete_all_users_private_messages'], "usertools.php?$session[sessionurl]do=removesentpms&userid=$userid" => $vbphrase['delete_private_messages_sent_by_user'], "usertools.php?$session[sessionurl]do=removesubs&userid=$userid" => $vbphrase['delete_subscriptions'], "usertools.php?$session[sessionurl]do=doips&userid=$userid" => $vbphrase['view_ip_addresses'], "../member.php?$session[sessionurl]do=getinfo&userid=$userid" => $vbphrase['view_profile'], "../search.php?$session[sessionurl]do=finduser&userid=$userid" => $vbphrase['find_posts_by_user'], "../$modcpdir/banning.php?$session[sessionurl]do=banuser&userid=$userid" => $vbphrase['ban_user'], "user.php?$session[sessionurl]do=remove&userid=$userid" => $vbphrase['delete_user'], "pm.php?$session[sessionurl]userid=$userid" => $vbphrase['read_pm_user'], ) ); if (intval($user['adminpermissions']) & CANCONTROLPANEL AND in_array($bbuserinfo['userid'], preg_split('#\s*,\s*#s', $superadministrators, -1, PREG_SPLIT_NO_EMPTY))) { $quicklinks["adminpermissions.php?$session[sessionurl]do=edit&userid=$userid"] = $vbphrase['edit_administrator_permissions']; } $userfield = $DB_site->query_first("SELECT * FROM " . TABLE_PREFIX . "userfield WHERE userid = $userid"); |
Quote:
Code:
Add new phrase |
Quote:
could u send me what the code should look like |
Quote:
|
ok i wil ltry
|
Quote:
Code:
=> $vbphrase['delete_user'], |
ok let me just forward this to my admin see if he got it
thanx everyone ive now done it big thanx to you all sorry for being a pest |
Quote:
hope everything works out. |
so far so good with it. im stuck on the rules of how to use the mailing list
silly me |
All times are GMT. The time now is 05:03 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|