vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Friends online at the bottom of the screen (https://vborg.vbsupport.ru/showthread.php?t=258947)

Sicilian 10-07-2011 05:40 AM

and more info http://cubiq.org/scrolling-div-on-iphone-ipod-touch

Hopefully someone can fix.

imported_dfmafia 07-11-2012 05:52 AM

1 Attachment(s)
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:

Quote:

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>

';
}
}

https://vborg.vbsupport.ru/attachmen...1&d=1341989686

Luis 01-30-2013 08:19 AM

Quote:

Originally Posted by imported_df+++++ (Post 2346881)
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:




https://vborg.vbsupport.ru/attachmen...1&d=1341989686

would be possible to make this mod in a pop-up warning to disappear?

faisaly.com 01-31-2013 01:54 AM

just needs a x to close it when you want... and it would be great!

ricorico 12-15-2021 02:45 PM

i may know where to upload thanks a lot i'm trying but i can't get it to work


All times are GMT. The time now is 05:49 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01127 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete