PDA

View Full Version : [fixed] Quoting a user with HTML entities


Chen
Sun 8th Sep '02, 7:20am
If you quote a post by "<v>" for example:
http://www.vbulletin.com/forum/newreply.php?s=&action=newreply&postid=345587
The name becomes "&lt;v&gt;".

John
Wed 11th Sep '02, 5:13am
Fixed

Insert at line 38 of newreply.php above

if ($postinfo[title]!="") {

$originalposter = unhtmlspecialchars( $originalposter );

aidler
Wed 11th Sep '02, 10:28am
In my hacked board after what has this to be inserted? Only a line number doesn't help me very much. Thanks.:)

TommyBALL
Wed 11th Sep '02, 11:06am
Sug: Check your original file, and see what is at line 38. Then look for the same thing in your hacked file :)

BlueBear
Fri 13th Sep '02, 3:31pm
Originally posted by TommyBALL
Sug: Check your original file, and see what is at line 38. Then look for the same thing in your hacked file :)

Still not a very good answer.

This is line 38 in the original file:

if ($postinfo[title]!="") {

Insert the new line before or after?

Axel Foley
Fri 13th Sep '02, 10:12pm
It is perfectly comprehensible IMHO...;)

John said insert at line 38. So inserting at 38 shifts the rest down. The original line 38 (that you already found) becomes line 39, so I guess now you know if it's before or after...:rolleyes:

HINT: it's not after...:D

BlueBear
Sat 14th Sep '02, 7:02am
Always an a**hole in the crowd. I was trying to confirm what line 38 was, not if it was before or after.

You guys are unbelieveable. With the amount of time you spent posting useless posts, you could have been more helpful for others by posting a portion of the line in question. This way, there is no confusion and could possibly eliminate extra (and unneeded) posts. Thanks for nothing.

Grrrr...

Chen
Sat 14th Sep '02, 8:06am
Originally posted by BlueBear
Always an a**hole in the crowd. I was trying to confirm what line 38 was, not if it was before or after.

You guys are unbelieveable. With the amount of time you spent posting useless posts, you could have been more helpful for others by posting a portion of the line in question. This way, there is no confusion and could possibly eliminate extra (and unneeded) posts. Thanks for nothing.

Grrrr...

BlueBear,

Please refrain from badmouthing other members of this community. From what I see Axel Foley was trying to be helpful and courteous.

Thank you.

BlueBear
Sat 14th Sep '02, 8:28am
Sorry from badmouthing, I was just trying to get a clear answer. Yes, I am a paying customer, and yes, I have the original files. But if you look in each of the bug topics, the question is always asked, "What is line xx?" A simple post of the line in question would save wasted posts and eliminate confusion.

Yes, I am a programmer and web developer, but not all users are that way or want to know the intricacies of the code being changed. And before it is said, yes, customers could wait until the next version is out. But then, why have a bug forum with the fixed code that doesn't offer any insight. I'm not suggesting to release a new version with every bug fix, but certainly some fixes are useful or necessary way before a new version is released.

Is this too much to ask?

Scott MacVicar
Sat 14th Sep '02, 8:38am
i edited johns post, is that more clearer for you?

The instructions are a bit vague but we only support unhacked boards so your line 38 should be the same.

BlueBear
Sat 14th Sep '02, 8:56am
Much clearer. Thanks PPN.