I fixed my issue, what I did was ignore the part of the instructions that mentioned to edit the "navbar" template, instead of useing the edit in version 2.0 I used the "navbar" edit in 1.1, this stopped the error I was getting when doing the edit and also stopped all other errors.
To get this plugin to work:
1. Upload all the from 2.0
2. import the product
3. use the following template edits:
Template Edits:
A) In Template navbar
Find:
Code:
<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
Replace With:
Code:
<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
<td class="vbmenu_control"><a href="vbsupport.php$session[sessionurl_q]">vBSupport</a></td>
</if>
B) Template 'postbit_legacy':
Find:
Code:
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
Add Above:
Code:
<!-- vbSupport start -->
<if condition="$show['ticketcount']">#<a href="vbsupport.php?$session[sessionurl]do=viewpost&pid=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
<!-- vbSupport end -->
C) Template 'postbit':
Find:
Code:
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a> </if>
Add Above
Code:
<!-- vbSupport start -->
<if condition="$show['ticketcount']">#<a href="vbsupport.php?$session[sessionurl]do=viewpost&pid=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a> </if>
<!-- vbSupport end -->