Subject: Link for story submissions

Posted on: 19/02/07 11:49am
By: SamF

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

Re: Link for story submissions

Posted on: 19/02/07 03:00pm
By: Dirk

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

Re: Link for story submissions

Posted on: 19/02/07 03:45pm
By: SamF

thanks!

Re: Link for story submissions

Posted on: 15/04/08 02:57pm
By: SamF

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

Geeklog - Forum
https://www.geeklog.net/forum/viewtopic.php?showtopic=74556