Error Please tell what am I doing wrong

Started on the old forum in February 2010 · view the original in the archive · old links redirect here

12 replies · 680 views · started 16 years ago · 1 min read

6 participants
bOrN2pwn Developer · 230 posts #1

Ok so I created a code to make staff nicks color but know I sit with a small problem........ In the top bar were the page name goes it puts it like this

<font colot="FF0000">bOrN2pwn</font>

It works 100% across the pages it shows in color but I seem to have a small problem when it comes to the head and title part of the page....

Please tell me why is this and how can I fix it.

BakGat

class Counter {
public:
  void Count();
  int  ReadDisplay();
private:
  int  CurrentCount;
};

External image (may be gone) External image (may be gone) External image (may be gone)

Back up my hard drive? How do I put it in reverse? http://www.hackthissite.org Profile…

metulj Super moderator Principal · 1,726 posts #4

bOrN2pwn wrote: Ok so I created a code to make staff nicks color but know I sit with a small problem........ In the top bar were the page name goes it puts it like this

<font colot="FF0000">bOrN2pwn</font>

It works 100% across the pages it shows in color but I seem to have a small problem when it comes to the head and title part of the page....

Please tell me why is this and how can I fix it.

dunno whats wrong... but you got colot instead colo**R** in posted code.. also you use exact same on site as its seen on screenshot..

<font colo[B][COLOR=red]R[/COLOR][/B]="FF0000">bOrN2pwn</font>

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

modfiles Developer · 200 posts #6

html title tag doesnt support font color, weight, size. You can do a scrolling or blinking text title tag but only if you use javascript. but for all we know, most mobile phones doesnt support javascript. so just make a condition wherein if the string is in a title tag, remove the <font thing.

syrus Junior · 44 posts #8

am nt so familiar with the lavalair functions, all u got to do is where-ever u want the name to show in a dif colour while loopn thru your query i.e

while($v =$your-query){ if(is_staff($u)) echo '<div style="color: #ff000">'.$v->u.'</div>'; else echo //normal style colour }
modfiles Developer · 200 posts #9
$string = '<font colot="FF0000">bOrN2pwn</font>';
$a = array('<font colot="FF0000">','</font>');
$b = array('','');
str_replace($a,$b,$string);
echo "<title>$string</title>";
morse Senior · 364 posts #11

As modfiles said,you can only blink it or scroll it , there is nothing more that you can do. BTW if i were you, i wouldnt be adding anything like that in the header part.

tinyurl.com/earnbymobile Easy earning for Indians

Alternative mobile advertising network .. Minimum 100 USD pay / NET15 pay cycle, Good Brand, Best targeting for Android goo.gl/6vub3

modfiles Developer · 200 posts #12

bOrN2pwn wrote: ModFiles I only showed my nick as were my nick is its a QUERY.... Your string is for plain HTML

I think your using lava. I never use lava script so I dont know the query and just posted an example.

I cant post the right one seeing only this

<font colot="FF0000">bOrN2pwn</font>

^ this is a plain HTML

bOrN2pwn Developer · 230 posts #13

I fixed it useing another method calling my SQl rather then Useing SQL QUERY I changed the format a bit and called it In OOP

Now it works 100%and no HTML violations.... BRILLIANT I TELL YOU

BakGat

class Counter {
public:
  void Count();
  int  ReadDisplay();
private:
  int  CurrentCount;
};

External image (may be gone) External image (may be gone) External image (may be gone)

Back up my hard drive? How do I put it in reverse? http://www.hackthissite.org Profile…

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close