OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



User default account

Are you a Director, Presenter, Reviewer or Conference Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael

Forum rules
This forum is meant for general questions about the usability of OCS from an everyday user's perspective: conference managers, presenters, and directors are welcome to post questions here, as are librarians and other support staff. We welcome general questions about the role of OCS and how the workflow works, as well as specific function- or user-related questions.

What to do if you have general, workflow or usability questions about OCS:

1. Read the documentation. We've written documentation to cover from OCS basics to system administration and code development, and we encourage you to read it.

2. take a look at the tutorials. We will continue to add tutorials covering OCS basics as time goes on.

3. Post a question. Questions are always welcome here, but if it's a technical question you should probably post to the OCS Technical Support subforum; if you have a development question, try the OCS Development subforum.

User default account

Postby waluyo » Wed Mar 14, 2012 4:55 pm

I am a new user in OCS, now I am trying to use for a conference.

I would like to set the default of the user account when they register selection as follows:
- Send me a confirmation email including my username and password
- Author: Able to submit items to the conference

currently the default selection
- Send me a confirmation email including my username and password
- Reader: Notified by email on publication of presentations

Regards,
waluyo
waluyo
 
Posts: 63
Joined: Wed Mar 14, 2012 4:46 pm
Location: UTHM - Malaysia

Re: User default account

Postby waluyo » Thu Mar 15, 2012 10:15 pm

When I open the page source in the browser I can see this, controlled by checked="checked"

<input type="checkbox" name="createAsReader" id="createAsReader" value="1" checked="checked" />
<label for="createAsReader">Reader</label>: Notified by email on publication of presentations.<br />
<input type="checkbox" name="createAsAuthor" id="createAsAuthor" value="1" />
<label for="createAsAuthor">Author</label>: Able to submit items to the conference.<br />

Is that possible to change to:

<input type="checkbox" name="createAsReader" id="createAsReader" value="1" />
<label for="createAsReader">Reader</label>: Notified by email on publication of presentations.<br />
<input type="checkbox" name="createAsAuthor" id="createAsAuthor" value="1" checked="checked" />
<label for="createAsAuthor">Author</label>: Able to submit items to the conference.<br />

If yes, how can I find the file to modify? in which folder?
Please someone who knows how to change this default setting.

Thank you,
waluyo
waluyo
 
Posts: 63
Joined: Wed Mar 14, 2012 4:46 pm
Location: UTHM - Malaysia

Re: User default account

Postby waluyo » Sun May 13, 2012 12:31 am

I can get what I want (author option default is checked) by modifying
/templates/user/createAccount.tpl
in line 205
from
Code: Select all
<input type="checkbox" name="createAsAuthor" id="createAsAuthor" value="1"{if $createAsAuthor} checked="checked"{/if} />

to
Code: Select all
<input type="checkbox" name="createAsAuthor" id="createAsAuthor" value="1" checked="checked" />

I tested to create new account, it looks ok.

If the way that I modified here is not good, please let me know.

Regards, waluyo
waluyo
 
Posts: 63
Joined: Wed Mar 14, 2012 4:46 pm
Location: UTHM - Malaysia


Return to OCS Conference Support and Discussion

Who is online

Users browsing this forum: Bing [Bot] and 1 guest