jeepinator
Sun 19th Dec '04, 9:02pm
This post is relevant for Windows installations only
GD appears to be used in at least two places within vBulletin 3.03.
For Image Verification when new users are registering
Admin CP > vBulletin Options > User Registration Options > Image Verification
And
For creating thumbnails fo attached images
Admin CP > vBulletin Options > Message Attachement Options > Enable Thumbnails
I set out to get these features working and quickly learned I needed GD working. That's when the easy part stopped. After searching some threads here it seemed probable that I was going to fail as I would need to "recompile PHP with GD support". Well, I have no clue what recompile even means!
I then learned that the most recent versions of PHP have GD support built in already and that no recompiling is needed. w00t
From http://www.php.net/gd
Note: Since PHP 4.3 there is a bundled version of the GD lib. This bundled version has some additional features like alpha blending, and should be used in preference to the external library since its codebase is better maintained and more stable
There is a catch, of course :rolleyes:
Since I am a noob, I downloaded and installed the Windows installer (the version that is not just a zip file) and installed PHP this way. Problem: The Windows installer does NOT include the required file (php_gd2.dll) to make GD actually work (even though it has support for it).
The fix is really quite easy.
If you are like me and have installed PHP with the Windows installer, go ahead and also download the zip file version and extract the php_gd2.dll file from the zip into a subdirectory of your PHP install directory (ex. c:\php\extensions).
Then edit the php.ini file (found in c:\winnt for most Windows users) in two places (use the search feature to find this stuff in the file as the file is huge):
extension_dir = "./extensions"
- This assumes you placed the php_gd2.dll in a subdirectory of PHP.EXE named "extensions".
extension=php_gd2.dll
- Remove the semicolon from the front of above statement.
Save the file and adjust your vBulletin control panel settings.
If it doesn't work, don't ask me! haha
Actually, it didn't work the first time I did it. I didn't install using the default locations the first time either. But I did the second time and then it worked. Not sure if that is what fixed it.
This might seem trivial to some of you, but super basic help like this seems to be fairly scarce around here. Basically, I know nothing about coding and software. And I also am presuming almost nobody installs vBulletin on Windows platforms. If I have made errors or left something out, please correct me.
GD appears to be used in at least two places within vBulletin 3.03.
For Image Verification when new users are registering
Admin CP > vBulletin Options > User Registration Options > Image Verification
And
For creating thumbnails fo attached images
Admin CP > vBulletin Options > Message Attachement Options > Enable Thumbnails
I set out to get these features working and quickly learned I needed GD working. That's when the easy part stopped. After searching some threads here it seemed probable that I was going to fail as I would need to "recompile PHP with GD support". Well, I have no clue what recompile even means!
I then learned that the most recent versions of PHP have GD support built in already and that no recompiling is needed. w00t
From http://www.php.net/gd
Note: Since PHP 4.3 there is a bundled version of the GD lib. This bundled version has some additional features like alpha blending, and should be used in preference to the external library since its codebase is better maintained and more stable
There is a catch, of course :rolleyes:
Since I am a noob, I downloaded and installed the Windows installer (the version that is not just a zip file) and installed PHP this way. Problem: The Windows installer does NOT include the required file (php_gd2.dll) to make GD actually work (even though it has support for it).
The fix is really quite easy.
If you are like me and have installed PHP with the Windows installer, go ahead and also download the zip file version and extract the php_gd2.dll file from the zip into a subdirectory of your PHP install directory (ex. c:\php\extensions).
Then edit the php.ini file (found in c:\winnt for most Windows users) in two places (use the search feature to find this stuff in the file as the file is huge):
extension_dir = "./extensions"
- This assumes you placed the php_gd2.dll in a subdirectory of PHP.EXE named "extensions".
extension=php_gd2.dll
- Remove the semicolon from the front of above statement.
Save the file and adjust your vBulletin control panel settings.
If it doesn't work, don't ask me! haha
Actually, it didn't work the first time I did it. I didn't install using the default locations the first time either. But I did the second time and then it worked. Not sure if that is what fixed it.
This might seem trivial to some of you, but super basic help like this seems to be fairly scarce around here. Basically, I know nothing about coding and software. And I also am presuming almost nobody installs vBulletin on Windows platforms. If I have made errors or left something out, please correct me.