| View previous topic :: View next topic |
| Author |
Message |
The Ragin' South Asian
Head Poncho
|
Posted: Sun Jun 01, 2008 12:42 am Post subject: 1 |
|
|
In a quote tag, if the author name is given, it has to be put inside quotes (which seems apt enough). In a url tag, the url is not placed in quotes. Could one or the other be changed so that either both require quotes or don't require quotes? Or so that quotes are optional on both? The preview ability renders this not a big deal, but it would be nice to have it consistent, imo.
[quote=RSA]test[/quote]
[url="http://www.greylabyrinth.com"]test[/url]
test |
|
| Back to top |
|
 |
raekuul
Lives under a bridge & tells stories.
|
Posted: Sun Jun 01, 2008 1:29 am Post subject: 2 |
|
|
| it's the way PHP is set up. the string being displayed has to be in quotes, since it does not rely on the database (i think), whereas in the URL the string becomes part of the code, which would be booped because of the HTML code for "" <-- Those things ( i think ). |
|
| Back to top |
|
 |
Nsof
Daedalian Member
|
Posted: Sun Jun 01, 2008 7:42 pm Post subject: 3 |
|
|
FWIW, i agree with RSA.
Consistency contributes to usability. _________________ Will sell this place for beer |
|
| Back to top |
|
 |
Courk
Daedalian Member
|
Posted: Sun Jun 01, 2008 8:59 pm Post subject: 4 |
|
|
| Well, it's not really inconsistent, though. The [xxx=] is similar, but is used to accomplish different things. With [url=] you're listing the website to use in the link, not wishing the entire url to be visible. [quote=" "] is used to actually display the part after =. If [url="http://www.greylabyrinth.com"] would show up as http://www.greylabyrinth.com then it'd make sense, but that's not what you want when you use [url=]. |
|
| Back to top |
|
 |
Samadhi
+1
|
Posted: Sun Jun 01, 2008 9:41 pm Post subject: 5 |
|
|
As has been basically said:
url = http = no need for quotes
quote = string = "" is applicable
Changing the rules for this would be problematic since it's basic syntax for php. And since it's not inconsistant....for it to get changed I think the whole GL would have to rise up and demand it. Oh and probably some weather change in hell. _________________ And he lived happily ever after. Except for the dieing at the end and the heartbreak in between. |
|
| Back to top |
|
 |
Nsof
Daedalian Member
|
Posted: Sun Jun 01, 2008 11:24 pm Post subject: 6 |
|
|
| Courk wrote: |
| Well, it's not really inconsistent, though ... then it'd make sense, but that's not what you want when you use [url=]. |
Based on your post i also read through the BBCode Guide and it does make sense now. Thanks.
| Samadhi wrote: |
| Changing the rules for this would be problematic since it's basic syntax for php. And since it's not inconsistant....for it to get changed I think the whole GL would have to rise up and demand it. Oh and probably some weather change in hell. |
Samadhi, trying to imitate Antrax will not get you admin rights
You are the second that mentions php as somehow related to BBCode. Is this some confusion between php, phpBB and BBCode? _________________ Will sell this place for beer |
|
| Back to top |
|
 |
Samadhi
+1
|
Posted: Sun Jun 01, 2008 11:35 pm Post subject: 7 |
|
|
nsof: good point, I did conflate the two. However, please click on Usergroups, then admin, then get back to me. _________________ And he lived happily ever after. Except for the dieing at the end and the heartbreak in between. |
|
| Back to top |
|
 |
Antrax
ESL Student
|
Posted: Mon Jun 02, 2008 6:07 am Post subject: 8 |
|
|
Samadhi gained admin rights after a brilliant move where he flooded the GL with spambots
In any case, this is doable but I'm averse to it. Anything that has to do with quotes is a potential security hole, and I would prefer not to stray from the main phpBB branch on this.
However, if the demand were large, I could dedicate time to implement it. Poll? _________________ After years of disappointment with get rich quick schemes, I know I'm gonna get rich with this scheme. And quick! |
|
| Back to top |
|
 |
The Ragin' South Asian
Head Poncho
|
Posted: Mon Jun 02, 2008 6:16 am Post subject: 9 |
|
|
| If it's a big deal, then it's probably not worth it. |
|
| Back to top |
|
 |
Nsof
Daedalian Member
|
Posted: Mon Jun 02, 2008 8:13 pm Post subject: 10 |
|
|
^
|
what he said _________________ Will sell this place for beer |
|
| Back to top |
|
 |
Poisonium
annoyed by the old
|
Posted: Mon Jun 02, 2008 8:47 pm Post subject: 11 |
|
|
How many layers of irony are required to understand this?  _________________ I tried apt-get install lifebut it only returned E: Couldn't find package life |
|
| Back to top |
|
 |
|