vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Profile Enhancements - Advanced Userbars System (https://vborg.vbsupport.ru/showthread.php?t=171621)

Hasann 02-27-2008 10:00 PM

Advanced Userbars System
 
ADVANCED USERBARS MANAGEMENT SYSTEM for vBulletin 3.7.x BY HASANN

The Legend Is Back :D:D

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. :)

Hasann 02-28-2008 02:50 AM

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

7lanet 02-28-2008 03:29 AM

waaaaw

thanks

very very nice

^_^

Hasann 02-28-2008 04:17 AM

Quote:

Originally Posted by 7lanet (Post 1452639)
waaaaw

thanks

very very nice

^_^

tenk yuu canim :D:up:

who this hack installed everyone please re-import product-userbars.xml
Shit! I hade mistake, I hate bugs.. I cleaned all bugs

valdet 02-28-2008 06:48 AM

Thanks. I will test this out later on. installed

Big Boss 02-28-2008 07:56 AM

Thanks for this! I'm gonna have a look at it soon.

NeuroLancer 02-28-2008 09:04 AM

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

A tear from ... my eye... ;)

*Installed

projectego 02-28-2008 10:12 AM

[high]* projectego clicks install :)[/high]

NeuroLancer 02-28-2008 10:18 AM

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

still testing will let you know how it goes

edenx 02-28-2008 10:51 AM

any chance to do this without file editing?

NeuroLancer 02-28-2008 11:07 AM

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 ;)

Hasann 02-28-2008 03:21 PM

Quote:

Originally Posted by NeuroLancer (Post 1452779)
Rechecking to see if im in the 3.7 forum... I AM. Holy smokes its arrived :D

A tear from ... my eye... ;)

*Installed

thanks for installed
Quote:

Originally Posted by projectego (Post 1452806)
[high]* projectego clicks install :)[/high]

tenk yuuu :D:up:
Quote:

Originally Posted by NeuroLancer (Post 1452808)
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 (Post 1452820)
any chance to do this without file editing?

yes in the near future :D
Quote:

Originally Posted by NeuroLancer (Post 1452823)
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 :)

NeuroLancer 02-28-2008 03:23 PM

Quote:

Originally Posted by Hasann (Post 1452964)
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?

Hasann 02-28-2008 03:32 PM

Quote:

Originally Posted by NeuroLancer (Post 1452967)
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 :D I am going now trying and testing these problems.

Trana 02-28-2008 06:25 PM

I'd still like to see a hack that successfully allows users to create their own userbars online.

RvG2 02-28-2008 06:34 PM

Quote:

Originally Posted by Trana (Post 1453074)
I'd still like to see a hack that successfully allows users to create their own userbars online.

yeah agreed.

NeuroLancer 02-28-2008 07:12 PM

Quote:

Originally Posted by Trana (Post 1453074)
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.

Trana 02-28-2008 08:02 PM

Quote:

Originally Posted by NeuroLancer (Post 1453103)
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.

o0Hubba0o 02-28-2008 10:37 PM

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.

deafluckyirish 02-29-2008 01:05 AM

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%

BuRaCh 03-01-2008 11:23 AM

thanks you for fixed 37x release..
installed;)

vBH-Team 03-01-2008 11:28 AM

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.

DJ_nus 03-01-2008 12:07 PM

thanks very gur hack D:

anca bu kadar ingilizce :D

Hasann 03-01-2008 12:37 PM

Quote:

Originally Posted by BuRaCh (Post 1454335)
thanks you for fixed 37x release..
installed;)

Quote:

Originally Posted by vBH-Team (Post 1454337)
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 (Post 1454360)
thanks very good hack D:

anca bu kadar ingilizce :D

thanks guys if you love it please click install :D:up:

NeuroLancer 03-05-2008 09:36 AM

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.

esperone 03-10-2008 11:27 PM

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


Antonio Pereira 03-13-2008 03:19 AM

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

knoppers 03-17-2008 09:32 AM

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?

M.C. 03-18-2008 12:37 AM

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 ;)

GWLiaR 03-29-2008 02:58 PM

thanks Hasann

Sworm 04-23-2008 05:16 PM

*installed*

Sworm 04-23-2008 07:19 PM

But once a user select the bar, and after he want remove it, how can do it?
If select "no bar" , the image "no bar selectet" will showed.
How can remove the bar and not showing nothin in the signature?

whitetigergrowl 04-28-2008 12:34 AM

This needs an update. Doesn't work properly with the latest VB. Needs the security update. Cannot select userbar.

NeuroLancer 04-29-2008 10:32 PM

Quote:

Originally Posted by whitetigergrowl (Post 1501085)
This needs an update. Doesn't work properly with the latest VB. Needs the security update. Cannot select userbar.

just go into the "userbar" template and find this

Code:

<form method="post" action="profile.php">
add under it this

Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />

whitetigergrowl 04-30-2008 01:13 AM

That seemed to work. Thanks!

Edit: Now however it says 'Invalid Table specified' when I try adding or managing.

-=Leb=- 05-01-2008 05:05 PM

Hi i wonder if i missed something ,because i dont see any userbar when i reply or making new threads.
I can see it only when i view my profile.
Any idea what i need to do?

Thx for your time :)

whitetigergrowl 05-02-2008 01:38 AM

Is this a supported mod thats unsupported? Such a shame if it is.

-=Leb=- 05-02-2008 11:19 AM

I hope Hasann Help me soon with this. I want the userbars diplays in signature and i have the latest version of VB

-=Leb=- 05-03-2008 04:56 PM

3 days and no help.Thats strange ,Can anyone help and tell me why the userbar is not showing on threads?

I'm about to uninstall it

-=Leb=- 05-04-2008 07:45 AM

Alright then, i'm uninstalling it right now.

Thx to your quick help :p


All times are GMT. The time now is 06:18 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02126 seconds
  • Memory Usage 1,872KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (6)bbcode_html_printable
  • (8)bbcode_php_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete