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

how to fix younets plugins | Forum

tammy harris
tammy harris Dec 28 '15
we all know younett wont fix there plugins 
and if you ask them to fix them
they want you to pay them to fix it 

oxwall wont do anything about them as well 

so i played around and found a way of make 3 of the plugins work

social connect and media importer contact importer

social connect works but id you try to login to your site with your facebook app owners account you will get errors
these error will stop you getting approval to get media importer approved on facebook app

to fix it go to socialconnect/classes/social_conect.php

line 59 change to this
$scope = "email,user_about_me,user_birthday,user_hometown,user_location,user_photos,user_website";

and comment out line 76

media importer 

in ymmediaimporter/provider/facebook.php

line 143 change to this
'?scope=user_photos,read_stream'.

then in yncontact importer  canvas page is miserable and against fb policy's
and permission to get user photos for yn media importer will be denied

even if you dont use media importer you should pretty the canvas page up so more ppl that are inviter to join your site will join   

the fbcanvas page
in yncontactimporter/views/controllers/ contactimporter_fb_canvas

or 
contact_importer/views/controllers/facebook_canvas

once you canvas page is looking great 

then go to you facebook app

status and review add items to be submitted 

select user photos
and fill all the details in 
and submit

i am waiting for approval now and cross my finger it should work 
as all the errors from my last submit have been fixed above 

also the younett set up instructions are wrong 
your canvas page should be like this url
https://www.theopenretreat.com/friends-inviter/fbcanvas/

this is what my canvas page for my app looks like now

https://apps.facebook.com/openretreat/



The Forum post is edited by tammy harris Dec 28 '15
tammy harris
tammy harris Dec 28 '15
ross i posted this here and not in the plugin forum as no one that has been scammed into buying there plugins go to the plugin pages 
ross Team
ross Dec 28 '15
Topic was moved from General Questions.
tammy harris
tammy harris Jan 2 '16
i got rejected yet again 
to pass i had to include facebook login on the canvas page

i have now been approved to pull facebook photos

wooooooooohooooooooooooooo
tammy harris
tammy harris Jan 2 '16
i have just found i have wasted all my time as the plugin is 
so fucked up it stuffs everything up after you import a photo 

and yet oxwall still lets this shit to be sold in the store
tammy harris
tammy harris Jan 2 '16
the problem is when 2 or more photos are imported 

theres something wrong this peace of code

$albumName = UTIL_String::truncate(strip_tags($album->name), 25, '...');

   

    if ( $diff )

    {

    $title = OW::getLanguage()->text('photo', 'feed_multiple_descriptions',

    array('number' => $movedCount, 'albumUrl' => $albumUrl, 'albumName' => $albumName)

    );

    }

    else

    {

    $title = UTIL_String::truncate(strip_tags($description), 100, '...');

    }

   

    $event = new OW_Event('feed.action', array(

    'pluginKey' => 'photo',

    'entityType' => 'multiple_photo_upload',

    'entityId' => $photos[0]->id,

    'userId' => $userId

    ), array(

    'string' => $title,

    'features' => array('likes'),

    'content' => $content,

    'view' => array('iconClass' => 'ow_ic_picture')

    ));

    OW::getEventManager()->trigger($event);

    }

    }

    }

tammy harris
tammy harris Jan 2 '16
in services php comment out line
499
   'entityType' => 'multiple_photo_upload',

will stop it posting to news feeds 
and stops it posting multiple copy of each photo 
The Forum post is edited by tammy harris Jan 2 '16
tammy harris
tammy harris Jan 2 '16
problems left to solve
import albums

album names