Welcome to Geeklog, Anonymous Friday, May 03 2024 @ 01:37 pm EDT

Geeklog Forums

Plugin Help


Yeraze

Anonymous
I'm trying to write a plugin that will show digg, reddit, del.icio.us, etc button on stories. I had thought I would simply add them to the "Story Options" block but I can't find any plugin hooks to allow me to add things to that. IS there any plugin callback that I can use to add things to stories ?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The closest we have to an API for the story options is PLG_itemSaved, which is currently only called from the Admin's story editor. And you would have to mess around in the "related" text yourself, e.g. taking care that you don't add your link a second time when editing the story.

Alternatively, you would have to hack STORY_whatsRelated (in system/lib-story.php).

bye, Dirk
 Quote

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