Welcome to Geeklog, Anonymous Saturday, August 31 2024 @ 10:57 pm EDT
Geeklog Forums
Link for story submissions
Status: offline
SamF
Forum User
Chatty
Registered: 12/04/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
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
10
11
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
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:
// 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
Text 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
11
8
Quote
Status: offline
SamF
Forum User
Chatty
Registered: 12/04/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
12
11
Quote
All times are EDT. The time is now 10:57 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content