vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   BB Code Enhancements - Playlist BBcode (https://vborg.vbsupport.ru/showthread.php?t=203908)

Lautaro 02-01-2009 10:00 PM

Playlist BBcode
 
1 Attachment(s)
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:
https://vborg.vbsupport.ru/attachmen...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:
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/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:
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

Lautaro 02-02-2009 08:06 AM

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

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-02-2009 08:57 AM

Great Idea.

Thanks for sharing.

Lautaro 02-02-2009 11:11 PM

Quote:

Originally Posted by Leo Brazil (Post 1731698)
Great Idea.

Thanks for sharing.

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

Lautaro.-

MagicThemeParks 11-14-2009 08:41 PM

1 Attachment(s)
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/fo...hread.php?t=51

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

MagicThemeParks 05-03-2010 02:37 AM

Seems like the Playlist.com code is different now. Any suggestions on how to fix the BBCode so that they work properly?

MagicThemeParks 05-21-2010 12:09 PM

funmasti, is it working for you?

OldSchoolDSL 01-02-2011 04:38 AM

Works in 4.1 PL2

Anyone know how to make one for MixPod.com ?

matrex722 11-10-2012 12:29 PM

Wow thanks for this


All times are GMT. The time now is 02:39 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.01158 seconds
  • Memory Usage 1,750KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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