Home - News - Products - Downloads - Manuals - Forum - (trial) License - PriceList - Disclaimer - About
Joomlaboard-Forum  


baptiste
User

Fresh Boarder
Posts: 4
graphgraph
Karma: 0  
Special path sequences (%a1, etc) not working - 2005/08/22 23:59 I've read the docs and pop up help info to try and figure out this problem to no avail.

Our user home directories live in singel letter subdirectories so userid abc would have a home dir of aabc

OK - So according to the docs, I just need to put %a1 in the path field to auto gen the right home directory. But every time I do that I get:

Error in path string: -1

I even tried:

%strstr(cn,1)

Got Error in patch string: -7

I'm doing what the docs say but this absolutely won't work. I may have to create a 2000 line csv file just to do the paths right.

What am I missing?
  | | The administrator has disabled public write access.
baptiste
User

Fresh Boarder
Posts: 4
graphgraph
Karma: 0  
Re:Special path sequences (%a1, etc) not working - 2005/08/22 23:59 Oh and yes I'm using the latest version 3.04.05
  | | The administrator has disabled public write access.
baptiste
User

Fresh Boarder
Posts: 4
graphgraph
Karma: 0  
Re:Special path sequences (%a1, etc) not working - 2005/08/23 00:18 Weird

%a1, %a2, etc
%substr
%strstr
%endstr

All result in errors

%value works fine

??????

I'm totally confused. I was able to pull all sorts of attribute values in with %value, but none of the others work.

Strange
  | | The administrator has disabled public write access.
baptiste
User

Fresh Boarder
Posts: 4
graphgraph
Karma: 0  
Re:Special path sequences (%a1, etc) not working - 2005/08/23 02:00 I tried Homes 3.04.02 and %a1 worked fine. So it seems the path extra string functions are borken badly in 3.04.05 MassUser
  | | The administrator has disabled public write access.
admin
Admin

Admin
Posts: 317
graph
Karma: 0  
Re:Special path sequences (%a1, etc) not working - 2005/08/23 12:37 Sorry, I will look into this.
I Hope I can upload a new version
this weekend.

Hans
Hans Boone
  | | The administrator has disabled public write access.
admin
Admin

Admin
Posts: 317
graph
Karma: 0  
Re:Special path sequences (%a1, etc) not working - 2005/09/02 09:55 Found the problem fixed it in v3.04.06

%a1 does work again

The syntacx for %strstr is %strstr(attribute,start,length) so %strstr(cn,1,1) is equivalent to %a1.

You can also use %leftstr(cn,1).

You can't combine %a1..%a5 within the other functions.

Hans
Hans Boone
  | | The administrator has disabled public write access.
Page created in: 0.79 seconds - © Copyright 2002-2008 HBware.com