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

Reply
 
Thread Tools
Play a midi file in profile Details »»
Play a midi file in profile
Version: 1.00, by Fuitad Fuitad is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 07-20-2002 Last Update: Never Installs: 33
 
No support by the author.

This is the second hack I release. Hopefully, it will be useful to someone.

This hack allows your members select a midi file they want others to hear when they are viewing his/her profile. There is also a way for the admins to change/remove the midi the user entered.

For support, please post in this thread. Avoid PM or Emails if possible. If you're really bugged, try my AIM screenname (it's in my profile)

ChangeLog:

Version 1.02:
-------------
Fixed a bug in admin/user.php modification

Version 1.01:
-------------
Creation

Show Your Support

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

Comments
  #12  
Old 07-23-2002, 03:17 PM
Lovaboye Lovaboye is offline
 
Join Date: Apr 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OOO, it now eems that i cannot update my users post count in the admin cp?

*found the problem*

PHP Code:
Still in admin/user.phpfind:

      
makeinputcode("Number of Posts","posts",$user[posts]);

and 
replace it with

       
// Number of time a profile has been viewed by Pierre-Luc "Fuitad" Brunet
      
makeinputcode("Midi to play when viewing profile","miditoplay",$user[miditoplay]);
       
// End Number of time a profile has been viewed by Pierre-Luc "Fuitad" Brunet 

this should read instead:

PHP Code:
Still in admin/user.phpfind:

      
makeinputcode("Number of Posts","posts",$user[posts]);

and 
add under it:

       
// Number of time a profile has been viewed by Pierre-Luc "Fuitad" Brunet
      
makeinputcode("Midi to play when viewing profile","miditoplay",$user[miditoplay]);
       
// End Number of time a profile has been viewed by Pierre-Luc "Fuitad" Brunet 
DO NOT REPLACE! ONLY ADD UNDER, OR YOU WILL NOT BE ABLE TO MODIFY YOUR USERS POST IN THE ADMIN CP!
Reply With Quote
  #13  
Old 07-23-2002, 03:44 PM
Fuitad's Avatar
Fuitad Fuitad is offline
 
Join Date: Nov 2001
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I edited the script, thanks!
Reply With Quote
  #14  
Old 07-23-2002, 04:44 PM
Lovaboye Lovaboye is offline
 
Join Date: Apr 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no problem!
Reply With Quote
  #15  
Old 08-06-2002, 06:30 AM
Derek Derek is offline
 
Join Date: Mar 2002
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok. Install perfectly, but I have a hack additions request since I am not yet skilled to do this.

Why not have a popup box where the user gets to choose his midis and when he clicks the link, the URL auto gets inputed into the box like smilies? Have the box we like a javascript popup.

Then just make an admin CP addon where those options to add, etc... to the popup are in the admin CP.
Reply With Quote
  #16  
Old 08-06-2002, 06:46 AM
Fuitad's Avatar
Fuitad Fuitad is offline
 
Join Date: Nov 2001
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have absolutly no clue what you mean, can you re-explain this?
Reply With Quote
  #17  
Old 08-11-2002, 07:50 PM
Leo[GR]'s Avatar
Leo[GR] Leo[GR] is offline
 
Join Date: May 2002
Location: Finland
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

]Wav files are also working. And they're too big
Reply With Quote
  #18  
Old 09-08-2002, 04:25 AM
LOD-squa's Avatar
LOD-squa LOD-squa is offline
 
Join Date: Aug 2002
Location: Orlando, Florida
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a way this can be done by uploading?
Reply With Quote
  #19  
Old 09-08-2002, 08:15 AM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Streaming swf files are much better, they require some knowledge about flash but then you can have every mp3 you can imagine in someones profile ( I prefer Cypress Hill). I can place a tutorial how you can stream mp3 in flash if you wish.
Reply With Quote
  #20  
Old 09-08-2002, 08:50 AM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

to do this with flash, just replace the code in the template getinfo_miditoplay with:

<embed src="$userinfo[swftoplay]" width="0" height="0">

You can replace all "midi" text with "swf". Works ok.
Reply With Quote
  #21  
Old 09-15-2002, 05:01 AM
Fuitad's Avatar
Fuitad Fuitad is offline
 
Join Date: Nov 2001
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it does require the flash plug in to be installed which I personally think is annoying sometimes, I hate flash and refuse to have it installed on my computers .
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 12:34 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.04579 seconds
  • Memory Usage 2,305KB
  • 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
  • (2)bbcode_php
  • (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
  • (2)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