Advertise Here

Author Topic: [Code] Move Topic Creater under Topic Name  (Read 2301 times)

0 Members and 2 Guests are viewing this topic.

Offline Agent Moose

  • Moderator
  • *****
  • Posts: 836
  • Do not PM me for Code Support or Request
    • View Profile

  • Total Badges: 32
    Badges: (View All)
    Search Level 6 Tenth year Anniversary Nineth year Anniversary Eighth year Anniversary
[Code] Move Topic Creater under Topic Name
« on: January 20, 2008, 12:52:14 pm »
Add this to your headers if you don't have it.
Code: [Select]
<script src="jquery.js"></script>
Code: [Select]
<script>
if(location.href.match(/board,/i)){
//Created by Agent Moose (smcodes.smfforfree3.com)
$("td.windowbg[valign='middle'] span a").parent().parent().append("<br><div class='smalltext'>Created by: <span id='created'></span></div>");
$("td.catbg3[width='11%']").hide();
$("td.catbg3:contains(Subject)").attr("colspan","2");
$("td[width='14%']").each(function(){
$(this).prev().attr("colspan","2")
$(this).children("a").appendTo($(this).prev("td[valign='middle']").children("div").children("span#created"));
$(this).hide();
});};
</script>
Place in Footers

This will move the persons name from whom the topic was created by, under that topic name :)

Simple, yet, it makes it look more like the upgraded version of SMF :)
Check out Revolution X's Brand new Code Index!

Offline Missygal

  • SMF For Free Member
  • *
  • Posts: 81
    • View Profile
    • Thisand That

  • Total Badges: 13
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: [Code] Move Topic Creater under Topic Name
« Reply #1 on: February 24, 2008, 11:14:42 pm »
Awesome!!!!! ;)

 

Related Topics

  Subject / Started by Replies Last post
9 Replies
4648 Views
Last post February 18, 2006, 05:57:04 am
by Aslan
4 Replies
1737 Views
Last post April 17, 2008, 07:54:16 pm
by lataet
2 Replies
1091 Views
Last post October 14, 2008, 10:08:58 pm
by JackOfBlades™
3 Replies
1053 Views
Last post February 24, 2010, 11:59:39 am
by Didnt--Do--It5
2 Replies
7101 Views
Last post June 29, 2010, 02:24:01 pm
by Nicola O.