We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

post in newsfeed appear in other plugins. oembed. | Forum

Liam Fisher
Liam Fisher Feb 10 '14
when posting a link in the newsfeed I want whatever thumbnail representing it.. to be categorised into a different plugin. 


e.g. youtube link into video plugin.

image link into image plugin.


is it possible to do this with each oembed thumbnail attachment?

dave Leader
dave Feb 11 '14
I dont see how without a custom plugin, there would be way too much mod code required to do this without a plugin.  I suggest you contact a developer for oxwall and present the idea to them.  If they feel it would be of benefit or challenge they might do it...


Liam Fisher
Liam Fisher Feb 11 '14
surely you can just direct the result.. to a different plugin and use an if statement for the different media types?
dave Leader
dave Feb 11 '14
It does not work that way, many of the results are created way before they are displayed and built into a content array.  You cant just pull it apart, you have to grab it and then use a plugin to redirect it.  Well you can but that means a several file mod which is what i was saying. 
The Forum post is edited by dave Feb 11 '14
dave Leader
dave Feb 11 '14
So lets make sure i am understanding you perfectly here.   I go on your site and i post an image on the newsfeed.  


for example...  


hi this is me


and my picture .....


if i click on properties the url for that picture would be something like 


http:///...photo_preview_55.jpg


so then i click on the picture and it brings up the picture view page 


http://www.mysite.com/photo/view/55



so with that tell me what exactly you want to change, thanks... 





Liam Fisher
Liam Fisher Feb 12 '14
Not quite like that.


the newsfeed bar has oembed built in so if I post a link of an image from google images


e.g. 


https:///...biw=1160&bih=576


oembed will build it into a thumbnail, same with video links and articles links.


I want to categorise these thumbnails according to media type rather than it just displaying vertically down the page.


so if its a link to an image.. i want it to go in an image category


if its a link to an video.. i want it to go in a video category etc.


so wether it can go in the current plugins video, image, blog .. i don't know.


thanks for your reply Dave.

Daisy Team
Daisy Mar 11 '14
Liam, this is possible as a new plugin development only. This plugin should detect the content and move it to the appropriate category.

I suggest that you download our new Plugin Skeleton plugin to see how to use this or that function. Here is URL to the Store item: http://www.oxwall.org/store/item/695

If you are not familiar with the plugin development, it would be better for you to find a developer who can help you with it. Please visit our Oxwall Market (http://www.oxwall.org/market/specialists). Or search for the existing plugins in the Store.
The Forum post is edited by Daisy Nov 24 '14