Author |
Topic  |
|
Valiant
New Member

United Kingdom
94 Posts |
Posted - 02/26/2003 : 18:32:40
|
Ok, feel free to call me stupid, but no matter what I do I can't get my flash movies to load when I insert the HTML codes into my board, the exact same code works on my phpBB site, is it something to do with the way the forum handles html, or can I only use certain HTML tags?
Thanks.
|
http://www.forumco.com/valiantnet |
|
Admin
ForumCo Administrator
    

Éire
4092 Posts |
|
Valiant
New Member

United Kingdom
94 Posts |
|
Valiant
New Member

United Kingdom
94 Posts |
|
Valiant
New Member

United Kingdom
94 Posts |
Posted - 02/27/2003 : 18:51:17
|
Ok, I was wrong, it doesn't work anymore on my forum. I was working for about 3 minutes. It's not the site where the flash movie is hosted either.
<embed src="http://www.spacehijackers.co.uk/flash/circle2.swf"</embed width="450" height="450"> |
http://www.forumco.com/valiantnet |
 |
|
Davio
Starting Member
Jamaica
8 Posts |
Posted - 02/28/2003 : 11:54:17
|
Trying it on my forum (not hosted by forumco) it didn't work either. Looking at the source code, the forum converts the http:// links to urls using the <a> tag.
So:<embed src="http://www.spacehijackers.co.uk/flash/circle2.swf" becomesYou must be logged in to see this link.so it messes up the flash code. |
Development Team Member Snitz Forums 2000 |
 |
|
Admin
ForumCo Administrator
    

Éire
4092 Posts |
|
Davio
Starting Member
Jamaica
8 Posts |
Posted - 03/01/2003 : 00:19:10
|
Though a good idea, that didn't work either.
I don't know why the forum is modifying the html code, when forum code is off. Doesn't make sense to me. If a user wanted to create a hyperlink he would type out the <a href> tag for the link.
Richard's fix below works.
Made the change to my forum and it works. You can see it here: You must be logged in to see this link. |
Development Team Member Snitz Forums 2000 |
Edited by - Davio on 03/01/2003 15:57:45 |
 |
|
Richard
ForumCo Moderator
 
USA
124 Posts |
Posted - 03/01/2003 : 06:22:14
|
Davio, the fix I was going to use for this was this:
in the ChkURLs function (add the code in red):
elseif ((UCase(Right(strArray(Counter-1), 6)) <> "HREF=""") and _
(UCase(Right(strArray(Counter-1), 5)) <> "[IMG]") and _
(UCase(Right(strArray(Counter-1), 5)) <> "[URL]") and _
(UCase(Right(strArray(Counter-1), 6)) <> "[URL=""") and _
(UCase(Right(strArray(Counter-1), 6)) <> "FTP://") and _
(UCase(Right(strArray(Counter-1), 8)) <> "FILE:///") and _
(UCase(Right(strArray(Counter-1), 7)) <> "HTTP://") and _
(UCase(Right(strArray(Counter-1), 8)) <> "HTTPS://") and _
(UCase(Right(strArray(Counter-1), 5)) <> "SRC=""") and _
(UCase(Right(strArray(Counter-1), 2)) <> "=""") and _
(strArray(Counter) <> "")) then
with the change you made, once you turn HTML back off and Forum Code back on, the code won't work the same as it did when HTML was On and Forum Code was Off (like it's not working on your forum now). |
 |
|
Davio
Starting Member
Jamaica
8 Posts |
Posted - 03/01/2003 : 15:56:07
|
Yep, you're right, your fix works better.  |
Development Team Member Snitz Forums 2000 |
 |
|
Valiant
New Member

United Kingdom
94 Posts |
Posted - 03/01/2003 : 17:47:44
|
Thanks guyz!!!
Tis really weird though, because yesterday it was working, before Richard's fix, but only sometimes.
Thanks for your help though. Cheers! |
http://www.forumco.com/valiantnet |
 |
|
|
Topic  |
|