REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TagPad
#11
I tried it but it never worked http://forum.my-notepad.biz/tagpad.php , Sad
Reply
#12
case 'orange':
$textColor = imagecolorallocate($im, 255, 140, 000);
case 'pink':
$textColor = imagecolorallocate($im, 255, 020, 147);

Changet to


case 'orange':
$textColor = imagecolorallocate($im, 255, 140, 0);
case 'pink':
$textColor = imagecolorallocate($im, 255, 20, 147);
Reply
#13
Still not working.
Reply
#14
I think you edited the file wrong.

You may have removed the } at the end of the switch.

PHP Code:
case 'black':
            
$textColor imagecolorallocate($im000);
      }
      
$xy split(','$point); 
Reply
#15
PHP Code:
switch($tc) {
         case 
'red':
            
$textColor imagecolorallocate($im17956);
            break;
         case 
'green':
            
$textColor imagecolorallocate($im6511874);
            break;
         case 
'blue':
            
$textColor imagecolorallocate($im6099128);
            break;
         case 
'black':
            
$textColor imagecolorallocate($im000);
case 
'orange':
$textColor imagecolorallocate($im2551400);
case 
'pink':
$textColor imagecolorallocate($im25520147);  
      }
      
$xy split(','$point); 

Thats what i have.

And on the template i have :

<form action="tagpad.php" method="post">
Text: <input type="text" name="ps" maxlength="30" style="width: 100px;" /><br />
Color: <select name="tc" size="1">
<option value="black">Black</option>
<option value="red">Red</option>
<option value="green">Green</option>
<option value="blue">Blue</option>
<option value="orange">Orange</option>
<option value="pink">Pink</option>
</select><br />
Font:
<select name="fn" size="1">
{$fontlist}
</select><br />
Size:
<select name="size" size="1">
<option value="12">Small</option>
<option value="16">Medium</option>
<option value="20">Large</option>
</select>
<br />
Angle (degrees): <input type="text" name="an" maxlength="3" style="width: 45px;" value="0" /><br />
<input type="submit" value="Tag!" />
<input type="hidden" value="{$tagquery}" name="point" />
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
</form>
Reply
#16
You're missing the break lines.

case 'black':
$textColor = imagecolorallocate($im, 0, 0, 0);
case 'orange':
$textColor = imagecolorallocate($im, 255, 140, 0);
break;
case 'pink':
$textColor = imagecolorallocate($im, 255, 20, 147);
break;
}
$xy = split(',', $point);


Should be

case 'orange':
$textColor = imagecolorallocate($im, 255, 140, 0);
break;
case 'pink':
$textColor = imagecolorallocate($im, 255, 20, 147);
break;
case 'black':
$textColor = imagecolorallocate($im, 0, 0, 0);
}
$xy = split(',', $point);

Sorry I didn't notice that sooner.
Reply
#17
Thank you it worked but why does it say Hacked on my tagpad ??? how did they get the post that big? and whats been hacked?
Reply
#18
Any ideas whats been hacked then? and how they got the text that big?

http://forum.my-notepad.biz/tagpad/archi...499828.jpg
Reply
#19
works great http://vctools.net/portal/tagcloud.php
Reply
#20
(Mar 13, 2010, 05:34 PM)MarkWesley Wrote: Any ideas whats been hacked then? and how they got the text that big?

http://forum.my-notepad.biz/tagpad/archi...499828.jpg

It's just tamper data. It's not really a hack.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)