Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 12:28 am EST

Geeklog Forums

Submit a story issue with 1.4 and fckeditor


Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
I allow users to submit articles on my site and in geeklog 1.3.11 I had this in a href statement the header file and it worked:

"{site_url}/submit.php?type=story"


I have now implemented 1.4 as well as the fckeditor.

The above link works for me logged in as Admin but for anonymous users it brings up the page fine (with the fck editor) but the post mode is set to "Plain old Text". So if you submit it like this it will not work. If you switch it to "HTML FOrmatted" it will work but this should be coming up by default.

Any ideas?

Thanks

One of the Geeklog Core Developers.
 Quote

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
After looking throught the submit code looking for a solution I found that it referenced a variable

$_CONF['postmode'] = 'html';

This was set to text in the config file and when I set it to html all worked fine. In my opinion this is still a bug since in comments when the fckeditor is enabled, comments recognized that the postmode needed changing and automatically set post mode to html while a story submit did not (only for anonymous users).

Hopes this helps other people..
One of the Geeklog Core Developers.
 Quote

All times are EST. The time is now 12:28 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