User Feedback Archive : July 2014

Posted by FRANCK
2014-07-31

Hello there,

In template 'tpl.customers.search.inc', we use the code:
<td>
<? php
$ varvideo = trim ($ hm-> Zb ('rs: def: video'));
if (! empty ($ varvideo)) {
echo ... Read More
Posted by Arnaud
2014-07-31

Hi Tom! Thank you very much for your script, is really amazing.

I actually wanted to ask you if you might help me. I dont want the results to appear directly after the voting. I was wondering if ... Read More
Posted by FRANCK
2014-07-30

Hello there,

In template 'tpl.customers.search.inc' I want to make an image appear only if the field 'video' in my SQL database is not empty.

The code below works correctly and displays fine and ... Read More
Posted by Tom
2014-07-31

When the value is null hm->Zb('rs:def:video'); may return "&nbsp"
Would check what it returns with the following code?
echo hm->Zb('rs:def:video');
Posted by FRANCK
2014-07-29

Log in to the admin panel and try to delete records. You should get a blank page. Next, remove or hide the delete button from the template. The path of the template is ... Read More
Posted by Tom
2014-07-30

Hi, in the templates ( any files that starts with "tpl." ), you can use IsAdmin function to hide things from non-Admin users like
... Read More
Posted by FRANCK
2014-07-28

Hello,

New and final question: How do I add an automatic calendar next to the input field to assist in the selection of a date.

thank you
Posted by Tom
2014-07-29

I assume you already know how to setup the date calender on a regular input box like this.
<input id='some-id' type='text' name='some-name' />
To use the date calendar on an input box, you need to ... Read More
Posted by FRANCK
2014-07-28

Hello there,

I do not want to display the DELETE button on the search page only for members of staff.

But I want the button to appear for administrators ...

How?

thank you
Posted by Tom
2014-07-29

To disable deleting for non-administrator, first you need to disable the backend code for deletion. open web/staff/app/cls_ps_(--table-name--).inc.php and add

if ( !$this->sys->IsAdmin() ) exit; ... Read More
Posted by FRANCK
2014-07-27

I have a 500 error after installing the script?

Thank you for your help
Posted by Tom
2014-07-28

>I have a 500 error after installing the script?

The error message should've been logged to a log file. The first thing you need to do is find the error message. I can't tell you where to find the ... Read More
Posted by jstrange
2014-07-26

I Like you addr. book script very easy to use and set up. Once i have added my list of contacts I would like to display on my web page. Is this possible do you have a solution? using a php echo to ... Read More
Posted by Tom
2014-07-28

Hi jstrange,

>Is this possible do you have a solution?

It really depends on what you want to show on the page. If it's very simple, just use "echo" to output data. If it's similar to the search ... Read More
Posted by Amanda
2014-07-23

I'd like to re-use the poll, but when I do it does not clear cookies/ip addresses. meaning everyone who voted in the first poll cannot vote in the second poll. I tried renaming the folder the files ... Read More
Posted by Tom
2014-07-24

Hi Amanda,

> I tried renaming the folder the files are in and the web address for the page the poll is on and it's still not allowing voting.

All you need to do is just renaming the folder name. ... Read More
Posted by Aries
2014-07-20

time: 2014-07-21 01:47:02
url: http://www.multipleincom.esy.es/web/ipn/ipn.php
result: ERROR : email error: Operation now in progress(115) [CProductMailer]
=====
[CSystem:time]
-----------
2014-07-21 ... Read More
Posted by Tom
2014-07-21

Looks like the email server is not responding immediately. This isn't a simple case where I can point out the cause right away. The easiest and quickest solution is use other email servers.

If you ... Read More
Posted by Valen
2014-07-19

Thanks for the info. But I dont program. Can you do it for me? I need to add 3 additional fields for poll title. how much?
Posted by Tom
2014-07-20

Hi, I PMed you.
Posted by Matthew Sarino
2014-07-18

Hi Tom,

I am seeing little white square boxes at the border corners of the search and search results box. how do I remove these?
Posted by Tom
2014-07-19

> little white square boxes at the border corners of the search and search results box.

I'm not sure what you meant by "little white square boxes" but here is a solution. You can replace the default ... Read More
Posted by nidhi
2014-07-17

hi tom, i had made some changes in the script to change the table names however after a making few more changes i am getting this error while editing any record which has been submitted by the user. ... Read More
Posted by Tom
2014-07-17

>warning is "mysql_free_result() expects parameter 1 to be resource,

This error is very generic and can be triggered by anything like a simple typo. I think it's a good idea to start it over ... Read More
Posted by Fivos
2014-07-16

Hi Tom, first of all this is a great script and I would like to thank you for releasing it to the public!

Can you tell me if there is a way to not allow a user to add a duplicate record (for ... Read More
Posted by Tom
2014-07-17

In the script, there is code that prevents users from registering a username that already exists in the database. You can find it in web/staff/app/cls_ps_staff.inc.php. See the ... Read More
Posted by Matteo Scirpoli
2014-07-16

I wanted to know if it is possible aumentarela limiting the number of characters in the test area. I'd like to have infinite
Posted by Tom
2014-07-17

Hi,

>limiting the number of characters in the test area.

You can't make it infinite but you can change it.Open web/codelib/asc/df.fl.(table-name).inc.php in a text editor and find the field ... Read More
Posted by Aries
2014-07-16

The error received:

result: ERROR : email error: Operation now in progress(115) [CProductMailer]
Posted by Tom
2014-07-16

Like "HTTP Error 408", the error is too weird. I think there is something wrong outside of the script. I can't say what it is without looking into it, though. I don't think you can fix it just by ... Read More
Posted by Aries
2014-07-16

Hi Tom, is there a way I can use this as an opt-in for list building? Something like a autoresponder?
Posted by Tom
2014-07-16

>Something like a autoresponder?

The script doesn't have the autoresponder feature but it could be a good starting point if you are planning to develop it yourself.
Posted by Aries
2014-07-16

Hi Tom, I tried everything was ok until I clicked the simulator pay now button. Am I missing something?


HTTP Error 408: The server timed out while waiting for your request

The server did not ... Read More
Posted by Tom
2014-07-16

>HTTP Error 408: The server timed out while waiting for your request

I suspect there is something fundamentally wrong with your web server/ php. It could be misconfigured php.ini. Anyway, I can't ... Read More
Posted by Matteo Scirpoli
2014-07-15

Hello,
congratulations for the great script for contact management.
I wanted to ask for information. you can implement the export xls, csv, inserted fields?
Posted by Tom
2014-07-15

Sorry, It still doesn't have export functions. It's in my to-do list, though.
Posted by Matteo Scirpoli
2014-07-15

Is possible translate? Help?
Posted by Tom
2014-07-15

>Is possible translate? Help?

You can find the text resources in the following two files:
web/codelib/cfg/res.eng.app.inc.php
web/codelib/cfg/res.eng.sys.inc.php
Posted by Matthew Sarino
2014-07-15

I went into web/codelib/sys/CHtmlMacro.inc.php and could not find the code you specified as below using the "Find" function of my editor:

define('TYPE_NORMAL_BUTTON', 'rollover' ); ... Read More
Posted by Tom
2014-07-15

Sorry, I thought we were talking about Address Book Script.
OK, in Form2DB, open web/staff/app/cls_hm_base.inc.php and find the following code.
... Read More
Posted by Matthew Sarino
2014-07-14

Hi Tom!

Last few questions and I am set.

1. How do I implement a "tooltip", put in a placeholder in the field, or at the least put a note beside each field in my form?

2. I need to use the ... Read More
Posted by Tom
2014-07-15

1. How do I implement a "tooltip",
How about using qtip?
http://craigsworks.com/projects/qtip/

2. I need to use the "Next" button that is found in the /images folder.
You can use regular html ... Read More
Posted by Paul Scoggan
2014-07-14

I was able to make it work with jquery reversing the necessary styles to display or not display. Thanks for your response.
Posted by Tom
2014-07-15

Great!
Posted by Matthew Sarino
2014-07-13

Which files/lines would I have to edit to add a "Date" field to my forms? I didn't find the option to insert them during the building of the script.
Posted by Tom
2014-07-14

>Which files/lines would I have to edit to add a "Date" field to my forms?

Sorry, the script still doesn't have date field. I'll implement it in the next version.
Posted by Matthew Sarino
2014-07-13

Hi Tom,

Is there a way for me to rearrange the fields that appear in the Search section? Right now, the search fields that appear from left to right I would want to appear from top to bottom. More ... Read More
Posted by Tom
2014-07-14

>I would want to appear from top to bottom.

Yes, you can ( assuming you know how to edit HTML ) The template of search page is web/staff/tpl.(table-name).search.inc.php. Open it in a text eidtor and ... Read More
Posted by Daniel
2014-07-12

Hi Tom,

I was in the process of implementing CKEditor on with this tool and was wondering if you knew how to allow HTML to be displayed in the search page? At the moment I just get plain text in ... Read More
Posted by Tom
2014-07-14

OK, so you want to display raw html instead of encoded html. Then you need this helper function. Open web/staff/common.inc.php in a text editor, and put the following line on the top. The function ... Read More
Posted by John S.
2014-07-11

Hi,

Great script! Thanks for sharing :)

Is there a way to rotate the ads? I'd like the ads displayed in the right bottom corner of my web page, but go through the ads one by one.

Is this ... Read More
Posted by Tom
2014-07-12

Hi John,

>Is there a way to rotate the ads?

Sorry, the script doesn't have the feature, yet.
Posted by nidhi
2014-07-11

hi i am using your script for my project which also contains some other features so i already have created a database for the project therefore will it be possible to change the table name across ... Read More
Posted by Tom
2014-07-11

Hi nidhi,

>will it be possible to change the table name across the script.

Yes, you can change the table names. Open web/codelib/cfg/config.table_name.inc.php in a text editor and edit the ... Read More
Posted by Paul Scoggan
2014-07-10

Hello Tom,

FIrst, thanks for providing a very useful and easy to implement polling setup.

I am using Ajax Poll DX in a public setting on an ipad. I have it so that it isn't using any cookies, and ... Read More
Posted by Tom
2014-07-11

Hi Paul,

>The problem here is that there is never a page refresh

How about just putting Ajax Poll in an iframe? That's the easiest method. Otherwise, you'd have to do some javascript work.
Posted by rangga
2014-07-10

hai nice script!

i wanna ask something;
can polling box put in left side (align left)?
thx before
Posted by Tom
2014-07-11

Hi rangga,

>can polling box put in left side (align left)?

Yes, please edit the html in the templates, tpl.front.inc.php and tpl.result.inc.php
Posted by Tom
2014-07-10


To prevent non-administrators from adding/editing/deleting records, open web/staff/app/cls_ps_(--table-name--).inc.php and add

if ( !$this->sys->IsAdmin() ) exit;

after

case 'edit_inp':

The ... Read More
Posted by Tom
2014-07-11

You can print some message before exiting like this:
case 'edit_inp': if ( !$this->sys->IsAdmin() ) { echo "Access Denied"; exit; };
Please change "Access Denied" to anything you want to display.
Posted by Request
2014-07-10

Hey Tom: Ya, i have fixed right now. ! damn. i was blind. i tried with everything and only not with the localhost.! at my server with cpanel from linux is localhost! so everything works now. Thanks!
Posted by Matthew Sarino
2014-07-09

Is there a way to add email functionality to the addressbook in the same way that Form2DB does? Or if not, where can I edit the link to the "Add New" button so that I can link it to a form that will ... Read More
Posted by Tom
2014-07-10

Probably, it's easier to add AddNew button to Form2DB than add the mail feature to Address Book Script. But still it's beyond a quick customizaion.

About adding the AddNew button to Form2DB, there ... Read More
Posted by Matthew Sarino
2014-07-09

Thanks Tom!

I've reinstalled the script and it works fine.
Posted by Tom
2014-07-09

Glad to hear that!
Posted by Request
2014-07-09

Hello Tom!

Thanks for this Script.! One Question i'm with GoDaddy. which one i need to use from the config.email.inc.php ? is that the right way? Looking forward. -
Posted by Tom
2014-07-09

For the sender's eamil address, use an email account of your domain. For example, if your domain name is www.mydomain.com, use something like info@mydomain.com.
Posted by Philip
2014-07-08

Thanks for your reply Tom. The email adress is the same. I think the problem is on the gmail server. Philip
Posted by Tom
2014-07-08

OK!
Posted by Matthew Sarino
2014-07-07

I've just tried adding a record to the Phonebook. I get the following error:

Location : CDatabase/CMySQL::InsertRecord
Message : Insert Record (tbl_clients) : Incorrect integer value: ... Read More
Posted by Tom
2014-07-08

>Location : CDatabase/CMySQL::InsertRecord
Message : Insert Record (tbl_clients) : Incorrect integer value:

Uh-oh, it looks like you broke it. I've never encountered the error. I think it's ... Read More
Posted by Eijaz
2014-07-07

Hi Tom,

Thanks for your professional reply.

Since I’m on a shared hosting environment, I won't have access to the php.ini to make these changes. Can I achieve this using an .htaccess file.

If ... Read More
Posted by Tom
2014-07-08

> Can I achieve this using an .htaccess file.

Yes if your hosting company allows you to do so. It really depends on your server. On some web servers, you can use .htaccess. On some servers, you can ... Read More
Posted by Matthew Sarino
2014-07-07

Thanks for the quick reply Tom! I guess my quick fix would be to iframe the app on Joomla. Having said that, I will need to remove the Menu and Breadcrumbs bars. Which line and template file ... Read More
Posted by Tom
2014-07-08

> I will need to remove the Menu and Breadcrumbs bars.

Plese remove
<?php include(INC_BODY_HEADER); ?>
from web/staff/tpl.(table-name).detail.inc.php and web/staff/tpl.(table-name).search.inc.php
Posted by Matthew Sarino
2014-07-06

Hi! This script is exactly what I am looking for. However, I need to put in a Joomla environment along with all the other applications that we currently have. Is there a way to remove the login ... Read More
Posted by Tom
2014-07-07

Hi Matthew,

>Is there a way to remove the login system on this script?

Yes ( but I don't know if it runs in a Joomla environment )

To remove the login system, open ... Read More
Posted by Eijaz
2014-07-06

Hi,

I would like to change the maximum upload file size to 10M.
I found the following: web/config/config.ad_pic.inc.php
Is it legitimate to change from:

define( 'FILEUP_MAX_FILESIZE', 5 * 1000 * ... Read More
Posted by Tom
2014-07-07

>I found the following: web/config/config.ad_pic.inc.php Is it legitimate to change

Yes, but this is not the only one that puts a maxmum limit on the filesize to upload. In php.ini, there are three ... Read More
Posted by hackazer
2014-07-06

How do i changes the poll view ?
I want to make it in horizontal column with images instead of text.

And how do i make the poll not showing the result after user have clicked the vote button ?
Posted by Tom
2014-07-07

Hi hackazer,

>How do i changes the poll view ? I want to make it in horizontal column with images instead of text.

The installation of Ajax Poll DX is simply pasting HTML code in your page, so ... Read More
Posted by Kelton Joyner
2014-07-05

Tom.
Thanks for the prompt reply. The changes to the guest folder fixed it so that guest could not add,edit and delete. Didn't understand which top menu and which template to remove. The logout ... Read More
Posted by Tom
2014-07-06

>Didn't understand which top menu and which template to remove.

So you are working on "guest" folder, right? Then the template path should be web/guest/tpl.(tablename).search.inc.php Open the ... Read More
Posted by Can Paris
2014-07-04

Hi, I have installed the programm, and all works fine.

I would like to know how to test the mail configuration ( sending test mail)
Thanks
Posted by Tom
2014-07-06

Hi,

>test the mail configuration

web/staff/notify_follow_up.php is the PHP script that sends out emails. It's normally called by a cron job or task scheduler but you can directly open ... Read More
Posted by Arie
2014-07-02

Hi Tom,

I removed the login from the system as previously discussed and it worked great. All of a sudden I am getting an alert saying "Time Out: Please log in again". I am thus unable to create or ... Read More
Posted by Tom
2014-07-03

> "Time Out: Please log in again".

Sorry, but I can't reproduce the error. Please trace the execution of the script.
Posted by Philip
2014-07-01

Hi,
I'm French, and I need some explanation for your script.
Excuse for my language.

I have just a little question :
Is the email adress at step 2 (From=info@mydomain.com) is the same as the step 3 ... Read More
Posted by Tom
2014-07-03

Hi Philip,

>I have just a little question : Is the email adress at step 2 (From=info@mydomain.com) is the same as the step 3?

They can be the same, but not necessarily the same. Using the same ... Read More
Posted by Ems
2014-07-01

Hello
I would like to know if you can add, or tell me how can I add the following:
- a function, (or something like checkboxes) so one lead can receive the email every year.
I want to send him the ... Read More
Posted by Tom
2014-07-03

Hi Ems,

>I would like to know if you can add, or tell me how can I add the following:

Well, there is no built-in feature for what you looking for, but if you don't mind taking time to modify it, ... Read More