PDA

View Full Version : BB Code Enhancements - Playlist BBcode


Lautaro
02 Feb 2009, 10:04
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:
http://www.vbulletin.org/forum/attachment.php?attachmentid=93900&stc=1&d=1233568920


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:

<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%2Fconfi g_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: My 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/showthread.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:

<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%2Fconfi g_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:
http://www.profileplaylist.net/mc/mp3player_new.swf?config=http%3A%2F%2Fwww.profileplaylist.net%2Fext%2Fpc%2Fconfi g_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

Lautaro
02 Feb 2009, 10:06
Here's the answer to the question :P

* Requirements:
-- Be registered at playlist.com
-- Have a playlist


Ok, now i'll show you how to do it step by step:

1.- Go to www.playlist.com (http://www.playlist.com/)

2.- Login: http://www.playlist.com/user/login

3.- Now go to the link "Post My Playlist"
Image:
http://www.img.gamezeventos.com/images/3256931.png

4.- Select the option 'E'
Image:
http://www.img.gamezeventos.com/images/3090862.png

5.- Select the playlist you want to use.

6.- Don't change any setting, just click 'Get CODE'
Image:
http://www.img.gamezeventos.com/images/7180723.png

7.- Search for your playlist ID:
Image:
http://www.img.gamezeventos.com/images/5880714.png

For example: Mine is 'playlist=58229194&t=1233560593'. Look at the image above to know which is your code.

Thats all !..

Original guide:
http://forum.gamezeventos.com/showthread.php?p=5559

Leo Brazil
02 Feb 2009, 10:57
Great Idea.

Thanks for sharing.

Lautaro
03 Feb 2009, 01:11
Great Idea.

Thanks for sharing.

thanks for your comment, I hope more people likes this for their forums.

Lautaro.-

MagicThemeParks
14 Nov 2009, 22:41
Works great! :)

I needed something because my Playlist URL was not showing since the update/upgrade at the site.

Demo here: http://www.magicthemeparks.com/mk/forum/showthread.php?t=51

I also uploaded the Playlist logo as well to use :up:

MagicThemeParks
03 May 2010, 04:37
Seems like the Playlist.com code is different now. Any suggestions on how to fix the BBCode so that they work properly?

MagicThemeParks
21 May 2010, 14:09
funmasti, is it working for you?

OldSchoolDSL
02 Jan 2011, 06:38
Works in 4.1 PL2

Anyone know how to make one for MixPod.com ?

matrex722
10 Nov 2012, 13:29
Wow thanks for this