Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Poster username in a separate column (all over the forum) Details »»
Poster username in a separate column (all over the forum)
Version: 1.0.0, by Omranic Omranic is offline
Developer Last Online: Sep 2021 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.x Rating:
Released: 06-22-2007 Last Update: Never Installs: 27
Uses Plugins Template Edits
 
No support by the author.

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:
  1. Read Description.
  2. Fully Controlled (On/Off) from admincp options.
  3. Applied on the forum as whole ( forumdisplay / search results / moderation system / Subscribed threads ).


Notes:
  • Tested Only with 3.6.4 / 3.6.5 / 3.6.6 / 3.6.7 (NOT tested on 3.6.x < 3.6.4) But should work with 3.6.x.
  • NOT Compatible with 3.5.x.
  • VIP NOTE: The Following edits cat't be done automatically by plugins (No wAy!), So you SHOULD Do it MANUALLY !!. (Only 4 edits done automatically via plugins, no way to do the others).

Templates edited:
  1. FORUMDISPLAY
  2. threadbit
  3. threadbit_deleted
  4. SUBSCRIBE
  5. USERCP
  6. search_results
  7. threadbit_lastvisit
  8. moderation_threads

Help Us:
  • Suggestions needed to develop this mod .
  • Any one can help in decreasing these edits or apply it with plugins.


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]
Replace it with the following code:
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>
ADD above it the following code:
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&amp;order=asc&amp;sort=postusername" rel="nofollow">$vbphrase[thread_starter]</a> $sortarrow[postusername]
Replace it with the following code:
HTML Code:
<if condition="!$vboptions['phpkd_poster_separatedcol_active']"> /
		<a href="$sorturl&amp;order=asc&amp;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&amp;order=desc&amp;sort=lastpost" rel="nofollow">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>
Add above it the following code:
HTML Code:
	<if condition="$vboptions['phpkd_poster_separatedcol_active']">
	<td class="thead" align="center" nowrap="nowrap">
		<a href="$sorturl&amp;order=asc&amp;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>
Replace it with the following code:
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']">
Add above it the following code:
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>
Replace it with following code:
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>">
Replace it with the following code:
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">
Replace it with the following code:
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>
Replace it with the following code:
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&amp;t=$thread[threadid]" onclick="who($thread[threadid]); return false;">$thread[replycount]</a></if></td>
Replace it with the following code:
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&amp;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>
Replace it with the following code:
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>
Replace it with the following code:
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">
Replace it with the following code:
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>
Replace it with the following code:
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">
Replace it with the following code:
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>
Replace it with the following code:
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">
Replace it with the following code:
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&amp;order=asc&amp;sort=postusername">$vbphrase[thread_starter]</a> $sortarrow[postusername]
Replace it with the following code:
HTML Code:
<if condition="!$vboptions['phpkd_poster_separatedcol_active']"> /
		<a href="$sorturl&amp;order=asc&amp;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&amp;order=desc&amp;sort=lastpost">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>
Add above it the following code:
HTML Code:
	<if condition="$vboptions['phpkd_poster_separatedcol_active']">
	<td class="thead" align="center" nowrap="nowrap">
		<a href="$sorturl&amp;order=asc&amp;sort=postusername">$vbphrase[thread_starter]</a> $sortarrow[postusername]
	</td>
	</if>

#############################################
#############################################



In the template USERCP search for the following code:
HTML Code:
 / $vbphrase[thread_starter]
Replace it with the following code:
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>
and add above it the following code:
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]
Replace it with the following code:
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>
Add above it the following code:
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
Add under it the following code:
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>
Add above it the following code:
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&amp;order=asc&amp;sort=postusername" rel="nofollow">$vbphrase[thread_starter]</a> $sortarrow[postusername]
Replace it with the following code:
HTML Code:
<if condition="!$vboptions['phpkd_poster_separatedcol_active']"> /
		<a href="$sorturl&amp;order=asc&amp;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&amp;order=desc&amp;sort=lastpost" rel="nofollow">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>
Add above it the following code:
HTML Code:
	<if condition="$vboptions['phpkd_poster_separatedcol_active']">
	<td class="thead" align="center" nowrap="nowrap">
		<a href="$sorturl&amp;order=asc&amp;sort=postusername" rel="nofollow">$vbphrase[thread_starter]</a> $sortarrow[postusername]
	</td>
	</if>

You're Done!

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 06-23-2007, 09:46 AM
wizardan wizardan is offline
 
Join Date: Jan 2006
Location: America
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow.
Will check it out on my test forum.
If there's no conflict with anything else, it goes live.
Those edits, although many, look clean and precise.
Clicks install gladly.
Reply With Quote
  #13  
Old 06-23-2007, 11:35 AM
Coders Shack Coders Shack is offline
 
Join Date: Apr 2007
Location: Culver City, CA
Posts: 807
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice mod, but holy crap. soo many edits.
Reply With Quote
  #14  
Old 06-23-2007, 12:17 PM
Andyucs's Avatar
Andyucs Andyucs is offline
 
Join Date: Nov 2006
Location: Okcular, Turkey
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice but again far to many edits

contact Cybernetec

he may be able to help
Reply With Quote
  #15  
Old 06-23-2007, 04:47 PM
ChrisSy ChrisSy is offline
 
Join Date: Mar 2002
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wish this option would be included in future vbulletin versions.

Great hack though thanks!
Reply With Quote
  #16  
Old 06-23-2007, 05:50 PM
Coders Shack Coders Shack is offline
 
Join Date: Apr 2007
Location: Culver City, CA
Posts: 807
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChrisSy View Post
I wish this option would be included in future vbulletin versions.

Great hack though thanks!
it is, they offer preg_replace for your templates.

but its easy to mess up that way.
Reply With Quote
  #17  
Old 06-24-2007, 02:20 PM
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Location: Romania
Posts: 731
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If Cybernetec manages to help this dude with these so many template edits, i'm gonna install it, but i can't start doing so many template edits... not sure if it's gonna work on my skin.
Reply With Quote
  #18  
Old 07-08-2007, 01:13 PM
saib saib is offline
 
Join Date: Apr 2007
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great. Thx.

I would like to change font size from 11px to a little smaller.
How can I do this?

Regards.
Reply With Quote
  #19  
Old 07-08-2007, 08:36 PM
tokenyank tokenyank is offline
 
Join Date: Jul 2005
Location: London
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

plugin system has made us lazy!

Yeah, there's a lot of editing but this is minimal compared to what it used to be like to hack vB pre-plugins... And that was mostly core file edits that all had to redone with updates!

I don't need this hack, but I wanted to show my support and tell the whingers to stop whinging!
Reply With Quote
  #20  
Old 07-10-2007, 07:31 PM
saib saib is offline
 
Join Date: Apr 2007
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone?
Reply With Quote
  #21  
Old 07-28-2007, 01:31 PM
ForYou ForYou is offline
 
Join Date: Nov 2001
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello ,

Is there away to add poster date under the orginal poster , I mean i need to put to poster theard date not the last date of the last post ,

I hope there is no understanding ,

Regards
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:13 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
  • Page Generation 0.04939 seconds
  • Memory Usage 2,404KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (56)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete