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
The new Online/Offline avatar?s opacity Details »»
The new Online/Offline avatar?s opacity
Version: 3.0, by WarLion WarLion is offline
Developer Last Online: Jul 2018 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.7.x Rating:
Released: 07-20-2008 Last Update: 07-24-2008 Installs: 116
Uses Plugins Auto-Templates
 
No support by the author.

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


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 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
Animated Screenshot
animated screenshot on Internet Explorer 7

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

Show Your Support

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

Comments
  #12  
Old 07-22-2008, 01:44 AM
WarLion's Avatar
WarLion WarLion is offline
 
Join Date: Jun 2006
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JAuthement View Post
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
Reply With Quote
  #13  
Old 07-22-2008, 03:55 AM
AWJunkies AWJunkies is offline
 
Join Date: Jan 2005
Location: San Diego
Posts: 947
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Finished with PM avatar image and opacity. 0 yes 0 queries added
Reply With Quote
  #14  
Old 07-22-2008, 04:25 AM
WarLion's Avatar
WarLion WarLion is offline
 
Join Date: Jun 2006
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

asome AWjunkies look really sweat
Reply With Quote
  #15  
Old 07-22-2008, 04:34 AM
Deepdog009's Avatar
Deepdog009 Deepdog009 is offline
 
Join Date: Dec 2004
Location: Almost out of PHP TZone
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very Nice!!!
Reply With Quote
  #16  
Old 07-22-2008, 05:47 AM
Artes_Marciales Artes_Marciales is offline
 
Join Date: Jun 2007
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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) : (
Reply With Quote
  #17  
Old 07-22-2008, 12:19 PM
JAuthement JAuthement is offline
 
Join Date: Apr 2004
Location: U.S.A.
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by WarLion View Post
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.

Code:
$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']);

}
Reply With Quote
  #18  
Old 07-22-2008, 04:01 PM
Leo Brazil's Avatar
Leo Brazil Leo Brazil is offline
 
Join Date: Dec 2007
Location: Brazil
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome !!

Installing right now.
Reply With Quote
  #19  
Old 07-22-2008, 09:05 PM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by WarLion View Post
1.- no, only plugins no files
2.- yes some screenshtos and spanish lenguage
3.- camtasia studio 4 is a really good software
Brill thanks
Reply With Quote
  #20  
Old 07-25-2008, 04:58 AM
WarLion's Avatar
WarLion WarLion is offline
 
Join Date: Jun 2006
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #21  
Old 07-25-2008, 05:09 AM
Artes_Marciales Artes_Marciales is offline
 
Join Date: Jun 2007
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, nice work!! : )
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 06:36 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.05091 seconds
  • Memory Usage 2,323KB
  • Queries Executed 25 (?)
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
  • (1)bbcode_code
  • (3)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