Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Posting a link with a Picture
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

richfed
Average Member

United States
999 Posts

Posted - 01 August 2015 :  10:30:07  Show Profile  Visit richfed's Homepage  Reply with Quote
When posting on Facebook, for example, you can copy and paste a URL to a news story and the result is a nice, vibrant, dynamic picture with the news story encapsulated. Looks good and is much more likely to catch the attention of a reader and get them to read on.

Is that something that could be modded into the capacity of Snitz-based forums?

Rich
[size=1]A Complete Idiot's Guide to MOD Implementation || On the Trail of the Last of the Mohicans[/size=1]

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 01 August 2015 :  11:36:46  Show Profile  Reply with Quote
You'd have to allow frames, it's a security risk.
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 01 August 2015 :  12:01:50  Show Profile  Visit HuwR's Homepage  Reply with Quote
you could do it easily using jquery and load into a div

e.g

$("#siteloader")
            .html('<object data="http://your-website-domain"/>');

#siteloader being the id of the container div

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 01 August 2015 :  14:06:17  Show Profile  Reply with Quote
I know next to nothing about jquery. Wouldn't know how to integrate that, but I do know how to restrict the use of iframes by mLev and preclude users from quoting them, etc.

Edited by - Carefree on 01 August 2015 14:07:28
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 02 August 2015 :  10:32:18  Show Profile  Visit richfed's Homepage  Reply with Quote
Lost me, HuwR, on the "container div". So, once I know what that is, and put in my website domain, I can just copy & paste that? Where?
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 02 August 2015 :  15:37:06  Show Profile  Visit HuwR's Homepage  Reply with Quote
you'll also need to include the jquery js files.
If I get chance in the next couple of days, I'll write a brief guide for you, just remind me after tomorrow if you don't see anything (I'm out tomorrow, but should be able to sort it out Tuesday )

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 05 August 2015 :  09:37:23  Show Profile  Visit HuwR's Homepage  Reply with Quote
Will try and get some instructions sorted for you later today

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 05 August 2015 :  16:51:45  Show Profile  Visit HuwR's Homepage  Reply with Quote
ok, there are several ways that this can be done, however they all rely on being able to parse something meaningful from the link, what that is obviously varies from site to site. I'm not sure exactly what facebook does, but have discovered that it is fairly inaccurate. I imagine for news links from reputable sites, that they all use a similar structure like an rss feed so parsing is easy, however if you post a link to some common or garden site like this for example, what you get back may not be what you expected. I used http://forum.snitz.com/mvc and what I got from facebook was an image of the page from maybe 3 weeks ago

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

richfed
Average Member

United States
999 Posts

Posted - 06 August 2015 :  09:59:25  Show Profile  Visit richfed's Homepage  Reply with Quote
When I post a link to Facebook, for example, I check copy & past the URL from the origin site to my Facebook wall and it 95% of the time displays as expected. Sometimes, I get a company logo or something, but it is fairly reliable. Would be great to be able to do that on the forums, but it is not that important. If it's a lot of trouble to code, just forget it. I was thinking it seems so simple on Facebook, maybe it would be simple here. It's no really big deal to me. Thanks, HuwR.
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 06 August 2015 :  10:37:20  Show Profile  Visit HuwR's Homepage  Reply with Quote
There are some third party utils you could use, but most of them are server based, it is not as simple as it looks smile

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 06 August 2015 :  13:32:02  Show Profile  Visit HuwR's Homepage  Reply with Quote
you mean something like this

http://forum.snitz.com/mvc/Home/TestPage

mm, I seem to have broken that now
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07