Customizing SMF > Tips and Tricks
does SMF support online reaplayer??
ivytony:
Hi,
I am thingking about allowing users to listen to music or news online in the forum. I want to insert realplayer. does the forum support realplayer?
thanks
[Unknown]:
If it's just HTML to be put in the layout, SMF won't even know anything is different.
-[Unknown]
Louis (CSpotkill):
If you want to be able to use a Real Player BBCode tag, like [real]url-to-file.ram[/real], try adding this to subs.php just before the comment, // An email address they just typed in.
// Real [real]example.ram[/real]
'~\[real\](?:<br />)*(.+?)(?:<br />)*\[/real\]~i' => isset($disabled['real']) ? 'Real: $1' : '<object type="audio/x-pn-realaudio-plugin" height="60" width="300" data="$1"><param name="src" value="$1" /><param name="controls" value="default" /><param name="autostart" value="false" /></object>',
Example at: http://www.cszen.com/testforum/index.php?topic=1.msg6#msg6
ivytony:
how to add new BBC codes in the SMF?
hi, I have added the scripts that support insertion of realplayer and wma files in the SMF post. Bud I don't know how to add new bbc codes in the editor (jus like the flash, picture, quote Bulletin board code icon above).
somebody can help me?
thanks
Hellen:
--- Quote from: ivytony on March 13, 2005, 03:54:51 PM ---how to add new BBC codes in the SMF?
hi, I have added the scripts that support insertion of realplayer and wma files in the SMF post. Bud I don't know how to add new bbc codes in the editor (jus like the flash, picture, quote Bulletin board code icon above).
somebody can help me?
thanks
--- End quote ---
Hi, here!
http://www.simplemachines.org/community/index.php?topic=30343.0
Navigation
[0] Message Index
[#] Next page
Go to full version