Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

bb coode issues

Asked Modified Viewed 3,309 times
N
Nathan
N
Nathan 10
  • Junior Member, joined since
  • Contributed 35 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
asked
Junior Member

hi,

ive put a fresh installtion of v7 on a site i run, everything seems to work except for the bb codes. it just shows the image holder with the red 'x' in it. ive tried re-uploading the bbcode files to the server but still same problem

any ideas?

the wesbite is: http://abergavenny.welshblackball.com
0 replies

6 posts

H
HobbyMan
H
Just some Guy
  • Veteran Member, joined since
  • Contributed 1,486 posts on the community forums.
  • Started 91 threads in the forums
answered
Veteran Member

Only members can access bbcodes on your site, so I can't see your problem. However, if your getting a red x and clicking on them inputs the correct tag code, then they're probably just missing from their correct directory...

root/includes/bbcodes/images/

p.s. your verification image is not working in contact.php
Edited by HobbyMan on 08-03-2009 02:48,
0 replies
N
Nathan
N
Nathan 10
  • Junior Member, joined since
  • Contributed 35 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
answered
Junior Member

no, clicking on them doesnt input them either. also the verification image doesnt show due to this issue...
0 replies
H
HobbyMan
H
Just some Guy
  • Veteran Member, joined since
  • Contributed 1,486 posts on the community forums.
  • Started 91 threads in the forums
answered
Veteran Member

This may be a host issue.

Run this in your root to see if your server is compatible for securimage.

<?php
/**Securimage Test Script
Version 1.0 - 01/02/2008

Upload this PHP script to your web server and call it from the browser.
The script will tell you if you meet the requirements for running Securimage.

http://www.phpcaptcha.org*/

if (isset($_GET['testimage']) && $_GET['testimage'] == '1') {

  $im = imagecreate(225, 225);
  $white = imagecolorallocate($im, 255, 255, 255);
  $black = imagecolorallocate($im, 0, 0, 0);
  $red   = imagecolorallocate($im, 255,   0,   0);
  $green = imagecolorallocate($im,   0, 255,   0);
  $blue  = imagecolorallocate($im,   0,   0, 255);

 // draw the head
  imagearc($im, 100, 120, 200, 200,  0, 360, $black);

  // mouth
  imagearc($im, 100, 120, 150, 150, 25, 155, $red);

  // left and then the right eye
  imagearc($im,  60,  95,  50,  50,  0, 360, $green);
  imagearc($im, 140,  95,  50,  50,  0, 360, $blue);
  imagestring($im, 5, 15, 1, 'Securimage Will Work!!', $blue);
  imagestring($im, 2, 5, 20, ':) :) :)', $black);
  imagestring($im, 2, 5, 30, ':) :)', $black);
  imagestring($im, 2, 5, 40, ':)', $black);
  imagestring($im, 2, 150, 20, '(: (: (:', $black);
  imagestring($im, 2, 168, 30, '(: (:', $black);
  imagestring($im, 2, 186, 40, '(:', $black);
  imagepng($im, null, 3);
  exit;
}
function print_status($supported)
{
  if ($supported) {
    echo "<span style=\"color: #00f\">Yes!</span>";
  } else {
    echo "<span style=\"color: #f00; font-weight: bold\">No</span>";
  }
}

?>
<html>
<head>
<title>Securimage Test Script</title>
</head>
<body>
<h2>Securimage Test Script</h2>
<p>This script will test your PHP installation to see if Securimage will run on your server.</p>
<ul>
<li><strong>GD Support:</strong>
<?php print_status($gd_support = extension_loaded('gd')); ?></li>
<?php if ($gd_support) $gd_info = gd_info(); else $gd_info = array(); ?>
<?php if ($gd_support): ?>
<li><strong>GD Version:</strong>
<?php echo $gd_info['GD Version']; ?></li>
<?php endif; ?>
<li><strong>TTF Support (FreeType):</strong>
<?php print_status($gd_support && $gd_info['FreeType Support']); ?>
<?php if ($gd_support && $gd_info['FreeType Support'] == false): ?>
<br />No FreeType support.  Cannot use TTF fonts, but you can use GD fonts
<?php endif; ?></li>
<li><strong>JPEG Support:</strong>
<?php print_status($gd_support && $gd_info['JPG Support']); ?></li>
<li><strong>PNG Support:</strong>
<?php print_status($gd_support && $gd_info['PNG Support']); ?></li>
<li><strong>GIF Read Support:</strong>
<?php print_status($gd_support && $gd_info['GIF Read Support']); ?></li>
<li><strong>GIF Create Support:</strong>
<?php print_status($gd_support && $gd_info['GIF Create Support']); ?></li>
      </ul>
<?php if ($gd_support): ?>
Since you can see this...<br /><br />
<img src="<?php echo $_SERVER['PHP_SELF']; ?>?testimage=1" alt="Test Image" align="bottom" />
<?php else: ?>
Based on the requirements, you do not have what it takes to run Securimage :(
<?php endif; ?>
</body>
</html>
0 replies
N
Nathan
N
Nathan 10
  • Junior Member, joined since
  • Contributed 35 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
answered
Junior Member

it is as i run other sites off the same server. all my other sites are ok, just this 1
0 replies
Y
ytterx
Y
ytterx 10
YtterX
  • Member, joined since
  • Contributed 163 posts on the community forums.
  • Started 1 thread in the forums
answered
Member

give the settings in you admin section plz. maybe there's something wrong there
0 replies
N
Nathan
N
Nathan 10
  • Junior Member, joined since
  • Contributed 35 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
answered
Junior Member

which settings do you require?
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 6 posts
  • Votes 0 votes
  • Topic users 3 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet