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
  #12  
Old 02-28-2008, 11:07 AM
NeuroLancer's Avatar
NeuroLancer NeuroLancer is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

another bug found. i added new category Games, mass moved 14 userbars there. all is good with it, so i deleted Cars.... still getting audi, mercedes and a few other cars displaying in userCP, even when ctrl refresh page they are there. their files I physically removed from server via ftp, then deleted category.

see my screenshots. 1 is what the user sees at usercp, 2 is my vbulletin admin side of things, 3 is my directory. as you can see the car images, 1.gif, 2.gif and so on are not in the admin cp or the directory on server. yet still display in usercp.

Edit: I had to manually delete their entries from the database. Now they dont display in usercp.

Edit 2: 1 thing I did do was I had a hard time getting the userbar images to display in order on the user cp, it didnt seem to recognise the category display id, but i went into each category and changed the individual userbar images all the same display order it worked. Example, category 1 I made all images have display order '1', in cat 2 the images all have order of '2'... this way they display in order on the usercp.

Edit 3: I have tested all other areas and there are no other problems, images update good and display where and how they should.

thanks again for the mod
Reply With Quote
  #13  
Old 02-28-2008, 03:21 PM
Hasann's Avatar
Hasann Hasann is offline
 
Join Date: Aug 2005
Location: Germany
Posts: 897
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NeuroLancer View Post
Rechecking to see if im in the 3.7 forum... I AM. Holy smokes its arrived

A tear from ... my eye...

*Installed
thanks for installed
Quote:
Originally Posted by projectego View Post
[high]* projectego clicks install [/high]
tenk yuuu :up:
Quote:
Originally Posted by NeuroLancer View Post
bug found, when delete userbar it says cant find phrase 'deleted_userbar_successfully'

still testing will let you know how it goes
okei brother I'll fix it.
Quote:
Originally Posted by edenx View Post
any chance to do this without file editing?
yes in the near future
Quote:
Originally Posted by NeuroLancer View Post
another bug found. i added new category Games, mass moved 14 userbars there. all is good with it, so i deleted Cars.... still getting audi, mercedes and a few other cars displaying in userCP, even when ctrl refresh page they are there. their files I physically removed from server via ftp, then deleted category.

see my screenshots. 1 is what the user sees at usercp, 2 is my vbulletin admin side of things, 3 is my directory. as you can see the car images, 1.gif, 2.gif and so on are not in the admin cp or the directory on server. yet still display in usercp.

Edit: I had to manually delete their entries from the database. Now they dont display in usercp.

Edit 2: 1 thing I did do was I had a hard time getting the userbar images to display in order on the user cp, it didnt seem to recognise the category display id, but i went into each category and changed the individual userbar images all the same display order it worked. Example, category 1 I made all images have display order '1', in cat 2 the images all have order of '2'... this way they display in order on the usercp.

Edit 3: I have tested all other areas and there are no other problems, images update good and display where and how they should.

thanks again for the mod
you must give images/userbars directory, subdirectories and files chmod 0777
Reply With Quote
  #14  
Old 02-28-2008, 03:23 PM
NeuroLancer's Avatar
NeuroLancer NeuroLancer is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hasann View Post
thanks for installed
you must give images/userbars directory chmod 0777 and all subdirectories and files
i knew you were going to say that Sorry about the image I uploaded, but it was like I said. After I made the screenshot here, i did chmod all dirs and subdirs to 777 and then retest. still I had this same problem.... I notice the files are not 777, they must be to stop the problem?
Reply With Quote
  #15  
Old 02-28-2008, 03:32 PM
Hasann's Avatar
Hasann Hasann is offline
 
Join Date: Aug 2005
Location: Germany
Posts: 897
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NeuroLancer View Post
i knew you were going to say that Sorry about the image I uploaded, but it was like I said. After I made the screenshot here, i did chmod all dirs and subdirs to 777 and then retest. still I had this same problem.... I notice the files are not 777, they must be to stop the problem?
I don't know bro try it easy I am going now trying and testing these problems.
Reply With Quote
  #16  
Old 02-28-2008, 06:25 PM
Trana Trana is offline
 
Join Date: Apr 2005
Posts: 604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd still like to see a hack that successfully allows users to create their own userbars online.
Reply With Quote
  #17  
Old 02-28-2008, 06:34 PM
RvG2 RvG2 is offline
 
Join Date: Jan 2007
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Trana View Post
I'd still like to see a hack that successfully allows users to create their own userbars online.
yeah agreed.
Reply With Quote
  #18  
Old 02-28-2008, 07:12 PM
NeuroLancer's Avatar
NeuroLancer NeuroLancer is offline
 
Join Date: Feb 2008
Location: Australia
Posts: 143
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Trana View Post
I'd still like to see a hack that successfully allows users to create their own userbars online.
There was one once, by stonyarc. It was discontinued because of security reasons. Anything that gives the user dynamic control of making files on the server is potentially dangerous.
Reply With Quote
  #19  
Old 02-28-2008, 08:02 PM
Trana Trana is offline
 
Join Date: Apr 2005
Posts: 604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NeuroLancer View Post
There was one once, by stonyarc. It was discontinued because of security reasons. Anything that gives the user dynamic control of making files on the server is potentially dangerous.
That and it wouldn't work on IIS hosted forums.
Reply With Quote
  #20  
Old 02-28-2008, 10:37 PM
o0Hubba0o's Avatar
o0Hubba0o o0Hubba0o is offline
 
Join Date: Mar 2005
Location: Minnesota
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This was one of my fav's, and you can include the bars in sigs now, AWESOME! I won't be putting on my site for a several weeks, but I'm clicking install now anyways.
Reply With Quote
  #21  
Old 02-29-2008, 01:05 AM
deafluckyirish deafluckyirish is offline
 
Join Date: Apr 2007
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am afraid of that. Lot of missing phrases. It looked like it is uncomplete job. I just did uninstall until it get fix as 100%
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:23 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.09393 seconds
  • Memory Usage 2,365KB
  • 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
  • (6)bbcode_html
  • (8)bbcode_php
  • (10)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
  • (3)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