Forum usergroup legends and blog usernames!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ThreeD
    Member
    • Aug 2006
    • 46
    • 3.6.x

    Forum usergroup legends and blog usernames!

    1) Is it possible to apply the usergroup legend settings of the forum to the usernames in blog? Right now all my usernames in the blog are blue, but I want them to show in the same color as they do on the main forum.

    2) I looked through the Blog Manual but I couldn't find any information on what templates to revert. In what templates are blog hooks added? postbit_legacy and memberinfo only?

    Thanks
    Last edited by ThreeD; Sat 1 Sep '07, 2:41am.
  • Jose Amaral Rego
    Senior Member
    • Feb 2005
    • 11058
    • 1.1.x

    #2
    Blog Username HTML Markup

    Featured Blog
    # find template: blog_entry_featured
    # add to code
    Code:
    		[COLOR="Blue"]<td width="100%">
    			<h2 style="font-size:14pt; font-weight:normal; margin:0px"><a href="blog.php?$session[sessionurl]b=$blog[blogid]">$blog[title]</a></h2>
    			<div class="smallfont shade" style="margin-bottom:10px"><phrase 1="$blog[date]" 2="$blog[time]" 3="blog.php?$session[sessionurl]u=$blog[userid]" 4="$blog[[B][COLOR="Red"]m[/COLOR][/B]username]">$vbphrase[posted_date_at_time_by_user]</phrase></div>
    			<div>
    				$blog[message]<if condition="$show['readmore']">...
    					<div class="smallfont" style="text-align:$stylevar[right]; margin-top:$stylevar[cellpadding]px"><a href="blog.php?$session[sessionurl]b=$blog[blogid]">$vbphrase[continue_reading]</a></div>
    				</if>
    			</div>
    		</td>[/COLOR]
    Blog Entry
    # find template: blog_show_entry
    # add to code
    Code:
    [COLOR="Blue"]		<div class="smallfont shade" style="margin-bottom:10px">
    			<phrase 1="$blog[date]" 2="$blog[time]" 3="blog.php?$session[sessionurl]u=$blog[userid]" 4="$blog[[COLOR="Red"][B]m[/B][/COLOR]username]">$vbphrase[posted_date_at_time_by_user]</phrase>
    <!--			| <a href="blog.php?$session[sessionurl]b=$blog[blogid]" class="shade">$vbphrase[permalink]</a>-->
    			<if condition="$show['entryedited']">
    				<br />
    				<phrase 1="$blog[edit_date]" 2="$blog[edit_time]" 3="blog.php?$session[sessionurl]u=$blog[edit_userid]" 4="$blog[edit_username]">$vbphrase[updated_date_at_time_by_user]</phrase>
    				<if condition="$blog['edit_reason']"><span class="shade">($blog[edit_reason])</span></if>
    			</if>
    		</div>
    
    		<!-- ads could go here -->[/COLOR]
    Blog Comment
    # find template: blog_comment
    # add to code
    Code:
    [COLOR="Blue"]			<if condition="$response['userid']">
    				<phrase 1="$response[date]" 2="$response[time]" 3="member.php?$session[sessionurl]u=$response[userid]" 4="$response[[COLOR="Red"][B]m[/B][/COLOR]username]">$vbphrase[posted_date_at_time_by_user]</phrase>
    				<if condition="$response['onlinestatus'] == 0">
    						<img class="inlineimg" src="$stylevar[imgdir_misc]/blog/status_offline.gif" alt="<phrase 1="$response[username]">$vbphrase[x_is_offline]</phrase>" border="0" />
    				<else />
    					<if condition="$response['onlinestatus'] == 1">[/COLOR]
    Blog Comment
    # find template: blog_comment
    # add to code
    Code:
    
    
    Blog Home List
    # find template: blog_home_list_blog
    # add to code
    Code:
    		[COLOR="Blue"]<td class="smallfont" width="100%">
    			<div><a href="blog.php?$session[sessionurl]u=$updated[userid]">$updated[title]</a></div>
    			<div><a href="member.php?$session[sessionurl]u=$updated[userid]" class="shade">$updated[musername]</a> <!--$updated[[B][COLOR="Red"]m[/COLOR][/B]username]--></div>
    		</td>
    		<td style="padding-$stylevar[left]:$stylevar[cellpadding]px; text-align:$stylevar[right]">[/COLOR]
    Blog Entry List
    # find template: blog_home_list_entry
    # add to code
    Code:
    			<div><a href="member.php?$session[sessionurl]u=$updated[userid]" class="shade">$updated[musername]</a> $updated[postdate]<!--<if condition="!$show['detailedtime']">, $updated[posttime]</if>--></div>

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    😀
    😂
    🥰
    😘
    🤢
    😎
    😞
    😡
    👍
    👎