View Full Version : Add-On Releases - The new Online/Offline avatar?s opacity
WarLion
07-20-2008, 10:00 PM
The new Online/Offline avatar?s opacity
************************************
this is working on vb 3.7.2 must work in all 3.7.x versions
Works on Firefox and IE,
i dont have another browser you can tell me if is working in others
remember if you like this mod please click Install
Older version for 3.6.x is here (https://vborg.vbsupport.ru/showthread.php?t=157699)
Funcion on this hack
this hack allow to make add extra online/offline status
if any user is offline the avatar will have a transparency with mouseover
*Add face avatar to postbit
*Add face avatar to postbit_legacy
*Add face avatar to Member Profile
*Add face avatar to Show laders
*Add face avatar to Member list
*Add face profile picture on member profile
*All editable over admincp
*Add the option to change the userstatus icon on Show Leaders to avatar
and select the width and height for the avatar on Show Leader
*Extra addons (Chief first post,)
***********************************************
Installation
***********************************************
Upgrade for old version:
For upgrades only upload the product xml via admincp
admincp==>Plugins & Products ==>Manage Products==>[Add/Import Product] and select
Allow Overwrite --> yes
edit your configuration on Vbulletin Options (WarLion Online/Offline Settings) You need to select the Usergroups that will be able to see this modification
Thats all enjoy.
New fresh Installation:
Step One :
Install WarLion Online/Offline product
Install the Product via admincp
Go to your admincp==>Plugins & Products ==>Manage Products==>[Add/Import Product]
edit your configuration on Vbulletin Options (WarLion Online/Offline Settings) You need to select the Usergroups that will be able to see this modification
Thats all enjoy.
************************************
Extras
A few extras for the modificaccion
if you have Chief First Post - Every Page 3.7 (https://vborg.vbsupport.ru/showthread.php?t=178331&highlight=chief+first) you have to download extra-warlion-online-offline cfp
this will add a new phrases and option to enable or disable this opacity on chief firs post
************************************
************************************************** ***
To-do next release
*add extra field on edit option on UserCP to enable disable online/offline mod for specific user
*Choise if invisible user have this option
Version 3.0
* Add the opacity option on avatar of member profile
* Add the opacity option on Profile picture
* Add 4 more phrases
* Add 2 more option on admincp
Version 2.9
* Upgrade for vbulletin 3.7.x
Version 2.8
* Fix the small bug if you change the Userstatus icon for avatar on Show Leaders
* Add a new option to disable the UserStatus icon on forum
* Add 4 More Phrases
Version 2.7
* Add option to change from userstatus icon to avatar on Show Leaders
* Add to select the width and height for the avatar on Show Leader
* Add 4 more Phrases
Version 2.6
* Fix the small bug if you have Add Template Name in HTML Comments - Yes
* Add usergroup selection (select the groups able to see the mod)
* Add the Online/Offline Opacity on Show Groups
* Add new plugin for showgroup_users
* Add new plugin for select UserGrooups
* Add 4 more Phrases
Version 2.5
* Create a new template for the css funtion
* Add avility to change over admincp
* Remove the functions_wl_online_offline.php file
* Add avility to Enable/Disable Mouseover on admincp
* Adjust the own opacity on admincp
* Select in wich templates you like the Fade Option
* Extra lenguage (spanish).
Version 2
* Create the modificacion on a product
* Create a new function fetch_online_status_mod
* Create a new template to avoid the change of postbit_onlinestatus
Version 1.2
*Fix a minor bug on postbit_legacy
Version 1.1
*Add Avatar Opacity on Member List
Version 1.0
* Avatar Opacity on postbit
* Avatar Opacity on Member Profile
*Avatar Opacity on Postbiit_legacy
if you see the screen shot you will understand this better
i hope you like it
Screenshot (http://img180.imageshack.us/img180/7269/onlineofflinese3.gif)
Animated Screenshot (http://img254.imageshack.us/img254/5470/onlineofflinesa3.gif)
animated screenshot on Internet Explorer 7 (http://img507.imageshack.us/img507/3387/onlineonieig9.gif)
in this black screensshots i remove the original icon status for online/offline if you like to remove too search in this templates
postbit ==> $post[onlinestatus]
postbit_legacy ==> $post[onlinestatus]
MEMBERINFO ==> $userinfo[onlinestatus]
and remove it
dont forget to ckick Install
WarLion
07-21-2008, 07:08 PM
screnshots
K4GAP
07-21-2008, 09:08 PM
Can't wait to try this out!
K4GAP
07-21-2008, 09:18 PM
Works like a charm. Quick easy install. Tested it on my members list and works exactly as claimed. Nice job!
WarLion
07-21-2008, 09:29 PM
im glad you like it thanks for installing
TimberFloorAu
07-21-2008, 09:58 PM
Havent downloaded yet.
But.
1. does it add any db queries, if so how many.
2. mod is 276kb, seems LARGE does it include images in the mod ( for example use ) if so thats fine.
3. what a great animated gif you gave !! Brilliant. Could you explain how you did this please.
Ste
Cobro
07-21-2008, 10:30 PM
awesome thanks this is so kewl
AWJunkies
07-22-2008, 12:09 AM
Thanks for update will look in my code for the PM avatar and your mod merger thing.
JAuthement
07-22-2008, 12:48 AM
WarLion;
I don't know how you would add a custom field to your mod. But for me I use a custom postbit (postbit_first) for the first post in a thread. what I did was went into the global_start plugin and just modified the postbit_legacy string to add the postbit_first. I know that this is a "hack"way of doing this. If you could do a bit better I would greatly appreciate it!!
WarLion
07-22-2008, 01:43 AM
Havent downloaded yet.
But.
1. does it add any db queries, if so how many.
2. mod is 276kb, seems LARGE does it include images in the mod ( for example use ) if so thats fine.
3. what a great animated gif you gave !! Brilliant. Could you explain how you did this please.
Ste
1.- no, only plugins no files
2.- yes some screenshtos and spanish lenguage
3.- camtasia studio 4 is a really good software
WarLion
07-22-2008, 01:44 AM
WarLion;
I don't know how you would add a custom field to your mod. But for me I use a custom postbit (postbit_first) for the first post in a thread. what I did was went into the global_start plugin and just modified the postbit_legacy string to add the postbit_first. I know that this is a "hack"way of doing this. If you could do a bit better I would greatly appreciate it!!
i will try to do it , but i need to se your plugin to see what is the change you made
AWJunkies
07-22-2008, 03:55 AM
Finished with PM avatar image and opacity. 0 yes 0 queries added :)
WarLion
07-22-2008, 04:25 AM
asome AWjunkies look really sweat
Deepdog009
07-22-2008, 04:34 AM
very Nice!!!
Artes_Marciales
07-22-2008, 05:47 AM
Great Job **Install** & **nominated**
Buen trabajo y además con la traducción al Español,
Gracias paisano! : )
PD: No parece que me funcione bien...
estoy logeado en el foro y mi avatar no está encendido (firefox/esplorer) : (
JAuthement
07-22-2008, 12:19 PM
i will try to do it , but i need to se your plugin to see what is the change you made
I didn't create a new plugin I just modified your WarLion Remplace Template Online/Offline. I highlighted my changes in RED.
$onlineoffline_groups = explode(',',$vbulletin->options['wl_usergroups']);
if (is_member_of($vbulletin->userinfo,$onlineoffline_groups))
{
if ($vbulletin->options['wl_onlineoffline_enabled']) {
if ($vbulletin->options['wl_onlineoffline_memlist_enabled']) {
$vbulletin->templatecache['memberlist_resultsbit'] = str_replace('<img src=\"$avatarurl\"', '$userinfo[onlinestatus2]</if><img src=\"$avatarurl\"', $vbulletin->templatecache['memberlist_resultsbit']);
$vbulletin->templatecache['memberlist_resultsbit'] = str_replace('vspace=\"4\" /><else />', 'vspace=\"4\" /></span><else />', $vbulletin->templatecache['memberlist_resultsbit']);
}
if ($vbulletin->options['wl_onlineoffline_postbit_enabled']) {
$vbulletin->templatecache['postbit'] = str_replace('<img src=\"$post[avatarurl]\"', '$post[onlinestatus2]<img src=\"$post[avatarurl]\"', $vbulletin->templatecache['postbit']);
$vbulletin->templatecache['postbit'] = str_replace('$vbphrase[xs_avatar]</phrase>" border=\"0\" />', '$vbphrase[xs_avatar]</phrase>" border=\"0\" /></span>', $vbulletin->templatecache['postbit']);
}
if ($vbulletin->options['wl_onlineoffline_profile_enabled']) {
$vbulletin->templatecache['memberinfo_block_ministats'] = str_replace('id=\"user_avatar\" />', 'id=\"user_avatar\" /><br><center>$userinfo[onlinestatus]</center>', $vbulletin->templatecache['memberinfo_block_ministats']);
}
if ($vbulletin->options['wl_onlineoffline_postleg_enabled']) {
$vbulletin->templatecache['postbit_legacy'] = str_replace('<img src=\"$post[avatarurl]\"', '$post[onlinestatus2]<img src=\"$post[avatarurl]\"', $vbulletin->templatecache['postbit_legacy']);
$vbulletin->templatecache['postbit_legacy'] = str_replace('$vbphrase[xs_avatar]</phrase>" border=\"0\" />', '$vbphrase[xs_avatar]</phrase>" border=\"0\" /></span>', $vbulletin->templatecache['postbit_legacy']);
$vbulletin->templatecache['postbit_first'] = str_replace('<img src=\"$post[avatarurl]\"', '$post[onlinestatus2]<img src=\"$post[avatarurl]\"', $vbulletin->templatecache['postbit_first']);
$vbulletin->templatecache['postbit_first'] = str_replace('$vbphrase[xs_avatar]</phrase>" border=\"0\" />', '$vbphrase[xs_avatar]</phrase>" border=\"0\" /></span>', $vbulletin->templatecache['postbit_first']);
}
if ($vbulletin->options['wl_onlineoffline_showgroups_enabled']) {
$vbulletin->templatecache['showgroups_usergroupbit'] = str_replace('$user[onlinestatus]', '$user[onlinestatus2]$user[onlinestatus]</span>', $vbulletin->templatecache['showgroups_usergroupbit']);
}
}}
$avatar_wid = $vbulletin->options['wl_onlineoffline_avatar_width'];
$avatar_hei = $vbulletin->options['wl_onlineoffline_avatar_height'];
if ($vbulletin->options['wl_onlineoffline_avatar_showgroups_enabled']) {
$vbulletin->templatecache['showgroups_usergroupbit'] = str_replace('$user[onlinestatus]', '<img src=\"image.php?u=$user[userid]\" border=\"0\" width=\"$avatar_wid\" height=\"$avatar_hei\"></span>', $vbulletin->templatecache['showgroups_usergroupbit']);
}
if ($vbulletin->options['wl_onlineoffline_userico_enabled']) {
$vbulletin->templatecache['postbit'] = str_replace('$post[onlinestatus]', '', $vbulletin->templatecache['postbit']);
$vbulletin->templatecache['postbit_legacy'] = str_replace('$post[onlinestatus]', '', $vbulletin->templatecache['postbit_legacy']);
$vbulletin->templatecache['MEMBERINFO'] = str_replace('$prepared[onlinestatus]', '', $vbulletin->templatecache['MEMBERINFO']);
}
Leo Brazil
07-22-2008, 04:01 PM
Awesome !!
Installing right now.
TimberFloorAu
07-22-2008, 09:05 PM
1.- no, only plugins no files
2.- yes some screenshtos and spanish lenguage
3.- camtasia studio 4 is a really good software
Brill thanks :)
WarLion
07-25-2008, 04:58 AM
a finish the version 3.0 that have new options like
* Add the opacity option on avatar of member profile
* Add the opacity option on Profile picture
* Add 4 more phrases
* Add 2 more option on admincp
Artes_Marciales
07-25-2008, 05:09 AM
Thanks, nice work!! : )
sinucello
07-25-2008, 05:11 AM
Hi,
great mod, thank you.
Feature wish: opacity option for "friends view" on profile page.
all the best,
Sacha
WarLion
07-25-2008, 05:45 AM
Hi,
great mod, thank you.
Feature wish: opacity option for "friends view" on profile page.
all the best,
Sacha
im working on that too lol a lot of problem with that but i will i promise
verino
07-25-2008, 05:45 AM
installed but seems not working :confused:
even I set the fade opacity to 50%. I use vb 3.7.2 with vertical postbit legacy.
Any help pls ?
AWJunkies
07-25-2008, 06:08 AM
Great job upgrading now. Haven't heard back from other mod guy so may be sending you the code for PM image stuff.
WarLion
07-25-2008, 06:19 AM
installed but seems not working :confused:
even I set the fade opacity to 50%. I use vb 3.7.2 with vertical postbit legacy.
Any help pls ?
did you have any change in your postbit_legacy template?
or another hack , mod that will change someting?
send me a copy of your template via pm to check if you have any modification
g0dfather1984
07-25-2008, 06:20 AM
Thank you!
verino
07-25-2008, 06:27 AM
did you have any change in your postbit_legacy template?
or another hack , mod that will change someting?
send me a copy of your template via pm to check if you have any modification
pm sent, Sir.
Thank's :D
carlos54321
07-25-2008, 09:28 AM
Thankyou installed
WarLion
07-25-2008, 06:37 PM
i just add a extra add-on for the users that have the Chief First Post
AWJunkies
07-26-2008, 02:25 AM
You going to do friends and visitor messages as well in members profile?
verino
07-26-2008, 05:24 AM
I just realized that when i login as admin, I can't see the opacity. But when I logged-in as another user, it works perfect :D
My bad then, sorry.
WarLion
07-26-2008, 07:03 AM
You going to do friends and visitor messages as well in members profile?
actually im working rigth now in that
carmichael1973
07-27-2008, 01:09 PM
Awesome! Quick to install and works perfect! >Clicks INSTALLED
Artes_Marciales
07-30-2008, 08:57 AM
Esto habrá que mejorarlo en la próxima actualización.
(1 queries for uncached templates)
Uncached templates: warlion_postbit_onlinestatusmod (2)
(me sale el mensaje de "uncached templates" en el perfil y en el postbit)
Saludos!
WarLion
07-30-2008, 05:36 PM
Esto habr? que mejorarlo en la pr?xima actualizaci?n.
(1 queries for uncached templates)
Uncached templates: warlion_postbit_onlinestatusmod (2)
(me sale el mensaje de "uncached templates" en el perfil y en el postbit)
Saludos!
que extra?o dejame checo eso no se que pueda ser
translate: that weird let me check that
KURTZ
07-30-2008, 07:49 PM
interesting hack ... but seems that needs some developments ... so i'm checking it ... ;)
Audax666
08-04-2008, 06:58 PM
Hi,
nice mod! Worked perfect from the beginning.
But is it possible to change the overlay color from grey to black?
Didn't find the place where the color is defined.
Maybe you can help?
WarLion
08-04-2008, 08:32 PM
can you send me a screen shot i dont understand what you mean
Audax666
08-05-2008, 06:15 AM
I'm talking about the white/grey layer which lays above the avatar if a user is offline. (i think it's called opacity)
If the opacity setting is put on 10% the avatar is nearly pure white.
My wish is that it should be nearly black if the user is offline.
"Sorry, I'm not a native speaker"
lstintxs100
08-05-2008, 06:32 AM
nice. Cool little idea.
can you look into this for me?
Uncached templates: warlion_postbit_onlinestatusmod (4)
WarLion
08-05-2008, 06:54 PM
i will let me heck that
Audax666
08-06-2008, 10:19 AM
Hi,
here is the screenshot.
85074
The red marked area should be getting dark, when the user is offline.
Like your animated screenshot
http://img254.imageshack.us/img254/5470/onlineofflinesa3.gif
But it is getting white, like your animated screenshot on Internet Explorer 7
http://img507.imageshack.us/img507/3387/onlineonieig9.gif
Although I use Firefox!
WarLion
08-06-2008, 03:45 PM
Hi,
here is the screenshot.
85074
The red marked area should be getting dark, when the user is offline.
Like your animated screenshot
http://img254.imageshack.us/img254/5470/onlineofflinesa3.gif
But it is getting white, like your animated screenshot on Internet Explorer 7
http://img507.imageshack.us/img507/3387/onlineonieig9.gif
Although I use Firefox!
thats cuz` my background remember the image get transparency and take the background color
WiseOne38221
08-06-2008, 09:46 PM
Sweet, thanks! I wish there was a hack to FORCE members to upload an avatar...
WarLion
08-07-2008, 02:48 AM
but there is a hack for no avatar ZH - No Avatar (https://vborg.vbsupport.ru/showthread.php?t=165563) , and put a avatar like this
https://vborg.vbsupport.ru/attachment.php?attachmentid=73391&stc=1&d=1198069107
smirkley
08-07-2008, 04:19 AM
Wishlists:
Admin CP Options added:
- Add select opacity to signature images
User CP Options added:
- Add individual member select in User CP to disable this as their choice of viewing non-opacity only, but default on install or registration would be 'on'.
edit - I installed this, enabled all features, but couldnt get it to work. Tried it on admin account, tried it on test member account. The avatar would be in opacity, but mouseover didnt seem to work.
Still testing
Adeawan
01-30-2009, 11:07 PM
Thanks
installed.
xyzmary2001
07-17-2009, 09:41 AM
Did anyone tested it on vBulletin 3.8.2?
calvis
09-08-2009, 11:07 AM
Doesn't work for 3.8.3
princeedward
09-17-2009, 08:44 AM
thanks...gonna try this one ;) and it works to my vb 3.8.4
Tyran1
10-27-2009, 11:40 PM
Why a icon in the picture?
Iguana Goddess
02-14-2010, 07:30 PM
This works great for 3.4.8 Thanks.
New Joe
12-10-2010, 03:36 AM
Anyone can re code and get this to work with vB4?
Fready
06-25-2011, 02:24 AM
Anyone can re code and get this to work with vB4?
:(
It would be great to have this for vb4
WarLion
06-25-2011, 02:39 AM
thats something i can not do , i dont jave vb4 :(
New Joe
06-25-2011, 09:41 AM
thats something i can not do , i dont jave vb4 :(
You could always ask someone to give you a version and use it as a testing site only
Fready
12-24-2011, 02:32 AM
These are the errors when I install it on vB4:
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: warlion_fade_css in [path]/includes/functions.php on line 4183
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: warlion_postbit_onlinestatusmod in [path]/includes/functions.php on line 4183
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: warlion_postbit_onlinestatusmod in [path]/includes/functions.php on line 4183
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: warlion_postbit_onlinestatusmod in [path]/includes/functions.php on line 4183
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: warlion_postbit_onlinestatusmod in [path]/includes/functions.php on line 4183
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.