skye
Not New Member
Posts: 5
skye said 0 great things
|
Post by skye on Nov 10, 2009 20:51:43 GMT -8
I'm having trouble with this code.
The one for posts works fine, but when I get a username done, it puts the html for <font color=""> and </font> around the Display name.
I believe it's a conflict with another code, but I don't know for sure.
Do you know of any codes this might conflict with?
|
|
|
Post by pm on Nov 10, 2009 21:17:17 GMT -8
I'm having trouble with this code. The one for posts works fine, but when I get a username done, it puts the html for <font color=""> and </font> around the Display name. I believe it's a conflict with another code, but I don't know for sure. Do you know of any codes this might conflict with? I'm sure Wormo will ask for the URL to the site you are trying to get this to work on so it may save you some time to post it or send him a PM with the URL if you don't want to post it.
|
|
skye
Not New Member
Posts: 5
skye said 0 great things
|
Post by skye on Nov 10, 2009 21:20:36 GMT -8
Ok, it's at darkmistzelda.proboards.comI actually think I know something about whats wrong, at least the thought just came to me: That's an issue, but it's with the posts code, not the username one. However, the HTML for changing font colors is turning to text, and being used as the display name. The entire thing, HTML and name are smeared with the colors I was testing with. So this may be a bug in the Post portion. Now this is screwy. I copy/pasted the entire set of Global and Main Headers/Footers, and pasted them into a new forum I had created. The coding worked fine on my username, no HTML visible. So, I cleared out both sets on the forum I linked, and then saved the changes, so it was fully blank. I repasted in the same codes as on the second forum, and it's still showing the HTML. So I dunno what to do anymore. I've left the codes up, so you should be able to go to the forum and see the problem.
|
|
skye
Not New Member
Posts: 5
skye said 0 great things
|
Post by skye on Nov 10, 2009 22:00:54 GMT -8
I think I figured out the problem.
I had the code adding new stars to the member groups. I was just messing around, and I created a new group without using any stars, and the coding began to work properly.
So there must be something in that code that conflicts with this one.
|
|
|
Post by Wormopolis on Nov 11, 2009 2:36:18 GMT -8
if that code addsa HTML into the display name before colorsmear runs then it will also get parsed as text. run the extra stars code AFTER colorsmear.
I will fix that bug if I can figure out HOW.
|
|
skye
Not New Member
Posts: 5
skye said 0 great things
|
Post by skye on Nov 11, 2009 9:24:08 GMT -8
Well, I don't know exactly if it does that.
All I know is that when you go to create a group, new stars are available. You select the new one, and a number of how many. When you click the button to go to the next page, it tacks on th UBBC for a page break, and then links up the image URLs for each of the stars, however many for the number you placed.
So the group name comes out like <Group Name (break) (URL) (URL) (URL) (URL) (URL) >
So when it shows up in the profile, it's like this:
Group Name * * * * *
The code itself isn't bothering it. It's still in my Main Footers. It only has that affect when you are in a group with those custom stars.
It's pretty wierd.
|
|
|
Post by Wormopolis on Nov 11, 2009 10:26:27 GMT -8
can you leave 1 person as an example so I can see. I might be able to fix that.
|
|
skye
Not New Member
Posts: 5
skye said 0 great things
|
Post by skye on Nov 11, 2009 11:36:48 GMT -8
|
|
|
Post by Wormopolis on Nov 14, 2009 9:01:59 GMT -8
sorry. this got backburnered. Im looking at it today.
|
|
|
Post by Wormopolis on Nov 16, 2009 8:50:02 GMT -8
get a new copy from the database. I fixed it for usernames
posts remain with the bug until I can figure out a way to parse out the UBBC
|
|
Wrighty
Code Helper
[Sj1:0]
Posts: 6
Wrighty said 0 great things
|
Post by Wrighty on Nov 24, 2009 21:33:19 GMT -8
Was this resolved, or is there an outstanding bug still?
|
|
|
Post by Wormopolis on Nov 25, 2009 8:41:36 GMT -8
The username part is resolved. I still have to figure out a way to make this work in a post. currently, if you wrap ubbc with a smear tag, it sends the html to the smear function. I need to devise some way of protecting the htmnl tags. Im trying something with recursion currently.
its a listed bug in the database.
|
|
Wrighty
Code Helper
[Sj1:0]
Posts: 6
Wrighty said 0 great things
|
Post by Wrighty on Nov 25, 2009 13:09:10 GMT -8
Hm. I think that if you link through and see if the code within matches an html tag then to ignore it.
Or you could split I guess. Perhaps a String.match() statement. I'll look later if I get time.
|
|
|
Post by Wormopolis on Nov 25, 2009 19:15:24 GMT -8
I was thinking of using a recursive function that keeps track of position and content and at the end of the recusion applies the colors.
then goes back and re-applies the stripped HTML.
I posted the code with a bug note because I figured the chance someone would try to smear UBC wouldnt be very high. Then I got distracted by skinview...
|
|