Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 12:37 pm EDT

Geeklog Forums

Unable to submit to plugins


Mark

Anonymous
I am able to submit stories and links however I cannot submit to plugins?

looking at the html source when adding links / stories I see the url of my site
form action="http://someone.homelinux.com//search.php" however....

With the Forum plugin and the Journal Plugin
when viewing html source I see


what happens in my browser is it tries to goto
http://journal/index.php ?

Thank you,
Mark
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Could you rephrase that question please? Seems like some portions of your post have been cut out by the HTML filters ...

In general, plugins can use Geeklog's submission mechanism (i.e. support for that is in the Plugin API), but I don't think any of the existing plugins really does. The File Management plugin, for example, has its own submission queue. Others, like the forum or journals, always post directly.

bye, Dirk
 Quote

Mark

Anonymous
Submitting Stories and links work.
When looking at html source I see
(form action="http://some.homelinux.com//admin/link.php" method="post&quotWink

I took out the greater then and less then signs and replaced with () .

Submitting for the forum and journal Plugins does not work.
It source does not have the hostname FQDN ?
Here is the submit on the journal page.

(form action="//journal/index.php" method="post&quotWink


Thank you,
Mark
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by Mark: (form action="//journal/index.php" method="post")

That should still work, as long as your site is in the document root of your domain (i.e. not in a subdirectory).

Looking at the source of the Journal plugin, it seems to use $PHP_SELF for the forms - which is just standard practice in PHP coding. If that doesn't work for you, you will probably encounter a few forms in Geeklog itself that don't work either (because they, too, are using $PHP_SELF).

Not sure what could cause this. register_globals is "on", I assume (or you wouldn't be able to submit anything, anyway)?

On a side note: You seem to have a slash at the end of the url in $_CONF['site_url'], hence the double slash in your urls.

bye, Dirk
 Quote

Mark

Anonymous
cheerful
I changed the
$_CONF['site_url'] = 'http://some.homelinux.com/';
to
$_CONF['site_url'] = 'http://some.homelinux.com';
in config.php

and all is well, I am now able to submit on the plugins.

Dirk thank you very much for your help!!!

Mark
 Quote

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