Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Show online/offline status in friends block Details »»
Show online/offline status in friends block
Version: 1.00, by Taragon Taragon is offline
Developer Last Online: May 2017 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.7.x Rating:
Released: 03-01-2008 Last Update: 03-01-2008 Installs: 71
Template Edits
Re-useable Code Translations  
No support by the author.

Show online/offline status in friends block
  • Shows the online/offline status in the user profile friends block like ie. MySpace.

Demo: http://www.letsgather.net/member.php?u=1

Code:
----------------------------
memberinfo_tiny

FIND:
----------------------------

<li class="memberinfo_tiny">
<if condition="$user['avatarurl']">
	<a href="member.php?$session[sessionurl]u=$user[userid]"><img src="$user[avatarurl]" alt="$user[username]"<if condition="$user['avatarwidth']"> width="$user[avatarwidth]"</if><if condition="$user['avatarheight']"> height="$user[avatarheight]"</if> border="0" class="alt2" /></a>
</if>				
	<div class="smallfont" title="$user[username]"><a href="member.php?$session[sessionurl]u=$user[userid]">$user[musername]</a></div>
</li>

----------------------------
REPLACE with:
----------------------------

<li class="memberinfo_tiny">
<if condition="$user['avatarurl']">
	<a href="member.php?$session[sessionurl]u=$user[userid]"><img src="$user[avatarurl]" alt="$user[username]"<if condition="$user['avatarwidth']"> width="$user[avatarwidth]"</if><if condition="$user['avatarheight']"> height="$user[avatarheight]"</if> border="0" class="alt2" /></a>
</if>				
	<div class="smallfont" title="$user[username]"><a href="member.php?$session[sessionurl]u=$user[userid]">$user[musername]</a></div>
	<div class="smallfont">
		<if condition="$user['onlinestatus']">$user[onlinestatus]</if>
	</div>
</li>

----------------------------
memberinfo_css

FIND:
----------------------------

/**
* Memberinfo Tiny
*/
li.memberinfo_tiny {
	height:105px;
	width:75px;
	overflow:hidden;
	float:$stylevar[left];
	text-align:center;
	margin:1px;
}

----------------------------
REPLACE with:
----------------------------

/**
* Memberinfo Tiny
*/
li.memberinfo_tiny {
	height:115px;
	width:75px;
	overflow:hidden;
	float:$stylevar[left];
	text-align:center;
	margin:1px;
}

----------------------------
Done!

Show Your Support

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

Comments
  #2  
Old 03-02-2008, 04:08 PM
Taragon's Avatar
Taragon Taragon is offline
 
Join Date: Sep 2007
Location: The Netherlands
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Small oops...
Code:
----------------------------
memberinfo_css

FIND:
----------------------------

height:115px;

----------------------------
REPLACE with:
----------------------------

height:105px;

----------------------------

ofcourse should be
Code:
----------------------------
memberinfo_css

FIND:
----------------------------

height:105px;

----------------------------
REPLACE with:
----------------------------

height:115px;

----------------------------

I've updated the txt file.
Reply With Quote
  #3  
Old 03-02-2008, 04:40 PM
SwollenCranium's Avatar
SwollenCranium SwollenCranium is offline
 
Join Date: Oct 2007
Location: Raleigh, NC
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmmm ....

How about writing an article on how you did all those user profile modifications ?

The HOW TO section on profiles is lacking of any clear guidance.

YOURS looks awesome.
Reply With Quote
  #4  
Old 03-02-2008, 05:05 PM
Taragon's Avatar
Taragon Taragon is offline
 
Join Date: Sep 2007
Location: The Netherlands
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Even though it took me a couple of months to figure some stuff out, being not a coder or web designer myself, it basically is very simple and looks very much like the example given here by Hex_legend https://vborg.vbsupport.ru/showthread.php?t=166890

It’s an html page, using the MEMBERINFO template, having 2 columns, filled with the MEMBERINFO hooks and custom profile fields.

Also, this is just nice
This is awesome http://mygtblog.org/about-princeton/

Forgive me if I'm breaking any site rules for making credits to a 3rd party site btw.

To your question, maybe, in the future.

I do like to keep this topic "this mod only" after this reply
Reply With Quote
  #5  
Old 03-02-2008, 05:50 PM
choccyclaire choccyclaire is offline
 
Join Date: Jan 2008
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is cool. Thanks.
Reply With Quote
  #6  
Old 03-04-2008, 01:58 AM
zmmmzz zmmmzz is offline
 
Join Date: Nov 2007
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome
Reply With Quote
  #7  
Old 03-11-2008, 09:22 PM
nerofix nerofix is offline
 
Join Date: Mar 2006
Location: Saarland
Posts: 219
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool how did you made the online status appears as text as you can see in the first screenshot?
Reply With Quote
  #8  
Old 05-07-2008, 12:59 PM
LisaJH LisaJH is offline
 
Join Date: Nov 2007
Location: South Australia
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it dont work for me :S
Reply With Quote
  #9  
Old 06-14-2008, 02:08 PM
Captain Tycoon Captain Tycoon is offline
 
Join Date: Jan 2008
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Marked and Installed! Works Perfectly
Reply With Quote
  #10  
Old 06-21-2008, 01:39 PM
Ultimate Killer Ultimate Killer is offline
 
Join Date: Sep 2007
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great thanks.
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 03:34 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.04638 seconds
  • Memory Usage 2,296KB
  • Queries Executed 23 (?)
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
  • (3)bbcode_code
  • (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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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