PDA

View Full Version : Multiple Blogs, is there a way?


Chainspell
09-15-2010, 08:52 PM
Hello I was looking for a way to have multiple blog sections. I know I can create a link to the blog category, so that only that category shows. And I guess that's what I'll do if there's no other solution. But anyone know how to do that better?

Thanks!

Alfa1
09-15-2010, 09:41 PM
Sounds like a great suggestion to ask IB to implement. Surely it would be useful to many.

I don't think that's possible with vb blog now.

Chainspell
09-15-2010, 09:59 PM
http://www.linkshells.com/blog.php?blogcategoryid=10

i found the template blog_navbar_link is where it creates the button. any way i can do a VB if condition for a querystring "blogcategoryid=10". I know I have to register it first but i cant find the code anywhere.

<vb:if condition="$vboptions['selectednavtab'] == 'vbblog'">
<li class="selected">
<a class="navtab" href="blog.php{vb:raw session.sessionurl_q}">{vb:rawphrase blogs}</a>
<ul class="floatcontainer">
{vb:raw template_hook.blog_navbar_start}
<vb:if condition="$show['canpostitems']">
<li><a href="{vb:link blog, {vb:raw bbuserinfo}, null, 'userid', 'blog_title'}">{vb:rawphrase your_blog}</a></li>
</vb:if>
{vb:raw template_hook.blog_navbar_after_your_blog}
<li><a href="blog.php?{vb:raw session.sessionurl}do=list">{vb:rawphrase recent_entries}</a></li>
{vb:raw template_hook.blog_navbar_after_recent_entries}
<li><a href="blog.php?{vb:raw session.sessionurl}do=list&amp;blogtype=best">{vb:rawphrase best_blog_entries}</a></li>
{vb:raw template_hook.blog_navbar_after_best_entries}
<li><a href="blog.php?{vb:raw session.sessionurl}do=bloglist">{vb:rawphrase blog_list}</a></li>
{vb:raw template_hook.blog_navbar_after_blog_list}
<vb:if condition="$show['canpostitems']">
<li><a href="blog_usercp.php?{vb:raw session.sessionurl}do=editprofile">{vb:rawphrase blog_options}</a></li>
</vb:if>
{vb:raw template_hook.blog_navbar_end}
</ul>
</li>
<vb:else />
<li><a class="navtab" href="blog.php{vb:raw session.sessionurl_q}">{vb:rawphrase blogs}</a></li>
</vb:if>

--------------- Added 1284592101 at 1284592101 ---------------

nevermind i found it:

Navbar: Eval Blog Link Template and Validate Styleid in the plugin manager