TinyPortal

Development => Support => Topic started by: Hack on June 23, 2007, 05:10:56 PM

Title: [html] tag? [Solved]
Post by: Hack on June 23, 2007, 05:10:56 PM
Hiya..

Just finally got round to updating of my sites to the latest SMF and TP. All installed fine and appears to work ok. However, as a quick test I tried the [html] tags out in one of the posts so that i could embed one of the videos from filefront. I posted the topic and all seemed good.

As it was a fresh install though the post showed on the front page of the site but with a slight problem. Instead of it showing up correctly as it should have done the embedded video was far far smaller, plus the '[html]' tag shows before it.

Obviously I would like the video to show full size as it is on the actual post and in general work correctly. Is this some 'strange' limitation with the html tag or is there something I can do to fix it?

This is the link to the actual Forum post with the embedded video:
< removed the links >

And if you compare it to the front page you should see the difference..
< removed the links >

Is there a fix or solution to what I guess is a simple problem?
Title: Re: [html] tag?
Post by: Lesmond on June 23, 2007, 05:36:50 PM
Just had a look at your page, and I cant see the html tag! in IE or FF2, so did you fix it?
Title: Re: [html] tag?
Post by: Hack on June 23, 2007, 05:45:48 PM
nope, not changed anything.. just tried looking at it again to make sure that I was not going nuts and the problem is there. On the Front page the Filefront video is about half the size and just before the actual video its got [html].

The actual post in the forum however looks fine and does not seem to suffer any issues.

Just tried looking at it in FF2, IE6 (which has another layout issue, the left side panel is at the bottom for some reason) and in Opera, all of which show the same problem when the post is on the front but no problems in the forum..

I will take some screenshots of it if you can't see it for some reason at your end (tried it whilest being logged in and being logged out, both with the same results)
Title: Re: [html] tag?
Post by: Lord Anubis on June 23, 2007, 05:57:14 PM
I dunno what the problem there is...Can you put the code here inbetween the [code ] [/ code] Tags

If you have flash enabled

You could use this

[flash=500,500]http://static.filefront.com/ffv6/player/vp_embed.swf?v=212474&autorun=false[/flash]
Title: Re: [html] tag?
Post by: Hack on June 23, 2007, 06:03:18 PM
Ok, this is the code that is used on the forum post:

[html]<object width="450" height="338"><param name="movieID" value="http://static.filefront.com/ffv6/player/vp_embed.swf?v=212474&autorun=false"></param><param name="wmode" value="transparent"></param><embed src="http://static.filefront.com/ffv6/player/vp_embed.swf?v=212474&autorun=false" type="application/x-shockwave-flash" wmode="transparent" width="450" height="338"></embed></object><br/><a href="http://files.filefront.com/Dawn4/;7717549;/fileinfo.html" title="Dawn4">Dawn4</a>[/html]

I just assumed that I could make use of the embedding code that filefront provided at the videos location (http://files.filefront.com/Dawn4/;7717549;;/fileinfo.html) between the html tags to make it work (which it appeared to do for the forum post itself, just not on the front page)

EDIT
I just tried the flash variation that you mentioned above. This appears to work on the forum post as I expected but does not show at all on the front page.. :/
Title: Re: [html] tag?
Post by: Lord Anubis on June 23, 2007, 06:23:43 PM
Now that is odd...and on the default theme too, I dont know what is going on there
Title: Re: [html] tag?
Post by: Hack on June 23, 2007, 06:30:20 PM
Thats what I thought. it really is just a basic install of 'SMF 1.1.2' together with TP 0.9.8 from here.. install now 2 days old, totally unmodified other than installing TP to it of course..

I may try a reinstall of it, see it changes anything. Thanks for at least looking at it I guess :/
Title: Re: [html] tag?
Post by: Dazed on June 23, 2007, 06:39:10 PM
I had the same problem when I installed a game server tracker. I set mine in an Iframe but I believe you could use a php include statement too.

You can see it here ... http://www.grumpyoldmen.us/index.php

In the center of the page you will see the monitor although no one is there right now it is dynamic and refreshes every 30 seconds. Although it isn't video I think you can accomplish what you wish that way...
Title: Re: [html] tag?
Post by: Hack on June 23, 2007, 07:47:12 PM
ok, just reinstalled the SMF forum and the TP again, reposted the same code as above and it still does the same things as before :( This time in the actual forum ..

Ah, Just found the problem! :D it was due to the amount of characters shown for for forum posts when being shown on the front page! I guess there was enough information to display the video but not enough to actually verify its size etc.

Phew, problem sorted now (I think)
Title: Re: [html] tag?
Post by: Lesmond on June 23, 2007, 07:49:19 PM
Thanks I will mark topic as solved then :)