My sobipro entries visible only for adder

More
11 years 3 months ago #14728 by Vobo
Hi,

I ve just bought this plugin for community builder, is it possible to edit it the way that only adder would see his entries?

Thanks!

Please Log in or Create an account to join the conversation.

More
11 years 3 months ago #14729 by nordmograph
Hello

Open with a text editor:
www/components/com_comprofiler/plugin/user/plug_mysobipro/mysobipro.php

look for the first:
Code:
$userid = $user->id;
right after it add:
Code:
if($my_id == $user->id){

Then look for the last:
Code:
return $return;
and right after it add:
Code:
}

Thats' it.
Save and upload.
It should do what you need. Not tested , so let me know if it works as expected.

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.
The following user(s) said Thank You: Vobo

Please Log in or Create an account to join the conversation.

More
11 years 3 months ago #14730 by Vobo
I ll try it as soon as possible, but first I have to face problems without modification :-)

from readme.txt:
- Section(s):1,55,56
will show entries from section 1, section 55 and section 56

- Section(s) Itemid(s):146,161,162
You will need to specify for each section (from the previous field) what menu item ID to use)
Separate Itemids with coma and foloow the sections IDs order

I dont know what I need to write into section itemid - these are id of categories or what?

Thanks

Please Log in or Create an account to join the conversation.

Time to create page: 0.312 seconds
Powered by Kunena Forum
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.