Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 08:39 am EDT

Geeklog Forums

[topic:auto tag]


Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Would it be possible to implement a [topic] autotag in the next versions of Geeklog?

::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
What would it do? Just print the current topic id? Or does it expand to a link to the topic?
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Hello jmucchiello,

I was thinking to a link to the topic.

::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

jmucchiello

Forum User
Full Member
Registered: 08/29/05
Posts: 985
Of course adding this autotag is as easy as making an autotag plugin, such as the youtube plugin posted to the forums last month.

In drshakagee's post just search and replace "youtube" with "topic".
Rename the variable $whichtube to $whichtopic.
Change this line that starts "$retval = ..." to
Text Formatted Code
$retval = "<a href="{$_CONF['site_url']}/index.php?topic=$whichtopic">$whichtopic</a>";
 

And that should basically do it (assuming I didn't make any typoes above).

So when is someone going to make a proper autotag plugin with an admin screen where you can create replacement strings for arbitrary autotags?
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Thank you jmucchiello.



So when is someone going to make a proper autotag plugin with an admin screen where you can create replacement strings for arbitrary autotags?


It will be a good feature in geeklog official distrib...

::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

jhackwith

Forum User
Chatty
Registered: 07/24/04
Posts: 63
Location:Lewiston, Idaho
Quote by jmucchiello:So when is someone going to make a proper autotag plugin with an admin screen where you can create replacement strings for arbitrary autotags?


What a great idea! That shouldn't be too hard to implement. Added to our plugin idea database, perhaps Firewind can crank it out one of these days.
"Beauty... is the shadow of God on the universe." ~ Gabriela Mistral -- Desolacíon
 Quote

Status: offline

ivy

Forum User
Full Member
Registered: 11/25/04
Posts: 314
Location:Tokyo Japan
We can use auto tag
Text Formatted Code
[story:] [event:] [staticpage:]

from Geeklog 1.3.10 ...

http://www.geeklog.jp/docs/changes.html

Geeklog Japan https://www.geeklog.jp
 Quote

Status: offline

Benta

Forum User
Regular Poster
Registered: 03/11/05
Posts: 80
Quote by: cordiste

Would it be possible to implement a [topic] autotag in the next versions of Geeklog?

::Ben



Try the GL Utilities plugin.

You can make your own autotags in it.
 Quote

Status: offline

ivy

Forum User
Full Member
Registered: 11/25/04
Posts: 314
Location:Tokyo Japan
Thank you for reply.

Yes!
I will try the autotags plugin, too.

#I uploaded Japanese language files for autotags plugin.
http://www.geeklog.jp/filemgmt/index.php?id=181
Geeklog Japan https://www.geeklog.jp
 Quote

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