Back to vBulletin 3.7 Add-ons

Advanced Userbars System
Mod Version: 2.1, by Hasann

This modification is in the archives.
vB Version: 3.7.x Rating: (12 votes - 4.92 average) Installs: 81
Released: 28 Feb 2008 Last Update: 13 Jun 2008 Downloads: 826
Supported DB Changes Uses Plugins Template Edits Auto-Template Code Changes Additional Files Translations  

ADVANCED USERBARS MANAGEMENT SYSTEM for vBulletin 3.7.x BY HASANN

The Legend Is Back

What does it?: This hacks allows you to upload, add, manage userbars in cats with usergroup permissions. And show your selected userbars in Memberinfo/Userinfo Profile and In Postbit Under Signature

Installation:
  1. ->Install product_userbars.xml
  2. ->Upload all files (userbar images, cpnav xml)
  3. ->CHMOD 777 ./images/userbars/
  4. ->rebuild bitfields
  5. ->set advanced userbars system options : vBulletin Options > Advanced Userbars System Options > All Yes Or You Decide And Save
  6. ->Do file edits
  7. ->Do template edits
  8. ->Show your support click "Mark As Installed", nominate for MOTM, rate this modification, and/or donate.

____________________________
FILE EDITS (4 edits in 1 file)

____________________________
OPEN admincp/image.php

(1)
FIND :
-----------
PHP Code:
case 'smilie':
    
$itemtype 'smilie';
    
$itemtypeplural 'smilies';
    
$catid 3;
    break; 
----------
ADD BELOW:
----------
PHP Code:
case 'userbar':
    
$itemtype 'userbar';
    
$itemtypeplural 'userbars';
    
$catid 4;
    break; 
----------

(2)
FIND:
----------
PHP Code:
$tables = array('avatar' => $vbphrase['avatar'], 'icon' => $vbphrase['post_icon'], 'smilie' => $vbphrase['smilie']); 
---------
REPLACE WITH:
----------
PHP Code:
$tables = array('avatar' => $vbphrase['avatar'], 'icon' => $vbphrase['post_icon'], 'smilie' => $vbphrase['smilie'], 'userbar' => $vbphrase['userbar']); 
----------

(3)
FIND:
----------
PHP Code:
'avatarid' => TYPE_INT,
'iconid'   => TYPE_INT,
'smilieid' => TYPE_INT
----------
ADD BELOW:
----------
PHP Code:
'userbarid' => TYPE_INT
----------

(4)
FIND:
----------
PHP Code:
if ($vbulletin->GPC['avatarid'])
{
    
$id $vbulletin->GPC['avatarid'];
}
else if (
$vbulletin->GPC['iconid'])
{
    
$id $vbulletin->GPC['iconid'];
}
else if (
$vbulletin->GPC['smilieid'])
{
    
$id $vbulletin->GPC['smilieid'];

----------
ADD BELOW:
----------
PHP Code:
else if ($vbulletin->GPC['userbarid'])
{
    
$id $vbulletin->GPC['userbarid'];

----------

Save & Close

_________________________
Template Edits (3)
_________________________

OPEN MEMBERINFO TEMPLATE

FIND:
------------------------------------------------------------

HTML Code:
<h1>$prepared[musername] $prepared[onlinestatus]</h1>
<if condition="$prepared['usertitle']">
<h2>$prepared[usertitle]</h2>
</if>
------------------------------------------------------------

ADD UNDER:
-----------------------------------------------------------
HTML Code:
<if condition="$vbulletin->options[enable_advanced_userbars_system]">
<if condition="$userinfo[userbar]">
<div id="userbar"><b>$userbar[title]</b></div>
<div id="userbar"><img src="$userbar[userbarpath]" border="0"></div>
<br />
</if>
</if>
-----------------------------------------------------------
Save & Close

OPEN USERCP_SHELL TEMPLATE AND FIND:
----------------------------------------------------------
HTML Code:
<tr><td class="thead">$vbphrase[networking]</td></tr>
-----------------------------------------------------------

ADD ABOVE:
-----------------------------------------------------------
HTML Code:
	<if condition="$vbulletin->options['advanced_userbars_system_usercp_link']">
	<tr><td class="$navclass[selectuserbar]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=selectuserbar">$vbphrase[select_userbar_picture]</a></td></tr>
	</if>
------------------------------------------------------------

OPEN postbit_legacy and postbit TEMPLATE THEN FIND:
----------------------------------------------------------
HTML Code:
$template_hook[postbit_signature_end]
-----------------------------------------------------------

ADD UNDER:
-----------------------------------------------------------
HTML Code:
<if condition="$vbulletin->options[enable_advanced_userbars_system]">
<br />		
<if condition="$post[userbar]">
<fieldset><legend>$post[username]-s Userbar:</legend><table><tr><td>
<b>$userbar[title]</b>
<img src="$userbar[userbarpath]" border="0">
</td></tr>
</table></fieldset>
</if>
<br />
</if>
------------------------------------------------------------

Save & Close

Also You Can Find Userbars From http://www.userbars.be
Enjoy & Don't forget to click install.

Download

This modification is archived, downloads are still allowed.

File Type: %1$s Advanced_Userbars_System_v2.1.zip (610.4 KB, 489 downloads)

Supporters / CoAuthors

  • Hasann

Screenshots

Click image for larger version
Name:	Advanced_Userbars_UserCP.jpg
Views:	2434
Size:	73.3 KB
ID:	82255   Click image for larger version
Name:	Advanced_Userbars_Profile.jpg
Views:	2123
Size:	66.2 KB
ID:	82256   Click image for larger version
Name:	Advanced_Userbars_Postbit.jpg
Views:	1795
Size:	54.2 KB
ID:	82257   Click image for larger version
Name:	Advanced_Userbars_Options.jpg
Views:	940
Size:	51.4 KB
ID:	82258  

Click image for larger version
Name:	Advanced_Userbars_Admincp.jpg
Views:	1411
Size:	52.8 KB
ID:	82259  

Similar Mods

Profile Enhancements Advanced Userbars Hack v1.0 vBulletin 3.6 Add-ons

vblts.ru supports vBulletin®, 2022-2024