User Feedback Archive : November 2013

Posted by Ajit
2013-11-30

Hi TOM
as u said,i proceeded with XAMPP.So do i need to create new database now? and then change the"web/config/config.db.inc.php" file? do i need to put this folder in "htdocs" folder of xampp? ... Read More
Posted by Marko
2013-11-30

I install pull,its works on my localhost but when i wanna load it on http://tdiradio.comule.com/poll/web/demo-your-first-poll/ my site it wont work,mby you know why?

ty
Posted by Tom
2013-11-30

Hi Marko,

Please turn off php magic_quotes. How to turn it off depends on your hosting service. In most web sites, you can turn it off in .htaccess. In others, you may have to turn it off in ... Read More
Posted by Ajit
2013-11-29

Hello,
Nice scripts..
I m not a techie person.Please tell me how can i use this script on my local desktop PC to maintain Addressbook.
Posted by Tom
2013-11-30

To run the script, you need to have a web server and PHP installed in your compuer. You can install them using something like XAMPP ( http://www.apachefriends.org/en/xampp.html )
Posted by Niranjan
2013-11-29

Hi,
Is it possible to avoid duplication?ie. if i m entering new record,will it warn me "The Record Already Exists"
Posted by Tom
2013-11-30

Sorry, it doesn't have the feature.
Posted by Felipe
2013-11-29

Thanks much.
Posted by Tom
2013-11-30

You are welcome :)
Posted by esfelipe at hotmail.com
2013-11-29

Aloha,
Great program. I followed your steps for 'Changing the default sorting order' but I hoped for something else. Can the contacts list be initially sorted by last name, a to z instead of ... Read More
Posted by Tom
2013-11-29

Yes, that's exactly what the default sorting order is meant for. Please use last_name ASC.
Posted by Keith
2013-11-29

Hi Tom,

export to CSV file (with filter option) is most useful for us, could you please let us know when can we download it?
Many thank!
Posted by Tom
2013-11-29

Hi Keith,

Well, I can't say when but I really like the idea. It'll be definitely implemented in a future version.
Posted by Bojan
2013-11-28

I really like option with small comment under every option and reset cookie. Only thing, that I miss here is multiple choice.
Is there any chance in Ayax Poll Script to add this comments bellow every ... Read More
Posted by Tom
2013-11-28

Yes, you can. Just write the comments in the template.
Posted by Erwin
2013-11-28

Hi Tom

is it possible to change date format? We are using dd/mm/yyyy.
thx
Erwin
Posted by Tom
2013-11-28

Hi Erwin,

If you would like to change the output format of dates, you can edit the XA_FORMAT line in web/codelib/asc/df.fl.(table-name).inc.php
XA_FORMAT=>'Y-m-d',
For input, it currently only ... Read More
Posted by Erwin
2013-11-28

Thank you Tom. Excellent small application, very useful. Can I donate ?
Posted by Tom
2013-11-28

You are welcome :)
Posted by sammi
2013-11-28

I have a date field that can be searched in the detail page, while i would like to search for a period of time , instead of only search by one single day.

Is there a way I can solve it?
Posted by Tom
2013-11-28

I don't know this helps but you can edit the XA_SEARCH_OP line in web/codelib/asc/df.fl.(table-name).inc.php to change the search operator.
For example,
XA_SEARCH_OP=>'s>=',
Posted by Bojan
2013-11-27

Can you tell me, how can I change to multichoice option this Ajax Poll DX?
Posted by Tom
2013-11-28

Hi Bojan,
Ajax Poll DX doesn't have the multiple choice feature. Use "Ajax Poll Script" or "Ajax Poll Admin"
Posted by Ed again
2013-11-27

works like a charm using my other hosting acct. The issue is at my end for sure.
Thanks again for your time,
Ed
Posted by Tom
2013-11-27

All right!
Posted by Ed F
2013-11-27

My log files don't show any errors.
Is this the only page that needs to be edited for installation?
web/config/config.db.inc.php

I am installing on another web server to see if anything changes. ... Read More
Posted by Tom
2013-11-27

>Is this the only page that needs to be edited for >installation?
>web/config/config.db.inc.php

Yes.

>I am installing on another web server to see if anything changes.

We'll see!
Posted by Ed F
2013-11-27

Thanks for the reply.
All of my other scripts show errors when they occur so they are set to display.
If there were any errors, They would be displayed.
When I view the page source code, there is ... Read More
Posted by Tom
2013-11-27

Well, in php.ini, you can define which types of errors should be outputted to browser, so error reporting is not a simple on and off switch.
Posted by Ed Forshaw
2013-11-27

Hi,
I just installed your script without issue but get a blank page when going to staff/index.php. Could this be a file permission issue?
Posted by Tom
2013-11-27

Hi Ed,

You got some errors but it was not shown in your browser. The reason why you got a blank page is because your web server is configured not to show error messages in the browser. Most likely, ... Read More
Posted by Erwin
2013-11-27

IO receive following warning. Can you help me to resolve?
My time zone = Europe/Brussels

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the ... Read More
Posted by Tom
2013-11-27

Hi Erwin,

Open web/staff/index.php and put this line on the top ( but after "<?php" )
date_default_timezone_set('Europe/Brussels');

The result should look like:
... Read More
Posted by Chad
2013-11-26

Sorry for all the questions. As a continuation of my first question, how would I change the order of the main navigation menu and make it say something other than About?
Posted by Tom
2013-11-26

To change the order of menu items, please edit web/staff/include/df.top_menu.inc.php.
To change string resources, edit web/codelib/cfg/res.eng.app.inc.php.
Posted by Chad
2013-11-26

Thanks Tom. I can work with that. This is a great script.
I was also wondering if there is a way to allow a member to log in and update their own entry but not anyone else's. I am guessing that ... Read More
Posted by Tom
2013-11-26

Sorry, it isn't implemented. You just have to write code.
Posted by Chad
2013-11-26

How hard would it be to add a "Home Page?" I would like to be directed to the home page after logging in. Then I would click a link to go to the address book. I could then post other information ... Read More
Posted by Tom
2013-11-26

Hi Chad,

Maybe, you would like to reuse "About" page for the home page.
To do so, open web/staff/app/cls_sys_base.inc.php and find the following array:
... Read More
Posted by ranjan
2013-11-26

used company directory all working fine but admin and staff both are given the privilege to add, edit delete the listing.. I want to remove the privilege for staff
Posted by Tom
2013-11-26

OK, to disable editing option for non-administrators, open web/staff/app/cls_ps_(--table-name--).inc.php and add
if ( !$this->sys->IsAdmin() ) exit;
after
case 'edit_inp':
The result should look ... Read More
Posted by mrgreen
2013-11-26

hellooo, i want your Quick feedback script, its possible for you to give the.....?
Posted by Tom
2013-11-26

Sorry, the feedback script is not yet ready for publishing. I really would like to though. All in good times.
Posted by Sammi
2013-11-25

Tom,
If i want to change those checkbox field to be ("Y", and "blank") instead of ("y", "n") . what file should I amend?

Thanks a lot!
Posted by Tom
2013-11-25

The php class for checkboxes is CVCheckBox in /web/codelib/sys/CVField.inc.php. It's never been tested for changing the values for the "true" and "false" states, so do it at your own risk!
Posted by PETCHY
2013-11-24

HI Sir,
How I can set session timeout in address book?

Best regards,
PETCHY
Posted by Tom
2013-11-25

Hi Petchy,

The script does not specify session timeout. It implicitly uses the timeout defined by php.ini ( or some other method you are using systemwide. )
Posted by simo
2013-11-22

hello tom, I tried to do as told, but it does not work, most likely I'm wrong. I opened the file cls_ps_ (- table-your-name-here -). Inc.php but it is not there, most likely this is what you call ... Read More
Posted by Tom
2013-11-22

>most likely this is what you call cls_ps_contacts.inc.php.

That's right.

OK, I recommend you use one of Address Books instead of Contact Books. In address books, the table name is always ... Read More
Posted by alex
2013-11-21

hola como estas ssss
Posted by Tom
2013-11-21

Hi :)
Posted by Israel
2013-11-20

Hi Tom.

Ralice modification to the script:

"web / staff / app / cls_sys_base.inc.php,"

But it shows me the following message:

Location: CSysCmd / CheckCounter
Message: Looping too many times.

I ... Read More
Posted by Tom
2013-11-21

>Message: Looping too many times.

The error message does not seem to be related to cls_sys_base.inc.php.
Maybe, it's good idea to start it over with a fresh copy of the script.

>Do I have to create ... Read More
Posted by Anthony
2013-11-20

I get the following error after installation:

Fatal error: Call to undefined function mb_regex_encoding in web/codelib/slib/CMBStr.inc.php on line 30


any hints or thoughts of what is happening? ... Read More
Posted by Tom
2013-11-21

Hi Anthony,

>Fatal error: Call to undefined function mb_regex_encoding

It means your php is missing the mb_string extension. Most rental website hostings have mb_string extension preinstalled. Did ... Read More
Posted by simo
2013-11-19

hello tom but the file cls_ps_addresses.inc.php "is not present in that folder.
Posted by Tom
2013-11-20

OK, the file name is cls_ps_(--your-table-name-here--).inc.php. To figure out your table name, check the database using phpMyAdmin. you will see two tables. The one that is not "tbl_staff" is your ... Read More
Posted by simo
2013-11-19


I'm sorry, but if you set both mini book that staff administrator can add, modify and delete, I would need a type that staff can only see how to do it? thanks simone.
Posted by Tom
2013-11-19

To disable editing option for non-administrators, open "web/staff/app/cls_ps_addresses.inc.php" and add
if ( !$this->sys->IsAdmin() ) exit;
after
case 'edit_inp':
The result should look like:
... Read More
Posted by Joe
2013-11-19

Ok!!! now it works fine!!
Thank you!!
Posted by Tom
2013-11-19

You are welcome :)
Posted by Joe
2013-11-19

Strict Standards: Declaration of COutString::Render() should be compatible with COutObject::Render()
Strict Standards: Declaration of COutHtml::Render() should be compatible with COutObject::Render() ... Read More
Posted by Tom
2013-11-19

OK, open web/staff/index.php and you'll find the error_reporting function near the top of the file. Replace it with
error_reporting( E_ALL & ~E_DEPRECATED & ~E_STRICT );
And do the same on ... Read More
Posted by simo
2013-11-18

thanks Tom, very kind! I would have another question:
I did not understand the difference between "staff" and "ceo", I'm supposed to access the public side without me modify or delete any contacts, ... Read More
Posted by Tom
2013-11-19

Did I put "ceo"? I don't remember, LOL! Maybe it's just a field name. Anyway, the administrators can view, add, edit staff records and anyone else can't. That's the difference. Maybe, I should ... Read More
Posted by Joe
2013-11-18

Problem version PHP 5.4.17
solution??
Thanks
Posted by Tom
2013-11-19

Hi Joe, thanks for reporting! Would you briefly describe the problem? Nothing shows up? or displays some error messages?
Posted by simo
2013-11-18

how you can change the language? eventualemtne where you can edit and put in Lingia Italian?

thank you very much.
Posted by Tom
2013-11-18

Hi simo, just edit these files!

web/codelib/cfg/res.eng.app.inc.php
web/codelib/cfg/res.eng.sys.inc.php
Posted by danny
2013-11-17

And one more question: will this work with Ebay? Thank you.
Posted by Tom
2013-11-18

I'm not sure what you really meant by ebay but as long as your customers pay through PayPal BuyNow button then, you can deliver your products to them.
Posted by danny
2013-11-17

Hi,
Thank you for this great script! Just one question: what should I do in order to make the script send my customer to a download page instead of sending him an email?
Thanks.
Posted by Tom
2013-11-18

Hi danny,

>what should I do in order to make the script send my customer to a download page

Sorry, the feature is not implemented. Maybe in the next version :)
Posted by Hannan
2013-11-17

I dont know how to check and give permissions. Tell me how to give permission?
Posted by Tom
2013-11-17

>Tell me how to give permission?

It depends on what OS you are using. Whatever OS you are using, however, Internet has answers for you. Just enter these keywords into search engines, then you'll get ... Read More
Posted by Hannan
2013-11-17

Tom, I tried the demo of ajax likes counter. But demo isnt working correctly. It doest shows the number of likes and dislikes
Posted by Tom
2013-11-17

OK, probably, the data folder (web/tbase) doesn't have the read and write permission. Check the permissions and try again!
Posted by Hannan
2013-11-16

I just dont know how to set it for the pictures. I want this script to show on every pic of my website when any member uplaod a photo. Similar to facebook. Guide me Tom
Posted by Tom
2013-11-17

OK, here are the 3 steps you need to do. (1) the first step is create a page that accepts file upload. (2) Second, create a page that displays the uploaded files. (3) Then add ajax likes-dislikes ... Read More
Posted by Israel
2013-11-16

Hi Tom.

Thanks for the application is excelent.

Install the Address Book Mini.

How do I get to display only the data without the option to edit and necesisda directly without entering the ... Read More
Posted by Tom
2013-11-16

OK, so you want to show data to visitors without asking them to log in. First, open web/staff/app/cls_sys_base.inc.php, then replace the $spec_sys_base array with the following code:
... Read More
Posted by Hannan
2013-11-16

Hi, I want to use this script for pictures in my social network. Help me doing this
Posted by Tom
2013-11-16

Yes, How may I help you?
Posted by sammi
2013-11-16

tom, wow~ that's magical
Posted by Tom
2013-11-16

All right!
Posted by sammi
2013-11-15

sorry, my mistake..
the value is brought to search detail page, but the "ID" is not passed to locate the "followup_date" calendar.

<td class='column_value'> <?php echo ... Read More
Posted by Tom
2013-11-16

Hi, Use "ZB_SA" instead of "ZB_ATTR"
That should do the trick.
Posted by sammi
2013-11-15

tom, i know i've been asking too many questions. hope you don't mind ^^

I have put the calendar copied from the lead follow form to form2db, however, some how, i cannot bring the "value" of the ... Read More
Posted by sammi
2013-11-15

Tom,
Perfectly good, I put also here.
$def->SetList( "(rlog)" );
Posted by Tom
2013-11-16

OK!
Posted by nick collinson
2013-11-15

This system is great and we have been using it for e-book downloads. Just recently, and with no explanation, we received an IPN error:
"product config file does not exist ... Read More
Posted by Tom
2013-11-15

Hi Nick,

that's very weird. Try checkout simulator to see if you can recreate the problem. I suspect that something must have happened in the OS level and it messed up the path.
Posted by sammi
2013-11-14

Thanks again tom,

the code in staff is pretty good to check the duplication. It works!


While for the other question,

I have a field that I want it showing as NON EDITABLE in search detail page, ... Read More
Posted by Tom
2013-11-15

Let's suppose you want to make first_name non-editable. Then,

(1) change (fd) to (my-new-key) in XA_LIST of first_name

(2) Open web/staff/app/cls_ps_(your-table-name).inc.php and insert ... Read More
Posted by PRADEEP
2013-11-13

i downloaded Address Book Mini. Installed successfully in my machine(I mean localhost) and I'll upload server after complete works... Now I want the page to appear as following link. How can I do it? ... Read More
Posted by Tom
2013-11-14

>http://intranet/addressBook/web/staff/index.php.

Again, your link is local to you. "http://intranet/" obviously looks like your intranet!
Posted by Jake
2013-11-13

You should have some way of placing our names and email addresses, for when you do an update on a script. Maybe I missed it somewhere; sort of in a hurry all the time. I really like your clean ... Read More
Posted by Tom
2013-11-14

Yes, maybe I should set up a mailing list for the update.
Thanks for your suggestion!
Posted by Jake
2013-11-13

I am looking forward to the update for Slideshow. I know there are scripts like what I need on Dynamic Drive, but yours has a very cool admin area. That's definitely a plus. Thanks Tom, you do good ... Read More
Posted by Tom
2013-11-14

I'm glad you like it!
Posted by Madhu B Raj
2013-11-12

Nice slide show using simple scripting... thanks..!
Posted by Tom
2013-11-13

You are welcome :)
Posted by Sammi
2013-11-12


Thanks Tom,

So regarding this... I have tried to remove the fields from the form, and took out those )(g_reg_page1)(g_reg_page2)(g_reg_save).. yues, it's not showing on enquiry page of coz, but ... Read More
Posted by Tom
2013-11-13

>but after i clicked save, the field data is all GONE,

(g_XXXXX) won't affect operations in the admin panel. You must've removed something else from XA_LIST. Maybe, it's time to check the original ... Read More
Posted by Pradeep
2013-11-12

i downloaded Address Book Mini. Installed successfully and now I want the page to appear as following link. How can I do it?

http://localhost/addressBook/web/staff/index.php.
is it possible to ... Read More
Posted by Tom
2013-11-13

Hi pradeep,

>http://localhost/addressBook/web/staff/index.php.

Well, your link is localhost. No one but you can see it!
Posted by malek
2013-11-12

Hi Tom

thank you tom for this script !!

how doing if i have a (user's table (php-mysql) )
is it possible de replace a line of script config_inc.php
define( 'LOGIN_PASSWORD', 'pass' );
with : ... Read More
Posted by Tom
2013-11-12

Hi,

I think you are trying to authenticate against a database...am I correct? First, you need to create a user table that stores passwords. Second, build and run a sql statement to check if there is ... Read More
Posted by Jake
2013-11-11

Re: R Thayer's comment, Tom, just an left and right arrow either below/or to the side of the image. Also turning off auto advance, so the pictures can be viewed for as long as the viewer wants, then ... Read More
Posted by Tom
2013-11-12

Thanks for suggestions. Arrows are nice. Never thought about truning off auto advnce, but that's a cool feature too!
Posted by Remy
2013-11-10

Hello Tom,

Thanks for developing such a great php script. I have a question,

Can i install URL shortening script on adpages subfolder using the same database (adfreely)? If yes, how? and if no, ... Read More
Posted by Tom
2013-11-10

So, you want to merge "adfreely" and "URL shortening script" into one? If you do, name collisions will occur because both use a lot of same function & variable names. The easiest way to solve name ... Read More
Posted by hi Tom
2013-11-09

I managed to "integrate" the use of "class_phpmailer.php" to help me get around the problem. If you wish I can post the modifications that I made to make it work.
Posted by Tom
2013-11-10

That's great! Would you email it to me at tom<at>phpkobo.com?
If you have already posted it on your website, please put the link here.
Posted by sammi
2013-11-07

thanks for the nice work~ Have modified the form to suit for our needs , very nice to add/remove/copy fields...

However, there are 2 points that I have no idea how to make it.

1) for the enquiry, ... Read More
Posted by Tom
2013-11-07

Hi sammi,

(1) Sorry, there isn't an easy way.
(2) Remove all of (g_xxxxx...) from the fields that you want hide on the form. Also you need to remove the corresponding fields from the form template.
Posted by Jason
2013-11-07

Hi Tom , i have removed some text fields and only have the Firstname and Surname fields shown on the form. what i will do is is to add 2 questions to the form with a radio button. where on the ... Read More
Posted by Tom
2013-11-07

OK, the simplest solution is just use dropdown menu instead of readio buttons. If you have time, you can study how the "active" field is implemented to add radio buttons.
Posted by Jason
2013-11-06

i would like to remove some of the fields and replace the fields with radio buttons how can i go about adding radio buttons . you can also email me at jason.kleinhans@gmail.com
Posted by Tom
2013-11-06

Hi jason, to learn how to remove, first try to add fields to the script. Removal is the reverse procedure of adding, so once you master how to add, you know how to remove. About adding radio buttons, ... Read More
Posted by rajeev
2013-11-05

thanking you for gave the information sir. then how to write the autocomplete in textbox
Posted by Tom
2013-11-06

Do you want to write it yourself? Then you need to seriously study javascript and PHP! Alternatively, you can use prewritten scripts. Search for "autocomplete javascript" in search engines. There is ... Read More
Posted by rajeev
2013-11-05

Hello Tom
How to add the Autocomplete in Dropdown listbox.
Posted by Tom
2013-11-05

I think autocomplete only applies to text input boxes. "Autocomplete" means you type the first few characters and the script automatically completes the rest. In a dropdown listbox, you don't type ... Read More
Posted by Keith
2013-11-05

one more thing! it is possible can share address book for Outlook (like LDAP server)?
Posted by Tom
2013-11-05

Well, not in my to-do list now but who knows what feature will bubble up in the priority queue? It's very hard to predict!
Posted by Keith
2013-11-05

it is better if Address Book Script can export to the file in xls or pdf format!
Posted by Tom
2013-11-05

Hi Keith,
Yes, I definitely want to add the csv export feature :)
Posted by Michael
2013-11-03

I mean contact groups. I would like to edit /add/delete groups.
table name; groups
fields:
ID
groupname
description
Posted by Tom
2013-11-04

Ok, so that's what you meant. It's not implemented as a feature and is thus not available.
Posted by Kamal
2013-11-03

i put the poll and its working perfect, i change the design of it according to my page design,layout,and color from these two pages: "tpl.front.inc.php" & "tpl.result.inc.php", Now i want to put the ... Read More
Posted by Tom
2013-11-03

A formal solution should be passing the template name from a poll's div tag to the script but it takes a considerable amount of coding effort. So, here is an ad-hoc method! In a template, ... Read More
Posted by R Thayer
2013-11-03

Is there a way where we could show thumbnails and have buttons to advance the slideshow manually forward and backwards?
Posted by Tom
2013-11-03

Hi Thayer,
Not implemented in the current version but, that's a good suggestion. Thanks!
Posted by Rafal
2013-11-02

If someone have that problem when ip-block.txt works but voting doesn't work - as Tom said - disable magic quotes BUT if you have problem with .htaccess or php.ini you can add few lines in ... Read More
Posted by Tom
2013-11-03

Thanks for the code!
Posted by hi Tom
2013-11-02

Thanks for the script, I am having trouble getting it to send email using "gmail". Keep getting email error: 555 5.5.2 Syntax error. Any tips as to what i am doing wrong would be greatly appreciated. ... Read More
Posted by Tom
2013-11-03

Hi, it looks like the same as the problem discussed on this page.

555 5.5.2 Syntax error. gmail's smtp
http://stackoverflow.com/questions/4321346/555-5-5-2-syntax-error-gmails-smtp

I haven't found ... Read More
Posted by Sia
2013-11-02

On the Lead Follow up db, it would be a good idea if admin could give each lead a status next to the follow up date, eg. won,loss,paid,waiting,processing,cancelled etc.
and by default new leads has a ... Read More
Posted by Tom
2013-11-02

Hi Sia,

>it would be a good idea if admin could give each lead a status

That sounds a great idea. Thank you for your suggestion!
Posted by Kris
2013-11-01

Hello Tom,

I thought a script or a password locked the file... Stupid I am ! I just had to use the right software. Now it's done, the votes.txt file is like a virgin :-))

Well, do i understand ... Read More
Posted by Tom
2013-11-02

Yes, the url looks right. votes.txt shows only the vote counts. It doesn't show the bars and percentage, though.
Posted by Michael
2013-11-01

hello, i would like to add group option onto the menu.. and the content of the group must come from a table on mysql database. how can i do it? I want to edit and add groups. And i also want to add ... Read More
Posted by Tom
2013-11-02

By "group", do you mean "user group"?
Posted by Kris
2013-11-01

Hi again Tom,
I set the look of my poll on local, everything works ok, but, to test it i did votes on local server. Her my question : now i want to download the page on distant server. How to erase ... Read More
Posted by Tom
2013-11-01

Hi Kris,

>I can open app-data/votes.txt but it is locked

But setting zeros to the file is the only way. You need to unlock it!

>is ther a way to see the result page without voting for me

The ... Read More
Posted by Vadim
2013-11-01

Hello, Tom.
I use Denwer, on Denwer I have

Database server
Server: 127.0.0.1 via TCP/IP
Software: MySQL
Software version: 5.5.25 - MySQL Community Server (GPL)
Protocol version: 10
Posted by Tom
2013-11-01

OK, your version of MySQL is recent enough to accept UTF-8. Would you check the collation of the tables and database by phpMyAdmin? I suspect it's not set to utf8_general_ci.