Status: offline

SamF

Forum User
Chatty
Registered: 04/12/06
Posts: 43
This is probably because I edited the left toolbar and the user functions, but I can't figure out how to give my users a link to submit a story.

As an admin, the only place I seem to be able to submit a story is in the Story Admin section. As a regular logged-in user, even one with story.submit permissions, I can't see any way to submit a story.

If possible, I'd like a link to appear in both the User Functions section, and in the Stories page. (my site is http://www.ai-tools.org, so you can see what it looks like).

Any advice?
Thanks!
Sam

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
The link is usually part of the {menu_elements} variable for the menu bar (which you still seem to be using) and can be configured in config.php:
PHP Formatted Code
// List of entries that you want to see in the site's menu bar (if you're using
// a theme that uses the {menu_elements} variable in its header.thtml).
// Choose any combination of the following (order here = order in the menu).
$_CONF['menu_elements'] = array
(
    // 'home',      // link to homepage
    'contribute',   // contribute / "submit a story" link


To add a link to the User Functions block, you would have to write a mini plugin providing that link or modify the code (COM_userMenu in lib-common.php).

bye, Dirk

Status: offline

SamF

Forum User
Chatty
Registered: 04/12/06
Posts: 43
thanks!

Status: offline

SamF

Forum User
Chatty
Registered: 04/12/06
Posts: 43
Quote by: Dirk


To add a link to the User Functions block, you would have to write a mini plugin providing that link or modify the code (COM_userMenu in lib-common.php).

bye, Dirk



I know that this was a year ago, but does anyone have any info on how you would modify lib-common.php to add the Submit A Story link?

It seems like this would be a standard part of user functions.

Any help appreciated, thanks!

Sam