Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
5 registered (id242, johnH, Mike L, Iann128, JimUK), 37 Guests and 17 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/02/04
Posts: 195
Top Posters (30 Days)
Ruben 49
DennyP 24
Gizmo 23
Dunny 18
SteveS 14
AllenAyres 12
dbremer 10
drkknght00 9
SD 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 4 1 2 3 4 >
Topic Options
#179920 - 03/03/07 10: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
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#179921 - 03/03/07 10:57 AM Re: CAPTCHA setup [Re: ajwharton]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
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.
Top
#181282 - 03/22/07 05:48 AM Re: CAPTCHA setup [Re: Rick]
BellaOnline Offline
addict
Registered: 06/12/06
Posts: 515
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 05:58 AM Re: CAPTCHA setup [Re: BellaOnline]
BellaOnline Offline
addict
Registered: 06/12/06
Posts: 515
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 06:29 AM)
_________________________
Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums
Top
#181288 - 03/22/07 06:58 AM Re: CAPTCHA setup [Re: BellaOnline]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
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
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#181291 - 03/22/07 07:13 AM Re: CAPTCHA setup [Re: Gizmo]
BellaOnline Offline
addict
Registered: 06/12/06
Posts: 515
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 07:17 AM Re: CAPTCHA setup [Re: BellaOnline]
BellaOnline Offline
addict
Registered: 06/12/06
Posts: 515
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 06:12 PM Re: CAPTCHA setup [Re: BellaOnline]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
lol I was actually going to tell you to put %20 as the space character; but yours works too! lol
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#181349 - 03/22/07 06:13 PM Re: CAPTCHA setup [Re: Gizmo]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
just 4? oh just you wait... lol
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#181354 - 03/22/07 06:27 PM Re: CAPTCHA setup [Re: Gizmo]
BellaOnline Offline
addict
Registered: 06/12/06
Posts: 515
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 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Custom forum permissions
by ntdoc
05/18/12 02:07 PM
Forum Stats
10489 Members
36 Forums
33841 Topics
181698 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image