As the developers of Open Journal Systems, Open Conference Systems, Open Harvester Systems, and Open Monograph Press, the PKP team are experts in helping journal managers and conference organizers make the most of their online publishing projects. PKP Publishing Services offers support for:

As a customer of PKP Publishing Services, you will not only receive direct, personalized support from the PKP Development Team, but will be contributing to the ongoing development of the PKP applications. All funds raised by PKP Publishing Services go directly toward enhancing our free, open source software. For more information, please contact us.

I need to start my post saying that OJS is EXTREMELY well coded: object oriented, really well structured layers, based on patterns... so it's a complete joy working on it. More than this, although as a coder I must be ashamed saying this but... I'm learning how to code well reading OJS core.

If you are new to OJS, believe me: I work daily with drupal, moodle and other free software projects and I can say -without fear of been laying- that none of them is as well coded as OJS, so thanks a looot to make my developer's live easier. And I forget to mention the great documentation and wonderful support. Dudes, you are like my xmas present.

Ok, enough publicity and let's work:

Before working on my "normal-workflow plugin" (that I commented in former posts) my fellows requested me to build a new generic plugin to allow any non-author user upgrade him/herself to Author.

As far as I know, in OJS user's can select their role at registration time, but after this they can not change it without admin's help... My new plugin will add a extra link to the menu so if you are an Author you will get a shortcut redirected to article's submissions, otherwise your will be able to upgrade to Author (and then redirected to submissions).

Â¿My question? ... yes. I have my plugin quite finished, but I need to know what roles "own" the active user and obviously I can DAO but I suspect this data is available for the plugin without reaching the DB.

Am I wrong? How could I get this info without a DB query?

Thanks in advance for your help,

m.

PD-NEWS: I'm in contact with RACO's people that 90% completed a catalan translation of OJS, so probably after Christmas I can finish this translation so we could contribute to this project with a new translation.

Last edited by mbria on Sat Dec 23, 2006 1:27 pm, edited 2 times in total.

This plugins adds a new link labeled as "SEND" to your journal menu. If the user is an Author this links is just a shortcut to the article's sending form, otherwise the registered user is allowed to become an author (with a single click), and then redirected to submit a new article.

It will be useful in our journal to let every Reader become and author whenever they want to send a new article, instead just in the moment they get registered.

We are still testing it to be sure it works fine, but looks like quite stable so if you like you can download it first release at:

Now is when asmecher comes and say: "Nice, but you can accomplish exactly the same with the X feature included in OJS out off the box".

If it happens (please asmecher, be confident), I advice I really don't mind because this plugin it's just a test to discover how difficult (o better said, how easy) was extending OJS with new features. My conclusion is clear: I love OJS !! Thanks you all, guys.

After xmas, I will follow with the Catalan translation and the "email validation plugin" developed to be sure each register user has a valid mail before letting them play with the system.

Live long and prosper,

Marc.

PD: In my posts is clear English is not my mother tongue, so any help translating the messages (just a few lines) of this plugin is welcome.

Fantastic -- thanks for your comments! We shy away from comparisons to other projects, particularly projects that are much more widely used than OJS, but we're always delighted to have another developer working away on OJS. Feedback makes us better.

This particular feature has been a sticking point for us; it's long been too difficult for users to promote themselves with new roles. Previously, this was possible following these steps:

Log out.

Click "Register" from the top nav bar.

Follow the "Click here if you are already registered..." link

Follow the instructions on the screen.

Needless to say, this is not obvious.

In the current CVS tree (which will be released as OJS 2.2 early in the new year), it's possible to add roles by going to your Profile page. However, none of this probably suits your needs as well as your own plugin does, so -- please use it!

I code sometimes but my developments are always like "patchwork" cutting, pasting, hacking... but nothing so big and thought as OJS, so let's reserve the word "developer" for your guys.

We shy away from comparisons to other projects, particularly projects that are much more widely used than OJS, but we're always delighted to have another developer working away on OJS.

shy away? It's true that both projects are much more extended (their target is wider) but you all don't need to be.

May be Drupal documentation is more detailed than OJS one and you can find tones of examples, but your code is far away better and still could not be compared to moodle, that is also a great development but is pure spaghetti.

I don't remember where I read it but I think was Alec that said new OJS release includes this new feature exactly as you describe it.

About duplicities, may be you are right and the "natural" place to change user's role is each user's page. My development was just what my fellows request me and they wanted to make it very visible in their magazine.

I'm sure Alec will read us and clarify this point... otherwise, take a look to the CVS because I feel like right now what you need is implemented.

I think you're referring to the ability to self-register for reviewer, reader, and author roles (if enabled) without going back to the registration page. The CVS version of OJS places these three checkboxes on the Profile page -- you can enroll and un-enroll yourself from there.