Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 09:35 pm EST
Geeklog Forums
I fill dirty....
Status: offline
Mikez
Forum User
Regular Poster
Registered: 06/17/05
Posts: 87
I always fill like I did a bad thing when I edit the lib-common.
Can you make it will autolinks from plugs are pulled separately in the theme files and not with allowed HTML.
Few good reasons why. Some sights like the one I am working on has plug-ins that we just don't want people to know about.
Some I'm working on and don't want people pulling them.
Also a good reason is so we can list them for plugs that it's a good idea.
Say the forums. I think most if not all tags work in the forums.
So a tool tip can be easily be added. Also I am working on a way to add them to my admin story just because there is so many I can't remember them all.
And on my page it just reads "All HTML is allowed".
I do know how to turn them off in the cofig. But I don't want them stopped.
I still want to use them just not till everyone about them.
So to do it I had to go in the lib-common and commit it out.
It just makes me fill dirty and also I may forget when I update.
// $autotags = PLG_collectTags();
// foreach( $autotags as $tag => $module )
// {
// $retval .= ', [' . $tag . ':]';
// }
//
// if( !$list_only )
// {
// $retval .= '</span>';
// }
Can you make it will autolinks from plugs are pulled separately in the theme files and not with allowed HTML.
Few good reasons why. Some sights like the one I am working on has plug-ins that we just don't want people to know about.
Some I'm working on and don't want people pulling them.
Also a good reason is so we can list them for plugs that it's a good idea.
Say the forums. I think most if not all tags work in the forums.
So a tool tip can be easily be added. Also I am working on a way to add them to my admin story just because there is so many I can't remember them all.
And on my page it just reads "All HTML is allowed".
I do know how to turn them off in the cofig. But I don't want them stopped.
I still want to use them just not till everyone about them.
So to do it I had to go in the lib-common and commit it out.
It just makes me fill dirty and also I may forget when I update.
Text Formatted Code
// list autolink tags// $autotags = PLG_collectTags();
// foreach( $autotags as $tag => $module )
// {
// $retval .= ', [' . $tag . ':]';
// }
//
// if( !$list_only )
// {
// $retval .= '</span>';
// }
10
10
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Yeah, there should probably be a way to make certain autotags only accessible to users with certain permissions. Not just hide them, make them not work for those that are not allowed to use them. A bit like the separation into HTML for admins and normal users.
I've had that idea before, but haven't really thought it through yet. Since most autotags are coming from plugins nowadays, we would need new plugin API functions and all that ... Someone with some ideas submit a feature request, please.
bye, Dirk
I've had that idea before, but haven't really thought it through yet. Since most autotags are coming from plugins nowadays, we would need new plugin API functions and all that ... Someone with some ideas submit a feature request, please.
bye, Dirk
7
9
Quote
Status: offline
jmucchiello
Forum User
Full Member
Registered: 08/29/05
Posts: 985
Version 2.0 of my autotags plugins jumps through a few hoops (but no core edits) to allow you to turn autotags (even ones from other plugins) on or off. I was thinking about making them follow GL permissions but I wasn't sure what that would do. If a story has a tag in it, does the reader need the permission to see the output?
But I need to clean that up before releasing it but I have no time with the calendar plugin on my plate.
But I need to clean that up before releasing it but I have no time with the calendar plugin on my plate.
10
10
Quote
Status: offline
Blaine
Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
Quote by: Dirk
Since most autotags are coming from plugins nowadays, we would need new plugin API functions and all that ... Someone with some ideas submit a feature request, please.
Would a new API be needed or will plugins not just need to add this level of control as a permission?
Adding a generic permissions 'group allowed' to use pluginABC autotag in pluginABC would not be hard for plugin developers to do. Question is: will one generic 'enable autotag' access control be sufficient.
Or - will sites want to enable autotags usage in different contexts
allows the filemgmt autotag in stories but not in the forum for group logged-in users
allow the filemgmt autotag anywhere if in group 'members'
Geeklog components by PortalParts -- www.portalparts.com
10
10
Quote
All times are EST. The time is now 09:35 pm.
- 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