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

Disable "album" for nefwsfeed photos? I want insert url with animated gif! | Forum

Furyan Satoo
Furyan Satoo Jul 9 '14
Hello,
because you can not upload gif, I used a different server for upload, and put the url address with animated gif. This worked in version 1.6 and animated gifs  works correctly. In version 1.7 does not work. :(((

Please, how do I turn off the album for newsfeed, to be able to work at least url to insert gif?

Thank you for help.
ross Team
ross Jul 10 '14
Topic was moved from General Questions.
Alia Team
Alia Jul 11 '14
Furyan Satoo, you will need to comment our or delete following line from ow_plugins/photo/classes/event_handler.php:

 
$em->bind('feed.before_content_add', array($this, 'feedBeforeStatusUpdate'));

 

Furyan Satoo
Furyan Satoo Jul 11 '14
Hello,
excellent! Great! Very thanks! :)
FS
Wolfy
Wolfy Jul 12 '14
Hi in Old version a GIF could be loaded in news feed and would move, this worked great for the gif shareing social site. how can i make this hapen in new version please?
tammy harris
tammy harris Jul 12 '14

Quote from Aliia Furyan Satoo, you will need to comment our or delete following line from ow_plugins/photo/classes/event_handler.php:

 
$em->bind('feed.before_content_add', array($this, 'feedBeforeStatusUpdate'));

 

thanks Aliia
and the gif working in newsfeed again would be cool 
Stig
Stig Jul 31 '14
I want to do this too but I cannot find

$em->bind('feed.before_content_add', array($this, 'feedBeforeStatusUpdate'));

In /ow_plugins/photo/classes/event_handler.php
Furyan Satoo
Furyan Satoo Aug 1 '14

Quote from Stig feedBeforeStatusUpdate

See this - Line 1829
Omari
Omari Aug 1 '14
sup guys this maybe unrealated ....but the attachments plugin from Serrgey Kamblin handles gifs well so they move in both the newsfeed and profile cover photo
Stig
Stig Aug 4 '14
You have a link to it Omari?
Stig
Stig Aug 4 '14
So if I remove that line gif's will work in the newsfeed?
Quote from Furyan Satoo
Quote from Stig feedBeforeStatusUpdate

See this - Line 1829


Furyan Satoo
Furyan Satoo Aug 5 '14
Yes
DeFender
DeFender Feb 14 '15
is it possible  to create a rule to upload jpg to newsfeed album only, but gifs are not uploaded to this album. 


danke