Topics

User Functions

Events

There are no upcoming events

What's New

Stories

No new stories

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Friday, May 24 2013 @ 05:47 AM EDT


 Forum Index > Support > General Geeklog Support New Topic Post Reply
 Link for story submissions
   
SamF
 02/19/07 11:49AM (Read 1388 times)  
+++--
Chatty

Status: offline


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

 
Profile Email
 Quote
Dirk
 02/19/07 03:00PM  
AAAAA
Admin

Status: online


Registered: 01/12/02
Posts: 13027
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

 
Profile Email Website
 Quote
SamF
 02/19/07 03:45PM  
+++--
Chatty

Status: offline


Registered: 12/04/06
Posts: 43
thanks!

 
Profile Email
 Quote
SamF
 04/15/08 02:57PM  
+++--
Chatty

Status: offline


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

 
Profile Email
 Quote
Content generated in: 1.22 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content