Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

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
  #2  
Old 02-28-2008, 02:50 AM
Hasann's Avatar
Hasann Hasann is offline
 
Join Date: Aug 2005
Location: Germany
Posts: 897
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

reserved for future additions!

known bugs: as I know none! if you are find any bugs tell me

in the near future comes up userbar upload and Change Userbar In Navbar
Reply With Quote
  #3  
Old 02-28-2008, 03:29 AM
7lanet's Avatar
7lanet 7lanet is offline
 
Join Date: Aug 2007
Location: YeMeN
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

waaaaw

thanks

very very nice

^_^
Reply With Quote
  #4  
Old 02-28-2008, 04:17 AM
Hasann's Avatar
Hasann Hasann is offline
 
Join Date: Aug 2005
Location: Germany
Posts: 897
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 7lanet View Post
waaaaw

thanks

very very nice

^_^
tenk yuu canim :up:

who this hack installed everyone please re-import product-userbars.xml
Shit! I hade mistake, I hate bugs.. I cleaned all bugs
Reply With Quote
  #5  
Old 02-28-2008, 06:48 AM
valdet's Avatar
valdet valdet is offline
 
Join Date: Feb 2007
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. I will test this out later on. installed
Reply With Quote
  #6  
Old 02-28-2008, 07:56 AM
Big Boss's Avatar
Big Boss Big Boss is offline
 
Join Date: Jan 2008
Location: Cleveland, OH
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this! I'm gonna have a look at it soon.
Reply With Quote
  #7  
Old 02-28-2008, 09:04 AM
NeuroLancer's Avatar
NeuroLancer NeuroLancer is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Rechecking to see if im in the 3.7 forum... I AM. Holy smokes its arrived

A tear from ... my eye...

*Installed
Reply With Quote
  #8  
Old 02-28-2008, 10:12 AM
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Posts: 724
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[high]* projectego clicks install [/high]
Reply With Quote
  #9  
Old 02-28-2008, 10:18 AM
NeuroLancer's Avatar
NeuroLancer NeuroLancer is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bug found, when delete userbar it says cant find phrase 'deleted_userbar_successfully'

still testing will let you know how it goes
Reply With Quote
  #10  
Old 02-28-2008, 10:51 AM
edenx edenx is offline
 
Join Date: Nov 2006
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any chance to do this without file editing?
Reply With Quote
Reply

Thread Tools

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:45 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.12132 seconds
  • Memory Usage 2,328KB
  • Queries Executed 24 (?)
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
  • (6)bbcode_html
  • (8)bbcode_php
  • (1)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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