Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Advanced Userbars System Details »»
Advanced Userbars System
Version: 2.1, by Hasann Hasann is offline
Developer Last Online: Jun 2021 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.7.x Rating:
Released: 02-27-2008 Last Update: 06-12-2008 Installs: 81
DB Changes Uses Plugins Template Edits Auto-Templates
Code Changes Additional Files Translations  
No support by the author.

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 www.userbars.be
Enjoy & Don't forget to click install.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 03-01-2008, 11:23 AM
BuRaCh BuRaCh is offline
 
Join Date: Aug 2006
Location: istanbul/turkey
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks you for fixed 37x release..
installed
Reply With Quote
  #23  
Old 03-01-2008, 11:28 AM
vBH-Team vBH-Team is offline
 
Join Date: Dec 2007
Location: Turkey
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Teşekk?rler Hasann d?n?ş?n muhteşem oluyor ger?ekten

the legend don't going anywhere good hack. Good luck hasann for new hacks.
Reply With Quote
  #24  
Old 03-01-2008, 12:07 PM
DJ_nus's Avatar
DJ_nus DJ_nus is offline
 
Join Date: Dec 2005
Location: T?rkiye / Antalya
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks very gur hack D:

anca bu kadar ingilizce
Reply With Quote
  #25  
Old 03-01-2008, 12:37 PM
Hasann's Avatar
Hasann Hasann is offline
 
Join Date: Aug 2005
Location: Germany
Posts: 897
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BuRaCh View Post
thanks you for fixed 37x release..
installed
Quote:
Originally Posted by vBH-Team View Post
Teşekk?rler Hasann d?n?ş?n muhteşem oluyor ger?ekten

the legend don't going anywhere good hack. Good luck hasann for new hacks.
Quote:
Originally Posted by DJ_nus View Post
thanks very good hack D:

anca bu kadar ingilizce
thanks guys if you love it please click install :up:
Reply With Quote
  #26  
Old 03-05-2008, 09:36 AM
NeuroLancer's Avatar
NeuroLancer NeuroLancer is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One thing i did, was the postbit code, i had to change the 'IF' to this:

Code:
<if condition="$post[userbar] && $userbar[userbarpath] != ''">
that way when showing a post outside the forum (i.e vbgallery) it doesnt show broken image.

just so anyone who needs it knows.
Reply With Quote
  #27  
Old 03-10-2008, 11:27 PM
esperone esperone is offline
 
Join Date: Feb 2006
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's some more userbars for those of you that want to increase your collection.

There are around 21,000 userbars in this download :
Code:
http://rapidshare.com/files/89263849/userbanners.part1.part1.rar
http://rapidshare.com/files/89276443/userbanners.part1.part2.rar
http://rapidshare.com/files/89276596/userbanners.part1.part3.rar
Reply With Quote
  #28  
Old 03-13-2008, 03:19 AM
Antonio Pereira Antonio Pereira is offline
 
Join Date: Sep 2007
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its possible to disable the user can choose waht user bar go to have ?

My idea is only admins can choose the type of user bar for each user, this is possible ?


Nice Work

Best Regards
Reply With Quote
  #29  
Old 03-17-2008, 09:32 AM
knoppers knoppers is offline
 
Join Date: Nov 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have an Problem:
Quote:
Datenbankfehler in vBulletin 3.6.8:

Invalid SQL:
UPDATE user SET userbar='31' WHERE userid='1';

MySQL-Fehler : Unknown column 'userbar' in 'field list'
Fehler-Nr. : 1054
Datum : Monday, March 17th 2008 @ 11:31:14 AM
Skript : http://www.***.de/profile.php
Referrer : http://www.***.de/profile.php?do=selectuserbar
IP-Adresse : ***
Benutzername : KnoPPerS
Klassenname : vB_Database
What can i do?
Reply With Quote
  #30  
Old 03-18-2008, 12:37 AM
M.C. M.C. is offline
 
Join Date: Jan 2002
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

beautifull, BUT! can it be incorporated into SIGNATURE rather than self-standing layer?! There is signature image options for each usergrop in AdminCP->Usergroups->Usergeoup Manager->Edit Usergeoup (I have 3.6 adminCP so i look it from there), so why don't you move it in single block, called for example "Signatures" (same as Avatars or Smilies) and put all that pictures there with usergroup permitions and more? Basicly same stuff as Avatars, but for signature!
Hope you got my idea and I hope You will like it
Reply With Quote
  #31  
Old 03-29-2008, 02:58 PM
GWLiaR GWLiaR is offline
 
Join Date: Mar 2008
Location: Mersin/TR
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks Hasann
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:19 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04984 seconds
  • Memory Usage 2,350KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (6)bbcode_html
  • (8)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete