Welcome to Geeklog, Anonymous Monday, January 06 2025 @ 07:45 am EST

Geeklog Forums

Contacts : default group & permissions


bwaynef

Anonymous
When I go to add a contact I see that it defaults to all users. I'm not positive of the difference, but I'd assume I'd want it to be Logged-In users. Either way, how do I change the default?

And more importantly, how do I change the default permissions for Group (or Member & Anonymous for that matter)? I tried changing the default in the DB, I've looked thru the templates, I've looked thru admin/plugins/contact but I can't figure out how to change the group, or its permissions.

Can someone help? Thanks,

WF
 Quote

bwaynef

Anonymous
Ok, well, for those following this story (64 or so of you at the time of this posting) I changed geeklog-dir/contacts/edit.php.
There is a line like this:
Text Formatted Code

$T->set_var('permissions_editor', SEC_getPermissionsHTML($A['perm_owner'],$A['perm_group'],$A['perm_members'],$A['perm_anon']));

 

that I changed to
Text Formatted Code

$T->set_var('permissions_editor', SEC_getPermissionsHTML($A['perm_owner'],3 ,$A['perm_members'],$A['perm_anon']));

 



Its not at ALL what I wanted, but I can't figure out exactly where to change the variable,$A['perm_group'], itself. I'll update this if/when I figure this out.
 Quote

All times are EST. The time is now 07:45 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content