Automatic user creation
fayola - January 13, 2009 - 15:16
| Project: | OpenX Manager |
| Version: | 6.x-1.01 |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
When I create a publisher, should a user also be created to reflect this new publisher so that they can log in and create zones? OR do I have to create the user first?
Right now it just creates the publisher content type and nothing else, I can create zones for this publisher but only as the main admin. Having a username and password as input fields is somewhat misleading.
I would love it if anytime I create a Advertiser, Publisher or Manager that a user is also automatically created with the appropriate permissions.

#1
I fully agree.
In addition I dont get, that it is not possible to create Websites (as target for zones) in Drupals openx_manager-Module.
But maybe i dont understand the sense of the openx_manager. Shouldnt openx_manager be a remote control for an OpenX-Server?
#2
I do create all kind of users and campaignes - using th openx 2.8 and a fully updatet openx manager.
be aware of user perms. in drupal.Creating a publisher atomatically creates a rekord for websites in openx.
If some one needs the patched version ov openx_manager here it is as attachment.
Needs Views as dependancy.
The problems strarts when you try to link banners to zones or campaignes .I am getting errors like
* warning: array_fill() [function.array-fill]: Number of elements must be positive in /var/www/vhosts/crossflash.es/subdomains/bg/httpdocs/includes/database.inc on line 241.
* warning: implode() [function.implode]: Invalid arguments passed in /var/www/vhosts/crossflash.es/subdomains/bg/httpdocs/includes/database.inc on line 241.
* warning: array_keys() [function.array-keys]: The first argument should be an array in /var/www/vhosts/crossflash.es/subdomains/bg/httpdocs/modules/user/user.module on line 502.
* user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 query: SELECT p.perm FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN () in /var/www/vhosts/crossflash.es/subdomains/bg/httpdocs/modules/user/user.module on line 502.
No accsess to this site.