PDA

View Full Version : Forum usergroup legends and blog usernames!


ThreeD
Sat 1st Sep '07, 4:41am
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

Jose Amaral Rego
Mon 2nd Jun '08, 12:57am
Featured Blog
# find template: blog_entry_featured
# add to code

<td width="100%">
<h2 style="font-size:14pt; font-weight:normal; margin:0px"><a href="blog.php?$session[sessionurl]b=$blog">$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]musername]">$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">$vbphrase[continue_reading]</a></div>
</if>
</div>
</td>


Blog Entry
# find template: blog_show_entry
# add to code

<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]musername]">$vbphrase[posted_date_at_time_by_user]</phrase>
<!-- | <a href="blog.php?$session[sessionurl]b=$blog" 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 -->


Blog Comment
# find template: blog_comment
# add to code

<if condition="$response['userid']">
<phrase 1="$response[date]" 2="$response[time]" 3="member.php?$session[sessionurl]u=$response[userid]" 4="$response[[B]musername]">$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">


Blog Comment
# find template: blog_comment
# add to code




Blog Home List
# find template: blog_home_list_blog
# add to code

<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[musername]--></div>
</td>
<td style="padding-$stylevar[left]:$stylevar[cellpadding]px; text-align:$stylevar[right]">


Blog Entry List
# find template: blog_home_list_entry
# add to 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>