vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=34)
-   -   Whos online for Vb jukebox (https://vborg.vbsupport.ru/showthread.php?t=74679)

Murphinator 01-18-2005 10:00 PM

Whos online for Vb jukebox
 
well this is my first modification :D so exciting :P

________________________________________________
what this modification will do is it will let you see who is listening to the jukebox in the whos online page, the jukebox this works for is here

now onto the hack, the instructions are below and in a txt file also.

There is one file to edit, and two edits total
There is one phrase to make.
_
|1|
In ROOT/includes/functions_online.php find:
Code:

                case 'online':
                        $userinfo['action'] = $vbphrase['viewing_whos_online'];
                        break;

under that add
Code:

                case 'jukebox':
                        $userinfo['action'] = $vbphrase['jukebox'];
                        break;

Find:
Code:

        case 'online.php':
                $userinfo['activity'] = 'online';
                break;

under that add
Code:

        case 'vb_jukebox.php':
                $userinfo['activity'] = 'jukebox';
                break;

__________________________________

alright now go to your FORUMS-->ACP-->LANGUAGES & PHRASES--> PHRASE MANAGER

at the bottom of the page there is a button labled "add new phrase"
click it and follow these steps:

1. enter the varname as follows: "jukebox"
2. Enter the text as "listening to the jukebox"
3. Click save.

Hopefully youll understand this because i tried to make it as clear as possible!

Enjoy, please tell me how i did, it worked for me on 3.05, again this is my first modification so tell me what i could do better!

Click https://vborg.vbsupport.ru/, please and thank you!

trafix 01-19-2005 09:32 PM

Nice .... do you want me to code it into the next release?

Murphinator 01-19-2005 09:38 PM

sure, but i think i might have messed up, idk, its my first one so im realllly nervous

Murphinator 01-19-2005 09:39 PM

actually try looking it over yourself, just incase i did mess it up :ermm:

yoyoyoyo 01-19-2005 10:01 PM

works for me!

**clicks install**

Murphinator 01-19-2005 10:09 PM

cool it worked for you?

yoyoyoyo 01-19-2005 10:12 PM

Quote:

Originally Posted by Murphinator
cool it worked for you?

had to change the one capital J to a lower case and also changed the varname to jukeboxview (since "jukebox" is too generic for my taste), but otherwise yep.

Murphinator 01-19-2005 10:18 PM

ok cool!

Murphinator 01-19-2005 10:27 PM

Ok i found out something i did wrong and did right here :P yes it works perfectly!

yoyoyoyo 01-19-2005 10:30 PM

here is a screenshot:

http://img52.exs.cx/img52/8295/jukebox5pm.jpg


All times are GMT. The time now is 07:58 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.00986 seconds
  • Memory Usage 1,737KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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