Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Beta Releases
FAQ Community Calendar Today's Posts Search

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

if you want it to show up in online with a link to the jukebox to heres what you want the text in the phrase to be

Code:
Listening to the Jukebox<br><a href="vb_jukebox.php">Jukebox</a>
Reply With Quote
  #13  
Old 01-19-2005, 10:49 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
if you want it to show up in online with a link to the jukebox to heres what you want the text in the phrase to be

Code:
Listening to the Jukebox<br><a href="vb_jukebox.php">Jukebox</a>
or:
Code:
Listening to the<br><a href="vb_jukebox.php">Jukebox</a>
Reply With Quote
  #14  
Old 01-19-2005, 11:07 PM
Murphinator Murphinator is offline
 
Join Date: Dec 2004
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah that would work too
Reply With Quote
  #15  
Old 01-19-2005, 11:28 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 yoyoyoyo
or:
Code:
Listening to the<br><a href="vb_jukebox.php">Jukebox</a>
excuse me- I am an idiot- I pasted the wrong code- what I meant to post was a popup window:
try this:
Code:
<script>

function doPopUp(){
doPopUpWindow = window.open("vb_jukebox.php","jukepop","location=yes,directories=yes,toolbar=yes,menubar=yes,status=yes,scrollbars=yes,resizable=yes,left=100,top=100,screenX=100,screenY=100");
}

</script>
listening to the Jukebox<br><a href="javascript:doPopUp()">JUKEBOX</a>
or for popping up the window on mouseover:
Code:
<script>

function doPopUp(){
doPopUpWindow = window.open("vb_jukebox.php","jukepop","");
}

</script>
listening to the Jukebox<br><a href="#" onmouseover="doPopUp()">JUKEBOX</a>
Reply With Quote
  #16  
Old 01-19-2005, 11:34 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

an updated screenshot

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

cool i only have one install :P
Reply With Quote
  #18  
Old 01-20-2005, 12:01 AM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

use this if you want a pop under window

Code:
<script>

var popunder="vb_jukebox.php"

var winfeatures="width=800,height=510,scrollbars=1,resizable=1,toolbar=1,location=1,menubar=1,status=1,directories=1"

var once_per_session=0


function loadpopunder(){
win2=window.open(popunder,"",winfeatures)
win2.blur()
window.focus()
}

if (once_per_session==0)
loadpopunder()
else
loadornot()

</script>
listening to the Jukebox<br>
<a href="javascript:loadpopunder()">Jukebox</a>
Reply With Quote
  #19  
Old 01-20-2005, 12:21 AM
Murphinator Murphinator is offline
 
Join Date: Dec 2004
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

great to know im the only one who installed! :P
Reply With Quote
Reply


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 01:31 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.04228 seconds
  • Memory Usage 2,299KB
  • Queries Executed 24 (?)
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
  • (11)bbcode_code
  • (2)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