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 music just when browsing in specific forums (https://vborg.vbsupport.ru/showthread.php?t=57561)

Chris-FH 10-02-2003 10:00 PM

Play music just when browsing in specific forums
 
Hoi Folks...

Firstly, I want to use these Hack as a joke, but now I love it. I´ve searched for it, but I didn´t find it.

You want to play music just when browsing in specific forums, maybe in your sound forum?

Read the attachement carefully.

C.

MaDCaT75 10-03-2003 02:55 AM

This is great! I been looking for a hack like this for a long time! As soon as I find a midi for my forum I'll install this puppy!

MaDCaT75 10-03-2003 04:22 AM

One thing: It doesnt seem to loop :confused:

Zachery 10-03-2003 04:26 AM

next time please release it in a .txt

and if your going to release it here polish up your english abit and ask for some help, only problem with this

wont sound on the forum home

wont sound inside a thread, just when browsing specific forums

and by
Quote:

Go to your styles and edit the PHP parsed Code. At the end in a new line you have to add this:
he means the phpinclude template

MaDCaT75 10-03-2003 04:39 AM

Yeah.... any way to make it sound inside threads? :confused:

Zachery 10-03-2003 04:46 AM

i would guess change forumid to threadid

:\

Mickie D 10-03-2003 10:10 AM

Sorted

will post my addon below if you want it

also all credits goto chris-FH as it was his idea i got mine from :)

Regards
Mickie D

Mickie D 10-03-2003 10:37 AM

ADDON

#################
to play music for individual users heres how
#################

replace

$forumid == X

with

$bbuserinfo['userid']==X

X being the user id of the person

################

Another ADDON

################
play music for individual user in a certain forum
################

Replace

$forumid == X

with

$bbuserinfo['userid']==X and $forumid == X

####################

please remember if you installed the original you will have a forumid where X is so look for the number

Deimos 10-03-2003 11:45 AM

Gah, I was getting parse errors, doh

Chris-FH 10-03-2003 12:37 PM

Hoi Folks...

THX a lot for your feedback...

@Mickie D:

That ADDON is great. :) THX.

@Faranth:

Okay, next time I?ll release it in a text, and I ask for help to become better in english. ;-)

C.

Zachery 10-03-2003 12:38 PM

update your first post and upload the instructions as a txt file, that way radom pirates cant take your work :)

Zachery 10-03-2003 12:42 PM

uhh this is a test to make a bug topic

Zachery 10-03-2003 12:43 PM

hnmmm one more time

Chris-FH 10-03-2003 12:57 PM

Okay...

I?ve updated my first post. :)

C.

Mickie D 10-03-2003 01:55 PM

Chris-FH if you need any help with english or me to make you a text version of your hack just ask m8...

Regards
Mickie D

assassingod 10-03-2003 01:57 PM

Quote:

Originally Posted by Faranth
hnmmm one more time

Faranth you could of posted those tests in the Testing Zone forum;)

Chris-FH, nice hack, For a future version you may want to intergrate this in the Admin CP;) (It's not too hard:))

Zachery 10-03-2003 03:54 PM

Quote:

Originally Posted by assassingod
Faranth you could of posted those tests in the Testing Zone forum;)

Chris-FH, nice hack, For a future version you may want to intergrate this in the Admin CP;) (It's not too hard:))

it happened on this specific page :) so i wanted to test it here :)

but i agree with ASSASSingod :)

it would have been cool to add some options via the aCP

Mickie D 10-03-2003 03:58 PM

i am doing the admin cp for this as we speak should be done in a few days :)

got a lot on with custermers :)

Mickie D 10-03-2003 04:10 PM

ANOTHER QUICK ADDON

###############
to play to a certain usergroup in a certain forum
###############

replace

$forumid == X

with

$bbuserinfo[usergroupid]==X and $forumid == X

#######################

dont forget to use the admin cp to find out what usergroup and forum id you want these to play in :)

ak1 10-04-2003 05:32 PM

Is there a way plaing mp3 files?

assassingod 10-04-2003 05:36 PM

Quote:

Originally Posted by ak1
Is there a way plaing mp3 files?

Step 2 will help you

Edit:
I just realized that this doesn't edit any vB files so it's not a hack

Chris-FH 10-04-2003 06:02 PM

@ak1:

Yes, it will play mp3-files, but only the Internet Explorer will play it, not Opera and not the Netscape an his clones.

Tonight I`ll update the TXT-File:

- The ADDONs by Mickie D (is this okay for you?)

- At the moment I take only the (Background-Sound-) HTML-Code for the Internet Explorer, I will update it with the HTML-Code for the Navigator.

C.

SpeedStreet 10-04-2003 10:34 PM

Quote:

Originally Posted by Faranth
next time please release it in a .txt

and if your going to release it here polish up your english abit and ask for some help, only problem with this

wont sound on the forum home

wont sound inside a thread, just when browsing specific forums

and by
he means the phpinclude template


Not everyone has the enormous grasp of english phonetics and grammar that you apparently find yourself criticising others for.

Try being a little less rude. Its not your place to moderate users on this site, and all users should be encouraged to continue to contribute to vBulletin.

Mickie D 10-04-2003 10:36 PM

Quote:

Originally Posted by SpeedStreet
Not everyone has the enormous grasp of english phonetics and grammar that you apparently find yourself criticising others for.

Try being a little less rude. Its not your place to moderate users on this site, and all users should be encouraged to continue to contribute to vBulletin.

agreed 100%

Chris-FH 10-04-2003 10:53 PM

THX a lot SpeedStreet & Mickie D... :)

It wasn?t a pleasure to read the lines written by Faranth, I had the thought: My first and my last hack, published @ vBulletin.org... ;-)

Okay...

Update

I?ve attached an new TXT-File in my first post, containing the ADDONS, written by Mickie D and the HTML-Code for Netscape-Browsers.

@Mickie D:

When you are German, you?ve got PN, when you aren?t, you have a PN, too, but delete it... ;-)

C.

Mickie D 10-05-2003 10:33 AM

lol ... sorry i just replied i was very busy yesterday and was sure i pressed the post message button :( for PM's

i dont know any german but i am still willing to look over your text if you like ;)

i am writing the admin part for this but i have had a snag lol ... i cant rememebr the mysql codes lol so i am reading over my mysql tut to get it right will be a few days still as i have alot of private work on :(

gmarik 10-19-2003 04:22 PM

I like to like it.
Could you make an add-on, so there are different bacground images too?


All times are GMT. The time now is 04:47 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.01233 seconds
  • Memory Usage 1,767KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (27)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete