2 afwas Jan 12, 2008 20:06

Cheers for that, that's where they hid it ;)
I am still getting these errors, any ideas
* Tag <object> may not have attribute type
* Tag <object> may not have attribute data
* Tag <object> may not have attribute title
* Tag <a> is not allowed within tag <object>
Gz
Look for line ~ 81:
$posts_allow_objects = false;
and set it to true:
$posts_allow_objects = true;
Good luck
This isn't from 1.1.0 but have a look into it...
Find something that looks like this... beginning at line 490 in a 2.0.0.1 version.
if( $posts_allow_objects )
{
$allowed_tags += array
(
'object' => 'param embed',
'param' => '',
'embed' => '',
);
$allowed_attributes += array
(
'object' => 'codebase classid id height width align type style data',
and note the addition to "object" there is "type" and "data"
Great addition, John.
Keljem, if you still have problems, please post the code you are trying to use.
Good luck
Thanks very much for all your help both of you.
I will have a look at this later and post my code if it doesn't work.
Thanks again.
Gz
Afwas, thanks for that I tried that with no luck.
John, thanks, its almost worked, it now just says... Tag <a> is not allowed within tag <object>
Any ideas please ?
This must be the offending article in one of my posts.
<param name="movie" value="/media/flvplayer.swf?file=/media/videos/mac.flv&image=/media/videos/mac.jpg&bufferlength=5"/>
<a href="http://www.macromedia.com/go/getflashplayer">Macromedia Flash Player (tm) 7 required</a></object>
Thanks y'all
Gz
Cut this out and leave it out of the post:
<a href="http://www.macromedia.com/go/getflashplayer">Macromedia Flash Player (tm) 7 required</a>
or place it after the closing </object>
Good luck
@keljem
Is that the complete code for the flash?
If not please post the full code as there are bits that can be left out and or reformatted :)
As Afwas has just demonstrated
Yipeeeeee,
Cheers guys, that's got it by the horns.
I just put the <a> tag after the <object>
Thank you both for you very quick replies and help. It is much appreciated.
Enjoy the rest of the weekend.
Happy bloggin/ coding
(recently updated to V2.3 and not finished yet)
*Waves to Gary*
You muppet, I deleted your duplicate comment for yah ;)
To allow <a> inside <object> you need to change this part of that section of code to look like this :
$allowed_tags += array
(
'object' => 'param embed a',
'param' => '',
'embed' => '',
;)
¥
*waves back to Paul*
Lol, Cheers for that. These forums are great :)
I didn't know I had duplicated a comment to be honest. I previewed and then saved, I must of messed up there somehow ;)
Gz
keljem wrote:
Lol, Cheers for that. These forums are great :)
bugger me, you finally realised :D
¥
You may of opened the door, but it just took me a while to enter (of my own free will).
Gz ;)
Next time I'll just bitch slap yah through the door ... it'll save oodles of energy :D
¥
Promises, promises
Gz :P
/blogs/conf/ or /conf/
If you open the file, first look at the predefined options (the variables you can turn on by changing 0 -zero- to 1 -one-).
Good luck