Kinks
Joined: Feb 28, 2007
|
  Posted:
Jul 19, 2008 - 23:07 |
|
Ok,
I'm having problems writing my team BIO. My HTML has worked fine on all of my team bio's up until now:
http://www.fumbbl.com/FUMBBL.php?page=team&op=view&team_id=451076
I edited my Lizardman team bio today, and it went a little strange. I thought I must have deleted something by mistake or something. Having tried a few different thinks, I found that even if I copy and paste a team Bio that I know works wit wont work on my Lizardman team bio.
For example if I copy:
<div style="background-color:grey;">Test</div>
Then paste it, and press update. When I go into team edit again it just says:
<div >Test</div>
Anybody got any idea what is going wrong?
Thanks in advance |
|
|
Kinks
Joined: Feb 28, 2007
|
  Posted:
Jul 19, 2008 - 23:17 |
|
Well looking at the title of this subject my problem has something to do with the end quote symbols! |
_________________ Better lucky than good |
|
momfreeek
Joined: Jan 23, 2006
|
  Posted:
Jul 19, 2008 - 23:21 |
|
It appears the site upgrade has changed behavior of what input it accepts for edited team bios. Existing bios have not been changed, but updates are filtered. Christer will know whether this is intended behaviour to improve possible security holes or an issue to be fixed. |
_________________ [url=http://img50.imageshack.us/img50/2121/buddylistbar4ft4.png][/url] |
|
Kinks
Joined: Feb 28, 2007
|
  Posted:
Jul 19, 2008 - 23:24 |
|
So you are having the same problem?
Well as long as it isn't just me. Thanks |
_________________ Better lucky than good |
|
momfreeek
Joined: Jan 23, 2006
|
  Posted:
Jul 19, 2008 - 23:26 |
|
|
momfreeek
Joined: Jan 23, 2006
|
  Posted:
Jul 19, 2008 - 23:47 |
|
|
Astarael
Joined: Aug 14, 2005
|
  Posted:
Jul 20, 2008 - 01:04 |
|
This was fixed in 2003. |
_________________ Oh my. |
|
Kinks
Joined: Feb 28, 2007
|
  Posted:
Jul 20, 2008 - 02:02 |
|
momfreeek wrote: | try using single quotes instead of double quotes. It appears that works fine. ie:
<div style='background-color:grey;'>Test</div> |
Cool thanks, gonna take me a while to re-write the whole bio |
|
|
momfreeek
Joined: Jan 23, 2006
|
  Posted:
Jul 20, 2008 - 05:08 |
|
Astarael wrote: | This was fixed in 2003. |
It needs fixing again. The upgrade to php5 is no doubt the cause.
I pointed it out to christer so he's aware of it. Probably a good idea not to edit any bios with css/javascript till its fixed cause you will lose the code. If that happens, hit 'back' and save the html to a file. |
_________________ [url=http://img50.imageshack.us/img50/2121/buddylistbar4ft4.png][/url] |
|
SeraphimRed
Joined: Feb 01, 2004
|
  Posted:
Jul 20, 2008 - 14:52 |
|
Good catch guys.
I backup all my fluff anyway, but this is worth a bump! |
_________________
Enhance YOUR FUMBBL
|
|
Nexus_Six
Joined: Jan 15, 2008
|
  Posted:
Jul 20, 2008 - 14:55 |
|
|
pac
Joined: Oct 03, 2005
|
  Posted:
Jul 20, 2008 - 15:41 |
|
I pinned down the problem in the case of this team bio.
In my case, style information, where it was in double quotation marks, had been removed. This removed the format of the buttons (so they went to a default shape) and meant that the text following the buttons was not hidden by default (since the thing that defines this is a style).
Putting the style info back in and switching to single quotes fixed the problem. (Thanks, momfreeeek. )
Since the code I use is the same code that a lot of other people use for bio buttons, I'll post what specifically I had to add back in here:
In the code defining your button, you should see:
value="<yourbuttontext>" onclick= …
Note that there is a double space between these two. This is where the button style information has been removed. To customise your button, add something like:
style='width:150px;font-size:10px;margin:0px;padding:0px;' [include the single quote marks]
between value and onclick.
For the other problem, further down, before the text that is meant to be under the button, you should have a tag looking like this:
<span >
Again, there is a mysterious space where style information has been removed. Change this tag to:
<span style='display: none;'> [again, making sure to use single quote marks]
Your button system may differ enough from mine that doing this will not, in itself, fix the problem. Even so, you are probably looking for mysterious spaces where style information is missing, and you need to reinsert it with single quotes.
Hope this helps someone. |
|
|
eagle009
Joined: Jul 27, 2006
|
  Posted:
Jul 21, 2008 - 06:50 |
|
Thanks heaps people... Keep up the good work! |
|
|
xcver
Joined: Mar 10, 2005
|
  Posted:
Jul 21, 2008 - 11:50 |
|
so any news around if this will get "fixed" or if we have to re-edit the Bio's? |
_________________ "Power without perception is virtually useless and therefore of no true value!" - Ryouken - Master of the Hokuto no Ken Martial Arts |
|
JanMattys
Joined: Feb 29, 2004
|
  Posted:
Jul 21, 2008 - 11:55 |
|
I asked Christer yesterday.
He told me that it's a security issue: old situation allowed for scripts to be exploited to do harm, while the new situation creates the problem in the bios. And he's not sure he wants to get back to the previous situation.
As soon as he makes a decision, he will state it.
He is aware of the problem. |
_________________
|
|
|