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

Reply
 
Thread Tools
vBStatus - Facebook Style Status Display (v4) Details »»
vBStatus - Facebook Style Status Display (v4)
Version: 4.01, by Attilitus Attilitus is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.7.x Rating:
Released: 06-01-2008 Last Update: 07-12-2008 Installs: 732
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.





This modification thread will not be upgraded, since it is possible that some users may prefer v4.

Compatible with 3.6.x and 3.5.x
vBStatus allows your users to update their status to tell other members what they are doing/thinking at any given time. A user's status is displayed under their names in their postbit, in their User Profile, and anywhere else you choose!

User's can edit their status quickly and easily via AJAX.

Administrative options include:
  • Banning a list of usergroups from using the hack.
  • Allowing a list of usergroups to change other users' status.
  • Limit the # of characters used in Status Messages
  • Word wrap status messages to prevent broken templates.
  • Turning the hack on/off.
  • Option of In-Line editting or a popup. (Defined in the admincp)
  • Default status for users with a blank status. (Defined in the admincp)
  • Status prefix to append an admin-customizable forum standard. (Attilitus is doing something)
There are 3 template edits for this hack. The installation readme file will guide you through the entire process.
Update 2.0:
Please reinstall the product xml file, and re-edit your templates following the new instructions in the readme file. This is to correct a small cosmetic bug that displays non-functional links to guests and non-admins.

Update 3.0:
A number of bugs were fixed, and a few new admin options were added. Please uninstall the previous product and reinstall this one. Please re-edit your templates and reupload all files. Sorry for the inconvenience (but at least we are getting this handled in the first 12 hours of release.)

Update 4.0:
This is a fairly comprehensive update. You must remove all previous template edits and add the new template code. You must also "Allow Overwrite" when importing the new product. The DB structure hasn't changed.

New features include:
  • In-Line Editting (This is on by default, but you can return to the previous popup style by changing an option in the admincp)
  • Default Status: If a user doesn't have any status message it will be set to a default status which you can define in the admincp
  • Visual improvements: Various small visual improvements were made, including a change in the location of the small "edit" link.
Update 4.01
I added status prefixes. If your updating from version 4 just reimport the product (with overwrite set to yes), and reupload all the files. No template edits necessary when upgrading from v4 to v4.01. (And I'm not going to change the file version because this update came so quickly on the heals of v4.)


Please do not forget to click INSTALL

Show Your Support

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

Comments
  #442  
Old 06-12-2009, 09:37 PM
imk imk is offline
 
Join Date: Dec 2006
Posts: 809
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it possible to have them feed onto forumhome? or index, like the facebook updates?
Reply With Quote
  #443  
Old 06-21-2009, 04:32 PM
forexforum forexforum is offline
 
Join Date: Sep 2008
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by code707 View Post
Hi, I installed this but my problem is, it doesnt 'edit' the status. the link is there but its not doing anything
problem fixed.

https://vborg.vbsupport.ru/showpost....&postcount=391
Reply With Quote
  #444  
Old 07-09-2009, 04:48 PM
SamirDarji SamirDarji is offline
 
Join Date: Apr 2004
Posts: 645
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone tried it on 3.8.3?
Reply With Quote
  #445  
Old 07-12-2009, 02:26 PM
Oyobiia Oyobiia is offline
 
Join Date: Sep 2008
Location: Ham
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have problems with this, when users click edit the drop down menu for the username shows up :/
Reply With Quote
  #446  
Old 07-12-2009, 02:44 PM
DonHouston DonHouston is offline
 
Join Date: Aug 2006
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by imk View Post
is it possible to have them feed onto forumhome? or index, like the facebook updates?
i'd like to know this as well since i have a perfect spot where they could update it in my header which would also allow me to eliminate he "edit" int he post bit and profile
Reply With Quote
  #447  
Old 07-14-2009, 03:46 AM
Majidm Majidm is offline
 
Join Date: Aug 2005
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, nice mod.

Why are these functions in att_include.php?

Code:
 class AttilitusImage{
    
function vbimghost_imgtype ($val){
    
    $types = array(
       1 => '.GIF',
       2 => '.JPG',
       3 => '.PNG',
       4 => '.SWF',
       5 => '.PSD',
       6 => '.BMP',
       7 => '.TIFF',
       8 => '.TIFF',
       9 => '.JPC',
       10 => '.JP2',
       11 => '.JPX',
       12 => '.JB2',
       13 => '.SWC',
       14 => '.IFF',
       15 => '.WBMP',
       16 => '.XBM'
   );
   if ($val > 16 )
           return  false;
   else
           return strtolower($types[$val]);
}

function resize($filename,$imagew,$imageh){
$filepath="$directory/$filename";
$filepath=$filename;
                if(!$dime = getimagesize($filepath)){
                    eval(standard_error("Not an Image"));
                }
                $fileext=$this->vbimghost_imgtype($dime[2]);  
            
         switch ($fileext){
             case (".gif"):
                     $srcImg = imagecreatefromgif($filepath);
                     $colortrans = imagecolortransparent($srcImg);
                     $thumbImg = imagecreate($imagew, $imageh);
                     imagepalettecopy($thumbImg,$srcImg);
                     imagefill($thumbImg,0,0,$colortrans);
                     imagecolortransparent($thumbImg,$colortrans);
                     imagecopyresized($thumbImg,$srcImg,0,0,0,0,$imagew,$imageh,$dime[0],$dime[1]);
                     imagegif($thumbImg,$filepath);
                 break;
             case (".jpg"):
             case (".jpeg"):
                     $srcImg = imagecreatefromjpeg($filepath);
                     if (function_exists('imagecreatetruecolor')){
                         $thumbImg = imagecreatetruecolor($imagew,$imageh);
                         imagecopyresampled($thumbImg,$srcImg,0,0,0,0,$imagew,$imageh,$dime[0],$dime[1]);
                     }else{
                         $thumbImg = imagecreate($imagew,$imageh);
                         imagecopyresized($thumbImg,$srcImg,0,0,0,0,$imagew,$imageh,$dime[0],$dime[1]);
                     }
                     imagejpeg($thumbImg,$filepath,75);
                 break;
             case (".png"):
                     $srcImg = imagecreatefrompng($filepath);
                     if (function_exists('imagecreatetruecolor')){
                         $thumbImg = imagecreatetruecolor($imagew,$imageh);
                         imagecopyresampled($thumbImg,$srcImg,0,0,0,0,$imagew,$imageh,$dime[0],$dime[1]);
                     }else{
                         $thumbImg = imagecreate($imagew,$imageh);
                         imagecopyresized($thumbImg,$srcImg,0,0,0,0,$imagew,$imageh,$dime[0],$dime[1]);
                     }
                     imagepng($thumbImg,$filepath);
                     
                 break;
                default:
                     return false;
                     break;
         }
     imagedestroy($srcImg);
     imagedestroy($thumbImg);
     return true;
}

function upload($file,$filename,$directory,$maxw,$maxh){
            $AllowedExtensions=".jpg|.gif|.jpeg|.png";
            $AllowedExtensions=explode("|",strtolower($AllowedExtensions));
            
            $upfilename = str_replace("'","",$file['name']); 
            $upfilesize = ($file['size']/1024); 
            $upfiletype = $file['type']; 
            $upfiletname = $file['tmp_name']; 
            $upfileerro = $file['error']; 
            $fileext =trim(strtolower(strrchr($upfilename, '.')));
            //fix for getimagesize errors 
            $tmpname = "tmp_".uniqid($userid).$fileext;
            if(move_uploaded_file($upfiletname, $directory."/".$tmpname)){
                $upfiletname = $directory."/".$tmpname;
            }
            
            if ($upfilename!="")
            {
                
                if(!$dime = getimagesize($upfiletname)){
                    eval(standard_error("Not an Image"));
                }
                
                if (!$dime){
                    eval(standard_error("Error image size not defined"));    
                }
                
                $fileext = $this->vbimghost_imgtype($dime[2]);
				$this->Uploaded_EXT=$fileext;
                if(! in_array($fileext,$AllowedExtensions)){
                    eval(standard_error("Image extension is not allowed."));    
                }
                           
                //If Width or Height are off resize.
                if($dime[0] > $maxw)
                {
                    $ResizeRatio=($maxw/$dime[0]);
                    $NewWidth=$ResizeRatio*$dime[0];
                    $NewHeight=$ResizeRatio*$dime[1];
                    
                    $this->resize($upfiletname,$NewWidth,$NewHeight);
                }else if($dime[1] > $maxh){
                    $ResizeRatio=($maxh/$dime[1]);
                    $NewWidth=$ResizeRatio*$dime[0];
                    $NewHeight=$ResizeRatio*$dime[1];
                    
                    $this->resize($upfiletname,$NewWidth,$NewHeight);    
                    
                }
            
                @copy($upfiletname, $directory."/".$filename.$fileext);
                //remove temp file
                unlink($upfiletname);  
                }
            }

}
Reply With Quote
  #448  
Old 07-15-2009, 10:39 AM
Pcwolfx?'s Avatar
Pcwolfx? Pcwolfx? is offline
 
Join Date: Dec 2007
Location: Istanbul, Turkey
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not support another charcters.
Reply With Quote
  #449  
Old 07-15-2009, 07:23 PM
Itchy Nips's Avatar
Itchy Nips Itchy Nips is offline
 
Join Date: Jun 2009
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice mod! voted and installed. Kudos to the coder!

just a note:
I modified it a little to fit and look a little nicer on my forum. If anyone is interested:

I commented out the:
$post[username] ... so it does not display the username before the status. I felt it was sorta redundant since it gets displayed right under the user's name anyway.

I also added:
<br><hr> ... after the EDIT link so it displays a little bar right under the status. This breaks up the status and the rest of the 'stuff' that appears on the left (ie. the avatar, post count, etc..)

Quote:
Originally Posted by SamirDarji View Post
Anyone tried it on 3.8.3?
it worked for me on 3.8.3
Reply With Quote
  #450  
Old 07-15-2009, 08:06 PM
SamirDarji SamirDarji is offline
 
Join Date: Apr 2004
Posts: 645
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for the confirmation on 3.8.3.

I didn't see the little bar between the status and username when I looked at your site as a guest.
Reply With Quote
  #451  
Old 07-16-2009, 11:25 PM
ArcadeSyndicate's Avatar
ArcadeSyndicate ArcadeSyndicate is offline
 
Join Date: Oct 2008
Location: Germany
Posts: 298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by imk View Post
is it possible to have them feed onto forumhome? or index, like the facebook updates?
that is exactly what i am looking for too.
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 09:13 AM.


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.10562 seconds
  • Memory Usage 2,321KB
  • 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
  • (4)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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