View Full Version : Where do I set $usegd = 1?
October 17th, 2005, 10:49 AM
from the installation instructions
Alternatively, if you plan to use the GD 2.0.x Graphics Library instead of ImageMagick, you will need to set $usegd = 1; where indicated, in order to use GD2 instead of ImageMagick's mogrify to handle image resizing.
I want to use the GD 2.0.x Graphics Library but how do I do it?
in the config file there is this line only
$mogrify_command = "/usr/bin/mogrify";
do I comment it out?
Where do set $usegd = 1?
Thanks in advance
October 17th, 2005, 11:39 AM
I should also add that the following information is NOT in the config file anymore as it shows in the Installation page (http://www.reviewpost.com/installphp.html)
// GD2 support
// this will only work if you have GD2 or better installed
// 0 - use mogrify; 1 - use GD2
$usegd = 0;
// on-the-fly watermarks
// requires GD2 and you must edit the file watermark.php
// Debug variable.
// 0 = No debug notifications
// 1 = Program should generate an email and send it to the site administrator
// 2 = Program should terminate with a formatted screen with error message
// When set to 0 or 1, the program will not end on non-fatal errors.
// Cookie variable
// This should be set to match the path for your cookies, / sets the cookie
// to be usable throughout the site. If your BB system has a different setting,
// then you need to put that path here as well.
// BotBuster integration
// Set to "yes" if you have BotBuster on your system (this includes the necessary tag)
// ZLIB compression
// Set to "1" if you want to enable Zlib compression
// Date Format
// you can change the format of how dates are displayed
// dow = day of week (Mon, Tue, Wed...)
// month = month (Jan, Feb, Mar...)
// mm = month in numerical format, dd = date, yyyy = year
$ppdateformat = "dow month dd, yyyy";
// If you are running VB and want the server to display the time as an offset
// of GMT (for example, to the timezone where your server is located), enter the
// offset here
$gmtoffset = 0;
// IP caching
// This variable is used to track IP addresses and userids for voting and viewing purposes
// $ipcache is set in HOURS. To limit voting and view increments to once a day, you would set
// $ipcache to 24. Depending on the volume of activity on your set, you may want to monitor
// the size of your cache and adjust accordingly.
// Setting $ipcache to 0 disables this feature.
$ipcache = 0;
// Here is where you can set the fonts used throughout ReviewPost
// Multiple fonts can be specified (just as in HTML code)
$mainfonts="MS Sans Serif,Geneva,Arial";
$fontsmall = "1";
$fontmedium = "2";
$fontlarge = "3";
October 17th, 2005, 04:18 PM
I noticed the missing items in my config file, too. But I'm still more concerned with getting it installed and running at this point than refining what it looks like. ;) I'll take on that challenge later.
October 17th, 2005, 05:13 PM
Well, if its missing part of the config file (and I don't know that it is since the install instructions could be simply outdated) then I don't want to go any further in case there is more missing.
I'm not interested in screwing up my system.
October 17th, 2005, 05:35 PM
You can't mess up your system on that the install instructions just need updating the switch to what processor your using was switched to the database.
October 17th, 2005, 05:36 PM
just need updating the switch to what processor your using was switched to the database.
I have no idea what that means. Does that help me with my question?
Is there anyone who can answer my original question which was "Where do I set $usegd = 1?"
October 17th, 2005, 05:44 PM
The switch is in the database
Login as admin and in global options select which image processor your using
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.