Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: , by Wayne Luke (Senior Member) Wayne Luke is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 12-28-2001 Last Update: Never Installs: 67
 
No support by the author.

vBulletin Taskbar Ticker.

This is based on a hack at www.theforumz.com and written by Gutspiller. It is reposted here for the benefit of all licensed vBulletin Owners and their communities.

This add-on allows your users to see your most up-to-date topics in their Windows Taskbar (sorry Mac and Linux users). It has a scrolling display using the Marquee Tag. You can change the HTML to present anything you want really though.

Here are the features:
  1. It now uses Global.php to connect to the database.
  2. It now uses vBulletins database class to perform database operations.
  3. It will show the latest topics to the user based on their vBulletin usergroup and the appropriate permissions. This allows you to hide private forums still.
  4. All forum url's and titles are now pulled from the vBulletin Options.
  5. All query and variable names fit in with vBulletin's naming scheme better.
  6. All links reuse the same window.

One thing I haven't done yet is convert the whole thing to use templates though if I get the time I will do that because I hate having HTML in the code.

Installation
  • Edit ticker2.php and change the Title tag to represent what you want it to say.
  • Upload ticker.php to your website.
End User Installation
To install the ticker on your Windows 98 or higher computer (also works on Windows 95 with IE5+ installed) follow these instructions.
  1. Right-click on your Taskbar and go to toolbars->new toolbar
  2. Type "http://www.domain.com/forums/ticker2.php" without the quotes in the location box
  3. Click OK
Make sure to change the domain so that it points to the proper location for them.

There is no support for this outside this thread but all you should have to do is upload it and create a new toolbar. It works on my machine and no there isn't a public demo yet. Anyway, Enjoy it.

Show Your Support

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

Comments
  #22  
Old 12-29-2001, 07:19 PM
Mystics's Avatar
Mystics Mystics is offline
 
Join Date: Oct 2001
Location: Germany
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by ptbyjason
If you view Who's Online it messes up the location of the user. Does anyone know a way to prevent the Who's Online to appear normal. I've attached the image of me using the ticker and viewing the Who's Online.
If you want to remove showing the Ticker in "Who-is-online" completely, do this:

Open ticker2.php:

Search for
Code:
error_reporting(7);
and add BELOW it
Code:
$tickerstart=1;
Open sessions.php:

Search for
Code:
if ($templateversion > '2.0.1') { // Use location!
and replace it with
Code:
if ($templateversion > '2.0.1' AND $tickerstart==0) { // Use location!
Then upload both files.

[hr=[high]][/hr]

If you just want to show the correct location, do this:

Open online.php

Find this
Code:
  default:
    $userinfo[activity] = 'unknown';
  }
BEFORE that, add this:
Code:
  case 'ticker2.php':
    $userinfo[activity] = 'ticker';
    break;
Then find this:
Code:
    default:
      // Let's show the admin the location but put something false up for everyone else..
      if ($bbuserinfo[usergroupid] == 6) {
         $userinfo[location] = htmlspecialchars(stripslashes(replacesession($userinfo[location])));
        $userinfo[where] = "<b>Unknown Location:</b> <a href=\"$userinfo[location]\">$userinfo[location]</a>";
      } else {
        // We were unable to parse the location
        $userinfo[where] = "$bbtitle <a href='index.php?s=$session[sessionhash]'>Main Index</a>";;
      }
BEFORE that, add this:
Code:
    case 'ticker':
      $userinfo[where] = "Watching the <a href='ticker2.php?s=$session[sessionhash]'>Ticker</a>";
      break;
Greetingz,
Mystics
Reply With Quote
  #23  
Old 12-29-2001, 08:45 PM
andrew67 andrew67 is offline
 
Join Date: Dec 2001
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by ptbyjason
If you view Who's Online it messes up the location of the user. Does anyone know a way to prevent the Who's Online to appear normal. I've attached the image of me using the ticker and viewing the Who's Online.
I belive only Admin will see that message, everyone else see's the location as the user is browsing main page....
Reply With Quote
  #24  
Old 12-29-2001, 08:55 PM
Mystics's Avatar
Mystics Mystics is offline
 
Join Date: Oct 2001
Location: Germany
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by andrew67


I belive only Admin will see that message, everyone else see's the location as the user is browsing main page....
Yeah, your are right, but nevertheless he should include my changes ('If you just want to show the correct location, do this: ')

Then the Admin and the users got the correct location shown in Who-is-online.
Reply With Quote
  #25  
Old 12-29-2001, 09:24 PM
DarkReaper DarkReaper is offline
 
Join Date: Oct 2001
Posts: 429
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very cool. I just changed the refresh and fixed the images and it works wonderfully.

I'm concerned about what was said earlier though...if private forum posts are visible, that's not good
Reply With Quote
  #26  
Old 12-30-2001, 02:49 AM
ptbyjason's Avatar
ptbyjason ptbyjason is offline
 
Join Date: Dec 2001
Location: TX
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dark Reaper, mine only shows threads that the user has access to. If I am not logged in, I cannot see the moderator board posts. If I am logged in I can see all of the threads from all of the boards. There shouldn't be any problem with security on this.

Mystics, thank you. There is one problem with your script though. When I modify the ticker2.php and sessions.php, it still shows the same error. I modified the online.php and now it shows that the user is viewing the ticker. I don't know why it still won't show the exact location for the user. I use VB 2.03, could that have an effect on it?

andrew67, there is a very good reason why this needs to be corrected. If I am trying to track the location of a member, I need to know where they are if they have the ticker running or not. The way it is now, if someone has the ticker running, I lose the use of the Who's Online page.

Mystics and wluke, I think the modification should be added to the original hack.
Reply With Quote
  #27  
Old 12-30-2001, 03:56 PM
LuBi LuBi is offline
 
Join Date: Oct 2001
Posts: 416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I once saw something similar to this used for on some SOF site with newspro. lovin it for vB
Reply With Quote
  #28  
Old 12-30-2001, 05:08 PM
Wayne Luke's Avatar
Wayne Luke Wayne Luke is offline
Senior Member
 
Join Date: Jan 2002
Location: Southern California
Posts: 1,694
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are right.. I didn't think about Who is Online. Frankly because I don't use it because I don't need that much control over my users. They pretty much police themselves and everything stays in line.

I will work on adding the other features though as well as making it a template.

The session.php and other changes will most likely not work in versions before 2.2.0 because of changes in the code. This has not been tested on any version except 2.2.1. If you make those changes in a prior version you are on your own. Sorry.
Reply With Quote
  #29  
Old 12-31-2001, 01:43 AM
nuke nuke is offline
 
Join Date: Dec 2001
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Like I incorporate the Ticker on the Board on the head page: Source code favor as an example Large

Big Thx
Reply With Quote
  #30  
Old 01-01-2002, 01:36 PM
wot-Mike wot-Mike is offline
 
Join Date: Oct 2001
Location: Netherlands
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For those of you who have phpMyChat (integrated with the vB database!), this shows who's active in chat:
Reply With Quote
  #31  
Old 01-04-2002, 05:43 AM
voogru's Avatar
voogru voogru is offline
 
Join Date: Dec 2001
Location: Miami, FL
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where do i get ticker.php?
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 04:15 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.07189 seconds
  • Memory Usage 2,311KB
  • 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
  • (8)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
  • (4)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