Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2001
Posts: 54
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 54
Help wanted!!!

Ok I have got the markup happening to insert a Flash Movie into youe post. It is basic at the moment but it works fine.

I need some help with the script to remove the markup tags so that you can edit the url to the flash movie. I have been at this for a couple of days and am just about to throw in the towel.

Any suggestions would be greatly appreciated.

This is the script I used to do the mark up
code:
// ----------------
// Encode Flash
$Body =preg_replace("/\[flash=(\S+?),(\S+?)\](\S+?)\[\/flash\]/is","<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width=\\1 height=\\2><param name=movie value=\\3><param name=play value=true><param name=loop value=true><param name=quality value=high><embed src=\\3 width=\\1 height=\\2 play=true loop=true quality=high></embed></object>",$Body);



Is mark up string incorrect?

How would I get this back to
code:
[flash=200,200] [flash]



Test it out here!

cheers




Sponsored Links
Entire Thread
Subject Posted By Posted
Nettomo's 5.5.1 Mark up hack in english dRiver 03/30/2002 7:02 AM
Re: Nettomo's 5.5.1 Mark up hack in english AllenAyres 03/30/2002 7:55 AM
Re: Nettomo's 5.5.1 Mark up hack in english dRiver 03/30/2002 8:52 AM
Re: Nettomo's 5.5.1 Mark up hack in english dRiver 03/30/2002 10:48 AM
Re: Nettomo's 5.5.1 Mark up hack in english SA6 03/31/2002 9:36 AM
Re: Nettomo's 5.5.1 Mark up hack in english dRiver 03/31/2002 2:29 PM
Re: Nettomo's 5.5.1 Mark up hack in english dRiver 03/31/2002 5:56 PM
Re: Nettomo's 5.5.1 Mark up hack in english dRiver 04/01/2002 2:00 PM
Re: Nettomo's 5.5.1 Mark up hack in english dRiver 04/02/2002 12:54 PM
UBB-Textformat - Instant Ubb Code - Version 3.003 Nettomo 04/03/2002 11:41 PM
Re: UBB-Textformat - Instant Ubb Code - Version 3.003 AllenAyres 04/04/2002 4:12 AM
Re: UBB-Textformat - Instant Ubb Code - Version 3.003 dRiver 04/04/2002 5:28 PM
UBB-Textformat - Instant Ubb Code - Version 4.0 Ge Nettomo 04/04/2002 10:15 PM
Re: UBB-Textformat - Instant Ubb Code - Version 3.003 omegatron 04/05/2002 10:12 PM
Re: Nettomo's 5.5.1 Mark up hack in english dRiver 04/05/2002 11:45 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,575
Posts293,930
Members13,823
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)