Status: offline

Kent-Weather

Forum User
Junior
Registered: 03/26/09
Posts: 24
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:], , [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!!!

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
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

Status: offline

suprsidr

Forum User
Full Member
Registered: 12/29/04
Posts: 555
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

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Quote by: suprsidr

@Dirk So whats the bug?


I posted a note on geeklog-devel.

bye, Dirk

Status: offline

Kent-Weather

Forum User
Junior
Registered: 03/26/09
Posts: 24
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?

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
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

Status: offline

Kent-Weather

Forum User
Junior
Registered: 03/26/09
Posts: 24
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!

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.

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
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).