Link PM

Place all bug reports here

Moderators: Stylists, Developers

Forum rules
Please include where you found the bug e.g. link and please go into detail on what happened. So we can fix it quickly for you.

Link PM

Postby Палыч » Thu Jul 22, 2010 11:33 pm

Hello everyone!
ver 1.0.2
On browsing the articles link PM to miniprofile author not to expose the recipient
Correction:
Code: Select all
== OPEN ==
includes/kb.php
== FIND == (line 1018)
         'U_PM'         => ($article_data['article_user_id'] != ANONYMOUS && $config['allow_privmsg'] && $auth->acl_get('u_sendpm') && ($article_data['user_allow_pm'] || $auth->acl_gets('a_', 'm_') || $auth->acl_getf_global('m_'))) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&mode=compose') : '',
== REPLACE ==
         'U_PM'         => ($article_data['article_user_id'] != ANONYMOUS && $config['allow_privmsg'] && $auth->acl_get('u_sendpm') && ($article_data['user_allow_pm'] || $auth->acl_gets('a_', 'm_') || $auth->acl_getf_global('m_'))) ? append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&mode=compose&u='. $article_data['article_user_id']) : '',


In the comments: link PM is just UCP
Correction:
Code: Select all
== OPEN ==
includes/kb.php
== FIND == (line 1490)
            'U_PM'               => ($poster_id != ANONYMOUS && $config['allow_privmsg'] && $auth->acl_get('u_sendpm') && ($user_cache[$poster_id]['allow_pm'] || $auth->acl_gets('a_', 'm_') || $auth->acl_getf_global('m_'))) ? append_sid("{$phpbb_root_path}ucp.$phpEx", '') : '',
== REPLACE ==
            'U_PM'               => ($poster_id != ANONYMOUS && $config['allow_privmsg'] && $auth->acl_get('u_sendpm') && ($user_cache[$poster_id]['allow_pm'] || $auth->acl_gets('a_', 'm_') || $auth->acl_getf_global('m_'))) ? append_sid("{$phpbb_root_path}ucp.$phpEx", "i=pm&mode=compose&u=$poster_id") : '',


best regards
Палыч
 
Posts: 4
Joined: Sun May 16, 2010 4:32 pm
Location: St. Petersburg

Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 1 guest