I don't know why when I wrote and publish a post on the Hypewall , this post doesn't appear on the Wire.
While publishing on the wire , the post appear also on the HypeWall.
Do you know the reason ?
Thanks to all!
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
It's a feature not bug since hypeWall v5.0
Ok! Good, so I can choose it, where Can I found this option ?
Really thanks !!!
\mod\hypeWall\classes\hypeJunction\Wall\Permissions.php
<?php
namespace hypeJunction\Wall;
/**
* @access private
*/
class Permissions {
/**
* Allow users to post on each other's walls
* Container here is the wall, and can be a user or group
*
* @param string $hook Equals 'container_permissions_check'
* @param string $type Equals 'object'
* @param boolean $return Current permission
* @param array $params Additional params
* @return boolean Filtered permission
*/
public static function containerPermissionsCheck($hook, $type, $return, $params) {
$container = elgg_extract('container', $params);
$user = elgg_extract('user', $params);
$subtype = elgg_extract('subtype', $params);
if ($subtype !== Post::SUBTYPE) {
return $return;
}
if ($container->isFriend($user)) { //jmp
return true;
} else {
$third_party_wall_global = elgg_get_plugin_setting('third_party_wall', 'hypeWall');
$third_party_wall_user = elgg_get_plugin_user_setting('third_party_wall', $container->guid, 'hypeWall');
if ($third_party_wall_global && $third_party_wall_user) {
return true;
}
}
//jmp
if (!$container instanceof ElggUser) {
return $return;
}
if (!$user instanceof ElggUser) {
return $return;
}
/* jmp if ($container->isFriend($user)) {
return true;
} else {
$third_party_wall_global = elgg_get_plugin_setting('third_party_wall', 'hypeWall');
$third_party_wall_user = elgg_get_plugin_user_setting('third_party_wall', $container->guid, 'hypeWall');
if ($third_party_wall_global && $third_party_wall_user) {
return true;
}
}
Jmp */
return $return;
}
}
and works with this code ?
I have tried it , but doesn't work. :-(
Done update, empty cache, empty cookies... nothing... doesn't works...
don't know why.
Do you want to send me the file permission.php so I can try it ?
Possible that this new feature cannot be disabled ?
Try changing the setting in hypeLists to see if that works. You probably have a plugin that changes the markup of the activity list and hypeWall doesnt know where to stick the new post. If that doesn't work try disabling plugins that might be doing something to the activity, if you identify that plugin I might be able to help with the fix. "it doesn't work" is the worst type of bug report.
Ok Ismayil, now I try! Thank you !
(sorry for my "doesn't work" , reason is that I'm not a programmer and don't know how to explain what and why something doesn't work.)
in the meantime... about Hypelist I have no options marked.
Maybe I have to choose some options or not depends by it ?
- Previous
- 1
- 2
- 3
- Next
You must log in to post replies.