vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   imeem.com BBCode (https://vborg.vbsupport.ru/showthread.php?t=139879)

Twilkey 02-18-2007 10:00 PM

imeem.com BBCode
 
My new BBCode came because a friend wanted to be able to post a music player from Imeem.com on his forum without needing html enabled in his threads. So I decided to make it into a BBCode for him.

This isn't as I would like it to be. So Id call this a Beta. Also all the member adds is the end of the url.

Sign in to your AdminCP,
Scroll down to Custom BBCode,
Click ADD BBCode,

Fill in as follows,
Title-Radio
Tag-radio
Replacement-
Code:

<object width="auto" height="auto"
  classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
  codebase="http://fpdownload.macromedia.com/pub/
  shockwave/cabs/flash/swflash.cab#version=8,0,0,0">
<param name="movie" value="http://media.imeem.com/m/{param}" />
<param name="menu" value="false" />
<param name="quality" value="High" />
<param name="bgcolor" value="" />
<param name="flashvars"
  value="file=http://media.imeem.com/m/{param}&autostart=false" />
<embed src="http://media.imeem.com/m/{param}" width="auto" height="auto"
  menu="false" quality="low" bgcolor=""
  flashvars="file=http://media.imeem.com/m/{param}&autostart=false"
  type="application/x-shockwave-flash" pluginspage=
  "http://www.macromedia.com/go/getflashplayer" />
</embed></object>


Example
-
Code:

Without the space.
[ radio]UM9OM7pqy2[/radio]


Description
-Whatever you want
Use {option}-No

Demo in news post.

ZomgStuff 02-19-2007 10:42 PM

Reserved! Nice!

Can we get a demo please?

Twilkey 02-21-2007 06:26 AM

Ok sorry, I forgot the demo. It is up now.

redtaz 02-23-2007 12:00 AM

Can you make this so it can only be used in certain forums?

UgLy-NeRd 02-25-2007 11:14 PM

I like it, but the bad thing is that it allows a user to post any swf they want. It does not restrict it to imeem.com material only.

Twilkey 02-26-2007 03:43 AM

Quote:

Originally Posted by UgLy-NeRd (Post 1190692)
I like it, but the bad thing is that it allows a user to post any swf they want. It does not restrict it to imeem.com material only.

Ok I have edited the code. Now members only use the end of the url.

Pcparts 02-27-2007 08:29 PM

doesnt work for me :(

just shows a blank place.

im on vb3.5.5 still.

Pcparts 03-05-2007 09:43 AM

I upgraded to 3.6.5 last night, still not working for me.

TR?PST?R 03-05-2007 10:27 AM

Very nice bro!

pollon 03-09-2007 10:45 AM

it doesn't work for me.:( i'm on 3.6.5

Pcparts 03-09-2007 07:52 PM

same here :(

i even tried to edit different bits of code. but no luck.

Pcparts 03-09-2007 09:37 PM

Ok I figured it out:

you are missing a closing tag at the end of <embed>



this one works on my site:


Code:

<object width="300" height="80" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">
<param name="movie" value="http://media.imeem.com/m/{param}" />
<param name="menu" value="false" />
<param name="quality" value="High" />
<param name="bgcolor" value="" />
<param name="flashvars" value="file=http://media.imeem.com/m/{param}&autostart=false" />
<embed src="http://media.imeem.com/m/{param}" width="auto" height="auto" menu="false" quality="low" bgcolor="" flashvars="file=http://media.imeem.com/m/{param}&autostart=false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed>
</object>


Twilkey 03-09-2007 11:45 PM

Quote:

Originally Posted by Pcparts (Post 1199797)
Ok I figured it out:

you missing are closing tag at the end of <embed>

Thanks for pointing that out. I edited my code.

pollon 03-10-2007 10:42 AM

Quote:

Originally Posted by Pcparts (Post 1199797)
Ok I figured it out:

you missing are closing tag at the end of <embed>



this one works on my site:


Code:

<object width="300" height="80" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">
<param name="movie" value="http://media.imeem.com/m/{param}" />
<param name="menu" value="false" />
<param name="quality" value="High" />
<param name="bgcolor" value="" />
<param name="flashvars" value="file=http://media.imeem.com/m/{param}&autostart=false" />
<embed src="http://media.imeem.com/m/{param}" width="auto" height="auto" menu="false" quality="low" bgcolor="" flashvars="file=http://media.imeem.com/m/{param}&autostart=false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed>
</object>


thanks :)

Tralala 03-10-2007 03:32 PM

Quote:

Originally Posted by Twilkey SRT (Post 1190859)
Ok I have edited the code. Now members only use the end of the url.

This doesn't work for me. I see I need to paste in the code that's found inside the "Embed in your Blog, Website, etc:" box on imeem.

For example, for this page:
http://profile.imeem.com/yNt-j1/musi..._have_a_dream/

I need to go into that "Embed in your Blog, Website, etc:" text box to see:

<object width="300" height="80"><param name="movie" value="http://media.imeem.com/m/UM9OM7pqy2/aus=false/"></param><param name="wmmode" value="transparent"></param><embed src="http://media.imeem.com/m/UM9OM7pqy2/aus=false/" type="application/x-shockwave-flash" width="300" height="80" wmode="transparent"></embed></object>



...and THAT's where I see that the code is "UM9OM7pqy2"

...and paste THAT into my post, inside the [imeem] tags. The "UM9OM7pqy2" isn't anywhere at the "end of the URL." If I try and paste in any part of the URL, like "VjEmigAM" or "VjEmigAM/i_have_a_dream/" it doesn't work. It has to be "UM9OM7pqy2" which is annoying to find for each song. Is there some easier/better way I am missing?

Zolo 03-14-2007 09:49 PM

Code:

<object width="300" height="80" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">
<param name="movie" value="http://media.imeem.com/m/{param}" />
<param name="menu" value="false" />
<param name="quality" value="High" />
<param name="bgcolor" value="" />
<param name="flashvars" value="file=http://media.imeem.com/m/{param}&autostart=false" />
<embed src="http://media.imeem.com/m/{param}" width="300" height="80" menu="false" quality="low" bgcolor="" flashvars="file=http://media.imeem.com/m/{param}&autostart=false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed>
</object>


this One is Tested with both IE & FireFox --- width & height were modified
editor icon is attached ...



thank you Twilkey SRT

Twilkey 03-15-2007 03:37 AM

Thank you Zolo

SpreadingLight 02-03-2008 11:00 PM

Funny, I made the same code myself :)

I was trying to make the code easier (thought I am really a noob when it comes to code).



Here's what I have so far:


1. Installed BB Code (modified from youtube BB Code)

Code:

<object width="300" height="80" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">
<param name="movie" value="http://media.imeem.com/m/{param}" />
<param name="menu" value="false" />
<param name="quality" value="High" />
<param name="bgcolor" value="" />
<param name="flashvars" value="file=http://media.imeem.com/m/{param}&autostart=false" />
<embed src="http://media.imeem.com/m/{param}" width="auto" height="auto" menu="false" quality="low" bgcolor="" flashvars="file=http://media.imeem.com/m/{param}&autostart=false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed>
</object>


2 Copy the embed code from imeem

Code:

<object width="300" height="80"><param name="movie" value="http://media.imeem.com/m/m-ogvIOzNz/aus=false/"></param><param name="wmode" value="transparent"></param><embed src="http://media.imeem.com/m/m-ogvIOzNz/aus=false/" type="application/x-shockwave-flash" width="300" height="80" wmode="transparent"></embed></object>

2. Copy the song-ID code

Code:

imeem.com/m/m-ogvIOzNz/aus=false/

3. Use the imeem BB Code to tag it

Code:

[imeem] m-ogvIOzNz[/imeem]

4. Remove the underline (otherwise it doesn't work), and Post.



Clearly it's a bit cumbersome for users to copy the Embed code, and selectively highlight and copy the Song-ID code, and then also remove the underlining.


I was wondering if the BB Code, or some other code/product, could take the imeem Embed code, and filter out the Song-ID, and remove the underline. Similar to what https://vborg.vbsupport.ru/showthread.php?t=150761 does.

Any Ideas?


btw, I am happy to contribute back to the community here :D I made a music "button" for the message editor toolbar 20x20 pixels.

WildFire.ca 09-10-2008 01:03 AM

Is there anyway to get the player not to auto start each time the page is loaded


All times are GMT. The time now is 06:07 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.01077 seconds
  • Memory Usage 1,769KB
  • 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
  • (9)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)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