Back to vBulletin 3.8 Template Modifications

Playlist BBcode
Mod Version: 1.00, by Lautaro

vB Version: 3.8.x Rating: (3 votes - 4.67 average) Installs: 10
Released: 02 Feb 2009 Last Update: Never Downloads: 0
Not Supported Re-usable Code  

Playlist BBcode
With this BBcode your forum users will be able to show their playlists from playlist.com in any thread / post they want.

First of all upload this image to your style images/editor folder:



BBcode Steps:


1.- Go to your forum:
Admin CP > Custom BB Codes > Add new BB Code

2.- Complete the fields:

* Title: Playlist
* BB Code Tag Name: playlist
* Replacement:
Code:
<table width="70%" border="0" align="center" cellpadding="2" cellspacing="2"><tr><td><fieldset class="bbfieldset"><legend class="bblegend">{param}</legend>
<div align="center">
<embed style="width:435px; visibility:visible; height:300px;" allowScriptAccess="never" src="http://www.profileplaylist.net/mc/mp3player_new.swf?config=http%3A%2F%2Fwww.profileplaylist.net%2Fext%2Fpc%2Fconfig_regular_noautostart.xml&mywidth=435&myheight=270&playlist_url=http://www.profileplaylist.net/loadplaylist.php?{option}" menu="false" quality="high" width="435" height="300" name="mp3player" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" border="0"/>
</div>
</fieldset></td></tr></table>
* Example: [playlist=playlist=58229194&t=1233501978]My Playlist[/playlist]
* Description: Post your playlist in any thread / post
* Use {option}: YES
* Button Image (Optional): images/editor/playlist.png
* Remove Tag If Empty: NO
* Disable BB Code Within This BB Code: YES
* Disable Smilies Within This BB Code: YES
* Disable Word Wrapping Within This BB Code: YES

3.- Save. Thats all

LIVE DEMO:
http://forum.gamezeventos.com/index.php?t=1237

<< ---------------------------------------------------- >>
Changing the Playlist configuration:

Ok now im going to explain you how to change the settings of the playlist.
The code i gave you has the next configurations:

Autostart: NO
Random/Shuffle: NO
Custom Skin: NO
Color: Gray

----------------
Changing the color:

The actual code:
Code:
<table width="70%" border="0" align="center" cellpadding="2" cellspacing="2"><tr><td><fieldset class="bbfieldset"><legend class="bblegend">{param}</legend>
<div align="center">
<embed style="width:435px; visibility:visible; height:300px;" allowScriptAccess="never" src="http://www.profileplaylist.net/mc/mp3player_new.swf?config=http%3A%2F%2Fwww.profileplaylist.net%2Fext%2Fpc%2Fconfig_regular_noautostart.xml&mywidth=435&myheight=270&playlist_url=http://www.profileplaylist.net/loadplaylist.php?{option}" menu="false" quality="high" width="435" height="300" name="mp3player" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" border="0"/>
</div>
</fieldset></td></tr></table>
In this code look for this:
Code:
http://www.profileplaylist.net/mc/mp3player_new.swf?config=http%3A%2F%2Fwww.profileplaylist.net%2Fext%2Fpc%2Fconfig_regular_noautostart.xml&mywidth=435&myheight=270&playlist_url=
All the color configurations are going to be made there.
If you look closer, you'll see this in that code:
" config_regular_noautostart "

regular: its the gray color.

So if you want to change that color, just replace gray with the color
you want.

list of colors available:

black
regular (gray)
blue
purple
pink
red
green

and thats all what you have to do to change the color.

----------------
Autostart or non-Autostart

in the code i provided you look for this:

" config_regular_noautostart "

if you want it to make it Autostart then just remove this:

" _noautostart "

So it will look like this:

" config_regular "

----------------
With or without Shuffle

In the code i provided you look for this:
" config_regular_noautostart "

If you want to add shuffle simple add this:
" _shuffle "

Result:
" config_regular_noautostart_shuffle "

----------------
Examples:

So if you want to put autostart on and shuffle on then it will look like this:

" config_regular_shuffle "

And if you want to change the color then it will look this this:
" config_green_shuffle "

With color changed, autostart off & shuffle on it will look like this:
" config_regular_noautostart_shuffle "

Thats all.

Remember to mark as INSTALLED is you use this modification.

Best Regards.-
Lautaro

Download

No files for download.

Screenshots

Similar Mods

BB Code Enhancements [PVR] YouTube Playlist BBcode vBulletin 3.7 Template Modifications
BB Code Enhancements Playlist Integration ! vBulletin 3.7 Add-ons

vblts.ru supports vBulletin®, 2022-2024