Jump to content
TheHost4U - Webmaster Resources
Sign in to follow this  
theboss

Moving author name in post

Recommended Posts

Here is a way to move the post author name from top to within the userInfoPane

 

Before:

 

post-1-0-75698300-1386012716_thumb.jpg

 

After

 

post-1-0-48247100-1386012717_thumb.jpg

 

Goto admincp >> look & feel tab >> left click skin name >> templates tab >> Topic View >> post

 

find:

				<if test="postMember:|:$post['author']['member_id']">					<span itemprop="creator name" class="author vcard">{parse template="userHoverCard" group="global" params="$post['author']"}</span>				<else />					{parse template="userHoverCard" group="global" params="$post['author']"}				</if>

comment it out like so (in case want to replace at later date)

<!--				<if test="postMember:|:$post['author']['member_id']">					<span itemprop="creator name" class="author vcard">{parse template="userHoverCard" group="global" params="$post['author']"}</span>				<else />					{parse template="userHoverCard" group="global" params="$post['author']"}				</if>-->

Now still in templates tab >> Global Templates >> userInfoPane

 

find:

	<ul class='basic_info'>

add directly after that

<h2>{parse template="userHoverCard" group="global" params="$author"}</h2>

You can add the above code anywhere there you require (e.g. after the avatar or group icon ... just add the above code further down ... look for area you want to add it)

 

Now ... css tab >> ipb_styles.css

 

scroll to very bottom and add:

.basic_info h2 {font-size: 16px;}

You should now have similar to my screenshots above

 

obviously change font size and any other settings as you require

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...