vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Play a midi file in profile (https://vborg.vbsupport.ru/showthread.php?t=41366)

Lovaboye 07-23-2002 03:17 PM

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!

Fuitad 07-23-2002 03:44 PM

I edited the script, thanks!

Lovaboye 07-23-2002 04:44 PM

no problem!

Derek 08-06-2002 06:30 AM

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.

Fuitad 08-06-2002 06:46 AM

I have absolutly no clue what you mean, can you re-explain this?

Leo[GR] 08-11-2002 07:50 PM

]Wav files are also working. And they're too big :(

LOD-squa 09-08-2002 04:25 AM

is there a way this can be done by uploading?

NuclioN 09-08-2002 08:15 AM

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.

NuclioN 09-08-2002 08:50 AM

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. ;)

Fuitad 09-15-2002 05:01 AM

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 ;).


All times are GMT. The time now is 01:47 AM.

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.02361 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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