Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases

Reply
 
Thread Tools
Whos online for Vb jukebox Details »»
Whos online for Vb jukebox
Version: 1.00, by Murphinator Murphinator is offline
Developer Last Online: Oct 2005 Show Printable Version Email this Page

Version: 3.0.5 Rating:
Released: 01-18-2005 Last Update: Never Installs: 2
Is in Beta Stage  
No support by the author.

well this is my first modification 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 , please and thank you!

Show Your Support

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

Comments
  #2  
Old 01-19-2005, 09:32 PM
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Location: Australia
Posts: 1,021
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice .... do you want me to code it into the next release?
Reply With Quote
  #3  
Old 01-19-2005, 09:38 PM
Murphinator Murphinator is offline
 
Join Date: Dec 2004
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sure, but i think i might have messed up, idk, its my first one so im realllly nervous
Reply With Quote
  #4  
Old 01-19-2005, 09:39 PM
Murphinator Murphinator is offline
 
Join Date: Dec 2004
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

actually try looking it over yourself, just incase i did mess it up :ermm:
Reply With Quote
  #5  
Old 01-19-2005, 10:01 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works for me!

**clicks install**
Reply With Quote
  #6  
Old 01-19-2005, 10:09 PM
Murphinator Murphinator is offline
 
Join Date: Dec 2004
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool it worked for you?
Reply With Quote
  #7  
Old 01-19-2005, 10:12 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 01-19-2005, 10:18 PM
Murphinator Murphinator is offline
 
Join Date: Dec 2004
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok cool!
Reply With Quote
  #9  
Old 01-19-2005, 10:27 PM
Murphinator Murphinator is offline
 
Join Date: Dec 2004
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok i found out something i did wrong and did right here :P yes it works perfectly!
Reply With Quote
  #10  
Old 01-19-2005, 10:30 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

here is a screenshot:

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 05:29 AM.


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.07191 seconds
  • Memory Usage 2,286KB
  • 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
  • (4)bbcode_code
  • (1)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
  • (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