Welcome to the Invelos forums. Please read the forum rules before posting.

Read access to our public forums is open to everyone. To post messages, a free registration is required.

If you have an Invelos account, sign in to post.

    Invelos Forums->General: Website Discussion Page: 1  Previous   Next
Forum bug with more than one link per line
Author Message
DVD Profiler Unlimited RegistrantMuckl
That's my common name.
Registered: April 9, 2009
Reputation: Great Rating
Germany Posts: 858
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
I hope this hasn't been addressed before, but I couldn't find any post about it

The bbcode gets messed up, if you post two or more links in one line. There has to be at least one line break between each of them.

test1 test2

test1
test2


Thanks for reading 
 
1.0.1, iPhone 3GS, iOS 4.1.0

Trivia v0.3.1
My HSDB v5 additions, HTML windows and other stuff
 Last edited: by Muckl
DVD Profiler Unlimited RegistrantStar Contributorcvermeylen
Registered: March 13, 2007
Reputation: High Rating
Belgium Posts: 1,946
Posted:
PM this userVisit this user's homepageDirect link to this postReply with quote
Yes, I noticed this behavior too. Good idea to mention it here though 
View my collection at http://www.chriskepolis.be/home/dvd.htm

Chris
DVD Profiler Unlimited RegistrantMark Harrison
I like IMDB
Registered: March 13, 2007
Reputation: Great Rating
United States Posts: 3,321
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
I think it's been that way since day 1 of this forum opening.
Get the CSVExport and Database Query plug-ins here.
Create fake parent profiles to organize your collection.
DVD Profiler Unlimited RegistrantMuckl
That's my common name.
Registered: April 9, 2009
Reputation: Great Rating
Germany Posts: 858
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting Mark Harrison:
Quote:
I think it's been that way since day 1 of this forum opening.

So, it's not a bug, it's a feature?
 
1.0.1, iPhone 3GS, iOS 4.1.0

Trivia v0.3.1
My HSDB v5 additions, HTML windows and other stuff
DVD Profiler Desktop and Mobile RegistrantStar ContributorTheMadMartian
Alien with an attitude
Registered: March 13, 2007
Reputation: Highest Rating
United States Posts: 13,199
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
More like a limitation in the forum software.
No dictator, no invader can hold an imprisoned population by force of arms forever.
There is no greater power in the universe than the need for freedom.
Against this power, governments and tyrants and armies cannot stand.
The Centauri learned this lesson once.
We will teach it to them again.
Though it take a thousand years, we will be free.
- Citizen G'Kar
DVD Profiler Unlimited RegistrantMark Harrison
I like IMDB
Registered: March 13, 2007
Reputation: Great Rating
United States Posts: 3,321
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
I thought Ken built the forum software himself.  If so, it's clearly a bug.  But it's been a while and I may have my facts wrong.
Get the CSVExport and Database Query plug-ins here.
Create fake parent profiles to organize your collection.
DVD Profiler Unlimited RegistrantStar ContributorMerrik
NON-STEPFORD PROFILER
Registered: September 30, 2008
Reputation: Highest Rating
Canada Posts: 1,805
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
I was going to post this the other day.

Was doing a couple of links in my contribution notes, and kept withdrawing them 'cause I thought I was somehow adding the links incorrectly. Turns out you just need to hit enter between the links or they show up the way you posted.

Not earth shattering, but definitely a pain in the butt if you don't know about it.
The night is calling. And it whispers to me soflty come and play.
DVD Profiler Unlimited RegistrantMuckl
That's my common name.
Registered: April 9, 2009
Reputation: Great Rating
Germany Posts: 858
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
It's just a little bug inside a regular expression. Very easy to fix, no matter if the forum software is self-written or off the rack.
 
1.0.1, iPhone 3GS, iOS 4.1.0

Trivia v0.3.1
My HSDB v5 additions, HTML windows and other stuff
DVD Profiler Desktop and Mobile RegistrantStar ContributorDJ Doena
Registered: May 1, 2002
Registered: March 14, 2007
Reputation: Highest Rating
Germany Posts: 6,738
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
It's obviously a too generous regular expression

*going into programmer's mode*

For example, if I define a regex that allows any sign between [a] and it will take everything between the first opening a and the last closing a, totally ignoring that there might be more than one on the line. The regex is literally getting greedy. You have to use the "?" operator to tell it not to get greedy.

simple sample to allow for more than one URL on the line:

\[a href="(http|https|ftp)://.+?"\].+?\[/a\]

(there are well defined URL regexes available on the net, it's just an example)
Karsten
DVD Collectors Online

 Last edited: by DJ Doena
DVD Profiler Desktop and Mobile RegistrantDr. Killpatient
Here's my card
Registered: May 19, 2007
Reputation: Highest Rating
United States Posts: 5,916
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Ken told me awhile back that it's a bad regex and that he knows what he needs to do to fix it and it's on his TO DO list, just haven't reached it yet.  It also fails with multiple pics on a line.
 Last edited: by Dr. Killpatient
DVD Profiler Unlimited RegistrantVibroCount
The Truth is Silly Putty
Registered: March 13, 2007
Reputation: High Rating
United States Posts: 5,635
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Add a return between photos or links. Once seen, always fix.
If it wasn't for bad taste, I wouldn't have no taste at all.

Cliff
    Invelos Forums->General: Website Discussion Page: 1  Previous   Next