Some frequently asked questions are shown below. Please check here before requesting support:
|
For the captcha, auto thumbnail feature & watermarks, your server is required to have GD library enabled.
To find out if your server has this module installed you need to view your PHP configuration data. To do this copy and paste the following into a text editor:
Save the file as 'test.php' and upload to your server. Once uploaded access this file in your browser. You are looking for the data shown in the following image (note that versions may vary. should ideally be v2 or higher):
|
If you are running your own server and the GD2 library is installed, but not enabled, open up your PHP.ini file and comment out the following line
Save file and then reboot the server. The script checks that this function is installed. |
PHP supports libcurl, a library created by Daniel Stenberg, that allows you to connect and communicate to many different types of servers with many different types of protocols. It is required for the Paypal
IPN system and is more reliable than using sockets, which are not supported by this script.
To find out if your server has this module installed you need to view your PHP configuration data. To do this copy and paste the following into a text editor:
Save the file as 'test.php' and upload to your server. Once uploaded access this file in your browser. You are looking for the data shown in the following image:
|
All my scripts are structured the same with the templates and they all use the Savant2 template engine. I personally
think this is the best template engine out there. Adding new pages is relatively easy:
[1] - Create a new .tpl.php file and pop it in the folder of the theme you are using. You might want to look at the structure of the others to get the same HTML/div information. These
files can use both standard HTML and PHP.
[2] - Next open the index.php and find the closing break; at the bottom of the file. Lets say you create a new file called 'terms.tpl.php', after this break add the following:
case 'terms':
$tpl =& new Savant2();
$tpl->display('templates/terms.tpl.php');
|
Access the new page as 'index.php?cmd=terms'. If you are using mod_rewrite you`ll also need to add the 'terms' attribute to the first RewriteRule.
[3] - If you need to pass dynamic data into the template, assign a new var:
case 'terms':
$tpl =& new Savant2();
$tpl->assign('RANDOM', rand(1,9));
$tpl->display('templates/terms.tpl.php');
|
Then use <?php echo $this->RANDOM; ?> in the template. This example would generate a random number from 1 to 9. You could also add this directly into the template as <?php echo rand(1,9); ?>. You won`t need to pass data using the assign
method unless you want content generated by the gallery system which couldn`t be accessed directly in the template.
Hope that helps create new pages. Note that if you use more than one theme, you will have to create a template file for each theme.
|
Short for 'Change Mode' its a Unix command that lets you tell the system how much (or little) access it should permit to a file. For more information on this contact your web hosting company or try a search on Google. |
Yes. So long as you think about sending a small donation first. For me to set the script up for you I`ll need access to your server via your control panel AND FTP access.
|
As servers vary, there is no one tutorial that can explain this procedure. Please contact your web hosting company who will be happy to advise you.
|
Yes, it also supports SMTP. Set your SMTP settings in your admin area. If set, this overwrites the PHP mail function. Note that
some servers don`t require authentication for SMTP.
|
Yes you can. Open the 'classes/class_mail.inc.php' & 'admin/classes/class_mail.inc.php' files in your text editor and change the status of the
following var to true:
Note that you`ll need line breaks (<br> or <br />) in the templates or else the data will not display correctly. |
Yes. See the options in the 'inc/defined.inc.php' file.
|
Sure. The one I use is the excellent Smaller Animals Thumbnailer. Bargain feature packed thumbnail creator for $25.00. If your budget is lower, try
Easy Thumbnails, Easy Graphic Converter or
Thumbnail Refinery.
Note that I am not affiliated with any of the above. You use them at your own risk. If you have problems, contact the developers.
|
Yes. See the options in the 'inc/defined.inc.php' file.
|
Yes. See the options in the 'inc/defined.inc.php' file.
|
Yes. Use <?php echo $this->THEME_SWITCHER; ?> to load the theme switcher div in the header template.
|
Yes. See the options in the 'inc/defined.inc.php' file.
|
Yes. See the options in the 'inc/defined.inc.php' file.
|
Yes. See the options in the 'admin/inc/defined.inc.php' file.
|
Yes. See the options in the 'admin/inc/defined.inc.php' file.
|
They don`t. Maian Gallery does not support downloadable images. The system is for photographers who want to sell and ship high quality images.
|
Yes. See the options in the 'admin/inc/defined.inc.php' file.
|
Yes. See the options in the 'admin/inc/defined.inc.php' file.
|
Most common problems are that the folders being written to are not writeable. You can also use your full server path
by editing the option in the 'admin/inc/defined.inc.php' file.
|
A good quality text editor will be fine. Notepad will be ok if you have nothing else. A program like Microsoft Frontpage
should be avoided at all costs as it will rewrite the HTML data and screw up the layout.
|
Sure, the one I use is: PSPad |
There are, but they aren`t coded into Maian Gallery. If you don`t have CURL support, the payment system will not function. |
Click the 'Themes' link at the top of the page for more info. |
See PHP.net for more info. |
By default comments are set to wrap after x amount of chars, to stop someone from screwing up the layout. To alter or disable this feature
alter the word wrap text total in the 'inc/defined.inc.php' & 'admin/inc/defined.inc.php' files. 0 disables the wrap.
|
Please see the Copyright Removal page.
Note that the copyright removal fee is for the Maian Script World copyright notice only. If your theme has a template copyright, this must be left in place as per the licence of the free template. Contact the theme/template creator for more information.
|
There are a couple of reasons why this calendar will fail. Firstly, the language file has been edited incorrectly and the calendar vars are causing a javascript error. View your javascript error console or script debugger for more info.
Another possible problem is the path isn`t being parsed correctly to the calendar javascript file. If this is the case, open the 'themes/*theme/js/calendar.js.php' file in your
text editor and update the path at the top of the file. If your server is running in Safe Mode, this will most likely be the problem.
If you want to disable it, remove the 'onclick' tags from the date input fields in the 'themes/*theme/advanced_search.tpl.php' file and remove the js call in the header template.
|
|