Textpattern Forum

You are not logged in. Register | Login | Help

#51 2010-10-22 15:55:42

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,399

Re: bot_privs: edit user level privileges

Ok, let’s try to narrow it down

1) have you installed the correct version? As stated in the first post there are two different plugins for txp v.4.2 and for pre 4.2
2) which tabs you removed?
3) what do you mean for “admin role”? Maybe “publisher”?
4) which message is displayed?

P.S. custom theme should not be a problem since this plugin does not rely on js or css

Last edited by redbot (2010-10-22 15:57:57)

Offline

#52 2010-10-22 16:59:40

Gocom
Developer
Registered: 2006-07-14
Posts: 4,471
Website

Re: bot_privs: edit user level privileges

redbot wrote:

P.S. custom theme should not be a problem since this plugin does not rely on js or css

That depends on the theme and how it builds the menu. If the theme correctly uses uses the classes and the provided pre-build array, then yes. But if the theme entirely rebuilds the menu from the data TXP provides (which is possible too, to have extended control – like for example to always show the tabs no matter what), and doesn’t use has_privs() etc, then no.


Rah-plugins | What? I’m a little confused… again :-) <txp:is_god />

Offline

#53 2010-10-22 17:06:25

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,399

Re: bot_privs: edit user level privileges

Gocom wrote:

That depends on the theme and how it builds the menu. If the theme correctly uses uses the classes and the provided pre-build array, then yes. But if the theme entirely rebuilds the menu from the data TXP provides (which is possible too, to have extended control – like for example to always show the tabs no matter what), and doesn’t use has_privs() etc, then no.

Sure, but I would call this a very customized theme. I don’t think it is the case with the majority of themes out there (but I could always be wrong – I use my own css-only themes)

Last edited by redbot (2010-10-22 17:12:27)

Offline

#54 2010-10-22 17:20:27

Gocom
Developer
Registered: 2006-07-14
Posts: 4,471
Website

Re: bot_privs: edit user level privileges

redbot wrote:

Sure, but I would call this a very customized theme. I don’t think it is the case with the majority of themes out there (but I could always be wrong – I use my own only-css themes)

Well, TXP uses PHP classes for themes and if you want to change the menus at all (look, structure, anything), you need to (re-)build the menu.

To me it seems that it would be highly possible that anyone could accidently use the source block instead of the redifined product. It’s really easy mistake to make, especially if you are not familiar with TXP’s source code.

Last edited by Gocom (2010-10-22 17:28:32)


Rah-plugins | What? I’m a little confused… again :-) <txp:is_god />

Offline

#55 2010-10-22 17:25:11

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,399

Re: bot_privs: edit user level privileges

Gocom wrote:

Well, TXP uses PHP classes for themes and if you want to change the menus at all, you need to build the menu it using the class…

Useful infos as usual, thanks!

Offline

#56 2010-10-22 18:07:40

mrdale
Moderator
From: Walla Walla
Registered: 2004-11-19
Posts: 2,050
Website

Re: bot_privs: edit user level privileges

yar. I’m using a modded version of sandspace with svn builds. I think it is a theme that monkeys with rebuilding the nav. I’ll bet that’s why I’m not getting the same experience.

how does bot privs show/hide nav elements?

Offline

#57 2010-10-22 18:18:18

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,399

Re: bot_privs: edit user level privileges

Hi mrdale,
as I said before using this plugin is exactly the same than doing this (look at third paragraph) .
This means – in a standard txp installation – that tabs are not hidden, they are not output at all in the html.

Last edited by redbot (2010-10-22 18:21:26)

Offline

#58 2011-04-12 22:39:29

masa
Member
From: Reykjavik, Iceland
Registered: 2005-11-25
Posts: 1,079

Re: bot_privs: edit user level privileges

Hi redbot,
sorry to bother you, but I’m currently behind the curve with things.

I have bot_privs installed on some sites. Is the current version compatible with 4.4.0 and/or has its functionality been integrated into one of your other admin plugins?

Offline

#59 2011-04-13 03:16:42

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,399

Re: bot_privs: edit user level privileges

masa wrote:

Is the current version compatible with 4.4.0 and/or has its functionality been integrated into one of your other admin plugins?

Hi masa,
bot_privs has not been integrated into another admin plugin and should work ok with txp 4.4

Offline

#60 2011-08-23 09:32:08

mmelon
Member
Registered: 2006-03-02
Posts: 64

Re: bot_privs: edit user level privileges

Hi,

Does anybody happen to know how I might use this plugin to allow staff writers access to the admin tab for adi menu? the event is

/index.php?event=adi_menu_admin

it resides in section but allowing access to section still results in restricted area.

I have also tried using rah tabtor to move it somewhere else but still no joy.

Thanks for any pointers.

best,
Mike

Offline

Board footer

Powered by FluxBB