Poster username in a separate column (all over the forum)
This modification is in the archives.
Please remember to click Mark as Installed if you use this modification.
Support questions from members who have not marked this as installed will be considered low priority. Name: Poster username in a separate column (forumdisplay/search/moderation/subscribed) Description: This modification will allow you to optionally separate poster username in a new column ( forumdisplay / search results / moderation system / Subscribed threads ) Feature:
Notes:
Templates edited:
Help Us:
Known Isues: None till now. History: v1.0.0 23/6/2007 6:20 AM (EEST): First initial public release. Screen Shots: Available down there ![]() Technical Notes: Plugins: 4 Phrases: 3 Template changes: 32 (in 8 Templates) [4 Auto & 28 Manual] ![]() Code Changes: 0 New Templates: 0 New Files: 0 Settings: 1 New DB Tables: 0 DB Changes: 0 Cron Jops: 0 Installing Procedure: 1. Import the attached product.. 2. Do the following template edits.. ############################################# ############################################# In the template FORUMDISPLAY Search for the following code: HTML Code:
/ $vbphrase[thread_starter] HTML Code:
<if condition="!$vboptions['phpkd_poster_separatedcol_active']"> / $vbphrase[thread_starter]</if> In the same template search for the following code: HTML Code:
<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[last_post]</span></td> HTML Code:
<if condition="$vboptions['phpkd_poster_separatedcol_active']"> <td class="thead" align="center" nowrap="nowrap"> $vbphrase[thread_starter] </td> </if> In the same template search for the following code: HTML Code:
/ <a href="$sorturl&order=asc&sort=postusername" rel="nofollow">$vbphrase[thread_starter]</a> $sortarrow[postusername] HTML Code:
<if condition="!$vboptions['phpkd_poster_separatedcol_active']"> / <a href="$sorturl&order=asc&sort=postusername" rel="nofollow">$vbphrase[thread_starter]</a> $sortarrow[postusername]</if> In the same template search for the following code: HTML Code:
<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&order=desc&sort=lastpost" rel="nofollow">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td> HTML Code:
<if condition="$vboptions['phpkd_poster_separatedcol_active']"> <td class="thead" align="center" nowrap="nowrap"> <a href="$sorturl&order=asc&sort=postusername" rel="nofollow">$vbphrase[thread_starter]</a> $sortarrow[postusername] </td> </if> ############################################# ############################################# In the template threadbit search for the following code: HTML Code:
<if condition="$show['guestuser']"> $thread[postusername] <else /> <span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]', '_self')">$thread[postusername]</span> </if> HTML Code:
<if condition="!$vboptions['phpkd_poster_separatedcol_active']"> <if condition="$show['guestuser']"> $thread[postusername] <else /> <span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]', '_self')">$thread[postusername]</span> </if> </if> In the same template search for the following code: HTML Code:
<if condition="$show['threadmoved']">
HTML Code:
<if condition="$vboptions['phpkd_poster_separatedcol_active']"> <td class="alt2" align="center" nowrap="nowrap"> <if condition="$show['guestuser']"> $thread[postusername] <else /> <a href="member.php?$session[sessionurl]u=$thread[postuserid]">$thread[postusername]</a> </if> </td> </if> In the same template search for the following code: HTML Code:
<td class="alt2" align="center">-</td> HTML Code:
<td class="<if condition="$vboptions['phpkd_poster_separatedcol_active']">alt1<else />alt2</if>" align="center">-</td> In the same template search for the following code: HTML Code:
<td class="alt2" title="<phrase 1="$thread[replycount]" 2="$thread[views]">$vbphrase[replies_x_views_y]</phrase>">
HTML Code:
<td class="<if condition="$vboptions['phpkd_poster_separatedcol_active']">alt1<else />alt2</if>" title="<phrase 1="$thread[replycount]" 2="$thread[views]">$vbphrase[replies_x_views_y]</phrase>">
In the same template search for the following code: HTML Code:
<td class="alt1"><div class="smallfont"> HTML Code:
<td class="<if condition="$vboptions['phpkd_poster_separatedcol_active']">alt2<else />alt1</if>"><div class="smallfont"> In the same template search for the following code: HTML Code:
<td class="alt2"><input type="checkbox" name="deletebox[$subscribethread[$threadid]]" id="sub$subscribethread[$threadid]" value="yes" /></td> HTML Code:
<td class="<if condition="$vboptions['phpkd_poster_separatedcol_active']">alt1<else />alt2</if>"><input type="checkbox" name="deletebox[$subscribethread[$threadid]]" id="sub$subscribethread[$threadid]" value="yes" /></td> In the same template search for the following code: HTML Code:
<td class="alt1" align="center"><if condition="$show['threadmoved']">-<else /><a href="misc.php?do=whoposted&t=$thread[threadid]" onclick="who($thread[threadid]); return false;">$thread[replycount]</a></if></td> HTML Code:
<td class="<if condition="$vboptions['phpkd_poster_separatedcol_active']">alt2<else />alt1</if>" align="center"><if condition="$show['threadmoved']">-<else /><a href="misc.php?do=whoposted&t=$thread[threadid]" onclick="who($thread[threadid]); return false;">$thread[replycount]</a></if></td> In the same template search for the following code: HTML Code:
<td class="alt2" align="center">$thread[views]</td> HTML Code:
<td class="<if condition="$vboptions['phpkd_poster_separatedcol_active']">alt1<else />alt2</if>" align="center">$thread[views]</td> In the same template search for the following code: HTML Code:
<td class="alt1"><a href="forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></td> HTML Code:
<td class="<if condition="$vboptions['phpkd_poster_separatedcol_active']">alt2<else />alt1</if>"><a href="forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></td> In the same template search for the following code: HTML Code:
<if condition="$show['inlinemod']"> <td class="alt1"> HTML Code:
<if condition="$show['inlinemod']"> <td class="<if condition="$vboptions['phpkd_poster_separatedcol_active']">alt2<else />alt1</if>"> ############################################# ############################################# In the template threadbit_deleted search for the following code: HTML Code:
<if condition="$show['guestuser']"> $thread[postusername] <else /> <span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]', '_self')">$thread[postusername]</span> </if> HTML Code:
<if condition="!$vboptions['phpkd_poster_separatedcol_active']"> <if condition="$show['guestuser']"> $thread[postusername] <else /> <span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$thread[postuserid]', '_self')">$thread[postusername]</span> </if> </if> In the same template search for the following code: HTML Code:
<td class="alt2" colspan="3" align="center">
HTML Code:
<if condition="$vboptions['phpkd_poster_separatedcol_active']"> <td class="alt2" align="center" nowrap="nowrap"> <if condition="$show['guestuser']"> $thread[postusername] <else /> <a href="member.php?$session[sessionurl]u=$thread[postuserid]">$thread[postusername]</a> </if> </td> </if> <td class="<if condition="$vboptions['phpkd_poster_separatedcol_active']">alt1<else />alt2</if>" colspan="3" align="center"> In the same template search for the following code: HTML Code:
<td class="alt1"><a href="forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></td> HTML Code:
<td class="<if condition="$vboptions['phpkd_poster_separatedcol_active']">alt2<else />alt1</if>"><a href="forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></td> In the same template search for the following code: HTML Code:
<if condition="$show['inlinemod']"> <td class="alt1"> HTML Code:
<if condition="$show['inlinemod']"> <td class="<if condition="$vboptions['phpkd_poster_separatedcol_active']">alt2<else />alt1</if>"> ############################################# ############################################# In the template SUBSCRIBE search for the following code: HTML Code:
/ <a href="$sorturl&order=asc&sort=postusername">$vbphrase[thread_starter]</a> $sortarrow[postusername] HTML Code:
<if condition="!$vboptions['phpkd_poster_separatedcol_active']"> / <a href="$sorturl&order=asc&sort=postusername">$vbphrase[thread_starter]</a> $sortarrow[postusername]</if> In the same template search for the following code: HTML Code:
<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&order=desc&sort=lastpost">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td> HTML Code:
<if condition="$vboptions['phpkd_poster_separatedcol_active']"> <td class="thead" align="center" nowrap="nowrap"> <a href="$sorturl&order=asc&sort=postusername">$vbphrase[thread_starter]</a> $sortarrow[postusername] </td> </if> ############################################# ############################################# In the template USERCP search for the following code: HTML Code:
/ $vbphrase[thread_starter] HTML Code:
<if condition="!$vboptions['phpkd_poster_separatedcol_active']"> / $vbphrase[thread_starter]</if> In the same template search for the following code: HTML Code:
<td class="thead" width="150" align="center" nowrap="nowrap">$vbphrase[last_post]</td> HTML Code:
<if condition="$vboptions['phpkd_poster_separatedcol_active']"> <td class="thead" align="center" nowrap="nowrap"> $vbphrase[thread_starter] </td> </if> ############################################# ############################################# In the template search_results & search in it for the following code: HTML Code:
/ $vbphrase[thread_starter] HTML Code:
<if condition="!$vboptions['phpkd_poster_separatedcol_active']"> / $vbphrase[thread_starter]</if> In the same template search for the following code: HTML Code:
<td class="thead" width="150" align="center" nowrap="nowrap">$vbphrase[last_post]</td> HTML Code:
<if condition="$vboptions['phpkd_poster_separatedcol_active']"> <td class="thead" align="center" nowrap="nowrap">$vbphrase[thread_starter]</td> </if> In the same template search for the following code: HTML Code:
$navbar HTML Code:
<if condition="$vboptions['phpkd_poster_separatedcol_active']"> <if condition="$colspan_increment OR $threadcolspan++"></if> </if> ############################################# ############################################# In the template threadbit_lastvisit search for the following code: HTML Code:
<tr>
HTML Code:
<if condition="$vboptions['phpkd_poster_separatedcol_active']"> <if condition="$threadcolspan++ AND $colspan_increment = true"></if> </if> ############################################# ############################################# In the template moderation_threads search for the following code: HTML Code:
/ <a href="$sorturl&order=asc&sort=postusername" rel="nofollow">$vbphrase[thread_starter]</a> $sortarrow[postusername] HTML Code:
<if condition="!$vboptions['phpkd_poster_separatedcol_active']"> / <a href="$sorturl&order=asc&sort=postusername" rel="nofollow">$vbphrase[thread_starter]</a> $sortarrow[postusername]</if> In the same template search for the following code: HTML Code:
<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&order=desc&sort=lastpost" rel="nofollow">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td> HTML Code:
<if condition="$vboptions['phpkd_poster_separatedcol_active']"> <td class="thead" align="center" nowrap="nowrap"> <a href="$sorturl&order=asc&sort=postusername" rel="nofollow">$vbphrase[thread_starter]</a> $sortarrow[postusername] </td> </if> You're Done! Download
This modification is archived, downloads are still allowed. Screenshots |