Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Embed Code MOD

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
leatherlips Posted - 21 June 2009 : 13:18:00
There are a ton of sites that offer you the ability to embed their content into your website, blog and forum. It would be great if someone could write an "Embed Code MOD" that would allow you to do that.

I envision it as having an embed tag, [embed][/embed] and you could put the code between it and have it displayed in the forum.

Anybody able to do this?
9   L A T E S T    R E P L I E S    (Newest First)
kyodai Posted - 30 June 2009 : 15:10:37
I am thinking about adding the youtube embed on my forums - i will probably do it as i think youtube is quite safe.

I have made a quite special embedding code for my site which is partially based on the video embedding sources posted here. The difference is just that i check for [wmv] tags and these dont hold the whole url but just a filename like "myvideo.wmv". the wmv tag triggers an iframe that points to my video.asp which will embed a wmv video with my url+ the video name. That way only videos that were uploaded onto my backend site can be embedded and i also made the video.asp so it will only display the video if the user is logged in - that way visitors only see "Please register to be able to watch videos", saving my bandwidth and giving people another reason to join.
Etymon Posted - 29 June 2009 : 17:18:36
If you were to open your posting up to allow HTML

You could probably achieve what you want by placing those members into a user group that allows HTML. Of course, you would have to do some direct retooling of the code to achieve that allowance.

After that you might consider setting all of those posts by that usergroup to be moderated only, and then alter your link(s) to each topic (while each is in a moderated status) to not show you the rendered post, but rather to show you the Edit form of the post. I say this because if you view the post, and it is malicious, then guess who gets the attack first? If you are viewing the post in Edit view, then you get a first chance to view the post as neutralized code and not view the post as rendered code. That's the theory anyway.
leatherlips Posted - 29 June 2009 : 16:00:45
I was rethinking this. I have the allow html mod for Admins only. It also has the options of html for Super admin and admins and moderators only.

I could set it to allow html for admin and mods only, but I do not have any mods on my forum. Would there be a way to allow html for certain members only? Maybe after they have reached a certain number of posts or maybe I could hard code certain member id's in the asp pages? This way I would only be letting people who I trust be able to do it. Just a thought.
leatherlips Posted - 23 June 2009 : 14:10:50
I guess you guys are right. I don't want to open my forum up to attacks.
MarcelG Posted - 23 June 2009 : 11:32:05
Leatherlips, if that is what you want ; allow your users to embed everything they want to embed, the solution is simple: turn on HTML.
Beware of the results, as this is a severe security risk, enabling cross-site scripting attacks but also embedding of dangerous javascript, messing up your forum severely as well as your forum visitors security.

In other words ; you really do not want to enable this.... If you do, I'd say: you're on your own.
leatherlips Posted - 23 June 2009 : 10:54:02
quote:
Originally posted by AnonJr

Marcel's code is specific to videos - and thoroughly checks the input. Unless I mis-read, leatherlips is looking for something a little more generic that would let you embed a Google Map as easily as a YouTube video.

Correct. I am looking for something like an "all purpose" embed code. There are so many sites that allow you to share things from their sites and I would like to be able to have them be embedded into my forum.
AnonJr Posted - 23 June 2009 : 10:21:31
Marcel's code is specific to videos - and thoroughly checks the input. Unless I mis-read, leatherlips is looking for something a little more generic that would let you embed a Google Map as easily as a YouTube video.
Panhandler Posted - 23 June 2009 : 10:01:19
Isn't that what Marcel has done with his video embed mod?
Example:
http://www.gigharborvideos.com/video/topic.asp?TOPIC_ID=37

AnonJr Posted - 21 June 2009 : 13:49:42
Its a nice idea, but you need to be very careful of cross-site scripting attacks...

I - personally - don't like to allow outside content unless I have strict control over it.

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.07 seconds. Powered By: Snitz Forums 2000 Version 3.4.07