Vbulletin Blog
Blog dropdown menu in navbar
Blog Statistics Forum Home + Latest Blogs
Blog block instead of tab in user profile
thx !
Code:
dont find the hack on vbulletin
Blog dropdown menu in navbar
Code:
----------------------------
navbar
FIND
----------------------------
$template_hook[navbar_buttons_left]
----------------------------
REPLACE with:
----------------------------
<if condition="$vbulletin->products['vbblog']">
<td id="blog_menu" class="vbmenu_control"><a href="$show[nojs_link]#blog_menu">$vbphrase[blogs]</a> <script type="text/javascript"> vbmenu_register("blog_menu"); </script></td>
</if>
----------------------------
FIND:
----------------------------
</table>
</div>
<!-- / user cp tools menu -->
----------------------------
ADD after:
----------------------------
<!-- blog_menu -->
<div class="vbmenu_popup" id="blog_menu_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead"><a href="blog.php">$vbphrase[blogs]</a></td></tr>
<tr><td class="vbmenu_option"><a href="blog.php?do=bloglist">Blog Directory</a></td></tr>
<tr><td class="vbmenu_option"><a href="blog.php?do=bloglist&blogtype=best">Best Blogs</a></td></tr>
<tr><td class="vbmenu_option"><a href="blog.php?do=list&blogtype=best">Best Entries</a></td></tr>
<tr><td class="vbmenu_option"><a href="blog_search.php?do=search">Find Blogs</a></td></tr>
</table>
</div>
<!-- / blog_menu -->
----------------------------
Done!
Blog Statistics Forum Home + Latest Blogs
Code:
http://www.vbulletin.org/forum/showthread.php?t=184169&highlight=blogs
Blog block instead of tab in user profile
Code:
----------------------------
blog_entry_profile
REPLACE all with:
----------------------------
<div class="alt1">
<div class="smallfont" align="left"><a href="blog.php?$session[sessionurl]b=$blog[blogid]">$blog[title]</a> <span class="shade"><phrase 1="$blog[date]" 2="$blog[time]">$vbphrase[posted_date_at_time]</phrase></span></div>
</div>
----------------------------
blog_member_block
REPLACE all with:
----------------------------
<if condition="$block_data['latestentries']">
<div class="alt1 block_row">
$block_data[latestentries]
</div>
</if>
<div class="<if condition="$block_data['latestentries']">alt2<else />alt1</if> smallfont block_row block_footer">
<a href="blog.php?$session[sessionurl]u=$prepared[userid]"><phrase 1="$prepared[username]">$vbphrase[view_xs_blog]</phrase></a>
</div>
----------------------------
MEMBERINFO
FIND:
----------------------------
$template_hook[profile_left_last]
----------------------------
CUT and paste after:
----------------------------
$blocks[groups]
----------------------------
Done!
thx !