<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Phorum minor patch: View user profile in Admin</title>
        <description> Apologies but I don&amp;#039;t know how to submit official patches, and this is very minor:

Phorum version:v5.2.19 
Overview: when searching for a user in admin, it would be nice to have a way to easily view their public profile (for example, to spot spammers or view all their posts).
File: /include/admin/users.php
Look for Line 833:
$edit_url = phorum_admin_build_url($user_input_args);
and add this line directly underneath it:
$profile_url = phorum_get_url(PHORUM_PROFILE_URL, $user[&amp;#039;user_id&amp;#039;]);

Then replace:
&amp;lt;td class=\&amp;quot;&amp;quot;.$ta_class.&amp;quot;\&amp;quot;&amp;gt;&amp;lt;a href=\&amp;quot;$edit_url\&amp;quot;&amp;gt;&amp;quot;.(empty($PHORUM[&amp;#039;custom_display_name&amp;#039;]) ? htmlspecialchars($user[&amp;#039;display_name&amp;#039;]) : $user[&amp;#039;display_name&amp;#039;]).&amp;quot;&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;\n&amp;quot;;

with:
echo &amp;quot;    &amp;lt;td class=\&amp;quot;&amp;quot;.$ta_class.&amp;quot;\&amp;quot;&amp;gt;&amp;quot; . (empty($PHORUM[&amp;#039;custom_display_name&amp;#039;]) ? htmlspecialchars($user[&amp;#039;display_name&amp;#039;]) : $user[&amp;#039;display_name&amp;#039;]).&amp;quot; &amp;amp;nbsp; [&amp;lt;a href=\&amp;quot;$edit_url\&amp;quot;&amp;gt;edit&amp;lt;/a&amp;gt; | &amp;lt;a href=\&amp;quot;$profile_url\&amp;quot; target=\&amp;quot;_blank\&amp;quot;&amp;gt;view profile&amp;lt;/a&amp;gt;]&amp;lt;/td&amp;gt;\n&amp;quot;;

/\dam</description>
        <link>https://www.phorum.org/phorum5/read.php?14,152246,152246#msg-152246</link>
        <lastBuildDate>Mon, 18 May 2026 08:45:46 -0400</lastBuildDate>
        <generator>Phorum 5.2.22</generator>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,152246,152246#msg-152246</guid>
            <title>Phorum minor patch: View user profile in Admin</title>
            <link>https://www.phorum.org/phorum5/read.php?14,152246,152246#msg-152246</link>
            <description><![CDATA[ Apologies but I don&#039;t know how to submit official patches, and this is very minor:<br />
<br />
Phorum version:v5.2.19 <br />
Overview: when searching for a user in admin, it would be nice to have a way to easily view their public profile (for example, to spot spammers or view all their posts).<br />
File: /include/admin/users.php<br />
Look for Line 833:<br />
<pre class="bbcode">$edit_url = phorum_admin_build_url($user_input_args);</pre>
and add this line directly underneath it:<br />
<pre class="bbcode">$profile_url = phorum_get_url(PHORUM_PROFILE_URL, $user[&#039;user_id&#039;]);</pre>
<br />
Then replace:<br />
<pre class="bbcode">&lt;td class=\&quot;&quot;.$ta_class.&quot;\&quot;&gt;&lt;a href=\&quot;$edit_url\&quot;&gt;&quot;.(empty($PHORUM[&#039;custom_display_name&#039;]) ? htmlspecialchars($user[&#039;display_name&#039;]) : $user[&#039;display_name&#039;]).&quot;&lt;/a&gt;&lt;/td&gt;\n&quot;;</pre>
<br />
with:<br />
<pre class="bbcode">echo &quot;    &lt;td class=\&quot;&quot;.$ta_class.&quot;\&quot;&gt;&quot; . (empty($PHORUM[&#039;custom_display_name&#039;]) ? htmlspecialchars($user[&#039;display_name&#039;]) : $user[&#039;display_name&#039;]).&quot; &amp;nbsp; [&lt;a href=\&quot;$edit_url\&quot;&gt;edit&lt;/a&gt; | &lt;a href=\&quot;$profile_url\&quot; target=\&quot;_blank\&quot;&gt;view profile&lt;/a&gt;]&lt;/td&gt;\n&quot;;</pre>
<br />
/\dam]]></description>
            <dc:creator>sheik</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Sun, 14 Oct 2012 22:56:44 -0400</pubDate>
        </item>
    </channel>
</rss>
