![]() |
Limit providers functionality in X-Cart Pro
I suspect this will end up in a custom mod request but first let's explain what I'm after:
It's regarding providers possiblities in their providers section; I don't want them to have all features since most of them don't understand how to operate them and just cause chaos while 'operating' them; taxes, zones, variants etc. etc. some just don't get it. Setting these things myself is 20 times faster then explaining (and over and over again). Ok, then I should 'out comment' those things in the template you might say; well not every provider is unskilled so there are some that manage by themselves and I don't want to stop them from being able to do so. Another solution is to make those skilled 'root provider' but that's just one step too far. Are there ideas or experiences about this? |
Re: Limit providers functionality in X-Cart Pro
So you want to limit the available functionality for just certain providers or all of them as a whole?
|
Re: Limit providers functionality in X-Cart Pro
That's correct, for certain providers only.
|
Re: Limit providers functionality in X-Cart Pro
Ok, in that case you would need to surround the links with {if} statements, such as this:
{if $login eq "provider1" or $login eq "provider2"} stuff to show here {/if} Switch out provider1 and provider2 with the actual usernames of those providers. Add as many or statements as you want. |
Re: Limit providers functionality in X-Cart Pro
So we're talking hard coding here? I don't believe with provider usernames you mean provider userlevel names? I.e. 'root provider', 'provider', 'my name provider' etc.
|
Re: Limit providers functionality in X-Cart Pro
Yes, hard coding. And no, I mean actual provider login usernames.
|
Re: Limit providers functionality in X-Cart Pro
Good idea though! Wouldn't have any point trying to tweak so that userlevel names would do it; i.e. this isn't possible?
|
Re: Limit providers functionality in X-Cart Pro
Not sure what you mean...a provider is either a provider or a root provider in Pro, correct? I thought you said you didn't want to give people root provider access?
|
Re: Limit providers functionality in X-Cart Pro
You're right on the not wanting to give root provider access; I mean by creating a new provider membership name which can be done, for example name: 'new provider' and then code it so that every 'new provider' account is handled by the {if} protocol.
So not by username but by (self created/named) userlevel. |
Re: Limit providers functionality in X-Cart Pro
Ahhh....afraid I can't assist with that...I know very little about Pro :(
|
All times are GMT -8. The time now is 02:38 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.