Welcome to Geeklog, Anonymous Tuesday, March 19 2024 @ 05:24 am EDT

Geeklog Forums

Stupid html allowed tags question


Status: offline

Kent-Weather

Forum User
Junior
Registered: 03/26/09
Posts: 24
Location:Kent, United Kingdom
Hello,

sorry this is such a stupid question but can someone give me an example of how correctly to format the html tags so they work on GL please?

[story:], [staticpage:], [staticpage_content:], [link:], [event:], [album:], [media:], [img:], [slideshow:], [fslideshow:], [video:], [audio:], , [image:], [oimage:], [mlink:], [forum:]

Im looking at the above in particular but is it something like

[image:"url here"]..... or
[image:url here no quotes]
[image:]url here[/image]

many different comvos but no help given in the documentation.

Help is appreciated as always...

EDIT: I DONT KNOW HOW THE "HERE" LINK SHOWED OR THAT ERROR MESSAGE SORRY!!!
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
We're calling these things autotags. And it looks like you found a nice bug in pretty much every plugin that implements them (hence the error message and the "here" link - I've patched geeklog.net to avoid those).

bye, Dirk
 Quote

Status: offline

suprsidr

Forum User
Full Member
Registered: 12/29/04
Posts: 555
Location:Champaign, Illinois
And it looks like you found a nice bug in pretty much every plugin that implements them

@Dirk So whats the bug?

-s
FlashYourWeb and Your Gallery with the E2 XML Media Player for Gallery2 - http://www.flashyourweb.com
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: suprsidr

@Dirk So whats the bug?


I posted a note on geeklog-devel.

bye, Dirk
 Quote

Status: offline

Kent-Weather

Forum User
Junior
Registered: 03/26/09
Posts: 24
Location:Kent, United Kingdom
Autotags appears to be very confusing or im missing something then? Though kudos to me on finding a bug lol

this should work? yes?

Text Formatted Code
[img:/plugins/mediagallery/uploads/cam.jpg]
<img src="/plugins/mediagallery/uploads/cam.jpg"></img>


This is the outcome im looking for....

Advice please?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The bit the goes after the colon is supposed to be an id for the object you're linking to. Precisely so that you don't have to bother with URLs.

bye, Dirk
 Quote

Status: offline

Kent-Weather

Forum User
Junior
Registered: 03/26/09
Posts: 24
Location:Kent, United Kingdom
So how would one obtain the ID of a 5 minute FTP'd file?

The above directory path is constantly being updated with "cam.jpg" every 5 minutes. Is it going to be possible to display the latest image??? If so, how please?

Thank you for taking the time to help me so far also Oops!
 Quote

Hugh Johnson

Anonymous
Quote by: Kent-Weather

So how would one obtain the ID of a 5 minute FTP'd file?

The above directory path is constantly being updated with "cam.jpg" every 5 minutes. Is it going to be possible to display the latest image??? If so, how please?

Thank you for taking the time to help me so far also Oops!



If it was me I would look at the auto tag plugin: http://www.geeklog.net/filemgmt/index.php?id=926

It should allow you to create your own autotag that works the way you want it too.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: Kent-Weather

So how would one obtain the ID of a 5 minute FTP'd file?


Well, I guess in that case you probably don't need to use an autotag. I would assume the new image simply replaces the old one? So just use a plain old HTML <img> tag (depending on where you want to use it - in a static page, HTML content is not filtered by default; elsewhere you will have to allow it first).

bye, Dirk

P.S. That link to the FAQ above was made using an autotag, [ faq:32 allow ] (minus the spaces).
 Quote

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