21
jdseymour
Re: Flash in newbb2 posts

Also, don't use the div tags....use my code.

22
vinit
Re: Flash in newbb2 posts
  • 2005/1/1 18:55

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


I think i got the whats causing this. its XOOPS which playing mischief.

See how the orignal code got converted after the post was made

Quote:

<HTML><br /><BODY><center><br /><object classid="clsid27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="<a href="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6" target="_blank">http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6</a>,0,40,0" border="0" width="400" height="250"><br /><param name="movie" value="<a href="http://www.greet2k.com/events/newyear/wishes/enlarge/memory.swf>" target="_blank">http://www.greet2k.com/events/newyear/wishes/enlarge/memory.swf"></a><br /><param name="quality" value="High"><br /><embed src="<a href="http://www.greet2k.com/events/newyear/wishes/enlarge/memory.swf target="_blank">http://www.greet2k.com/events/newyear/wishes/enlarge/memory.swf"</a> pluginspage="<a href="http://www.macromedia.com/go/getflashplayer" target="_blank">http://www.macromedia.com/go/getflashplayer"</a> type="application/x-shockwave-flash" name="obj1" width="400" height="250"></object></center><br /></BODY></HTML>



orignal was
Quote:

<HTML>
<BODY><center>
<object classid="clsid27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="400" height="250">
<param name="movie" value="http://www.greet2k.com/events/newyear/wishes/enlarge/memory.swf">
<param name="quality" value="High">
<embed src="http://www.greet2k.com/events/newyear/wishes/enlarge/memory.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="400" height="250"></object></center>
</BODY></HTML>


The html source code revealed that XOOPS is doing some sort of parsing on to it. I had similar problems when XOOPS line break was available in wfsection but in newbb, there is nothing like that on top of that i have also enabled "html posts" still misbehave like this is out of understanding as of now.

23
jdseymour
Re: Flash in newbb2 posts

yeah, you need to get rid of those 2 br tags at the beginning.

Why is it rewriting the code? It doesn't do that for me.

Quote:
<HTML>
<BODY><center>
<object classid="clsid27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="400" height="250">
<param name="movie" value="http://www.greet2k.com/events/newyear/wishes/enlarge/memory.swf">
<param name="quality" value="High">
<embed src="http://www.greet2k.com/events/newyear/wishes/enlarge/memory.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="obj1" width="400" height="250"></object></center>
</BODY></HTML>


Try again with this.

24
vinit
Re: Flash in newbb2 posts
  • 2005/1/1 19:07

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


Still the same, somehow i am also not able to figure out whats making it rewrite the code. I have enabled the "html tags" in newbb preferences, in forum preferences and also selected it while posting, but some how its rewriting the code, replacing \n with <br /> and links to <a href="

Which is defaul behaviour when "Enable XOOPS line breaks" is enabled, but there i dont see that option too.

25
vinit
Re: Flash in newbb2 posts
  • 2005/1/1 19:10

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


funny part is that if i write that piece of html in [ q u o t e ] and [ / q u o t e ] then also it gets parsed

26
jdseymour
Re: Flash in newbb2 posts

You are using the DHTML editor right?

I have looked, don't know where the br tags are coming from.

27
vinit
Re: Flash in newbb2 posts
  • 2005/1/2 6:38

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


ya i use the default one.
I guess some devs might give the solutions. phpbb, predator guys could you look in.

28
vinit
Re: Flash in newbb2 posts
  • 2005/1/2 17:02

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


"Enable XOOPS line breaks" i guess something like this is causing problem, but i cannot figure it out where the hell its been enabled. Can some one point me to it.

29
Anonymous
Re: Flash in newbb2 posts
  • 2005/1/2 18:29

  • Anonymous

  • Posts: 0

  • Since:


Hi vinit,

the only thing to make it work is, to "Allow Html" in the Forum setting and . As you see here:

http://www.xoops2.org/modules/newbb/viewtopic.php?topic_id=962&start=0#forumpost3958

the first Posting from you was without enable html tags in the reply,edit or newtopic form.

30
vinit
Re: Flash in newbb2 posts
  • 2005/1/3 5:04

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


Predator i have done that.

This is what i am doing.
1. admin -> forums-> forumtopic -> enabled "Allow html"
2. Forums -> forumtopic -> Reply -> enabled "html tags"

I still face the issue.

This is what i see when i dont enable html tags

Resized Image


and this is what i see once i enable the html tags in post
Resized Image

How can i cross verify or debug this issue.

Login

Who's Online

186 user(s) are online (103 user(s) are browsing Support Forums)


Members: 0


Guests: 186


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits