Member
Member
reddevilmeuk   2010-02-05, 18:02
#1

Hi, I want to be able to post the following code into a comment, but cannot seem to get the correct TAG done... can anyone please help

CODE I WANT TO RUN

THE TAG I CREATED WAS

embed => (id => () width => () height => () flashvars => () => wmode () allowscriptaccess => () scale => () salign => () allowFullScreen => () quality => () name => () style => () src => () type => ())

Administrator
Administrator
acrylian   2010-02-05, 19:03
#2

Seems actually okay. Have no idea but I suggest to use the `` tag anyway. You might also read on the troubleshooting about a trick how to use Youtube and other stuff within the gallery.

Member
Member
reddevilmeuk   2010-02-05, 21:34
#3

i got the youtube one tu run, but cannot get this to work.... also this means if i put the code in for youtube, then i cannot use the same tags(s) i do with this....

bring back bbcode

Administrator
Administrator
acrylian   2010-02-06, 11:28
#4

The "youtube" trick is not limited to youtube.... You can use it to include any kind of html code.

Member
Member
reddevilmeuk   2010-02-06, 12:42
#5

thats fine but where is the documentation on how to format the code to work? i've been trying it and can't get it to work

Administrator
Administrator
acrylian   2010-02-06, 12:51
#6

The youtube trick does not need custom allowed tags. Just do the same as with a Youtube video.

Member
Member
reddevilmeuk   2010-02-06, 16:48
#7

your missing the point, the youtube trick only works with youtube vids as it uses the variables from it. It will not work with other types as they all use different types.

Administrator
Administrator
acrylian   2010-02-06, 17:23
#8

No, you are missing the point of that trick: http://zenphoto.maltem.de/test/mymovie.txt.php

Member
Member
reddevilmeuk   2010-02-06, 20:36
#9

now i just feel plain stupid..... and i would like to apologise.

can you confirm exactly what i need to put into the tag box and what i use in the comment box

thanks for all your help

mike

Member
Member
reddevilmeuk   2010-02-06, 20:46
#10

just been looking at the troubleshooting guide at

"
Is it possible to manage youtube videos (or from another portal)?

Zenphoto is actually meant to manage multimedia files on your own webspace but with Zenphoto 1.2.6 there is indeed a way:

  1. Enable the class-textobject plugin on the backend plugins page.
  2. Upload a plain text file (.txt) with code to embeed a specifc (video) file via ftp or the backend.
  3. To use an thumbnail besides the default one follow the same instructions as for video thumbnails.
  4. That’s all.
    "

however, ive tried this in the past which works but this cannot be used as a comment? or can it?

Member
Member
sbillard   2010-02-07, 01:46
#11

Not exactly sure what you are saying. But it sounds like you want to post a zenphoto object in a comment? To do so you would have to put the html link to that object into the comment. (And your allowed tags would have to allow all the html you used.)

Administrator
Administrator
acrylian   2010-02-07, 09:47
#12

Sorry, I somehow missed the part about the comment. I have not tried that.

Member
Member
reddevilmeuk   2010-02-07, 16:06
#13

acrylian, no problem..... and sbillard thats exactly right

i wish to post a html object into the comment box however im having trouble coming up with TAGS that work

Member
Member
sbillard   2010-02-08, 05:00
#14

Any tag that is not showing up in your output is being expunged by the sanitization functions. These remove tags based on their not appearing in the list of the "allowed tags" option. So whatever tags are being removed need to be added to that option.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.