Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
0 registered (), 24 Guests and 20 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 07/07/05
Posts: 62
Top Posters (30 Days)
Ruben Rocha 179
Gizmo 112
Rick 109
Thelockman 80
driv 43
AllenAyres 35
ntdoc 28
Ian 24
Sirdude 23
ScriptKeeper 20
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
Page 1 of 4 1 2 3 4 >
Topic Options
Rate This Topic
#179920 - 03/03/07 07:52 AM CAPTCHA setup
ajwharton Offline
journeyman

Registered: 03/01/07
Posts: 50
I am interested in setting up the CAPTCHA verification, but since I am a UBB and PHP n00b, I am kinda lost. Do I need a special lib for this? Is it free or licensed? I am running win32, if that makes a difference

Top
#179921 - 03/03/07 07:57 AM Re: CAPTCHA setup [Re: ajwharton]
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7898
Loc: Aberdeen, WA
There are 2 ways to run CAPTCHA. The first would be with GD2. If you look at your phpinfo section in the control panel, if you see gd2 and freetype in the list, then you could use that. The second is imagemagick. This requires imagemagick 6 which is a free download. And you'd just specify the path to the convert and mogrify programs in the paths section of the control panel.
_________________________
UBB.threads™ Developer
My Personal Website · StogieSmokers.com

Top
#181282 - 03/22/07 02:48 AM Re: CAPTCHA setup [Re: Rick]
BellaOnline Offline
enthusiast

Registered: 06/12/06
Posts: 387
I have installed imagemagick and their test verifies that it's working properly. However no version of the path in the two path fields is getting the images to show up properly. They only show up as red (broken) Xs on the logon screen. I am being *innundated* with spammers and need to figure this out. What exactly does a valid path look like?
_________________________
Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums

Top
#181283 - 03/22/07 02:58 AM Re: CAPTCHA setup [Re: BellaOnline]
BellaOnline Offline
enthusiast

Registered: 06/12/06
Posts: 387
I'm on Windows by the way. I've tried every version I can think of of

c:\Program Files\ImageMagick-6.3.3-Q8\convert.exe

and

c:\Program Files\ImageMagick-6.3.3-Q8\mogrify.exe

with slashes going left, going right, having the program name, just having the directory name, etc.

Also, when I view source, the /images/general/default/wait.gif that it's trying to show on refreshes really doesn't exist in that directory ...

...

OK I'm piecing this together. There was a wait.gif in the downloaded 7.1 set that wasn't in my live set, so I copied that in. I was also missing the CAPTCHA directory in my images directory. What else should I check for?

I've looked in the cache folder, and there are no images being generated in there ...

There are lots of entries in the captcha database table, so it's trying to make them ...


Edited by BellaOnline (03/22/07 03:29 AM)
_________________________
Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums

Top
#181288 - 03/22/07 03:58 AM Re: CAPTCHA setup [Re: BellaOnline]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12007
Loc: Portland, OR; USA
Are you using IIS or Apache? I ask because some webservers don't like \, instead try:
c:/Program Files/ImageMagick-6.3.3-Q8/convert.exe
c:/Program Files/ImageMagick-6.3.3-Q8/mogrify.exe
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#181291 - 03/22/07 04:13 AM Re: CAPTCHA setup [Re: Gizmo]
BellaOnline Offline
enthusiast

Registered: 06/12/06
Posts: 387
Windows IIS - I have tried both back slashes and forward slashes, and neither works. I went into the raw code and then in a CMD window typed in the string it was forming. It actually failed because of the space in program files. However when I moved down into the imagemagick directory and typed the command starting just with the convert command, with all the 'stuff' that came after it, it did make a gif file for me. So the syntax and program seem fine. I wonder if it really is the program files space jamming it - or if something else is going on. Like I said the random number is being written into the database, so it is trying to do something
_________________________
Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums

Top
#181292 - 03/22/07 04:17 AM Re: CAPTCHA setup [Re: BellaOnline]
BellaOnline Offline
enthusiast

Registered: 06/12/06
Posts: 387
AHA!!!!!

Just to test the space theory, I reinstalled ImageMagick in a directory just called C:\imagem - and it WORKED!!!!

Good God, that was 4 hours of my life wasted \:\)
_________________________
Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums

Top
#181348 - 03/22/07 03:12 PM Re: CAPTCHA setup [Re: BellaOnline]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12007
Loc: Portland, OR; USA
lol I was actually going to tell you to put %20 as the space character; but yours works too! lol
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#181349 - 03/22/07 03:13 PM Re: CAPTCHA setup [Re: Gizmo]
Gizmo Moderator Offline

***

Registered: 06/04/06
Posts: 12007
Loc: Portland, OR; USA
just 4? oh just you wait... lol
_________________________
UGN Security, Elite Web Gamers & VNC Web Design Owner
Longtime UBB Supporter, UBB7 Beta Tester & Resident Post-A-Holic

Top
#181354 - 03/22/07 03:27 PM Re: CAPTCHA setup [Re: Gizmo]
BellaOnline Offline
enthusiast

Registered: 06/12/06
Posts: 387
It's 4 hrs on this one - but if you look back through the forums, I was out in Ukraine when my entire forum server went down, and I had to spend days dialed in from rural Urkaine rebuilding it from scratch. Then recently when I was down in New Orleans doing a charity visit, the other forums I run crashed, and I had to completely rebuild and port and upgrade the servers from there. So I have had my fair share of longer-than-four-hour agony ... \:\)
_________________________
Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums

Top
Page 1 of 4 1 2 3 4 >


Shout Box

Today's Birthdays
brushie, cass, Monte G., twebman, White Gold Wielder
Recent Topics
Shrinking graemlins
by Djuma
Today at 05:48 PM
2 problems I'm seeing now.
by DougMM
Today at 04:39 PM
Which CSS Style Controls the bottom lines
by David DelMonte
Today at 01:51 PM
UBBThreads vs. vBulletin -- Defections & Why So Tough to Compare?
by WebMagic
Today at 12:28 PM
Font and column shifts occuring
by Bill B
Yesterday at 06:21 PM
Forum Stats
4261 Members
33 Forums
30532 Topics
154962 Posts

Max Online: 978 @ 06/24/07 08:19 PM