Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Friends online at the bottom of the screen Details »
Friends online at the bottom of the screen
Mod Version: 1.00, by stationar (Member) stationar is offline
Developer Last Online: Jan 2014 I like it Show Printable Version Email this Page

vB Version: 4.1.0 Rating: (2 votes - 4.50 average) Installs: 23
Released: 16 Feb 2011 Last Update: Never Downloads: 0
Not Supported Uses Plugins Is in Beta Stage  

This is something I made for my site, so people could quickly see who of their friends is online. Feel free to re-write the code, because this code is not perfect: I am not a real programmer, and used some of the vBulletin code (what a shame!).

Install:

Create new plug-in:

Product : vBulletin
Hook Location : process_templates_complete
Title : Friends Online
Execution Order : 5


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	screen.jpg
Views:	937
Size:	25.8 KB
ID:	126751  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #16  
Old 02 Mar 2011, 00:23
stationar stationar is offline
 
Join Date: May 2007
That would take a professional programmer and a product to create. (add fields to database, etc.) I won't be able to do it. I am just playing with the code.
Reply With Quote
  #17  
Old 26 Mar 2011, 01:49
bulldog51981's Avatar
bulldog51981 bulldog51981 is offline
 
Join Date: Oct 2010
I am going to add an image to my "blockhead" stylevar for my forum display but when I do this it also carry's over to the background of the list and it is no longer white since the div id is calling from it. Is there anyway to override this to keep the background white?
Reply With Quote
  #18  
Old 28 Mar 2011, 18:05
stationar stationar is offline
 
Join Date: May 2007
You can try any other class: popupmenu, for example.
Reply With Quote
  #19  
Old 07 Oct 2011, 07:34
Sicilian Sicilian is offline
 
Join Date: Apr 2010
I've found that with this enabled, accessing the forum using an Ipad or iphone, the friends online widget scrolls up when your scroll upwards. It dont stay fixed at the bottom as it should.
Reply With Quote
  #20  
Old 07 Oct 2011, 07:37
Sicilian Sicilian is offline
 
Join Date: Apr 2010
Some info here http://blog.mspace.fm/2009/10/01/iph...osition-fixed/

I'm not a coder so not sure how to fix this, anyone any ideas?
Reply With Quote
  #21  
Old 07 Oct 2011, 07:40
Sicilian Sicilian is offline
 
Join Date: Apr 2010
and more info http://cubiq.org/scrolling-div-on-iphone-ipod-touch

Hopefully someone can fix.
Reply With Quote
  #22  
Old 11 Jul 2012, 07:52
imported_dfmafia's Avatar
imported_dfmafia imported_dfmafia is offline
 
Join Date: Jun 2004
Location: Wherever Uncle Sam Needs!
Real name: Brock
Works in vB 4.2.0 PL 2
I really enjoy this mod. Thanks!!!

A couple minor edits I made for style and get it anchored on the right side are in RED:

if (!$vbulletin->userinfo['userid'])
{
}
else
{
$datecut = TIMENOW - $vbulletin->options['cookietimeout'];

$buddys = $vbulletin->db->query_read("
SELECT
user.username, user.userid, user.lastactivity
FROM " . TABLE_PREFIX . "userlist AS userlist
LEFT JOIN " . TABLE_PREFIX . "user AS user ON(user.userid = userlist.relationid)
WHERE userlist.userid = {$vbulletin->userinfo['userid']} AND userlist.relationid = user.userid AND type = 'buddy' AND user.lastactivity > $datecut
ORDER BY username ASC
");
$output = '';


while ($buddy = $vbulletin->db->fetch_array($buddys))
{
$output .= ' <a href="member.php?' . $buddy['userid'] . '"><font color=#83B4CC><b>' . $buddy['username'] . '</b></font></a> ';
}
if ($output != '')
{
$output = '<font color=#828E99>Friends Online:</font>' . $output;

$template_hook['navtab_end'] .= '

<style type="text/css">
#bottom {
position: fixed;
z-index:10000!important;
right: 5px;
bottom: 0px;
text-align: right;
background-color: #01060A;
}
</style>
<div id="bottom" class="blockhead">

';

$template_hook['navtab_end'] .= $output;
$template_hook['navtab_end'] .= '

</div>

';
}
}

Attached Images
File Type: png friendsonline_a.PNG (8.4 KB, 95 views)
Reply With Quote
  #23  
Old 30 Jan 2013, 09:19
Luis's Avatar
Luis Luis is offline
 
Join Date: May 2011
Originally Posted by imported_df+++++ View Post
Works in vB 4.2.0 PL 2
I really enjoy this mod. Thanks!!!

A couple minor edits I made for style and get it anchored on the right side are in RED:




would be possible to make this mod in a pop-up warning to disappear?
Reply With Quote
  #24  
Old 31 Jan 2013, 02:54
faisaly.com faisaly.com is offline
 
Join Date: Mar 2007
just needs a x to close it when you want... and it would be great!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 05:08.

Layout Options | Width: Wide Color: