In this board you can talk about general questions about phpMyFAQ
Moderator: Thorsten
jazcyk
Posts: 385 Joined: Wed Sep 07, 2005 1:32 pm
Post
by jazcyk » Fri Mar 24, 2006 11:25 pm
it does not seem to work!
Maybe it is printed outside the visible 'window'?
But it can be added to .css and .tpl. files if needed.
It is no big issue for me. We have not been bothered by robots - only some childish persons and a viagra-seller ...
I will just use two or three very clear fonts for a start.
jazcyk
Posts: 385 Joined: Wed Sep 07, 2005 1:32 pm
Post
by jazcyk » Fri Mar 24, 2006 11:27 pm
this should nave been posted in the 'PhpmyFAQ 160' thread
matteo
Posts: 572 Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy
Post
by matteo » Fri Mar 24, 2006 11:39 pm
jazcyk wrote: it does not seem to work!
Maybe it is printed outside the visible 'window'?
But it can be added to .css and .tpl. files if needed..
Here is the effect for viewing the basket of characters:
Last edited by
matteo on Fri Aug 04, 2006 7:38 pm, edited 1 time in total.
jazcyk
Posts: 385 Joined: Wed Sep 07, 2005 1:32 pm
Post
by jazcyk » Fri Mar 24, 2006 11:46 pm
Here it displays like
ask.php contains
Code: Select all
'msgCaptcha' => $PMF_LANG['msgCaptcha']."<br/>(".implode(" ", $captcha->letters).")",
a syntax issue, probably!
matteo
Posts: 572 Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy
Post
by matteo » Fri Mar 24, 2006 11:51 pm
jazcyk wrote: a syntax issue, probably!
Or a browser issue: please try to substitute "
<br/> " with a simple space char " ".
jazcyk
Posts: 385 Joined: Wed Sep 07, 2005 1:32 pm
Post
by jazcyk » Fri Mar 24, 2006 11:59 pm
makes no difference in neither IE, Firefox or Opera on my system when connecting to local Apache 2.0.55, PHP 5.1.2, MySQL 5.0.19.
Could there be some file version mismatch?
jazcyk
Posts: 385 Joined: Wed Sep 07, 2005 1:32 pm
Post
by jazcyk » Sat Mar 25, 2006 12:08 am
captcha.php contains:
Code: Select all
$this->letters = array('1', '2', '3', '4', '5', '6', '7', '8', '9',
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I',
'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R',
'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z' );
matteo
Posts: 572 Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy
Post
by matteo » Sat Mar 25, 2006 12:08 am
It doesn't depend on the server configuration if you do not have a local proxy.
It seems to me you've modified a file different from that under your web root path or you are caching the old HTML.
is one of the properties of the captcha class as
a bit below in
ask.php
jazcyk
Posts: 385 Joined: Wed Sep 07, 2005 1:32 pm
Post
by jazcyk » Sat Mar 25, 2006 12:10 am
another php-module that I need to load?
jazcyk
Posts: 385 Joined: Wed Sep 07, 2005 1:32 pm
Post
by jazcyk » Sat Mar 25, 2006 12:14 am
or you are caching the old HTML
I have restarted Apache and the browsers, so nothing should be cached anywhere!
The file modified is
\path to faq\ask.php
or webroot\faq16\ask.php (in webserver terms)
or D:\webside\faq16\ask.php (on local filesystem)
jazcyk
Posts: 385 Joined: Wed Sep 07, 2005 1:32 pm
Post
by jazcyk » Sat Mar 25, 2006 12:16 am
I now emptied the browser cache, and still the same!
matteo
Posts: 572 Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy
Post
by matteo » Sat Mar 25, 2006 12:19 am
I'd suggest you two checks:
a. add a garbage character like "
( " in your ask.php: this will output an error if you're modifying the right file (just a double check to you post)
b. try to remove the
implode function for reading something like
Code: Select all
'msgCaptcha' => $PMF_LANG['msgCaptcha']." This is a Test String - REMOVE ME",
jazcyk
Posts: 385 Joined: Wed Sep 07, 2005 1:32 pm
Post
by jazcyk » Sat Mar 25, 2006 12:29 am
Last edited by
jazcyk on Sat Mar 25, 2006 12:31 am, edited 1 time in total.
david_de
Posts: 72 Joined: Tue Dec 13, 2005 12:09 am
Post
by david_de » Sat Mar 25, 2006 12:30 am
Code: Select all
'msgCaptcha' => $PMF_LANG['msgCaptcha']." This is a Test String - REMOVE ME",
The problem with this and the implode one the string is too long for the column. In Firefox it over writes the right column however the column top is same hight as left and right column.
IE it is too wide for the column so the column moves down where the "Ask Question at the top of the center column is just below 1 Users online (left column) but in the middle column position. It was off my screen until I scroll down.