Welcome to Geeklog, Anonymous Thursday, April 25 2024 @ 07:10 am EDT

Geeklog Forums

Plugin install help


Status: offline

SRR

Forum User
Newbie
Registered: 01/17/07
Posts: 2
I am in the process of creating my first plugin. I am the universalplugin as a base and using the documentation from the Plugin Developers Guide. Does this plugin still work with GL 1.4.0?

If so, when I attempt to install my skeleton plugin the install screen just flashes and nothing happens. There are no errors in the error.log or on the page. Any ideas where I may start to look for the cause?

What are some other good resources for people writing their first plugin?

 Quote

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
I find the staticpage plugin a better "skeleton" to start from. Other than that, it just takes time to learn the ins and outs of GL. Add extra echos to your install.php so you can see where it might be failing.
 Quote

Status: offline

SRR

Forum User
Newbie
Registered: 01/17/07
Posts: 2
Thanks. I will try out the static pages for a skeleton.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The Universal Plugin code is old, but mostly still okay. You should pick up the install script from one of the plugins the ship with Geeklog, though (e.g. the static pages plugin). Those are pretty generic and also work with register_globals = off (while the install script from the universal plugin does not).

bye, Dirk
 Quote

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