TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,230
  • Total Topics: 21,353
  • Online today: 371
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 296
  • Total: 296

Only Admin can manage all articles - users only their own

Started by lebisol, October 11, 2007, 06:06:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lebisol

Hello gang,
I wanted to run this by you in case TP 1.x will have the user ACLs resovled so I do not have to hack.  ;)

Here is the logic and would like some feadback on the idea:
1. Go to Admin--> Tiny Portal -->Setting
Hide the edit article link under articles? YES 
Hide the block edit link? YES 

2. Create html block of:
&nbsp;&nbsp;<img src="http://yoursite.com/Themes/default/images/TPdivider2.gif" alt="" />&nbsp;<a href="http:// yoursite.com/index.php?action=profile;sa=tparticles">My Articles</a><br />
&nbsp;&nbsp;<img src="http:// yoursite.com/Themes/default/images/TPdivider2.gif" alt="" />&nbsp;<a href="http:// yoursite.com/index.php?action=tpadmin;sa=addarticle">Add Article</a><br />
&nbsp;&nbsp;<img src="http:// yoursite.com/Themes/default/images/TPdivider2.gif" alt="" />&nbsp;<a href="http:// yoursite.com/index.php?action=profile;sa=tpdownload">My Uploads</a><br />

effectivly producing links in block :
=============
Block Title
============
o My Articles
o Add Article
o My Uploads
----------------

3. Edit article managment page (insert input here)
see image


Or am I going to waste time doing this?
hmmm what is arround the corner for TP 1.x  8)

Thanks!


G6Cad

TP is still a great deal away from any release, so if you want to change the code to get it to work the way you like it to  :)

lebisol

thanks G6,
we will just slap this on "to do list"
thanks!

lebisol

Almost forgot, article deafult needs to be se to be 'inactive' or unpublished as well.
Ulitimately it would be nice to have a realted dropdown menues in admin where each member group can be selected/assigned to access level of 'full,submit only'
Ok, sorry thinking outloud as I am sure Block has this down for the v 1.x  :P
Thanks!

IchBin

Isn't that what the permissions in the Admin > membergroups > (select membergroup) > Manage Articles check/uncheck is for?

lebisol

Right, but "manage" gives them rights to ALL articles vs. as suggested to be able to only see/edit those that they wrote.
It would be very ugly to allow a user modify article that is on the front page...or part of the block used as menu...you know.

IchBin

Well, this has little to do with Block code snippets so I'll move it. But for the features you're asking for they will not be available until TP 1.0 is out.

lebisol

cool thanks IchBin!
Maybe I better hold of from butchering the TP then...

This website is proudly hosted on Crocweb Cloud Website Hosting.