Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 07:59 am EST

Geeklog Forums

Open PublisHing


anonymous

Anonymous
I have set my $_CONF['storysubmission'] = 0 to allow anonymous users to publish. The problem is the article also automatically appears on the home page. I noticed when logged in as admin, I can manually select whether it appears in the topic only, the home page or both. How can I change this to make sure anonymous postings don't automatically go on the home page.
 Quote

anyone

Anonymous
Anyone got anything on this?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
This is not possible without code modifications.

bye, Dirk
 Quote

same

Anonymous
Can I limit the number of stories displayed at the bottom of the home page to say 1 oe 2.
If not could you be more specific about the code modifications that need to be made to remove them.

Thanx,

GL'er
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by same: Can I limit the number of stories displayed at the bottom of the home page to say 1 oe 2.

The number of stories per page is set with $_CONF['limitnews'] in config.php, but can be overridden by the user's preferences. See previous discussions of this topic.

bye, Dirk
 Quote

anonymous

Anonymous
I wrote:
How can I change this to make sure anonymous postings don't automatically go on the home page.

You replied:
This is not possible without code modifications.


Has this been done before? Any ideas?

 Quote

anyone

Anonymous
Anyone got answer to the above post?

Are my questions too plebian for the Geek Hierarchy?

 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
There's a DB_save ($_TABLES['stories'], ... in submit.php which is only called when users are allowed to post stories directly. You could hard-code 'frontpage' to 0 there (i.e. add 'frontpage' to the list of field names and 0 to the list of values).

bye, Dirk
 Quote

All times are EST. The time is now 07:59 am.

  • 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