v3.1.0 -> v3.1.1 UPGRADE INSTRUCTIONS
1. Download
vbgarage311.zip (which is attached to the
first post).
2. Extract and upload
vbgarage.php from the archive and upload it to your server, overwriting your existing copy.
3. In
vbgarage_editgarage:
FIND:
HTML Code:
$bbuserinfo[username]
REPLACE with:
HTML Code:
$user[username]
FIND:
REPLACE with:
HTML Code:
<if condition="$bbuserinfo[userid] == $id">$logincode</if>
FIND:
HTML Code:
<input type="hidden" name="do" value="edit" />
Add BELOW:
HTML Code:
<input type="hidden" name="id" value="$id" />
4. In
vbgarage_viewgarage:
FIND:
HTML Code:
<td class="tcat" colspan="2"><b>$user[username]'s $data[year] $data[make] $data[model]</b><if condition="$bbuserinfo[usergroupid]==6"> <span class="smallfont">[<a href="$vboptions[bburl]/vbgarage.php?do=delgarage&id=$data[userid]">$vbphrase[delete]</a>]</a></span></if></td>
REPLACE with:
HTML Code:
<td class="tcat" colspan="2"><b>$user[username]'s $data[year] $data[make] $data[model]</b><if condition="$bbuserinfo[usergroupid]==6"> <span class="smallfont">[<a href="$vboptions[bburl]/vbgarage.php?do=delgarage&id=$data[userid]">$vbphrase[delete]</a>] [<a href="$vboptions[bburl]/vbgarage.php?do=editgarage&id=$data[userid]">$vbphrase[edit]</a>]</span></if></td>
Done !!
Added Features in v3.1.1- Admin "edit" garage displayed on garage view.
- Fixed missing require_once(); call.