Posted on: 09/24/03 06:11am
By: Anonymous (The Missing Link)
I've tried to to write HTML code for my users in an HTML
formatted post and Geeklog almost buried my alive.
I've tried using codes like <pre>, <plaintext> & <xmp> (after
approving them in config.php, of course...), but simply refuses to
accept ANYTHING that started with a "<".
Eventually, everything turned into plain text, including the delete
button, so I had to manually input the link to editing posts, only
replacing the word "edit" with "delete".
Thank god it worked (otherwise I had no way to delete that
gone insane post).
Now, I know, I know...I should have used "plain old text" mode.
BUT...what if I want to use a link? Please tell me there is a way to
do that without posting in HTML!
Don't tell me to just write the URL down and hope my users would
copy and paste it into their browser (not to mention that with the lack
of target=_blank, they'll probably do it in top of MY site...).
Thanks so much, bye!
Re:Help! Linking in text post mode
Posted on: 09/24/03 01:48pm
By: Dirk
[QUOTE BY= The Missing Link]Eventually, everything turned into plain text, including the delete button, so I had to manually input the link to editing posts, only replacing the word \"edit\" with \"delete\".[/QUOTE]
Yeah, that\'s one of several disadvantages of letting the user enter plain HTML - if they don\'t close their tags properly, the whole layout could get messed up.
[QUOTE BY= The Missing Link]Don\'t tell me to just write the URL down and hope my users would copy and paste it into their browser[/QUOTE]
I\'m afraid, there\'s no way to have clickable links in text mode.
[QUOTE BY= The Missing Link](not to mention that with the lack
of target=_blank, they\'ll probably do it in top of MY site...).[/QUOTE]
Don\'t get me started on that nuisance ...
bye, Dirk
Re:Help! Linking in text post mode
Posted on: 09/25/03 06:43am
By: Anonymous (The Missing Link)
Thanks for helping!
Anyway, I don't understand why Geeklog still wouldn't let me use
HTML code when it's surrounded by something like <xmp> & </xmp>.
How can a code possibly ruin my site when it's surrounded by these
tags?
In the delicate security vs. comfort balance, I think that at least in this
case, the security is a little too much tight...:-)
Re:Help! Linking in text post mode
Posted on: 09/25/03 02:10pm
By: Dirk
[QUOTE BY= The Missing Link]Anyway, I don\'t understand why Geeklog still wouldn\'t let me use HTML code when it\'s surrounded by something like & .[/QUOTE]
First of all, there\'s no such tag in the HTML standard, so some browsers may not recognize it. Also, Geeklog filters out any tags which are not in the list of allowable HTML in config.php.
bye, Dirk
Re:Help! Linking in text post mode
Posted on: 09/26/03 02:48am
By: Anonymous (The Missing Link)
Well, there\'s always the even worse tag, I guess.
I don\'t know of any other such codes, do you?
BUT...you can always invent a special code just for Geeklog.
For example, whenever I write and Geeklog
will just KNOW (internally) to treat the lines between as plain text.
So what do you think?
Re:Help! Linking in text post mode
Posted on: 09/26/03 02:50am
By: Anonymous (The Missing Link)
It removed that name from the post for some reason...
the even worse tag=the even worse tag
Posted on: 09/26/03 02:51am
By: Anonymous (The Missing Link)
It changed my subject!
I wanted to write:
the even worse tag=the even worse tag
the even worse tag=the even worse \"plaintext\" tag
Posted on: 09/26/03 02:53am
By: Anonymous (The Missing Link)
What is going on here?!
I wish I could erase/edit my earlier replies (that the forum messed
with...).
Re:Help! Linking in text post mode
Posted on: 09/26/03 01:02pm
By: Dirk
[QUOTE BY= The Missing Link] What is going on here?![/QUOTE]
Not sure what may have happened to the topic, but HTML tags that are not in the list of allowable HTML are filtered out (as I just explained in a previous post).
[QUOTE BY= The Missing Link]I wish I could erase/edit my earlier replies (that the forum messed
with...).[/QUOTE]
Registered users can do that ...
bye, Dirk
Re:Help! Linking in text post mode
Posted on: 09/26/03 04:24pm
By: Anonymous (The Missing Link)
I realise that. I\'m just saying - can\'t you declare your own tags.
Like, call them \"Dirk Tahs\" where everything between them should be
treated as plain text no matter what.
I don\'t require an explanation.
It\'s just a suggestion for the future.
Re:Help! Linking in text post mode
Posted on: 09/26/03 04:40pm
By: Dirk
[QUOTE BY= The Missing Link]I\'m just saying - can\'t you declare your own tags.
Like, call them \"Dirk Tahs\" where everything between them should be
treated as plain text no matter what.[/QUOTE]
There is the [code] pseudo tag. Try it ...
bye, Dirk
Re:Help! Linking in text post mode
Posted on: 09/27/03 05:04am
By: Anonymous (The Missing Link)
I did (I tried them all eventually...). It\'s just like \"pre\", which means it
doesn\'t require \"p\" and \"br\", but still it wouldn\'t let me use real code (as
text).
Re:Help! Linking in text post mode
Posted on: 09/27/03 05:12am
By: Dirk
[QUOTE BY= The Missing Link] but still it wouldn\'t let me use real code (as text).[/QUOTE]
Then I may have misunderstood what you\'re after. Geeklog\'s code pseudo-tag is intended to reproduce text verbatim, i.e. exactly as you entered it, so that you could post PHP or HTML code. It is not the same as the HTML code or pre tags, as it does some extra escaping of characters.
bye, Dirk
Re:Help! Linking in text post mode
Posted on: 09/27/03 09:45am
By: Anonymous (The Missing Link)
May be so, but it still wouldn't let me write actual code, and believe me
I tried.
Actually, what happened was that it CUT my code in the first mention of
a "<".
Let's say I posted:
=====================
bla bla bla bla
Here is the code you wanted:
<code>
<blabla>
<dsfsdf>
<lglgrer>
<lsfdsr>
<gdher>
<lldfgrer>
</code>
Enjoy!
=====================
And the result was:
=====================
bla bla bla bla
Here is the code you wanted:
<<p>
=====================
...and that's it! (yes, that was double <
