Changing default privacy settings how to?

Fatih Bayram Posted in Technical Support 9 years ago

Where did I an mistake?
I want that the defaults posts just can see their friends and this is not working why?

For example at the homepage I must alway change from public to friends and this is annoying

the directory is ossn/system/plugins/default/input/privacy.php

<?php
/**
 * Open Source Social Network
 *
 * @package   (Informatikon.com).ossn
 * @author    OSSN Core Team <[email protected]>
 * @copyright 2014 iNFORMATIKON TECHNOLOGIES
 * @license   General Public Licence http://www.opensource-socialnetwork.org/licence
 * @link      http://www.opensource-socialnetwork.org/licence
 */
?>
<div class="ossn-privacy">
    <table border="0">
        <tr>
            <td style="vertical-align:top;">
                <label><?php echo ossn_print('privacy'); ?></label>

            </td>
            <td>
                <input type="radio" name="privacy" value="2"/>
                <span><?php echo ossn_print('public'); ?></span>

                <p> <?php echo ossn_print('privacy:public:note'); ?> </p>

                <input type="radio" name="privacy" value="3" checked="checked"/>
                <span><?php echo ossn_print('friends'); ?></span>

                <p> <?php echo ossn_print('privacy:friends:note'); ?> </p>
            </td>
        </tr>
    </table>
</div>
Replies
German T C Replied 5 years ago

For anyone interested, changing the value of the input field (at the bottom of the file components\OssnWall\plugins\default\forms\OssnWall\home\container.php) from <?php echo OSSN_PUBLIC; ?> to OSSN_FRIENDS will solve it.

German T C Replied 5 years ago

Is there a solution for that now? I am facing the same annoying issue and would like to change default privacy to "friends". By the way it would be great to have that as a setting in administrator overview.

Turkish Fatih Bayram Replied 9 years ago

When I do the changing in ossn/system/plugins/default/input/privacy.php "friends" is checked but when I make a post it is public.

Can you give me the direct path ? thank you.

Indonesian Arsalan Shah Replied 9 years ago

This should work, try to change it in Configure/OssnWall/

Premium Version

Due to the many requests in the past for additonal features and components we have decided to develope a premium version. Features like Hashtags, Videos, Polls, Events, Stories, Link Preview, etc included in it.

$199 (Life Time)
Learn More

Other Questions