Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Hack: only list your own articles/images/files
very interesting mod. has anyone had issues using it alongside various plugins? or could this be turned into a plugin somehow? i’m pretty sure more multi-author type features are generally the most requested items to go into TXP.
Offline
#17 2007-09-20 04:34:04
- fbox
- Member
- From: Melbourne
- Registered: 2006-02-18
- Posts: 42
Re: Hack: only list your own articles/images/files
- asy_sitemap 0.7
- dtj_obfuscated_email 0.3
- glx_admin_image 2007.1
- hak_tinymce 0.73
- ied_hide_in_admin 0.1.6
- ob1_title 4.0b
- pap_contact_cleaner 0.1
- rdt_dynamenus 0.9
- rss_admin_show_adv_opts 0.3
- rss_auto_excerpt 0.5
- rss_if_search_results 0.1
- smd_lib 0.21d
- smd_slimbox 0.28
- srh_file_icon 0.1
- stw_category_tree 1.0.1
- tame_enduser_docs 0.4
- tame_privs 0.1
- tcm_crumbs 0.2
- tru_podcast 1.1
- upm_pending_notify 0.1.2
- zem_contact_lang 4.0.3.6
- zem_contact_reborn 4.0.3.20
- zem_event 0.3.5
Offline
Re: Hack: only list your own articles/images/files
good to know fbox. thanks
Offline
#19 2007-12-20 01:11:07
- _n
- Member
- Registered: 2005-07-13
- Posts: 44
Re: Hack: only list your own articles/images/files
Hi, this is a very, very noob question.
But, how do you actually do a manual update? I am unsure of Pat64’s advice post as I’ve never done this before. Thanks, and again sorry if this question is painfully obvious.
cheers
Nadine.
Offline
Re: Hack: only list your own articles/images/files
Nadine, this is all tinkering with the innards. The patch file contains references to line + column numbers to let a diff-program/some code editors know where to automatically insert/make the relevant changes to the code in a file. This, of course, works only so long as the file to be patched hasn’t changed in the meantime, for instance through a version update, because the position may have then shifted.
In many cases, the code that needs patching hasn’t changed, it’s just shifted position. Manual “update” as mentioned above (its patching really) means finding the relevant section and swapping the relevant sections of code by hand in a text-editor. It’s not very difficult but can seem daunting if you never deal with code. You just have to be exact about it, really.
Maybe someone above is kind enough to make you a new patch file against the most recent txp version.
TXP Builders – finely-crafted code, design and txp
Offline
Re: Hack: only list your own articles/images/files
wondering…could this possibly just be included in core??
something like this would definitely bring txp to a new level. since the patch is already written and there are definitely a few ppl willing to test it while running multiple plugins alongside with no issues thus far, how would something like this make it into core?
Last edited by iblastoff (2007-12-20 09:19:23)
Offline
Re: Hack: only list your own articles/images/files
I submitted a patch (inexpertly) a long while back, jamie did too (expertly). I think there were two reasons why it wasn’t taken on board, the first being that it changed the existing behaviour of txp – it changes an existing role, but it could equally well be applied to a new role; the second was that the user/author permissions were due for a more fundamental revision, which has as yet not happened. The latter route, when coupled with some more permissions (for instance to restrict image and file deleting to one’s images/files), may in fact be better in the long run.
running multiple plugins alongside with no issues thus far
Most of it just restricts what is displayed in the various tabs so has no effect on functionality of other plug-ins. The only real change to existing functions concerns the addition of file ownership (at present there is none whatsoever), which are analogue to those already implemented for author-handling of images.
At the time, there was not much response but in the last half year or so, the number of requests for this kind of setup have increased considerably…
TXP Builders – finely-crafted code, design and txp
Offline
Re: Hack: only list your own articles/images/files
just tested this on latest svn and seems to be working fine. since core doesn’t seem to be interested in this, i wonder if it could be rolled into a plugin of some sort?
Offline
Re: Hack: only list your own articles/images/files
Ibla and others, I repeat my later request :
Do you think it will be possible to show only article’s comments authors? Cause all comments are shown and are’nt filtered by author.
Patrick.
Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.
Offline
Re: Hack: only list your own articles/images/files
i’d also love to see this released as a plugin!
Offline
Re: Hack: only list your own articles/images/files
Sadly this can’t be made into a plugin, unless the plugin was actually a replacement for much of the txp admin interface. Ideally this would just be put in core — there’s really no reason it shouldn’t be, since it’s 100% backwards compatible with the right default permissions.
Unfortunately the lack of responsiveness from txp core on exactly these kinds of issues has led me away from txp the last few months and so I can’t provide much support or updates for this hack. :\
Offline
Re: Hack: only list your own articles/images/files
It’s been some years. Is this a dead topic or is it being discussed elsewhere?
txtstrap (Textpattern + Twitter Bootstrap + etc…)
Offline
Re: Hack: only list your own articles/images/files
Nothing changed. It can be done as a plugin, but then you’re basically duplicating entire TXP core files (with minor modifications) and since you’d have to update the plugin each time you update TXP, it’s just as “easy” to just modify the TXP core files and keep track of what needs to be changed.
Offline
#29 2011-03-21 23:11:17
- uli
- Moderator

- From: Cologne
- Registered: 2006-08-15
- Posts: 4,316
Re: Hack: only list your own articles/images/files
Josh, have you considered trying asv_auth_articles? Works for articles (only display your own ones), files and images (files/images remain visible, but can’t be edited any more), but not for links. Edit2 Sorry, mixed it up with TXPs own behavior :]
Edit: Code is in the #6 post.
(What happened to your former user image? Always found it likeable spontaneous :)
Last edited by uli (2011-03-21 23:18:45)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline