1
Carnifex
Re: Custom Blocks? How do I show them to users and not just webmasters?
  • 2005/11/11 15:34

  • Carnifex

  • Just popping in

  • Posts: 11

  • Since: 2005/10/4


Thank you much.



2
Carnifex
Re: Xoops Authentication system (LDAP)
  • 2005/11/10 20:20

  • Carnifex

  • Just popping in

  • Posts: 11

  • Since: 2005/10/4


Quote:

pemen wrote:
I wonder with what version of XOOPS you work.


The newest one - 2.2.3a? I have run (and still do run) sites with 2.0.13, but I wanted to try the 2.2.3 for this new project I'm working on.

Quote:
Any idea how long before that might be ready?

I hope in the next weeks.


Great, looking forward to it - this really lets me bring XOOPS into my enterprise for my users without them complaining about 'another' username and password to remember.



3
Carnifex
Re: Xoops Authentication system (LDAP)
  • 2005/11/9 18:49

  • Carnifex

  • Just popping in

  • Posts: 11

  • Since: 2005/10/4


Bah, just that quick I figured it out.

Under Administration --> Preferences --> Extended Profiles --> User Settings

Change the variable "Select the level of strictness for username filtering" to "Medium" and now things seem to be working.



4
Carnifex
Re: Xoops Authentication system (LDAP)
  • 2005/11/9 18:44

  • Carnifex

  • Just popping in

  • Posts: 11

  • Since: 2005/10/4


Quote:

pemen wrote:
I've never test this case. Can I have more details about your AD login : period - firstname.lastname ??


The way we set our users up in AD, their logon name is firstname.last name, so for example a user's logon might be thomas.smith, with their email address as thomas.smith@mycompany.com I'm using the LDAP attribute 'mailNickname' as suggested elsewhere.

I am having a problem with that now - I can create users manually, and have them login with their AD credentials, but if they try to edit their profile, it errors with "invalid username". I don't think has anything to do with this mod, but rather a function of XOOPS in general, not allowing the '.' character in the username. I'm trying to figure out where that restriction is now.


Quote:

pemen wrote:
The synchronisation system for the next version.

Any idea how long before that might be ready?



5
Carnifex
Re: Xoops Authentication system (LDAP)
  • 2005/11/9 16:57

  • Carnifex

  • Just popping in

  • Posts: 11

  • Since: 2005/10/4


Trying to work through this, in case it comes up for others: Warning to others - I'm not a coder, so I'm more or less poking until it works: I used the example in this thread for guidance.

Line 31 in common.php read:
$smartsection_moduleName $myts->displayTarea($smartModule->getVar('name'));


I have broken that into 2 lines, now 31 and 32:
$smartsection_moduleName $smartModule->getVar('name');
$smartsection_moduleName $myts->displayTarea($smartsection_moduleName);


And that has corrected the error I was having.



6
Carnifex
Re: Xoops Authentication system (LDAP)
  • 2005/11/9 16:10

  • Carnifex

  • Just popping in

  • Posts: 11

  • Since: 2005/10/4


Got this working, with only a few glitches

I need to manually create the accounts for the user in xoops, with a 'dummy' PW. When the user logs in using their AD credentials it works fine. That bit is excellent.

However, my usernames contain a period - firstname.lastname, and XOOPS won't allow those usernames. What I've been forced to do is create the account with just the firstname, then go into MySQL and manually change the loginname field to firstname.lastname. That seems to work. I'm planning on doing a large 'insert' on the tables manually to create the users so that's not a huge deal for me.

But now... after making the changes, I am getting php errors all over the place:

Fatal errorOnly variables can be passed by reference in C:Program FilesApache GroupApache2htdocsdspportalmodulessmartsectionincludecommon.php on line 31


For example. that bit of code is:

// Creating the SmartModule object
$smartModule =& ss_getModuleInfo();
$myts MyTextSanitizer::getInstance();
$smartsection_moduleName $myts->displayTarea($smartModule->getVar('name'));


not sure where to go with that.



7
Carnifex
Re: Xoops Authentication system (LDAP)
  • 2005/11/9 15:15

  • Carnifex

  • Just popping in

  • Posts: 11

  • Since: 2005/10/4


Quote:

pemen wrote:
I think that you don't activate the LDAP extension in PHP.

PHP need to be compiled with the option --with-ldap in UNIX system or uncomment the line : php_ldap.dll in windows system.

I'm getting there.

Here's what I did so far, which may help others. I'm running WinXP with Apache 2.0.54, and PHP5. It's important to note that when you download PHP5, you may not by default get all the extentions (I didn't) - which you've figured out, if you've got XOOPS running, since the MySQL is one you need to download seperately.

What I had to do - as pemen says above, uncomment php_ldap.dll in php.ini, which is located in C:\windows\system32.

Copy php_ldap.dll into your \ext folder. On my install, that's c:\php\ext

Copy libeay32.dll and ssleay32.dll into your %system% folder. On my install, that's C:\windows\system32. (learned that from here, a good resource.)

LDAP is now running on my server via PHP. I'm now getting "No corresponding user info", which is way better than "LDAP extension not loaded". Now I just need to figure out which tables/fields in the database to populate with my user info.



8
Carnifex
Re: google adsese
  • 2005/11/8 19:38

  • Carnifex

  • Just popping in

  • Posts: 11

  • Since: 2005/10/4


Are you using Firefox with the AdBlock Extension?

I was, and thought that ads weren't working on my site. It wasn't until I viewed it in IE that I realized that AdBlock was filtering the ads in Firefox.



9
Carnifex
Agendax 2.2.0 Errors?
  • 2005/10/4 16:00

  • Carnifex

  • Just popping in

  • Posts: 11

  • Since: 2005/10/4


I just installed AgendaX 2.2.0 on XOOPS 2.2.2, and I get strange error when I try to submit a new event:

I get a pop-up error box:

ERROR[createSelect]:
Can't fint the requested dropdown definition


Ok that, then you get another:

FIXMEUnknown toolbar item:Function() {return[this.length-1];}


The cycle repeats several times, calling different toolbar functions

The form will then display, and you can enter events.. so the module seems to work, only after you beep through 8 error messages.

Any ideas?

Thanks,
Sq




TopTop



Login

Who's Online

206 user(s) are online (138 user(s) are browsing Support Forums)


Members: 0


Guests: 206


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits