Welcome to Geeklog Sunday, August 25 2019 @ 12:38 am EDT

Geeklog Forums

[topic:auto tag]


Status: offline

::Ben

Forum User
Full Member
Registered: 14/01/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

Status: offline

jmucchiello

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

Status: offline

::Ben

Forum User
Full Member
Registered: 14/01/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

Status: offline

jmucchiello

Forum User
Full Member
Registered: 29/08/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
PHP 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?

Status: offline

::Ben

Forum User
Full Member
Registered: 14/01/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

Status: offline

jhackwith

Forum User
Chatty
Registered: 24/07/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

Status: offline

ivy

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

from Geeklog 1.3.10 ...

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

Geeklog Japan https://www.geeklog.jp

Status: offline

Benta

Forum User
Regular Poster
Registered: 11/03/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.

Status: offline

ivy

Forum User
Full Member
Registered: 25/11/04
Posts: 309
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

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