Documentation
Home | Installation/Usage | Upgrades | F.A.Q | Mod-Rewrite | Cron Jobs | Script Info
Some frequently asked questions are shown below. Please check here before requesting support:

How do I know if my server has the GD2 Library installed?
OK, so how do I enable it?
Where can I find the flash attributes?
What`s Chmod?
I cannot set the script up myself. Can you help?
How do I set up a MySQL database?
Everything was working ok, now all I see is a white page. What happened?
The language file is not loading. Why?
My server has stopped the PHP mail() function sending to 3rd party addresses. What can I do?
Can I use HTML in my e-mails?
Can I de-activate the e-mails that get sent out?
How do the stamps work?
Can I disable the hit count?
Can I disable the send log?
Can I auto delete favourites after X amount of days?
Why can`t users change the font colour and background color?
Why is there no option to send mail to members on the mailing list?
Can you recommend a mailing list program?
Can I disable the member reminders in the calendar?
Can I disable the help topics?
How can I change the pop up sizes for emoticons, music & poems?
The admin template editor isn`t working. What can I do?
Can I change the limit for when favourites are deleted?
Can you modify the script for me?
Can I remove the footer link from the script?
I can`t find the display colours for the calendar. Where are they?
I can`t find the display colours for the images & category tables. Where are they?
I`m trying to find the 'Mon', 'Tue' etc language variables. Where are they?
On the send e-card page, can I add the address book e-mail addresses to the drop down menu?
Can I make my password and database information more secure?
Can I show the amount of active members I have?
Lines are not breaking properly in 'Outlook 2003'. What can I do?

» Q: HOW DO I KNOW IF MY SERVER HAS THE GD2 LIBRARY INSTALLED?
To find out if your server has this module installed you need to view your PHP installation data.

To do this copy and paste the following into a text editor:

<?php
phpinfo();
?>

Save the file as 'test.php' and upload to your server. Once uploaded access this file in your browser. You will see a run down of your PHP configuration options. Look for the GD module. Since PHP v4.3 the GD library is included with the PHP installation but not enabled by default.
» Q: OK, SO HOW DO I ENABLE IT?
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

extension=php_gd2.dll

Save file and then reboot the server. The script checks that this function is installed. If you attempt to use auto create and you don`t have GD2 support, the image will not be uploaded.
» Q: WHERE CAN I FIND THE FLASH ATTRIBUTES?
The flash attributes are in the following file.

inc/flash_functions.php

If you need to change your movies to loop, do so here. You can also specify a seperate width and height for flash movies that over write the settings specified image width and height.
» Q: WHAT`S CHMOD?
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.
» Q: I CANNOT SET THE SCRIPT UP MYSELF. CAN YOU HELP?
Yes. So long as I am familiar with your servers setup I can set up the script for you. In return all I ask is a small donation. Thanks.
» Q: HOW DO I SET UP A MYSQL DATABASE?
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.
» Q: EVERYTHING WAS WORKING OK, NOW ALL I SEE IS A WHITE PAGE. WHAT HAPPENED?
The cause for this will be that you have edited one of the PHP files incorrectly, which is causing it to fail. Usually the language file. Go back and check your editing.

If the problem persists, re-download the script from Maian Script World and start again.
» Q: THE LANGUAGE FILE IS NOT LOADING. WHY?
The cause for this will be because you have edited the lang file and accidentally made a mistake. Most common problem is using appstropes (') without escaping them correctly. ie: \'. Failure to escape apostrophes correctly will cause the language file to fail. Go back and check your editing.

If the problem persists, re-download the script from Maian Script World and start again.
» Q: MY SERVER HAS STOPPED THE PHP MAIL() FUNCTION SENDING TO 3RD PARTY ADDRESSES. WHAT CAN I DO?
This is actually a problem I had myself. If this is the case open up the following 2 files in your text editor.

index.php
admin/index.php

Scroll down to the user editable variables and find the following:

define ('PHPMAILER', 0);

Set the 0 status to 1 to enable the PHP Mailer. This is an optional send method. If the PHP mail function is ok, no need to enable this.
» Q: CAN I USE HTML IN MY E-MAILS?
Yes you can. If you want to use HTML in your e-mail templates, you need to do the following:

1. Open up the 'classes/class_generic.inc.php' file in a text editor.

2. Look for the 'mail_headers()' function. The first line in the function is commented out. ie:

//$headers = "Content-type: text/html; charset=iso-8859-1\r\n";
$headers = "From: $name<" . $email . ">\n";

3. Change this and line 2 to:

$headers = "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: $name<" . $email . ">\n";

Note that the first line is un-commented out and the second line has a concatenation dot.

Thats it, you can now use HTML in your e-mail templates.

Note that some data in some e-mails may not display correctly as the script is coded to use plain text data. If you know PHP it shouldn`t be too hard to make the necessary script changes. ie: add line breaks.
» Q: CAN I DE-ACTIVATE THE E-MAILS THAT GET SENT OUT?
Yes. Open up the 'index.php' file in your text editor and scroll down to the user options:

define ('AUTO_RESPONDER', 1);
define ('ADMIN_NOTIFY', 1);
define ('EMAIL_WELCOME', 1);
define ('EMAIL_WEBMASTER', 1);

These are for the e-mails. Change the status of 1 to 0 for the ones you want to de-activate. The rest of the e-mails are important to the system and are enabled as default.
» Q: HOW DO THE STAMPS WORK?
Unlike some systems where users can choose a stamp for their card, this system can display a default stamp or load from an array of images. If you wish to enable the random stamps in your settings, you can add as many new stamps to the following dir as you need:

/images/stamps/

The script will select a random stamp. If random stamps are off the 'images/stamps/default.gif' will load.
» Q: CAN I DISABLE THE HIT COUNT?
Yes you can. Open up the 'index.php' file in your text editor and scroll down to the user editable variables. Find the following:

define ('HIT_COUNT_STATUS', 1);

Change the 1 to 0. Save file and re-upload.
» Q: CAN I DISABLE THE SEND LOG?
Yes you can. Open up the 'index.php' file in your text editor and scroll down to the user editable variables. Find the following:

define ('SEND_LOG', 1);

Change the 1 to 0. Save file and re-upload.
» Q: CAN I AUTO DELETE FAVOURITES AFTER X AMOUNT OF DAYS?
Yes you can. Open up the 'index.php' file in your text editor and scroll down to the user editable variables. Find the following:

define ('AUTO_DEL_FAVES', 0);

Change the 0 to how many days you want favourites to be before they are deleted. Example: 60 = 60 Days. Set to 0 to disable.
» Q: WHY CAN`T USERS CHANGE THE FONT COLOUR AND BACKGROUND COLOR?
To be honest, all these features to me are pointless and I want to keep Maian Greetings a simple effective e-card solution. If you want a system with these features best to shop around for some alternative.

If enough interest is shown in these features I may include them at a later date as optional.
» Q: WHY IS THERE NO OPTION TO SEND MAIL TO MEMBERS ON THE MAILING LIST?
At this moment in time you require a third party program to send the e-mails. I feel this is more effective in the long run. Simply export your members into this program.
» Q: CAN YOU RECOMMEND A MAILING LIST PROGRAM?
There are lots of mailing list programs available. One I would recommend for minimal outlay is Turbo Mailer.

Note that I am NOT affiliated with this program in any way. Its simply a recommendation. If you buy it and have problems, please contact the software developers.
» Q: CAN I DISABLE THE MEMBER REMINDERS IN THE CALENDAR?
Yes you can. Open up the 'index.php' file in your text editor and scroll down to the user editable variables. Find the following:

define ('VIS_CAL_REMINDERS', 1);

Change the status to 0, then save and re-upload the index.php file
» Q: CAN I DISABLE THE HELP TOPICS?
Yes you can. Open up the 'index.php' file in your text editor and scroll down to the user editable variables. Find the following:

define ('HELP_TOPICS', 1);

Change the status to 0, then save and re-upload the index.php file
» Q: HOW CAN I CHANGE THE POP UP SIZES FOR EMOTICONS, MUSIC & POEMS?
Open up the 'index.php' file in your text editor and scroll down to the user editable variables. Find the following:

define ('EMOTICONS_WINDOW', '10,10,300,400,1,0');
define ('MUSIC_WINDOW', '10,10,350,400,1,0');
define ('POEMS_WINDOW', '10,10,350,400,1,0');

Each variable contains 6 digits, they are as follows:

Left-X, Top-X, Width, Height, Scrollable, Resizable

Change to suit.
» Q: THE ADMIN TEMPLATE EDITOR ISN`T WORKING. WHAT CAN I DO?
If the online template editor is not functioning as you would like, please use a text editor to edit the files.
» Q: CAN I CHANGE THE LIMIT FOR WHEN FAVOURITES ARE DELETED?
Yes. The script by default deletes favourites if they are older than 60 days. To increase or decrease this limit, open the 'index.php' file in your text editor and scroll down to the user editable variables. Find the following:

define ('CLEAR_FAVE_DAYS', 60);

Change the duration to what you required, save and re-upload.
» Q: CAN YOU MODIFY THE SCRIPT FOR ME?
Yes, but it all depends on the scope of the modification involved and whether I have the time to do it. Please contact me and we`ll take it from there.
» Q: CAN I REMOVE THE FOOTER LINK FROM THE SCRIPT?
See the following for more information:

http://www.maianscriptworld.co.uk/copyright-removal.html
» Q: I CAN`T FIND THE DISPLAY COLOURS FOR THE CALENDAR. WHERE ARE THEY?
You need to open up the calendar class file in your text editor. This is as follows:

/classes/class_eventCalendar.inc.php

The colour options are in variables at the start.
» Q: I CAN`T FIND THE DISPLAY COLOURS FOR THE IMAGES & CATEGORY TABLES. WHERE ARE THEY?
You need to open up the following files in your text editor:

/classes/class_images.inc.php
/inc/functions.php

The colour options are in variables at the start of the class file and inside the 'build_categories()' function at the start.
» Q: I`M TRYING TO FIND THE 'MON', 'TUE' ETC LANGUAGE VARIABLES. WHERE ARE THEY?
You need to open up the calendar class file in your text editor. This is as follows:

/classes/class_eventCalendar.inc.php

The variables are at the start.
» Q: ON THE SEND E-CARD PAGE, CAN I ADD THE ADDRESS BOOK E-MAIL ADDRESSES TO THE DROP DOWN MENU?
Yes you can. Open up the index.php file in your text editor and scroll down to the user editable variables. Find the following:

define ('SHOW_EMAIL_ADDRESSES', 0);

Change this status to 1, save and re-upload. Now in the drop down you will see the address book name AND the e-mail address.
» Q: CAN I MAKE MY PASSWORD AND DATABASE INFORMATION MORE SECURE?
For absolute security, its best to store the password file and the connection file OUTSIDE of the web root. This is for advanced users and shouldn`t pose a problem. Put the files outside and then alter the paths to suit.
» Q: CAN I SHOW THE AMOUNT OF ACTIVE MEMBERS I HAVE?
Yes. The member count can be used in the following templates:

templates/header.tpl.php
templates/footer.tpl.php

Use the following variable:

$this->MEMBER_COUNT

Example:

I have <?php echo $this->MEMBER_COUNT; ?> active members.
» Q: LINES ARE NOT BREAKING PROPERLY IN 'OUTLOOK 2003'. WHAT CAN I DO?
The first thing you can try is updating the header information to process HTML formatted e-mails. To do this see above.

Once you have done this use HTML line breaks to break the lines. ie:

<br> or <br />

If this doesn`t work, try moving the 'Content-Type' header to the bottom of the header data in the 'classes/class_generic.inc.php' file.

$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";

So the header information closes as:

$headers .= "Reply-To: ".$this->prev_injection($name)."<" . $email . ">\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";

Back to Top

Powered by Maian Greetings v2.1
© 2004-2006 Maian Script World. All Rights Reserved.