Ajax Poll Script
php Infinite Scroll
Ajax Likes Script
Address Book Script
Form2DB
PayPal IPN + eProduct Delivery Script
Text Ad Script
Lead Follow-Up Database Script
AdFreely -Ad Board Script-
Fade-In Slideshow
Ajax Poll Admin
URL Shortening Script
PHPKOBO : User Feedback Archive : December 2013
Posted by Projer
2013-12-31

awesome work
Posted by Tom
2013-12-31

thanks!
Posted by Paul
2013-12-31

Hi Tom,

Your poll is excellent, thanks for your hard work!

If possible, I would like some help with the following:

1. I'm using the gradient skin, but I can't seem to figure out how to ... Read More
Posted by Tom
2013-12-31

Hi Paul,

1. I know the css is a bit bewildering. If you want to change the color scheme without understanding css selectors, you can replace colors using the find-and-replace command you can find in ... Read More
Posted by brian
2013-12-27

Contribution: if someone has problems with accents, change paypal - profile - more options -> encoding buttons. Put it in UTF-8 and will be able to also see accents in transaction data.
Tom thank you ... Read More
Posted by brian
2013-12-26

Tom it works :D One last question: accented characters are not displayed when the buyer receives an email, any idea to make them visible? I tried putting below the <head> : <meta content="text/html; ... Read More
Posted by Tom
2013-12-26

utf-8 is the correct choice for <meta>. Also, you need to save config.txt in "utf-8 without BOM." If you are using Windows, you need to be careful about it because, by default, Windows Notepad ... Read More
Posted by Dee
2013-12-26

Thanks for the fab script Tom. However, it doesn't show the results on my website. I have checked the read & write permissions for the said folder and it is blocking the ips alright, but the ... Read More
Posted by Tom
2013-12-26

Hi Dee,

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 php.ini. ... Read More
Posted by brian
2013-12-25

Yes, I see , but I mean if I can limit sales of products. For example, I want to sell a single shirt, but when it is sold you can not buy again. This can be done with custom paypal buttons, but I ... Read More
Posted by Tom
2013-12-25

You can use PayPal's inventory control feature. You don't need to make any changes on the script side.
Posted by brian
2013-12-24

question, how can I sell unique products? can I integrate a self-made paypal button with solds limited to one?
Posted by Tom
2013-12-25

Hi Brian,

If you mean "a self-made paypal button on the fly", the answer is no. The script has to check if the price matches the one in the configuration file to avoid cheating. So you can't change ... Read More
Posted by Johan
2013-12-24

Hi Tom, great script! I'm trying to apply your code into my website. When I try to use the simulator it says: IPN Result:
ERROR:
http response error: HTTP/1.1 401 Authorization Required

I'm using ... Read More
Posted by Tom
2013-12-25

>http response error: HTTP/1.1 401 Authorization Required

That's very strange. The error message is a general error message you see on Internet when you try to access the url that requires ... Read More
Posted by Adebare
2013-12-24

Thanks Tom, I have created a new poll and it is still not showing poll.
Posted by Tom
2013-12-25

OK, Would you send me(tom[at]phpkobo.com) the url to the script?
Posted by Jason
2013-12-23

Tom - all fixed - ended up just needing to use the superclass CProductInfo rather than the subclass. From there I just directly accessed the $_POST values and it was easy as pie from there on. ... Read More
Posted by Jason
2013-12-23

Thanks Tom, Any pointers on what file is best to play with to achieve this (modify Pi to get dynamic form item_name rather than config file). Thanks
Posted by Jason
2013-12-22

Question regqarding the web/ipn/sublcass/CProductInfo.inc.php

I have a unique pdf being generated and the file name of this pdf is dynamically entered as the item_name in the paypal button code. ... Read More
Posted by Tom
2013-12-23

Hi Jason,

>$pi['item_name'] it automatically returns the default name in the config file.

Yes, that's by design. I didn't consider the way you use it when I wrote it. Well, you need to modify the ... Read More
Posted by Adebare
2013-12-22

Hello Tom, why is the poll not showing preview on.../staff/index.php? Please help.
Posted by Tom
2013-12-23

Hi Adebare,

Does it show any error messages? No error messages? Create a new poll and see what happens. Still does not show a poll?
Posted by pk-oso
2013-12-20

Good morning Tom. To finish my "custom" application, I copied images in order to get same format and changed language on them. Now I´d like to know if it´s possible to change your original images ... Read More
Posted by Tom
2013-12-20

All the button images are in web/staff/images/buttons/en. You can freely replace them with your own images. ( but please keep the filenames intact. )
Posted by Leo
2013-12-19

question, when i have my e-product on blogspot.com which e-mail hostname i need there? or can i sell my e-products on blogspot and install the script on seperat (host) server always.?
Posted by Tom
2013-12-19

Hi Leo,

Your paypal buttons and the script can be installed on two differenct domains. Your e-product(physical files) and the script must reside in the same server(computer). Your email server can ... Read More
Posted by vgrs1
2013-12-18

Tom congratulations for your project . I want only to help me how to hide a column e.g. ID. and how can I change the order of columns .
Thanks again
Posted by Tom
2013-12-18

Hi vgrs1,

>how to hide a column e.g. ID. and how can I change the order of columns .

Please edit the template ( web/staff/tpl.(table-name).search.inc.php )
Posted by Chris
2013-12-17

Hey there, issue fixed: Godaddy uses secureserver.net for hosted email. Thus the correct hostname is: relay-hosting.secureserver.net. Thanks for the fast response!!!
Posted by Tom
2013-12-18

You are welcome :)
Posted by Chris
2013-12-17

I have been searching for weeks to find a script that does this!! But when I test is I get an error:

ERROR:

email error: Connection refused(111) [CProductMailer]

I was godaddy web hosting and ... Read More
Posted by Tom
2013-12-17

Hi Chris,

>email error: Connection refused(111) [CProductMailer]

The error message is very generic and so it could mean anyghing such as

the mail server is down
wrong username/password
blocked by ... Read More
Posted by pk-oso
2013-12-17

Hi Tom. Thank You for your help, it works, but what about if I want to create/edit/delete an entry on the app with the admin user? Sorry about it, remember I´m trying to learn PHP and related ... Read More
Posted by Tom
2013-12-17

> if I want to create/edit/delete an entry on the app with the admin user?

OK, you can do this. First, rename your modified staff folder to, say guest. Then get the original staff folder from the ... Read More
Posted by SLICK
2013-12-17

Thanks for the reply..... understood ....you are a genius man...keep it up , i envy you
Posted by Tom
2013-12-17

Thanks!
Posted by Amy
2013-12-17

Wow fast reply!

Yeah I've been trying to play around with the source code.. but since my php skills are terrible I'm not getting much luck... So thought perhaps you know of a smart method.

I ... Read More
Posted by Tom
2013-12-17

You are welcome!
Posted by Amy
2013-12-17

Hi Tom!

First of all, thanks a bunch for posting this code, helping me out a lot :)

Quick question though, how do you display the current percentage results on the front/voting page (Without ... Read More
Posted by Tom
2013-12-17

Sorry, the percentage is supposed to show up in the result template only and that's by design. Of cource, you can modify the source code to accomplish what you want. Probably, it is easy ( But how ... Read More
Posted by Heinz
2013-12-16

Hi Tom. Thank you for the fine Address Book script.
I'd like to have checkboxes in a table grid, where i have two coords, the x and y, so that the checkboxes have to post two values to database. Look ... Read More
Posted by Tom
2013-12-16

Hi Heinz,

>where i have two coords, the x and y, so that the checkboxes have to post two values to database.

You mean posting two values to one field in the database?
Or posting two values to two ... Read More
Posted by SLICK
2013-12-16

tnks it works..great but it now remains how to give the second and third instances different name apart from the first one,pls how do i go about that ..LIKE
1ST INSTANCE IS BELOW
harrypoter --
lord ... Read More
Posted by Tom
2013-12-16

OK, you want polls that share the same poll template but have different poll options?

If the polls don't have to share the same poll templates, you can copy an existing poll folder to create a new ... Read More
Posted by pk-oso
2013-12-13

My $spec_sys_base:

$spec_sys_base = array(
XA_CLASS=>'cls_sys_base',
XA_AUTH=>true,
XA_DEFAULT_PAGESET=>'frame',
XA_FRAME_FIELDSET=>'staff',
XA_FRAME_FIELDSET_ID=>'staff_id', ... Read More
Posted by Tom
2013-12-13

OK then replace it with:
$spec_sys_base = array(
XA_CLASS=>'cls_sys_base',
XA_DEFAULT_PAGESET=>'t0001',
);
Posted by pk-oso
2013-12-12

As Ravid asked, I did the procedure to avoid guest logins, but it didn´t work for me. I'm using Address Book Script
Posted by Tom
2013-12-13

Ok then post your $spec_sys_base in web/staff/app/cls_sys_base.inc.php, so I can show you the replacement.
Posted by SLICK
2013-12-12

thanks for the reply but still dont get...i mean if i need to add another 3 other polls to that same html page and i want it to give me a different result from the first 3 polls at the top of the ... Read More
Posted by Tom
2013-12-13

You mean you want to put three instances of the same poll? ( I thought that you wanted to put three different types of poll ) If you would like to put three instances of the same poll, you can add a ... Read More
Posted by Nick
2013-12-11

Thanks Tom... i come back later to see. Greetings from the Netherlands.
Posted by Tom
2013-12-13

OK!
Posted by Aaron
2013-12-11

This script installs easy.
Posted by nick
2013-12-11

I'm looking for a adressbook where people must sign in, can ad there own adress, and only change and delete there own adress. Admin can change all. Is that posible ?
Posted by Tom
2013-12-11

Sorry, there is no turn-key solutions in the script. I should add some security API so users can customize the permissions. I'll keep it in mind when designing a future version!
Posted by pk-oso
2013-12-11

Maybe We can change the "Notes" field to Image type in order to load a picture for each staff member? Again, Thanks a lot and CONGRATULATIONS for this job..!!
Posted by Tom
2013-12-11

You're right. Looks like the upload feature is highly demanded
Posted by Martin
2013-12-11

Hi, great script, just what I was looking for. Would be great if uploading (small) images will be featured in the future. Up till now, good job! Thx!
Posted by Tom
2013-12-11

Yes I know. I should add the upload feature.
Posted by Kevin
2013-12-10

Just want to say thanks for this elegant and flexible script. Works brilliantly! Had some trouble getting it to count the votes when I put a put hyperlinks in the options, but got around it by ... Read More
Posted by Tom
2013-12-10

Great!
Posted by SLICK
2013-12-10

mr tom , pls can you explain to me if i want add another voting poll on the same html page and wont affect the first poll on that page and how to go about it....thanks
Posted by Tom
2013-12-10

You don't need to do anything special. Just add two polls to the page.
Posted by SLICK
2013-12-10

what a genius code....keep it up
Posted by Tom
2013-12-10

Thanks!
Posted by pk-oso
2013-12-10

I have no experience on PHP scripts, so I would like to know if you can help me to add a "mailto" function on Email field. Thanks
Posted by Tom
2013-12-10

Sorry, the feature is not implemented. You just have to write code.
Posted by pk-oso
2013-12-10

Hi Tom, it's a very nice script!! Congratulations for your job. My question is... Is it possible to load a logo? When I edit language file, how to make the correspondig reference for the new one? ... Read More
Posted by Tom
2013-12-10

Hi pk-oso,

>Is it possible to load a logo?
You mean you would like to upload files/images? The current version doesn't have the feature to upload files.

>how to make the correspondig reference for ... Read More
Posted by niranjan
2013-12-09

yes..i was looking for that button..

but where,in which file should i make these changer?
Posted by Tom
2013-12-10

These are the templates you want to edit:
web/staff/tpl.(table-name).search.inc.php
web/staff/tpl.(table-name).detail.inc.php
Posted by niranjan
2013-12-09

hi,
how i can i add PRINT button to the form... is it possible?(print whole or print after search)
(print or export to..)

Posted by Tom
2013-12-09

Hi niranjan,

I think this is the information you are looking for:
http://javascript.about.com/library/blprint.htm
Posted by Graziano
2013-12-08

Great script, simplev but at The same time Rey powerfully thanks to the admin side.
Any possibility for the new release to add a description to the pictures?

Kind regards
Graziano
Posted by Tom
2013-12-09

Yes, it's in my to-do list : )
Posted by Adebare
2013-12-08

The poll shows up. It does not show or count the vote. The result shows 0 vote when you vote
Posted by Tom
2013-12-09

mmm, it really sounds the magic-quote issue to me. It could be missing permissions on app.data. Would you make sure that app.data has the read and write permissions?
Posted by adc
2013-12-08

its nice i hsve installed it
Posted by Tom
2013-12-09

Great!
Posted by chris
2013-12-07

dont bother i finally found it :)
Posted by Tom
2013-12-08

All right!
Posted by Adebare
2013-12-07

Tom, welldone. The code works fine on local server but not working on my webpage. The magic_quote is off. What do you advice?
Posted by Tom
2013-12-08

Really? are you sure that the magic_quote is off?
There was someone who said his magic_quote is off but later he found it wasn't off.
OK let's suppose that it's truely off. Would you describe the ... Read More
Posted by ajit
2013-12-06

how do i install 2 forms on same site.. means i create 2 diff forms with diff fields from the script builder..and wish to install both..
how to access two forms from STAFF directory?(url for both ?)
Posted by Tom
2013-12-06

Hi ajit,

>how do i install 2 forms on same site

Well...You just install each of them. Did you get any problems when installing the second script?
Posted by Namrita
2013-12-06

thank you sir for posting that
Posted by Tom
2013-12-06

You are welcome : )
Posted by chris
2013-12-05

i was looking for an address book in the web until i landed here. by far better and easier to use than anticipated!
thanks a lot tom! nice work!
Posted by Tom
2013-12-06

Thank you!
Posted by Janus
2013-12-05

Hello Tom,

Nice work! I followed the instruction on how to implement this to a website. But getting this error "Can not write [app.data] ... Read More
Posted by Tom
2013-12-06

Hi Janus,

Please give the read & write permissions to the app.data folder and all the files inside.
Posted by ravi
2013-12-04

Thanks tom.
that made guest to view the contacts but it also enables them to edit add or delete the contacts which is not required. i need only admin to have those permissions.
it will be really ... Read More
Posted by Tom
2013-12-04

To disable the 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 Ajit
2013-12-04

Hi,
What will be the procedure to uninstall this particular form for some reason?
Is it possible to load 2 diff forms with diff fields same time?how?
Posted by Tom
2013-12-04

Sorry, I don't understand what you menat by "uninstall this particular form" There is only one form, so if you remove it, nothing will be left!
Posted by Noushad
2013-12-03

Please add Bulk lead uploads also.
Posted by Tom
2013-12-04

Yes, I should add the csv import feature!
Posted by ravi
2013-12-03

first of all thanks for this wonderful script, i want to show the contact details to my guest without login and password. i m using company directory...
Posted by Tom
2013-12-03

Hi ravi,

First, open web/staff/app/cls_sys_base.inc.php, and find $spec_sys_base array. It looks like this:
... Read More
Posted by Kennedy
2013-12-02

My host has dropped PHP 5.2/5.3 in favour of 5.4. Now the "Thank you for voting" popup doesn't work. Any ideas?
Posted by Tom
2013-12-03

Hi Kennedy,

Yes, I am aware that it's not working right in php 5.4. I've received a few other issues from PHP 5.4 users. "popup failure" is one of them. When I wrote it, PHP 5.4 wasn't used widely ... Read More
Posted by Niranjan
2013-12-01

(missing id)
ok,if i create new id field,is it possible for me to enter no.i like? (AB001..AB999)
can we remove id field from this form..(which starts from1001)
Posted by Tom
2013-12-01

>is it possible for me to enter no.i like? (AB001..AB999)

Yes

>can we remove id field from this form..(which starts from1001)

No, not from the database but you can hide it in the template.
Posted by Ajit
2013-12-01

Tom,thank you so much..
how can we set field restriction?(tel no must be integer and not text..etc..) and display error msg if wrong entry made?

can we?
Posted by Tom
2013-12-01

Hi, there isn't any turn-key solutions but you can always write your own validation code. Check out web/codelib/sys/CVField.inc.php. This file contains all the field classes used in the script.
Posted by niranjan
2013-12-01

hi,
i tried the script and loved it..thank you..
but one problem i faced..if i delete few records from the database/or entry form.. then new record takes the next no as id...how can we use these ... Read More
Posted by Tom
2013-12-01

No, You can't recover the deleted IDs. If you want to specify IDs, then you must create another ID field.