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 : January 2014
Posted by Larry
2014-01-31

I'm playing with the code and want to include a poll on my site at a specific size. I can't seem to get anything to size down It's huge on my page and I have to scroll to get to the poll. I am ... Read More
Posted by Russell
2014-01-31

Step 2 says upload the web folder to your website. When I go to upload the folder, it opens up the folder and there are multiple other folders inside. Am I supposed to upload each one individually ... Read More
Posted by pk-oso
2014-01-31

Hi Tom,
This time I need your help to find out the way to change the radio button options of field "active" from "Yes" and "No" to "Si" and "No" (To spanish). Thank you, This app has been very ... Read More
Posted by Tom
2014-01-31

Hi, You can find "Yes" and "No" in CVCheckBox class, which is in the file, web/codelib/sys/CVField.inc.php
Posted by Jose
2014-01-31

Hi Tom,
Thanks for your quick answer. I have one more question.
Is it possible to have a minimun/maximun answers selected in a single poll. For example I need to be able to have user select X number ... Read More
Posted by Tom
2014-01-31

Yes, it is possible.
Posted by lionel
2014-01-30

Got it figured out. Thanks.
Posted by Tom
2014-01-31

All right!
Posted by Rodney
2014-01-30

Hi Tom..
I guess maybe I worded that wrong..which is probably right..LoL
When the mail comes thru..which is really fast by the way..It says..
From: afbawindgap.org@megawebservers.com
the subject is ... Read More
Posted by Tom
2014-01-31

Hi,

>From: afbawindgap.org@megawebservers.com

I think the email address came from php.ini configuration file. No, the script didn't set it.
Posted by Lionel
2014-01-30

OK, how do I setup MySQL? I'm kinda a newbie
Posted by Lionel
2014-01-30

My database config should be right since I can get to http://www.xxxxxxx.ca/AirportDirectory/install/index.php
Posted by Tom
2014-01-30

Hi Lionel,

>since I can get to http://......./install.php

No, that doesn't prove the database settings are correct.
Please confirm the database HOSTNAME is correct. If yes, then probably MySQL ... Read More
Posted by Lionel
2014-01-30

I went thru my stuff and now get this when I click SetUp
Can not connect to database server [ 216.251.32.98 ] : Lost connection to MySQL server at 'reading initial communication packet', system error ... Read More
Posted by Lionel
2014-01-30

I followed the install guide but when I klick the setup button, i get:
Can't connect to local MySQL server through socket Can not connect to database server [ ] : Can't connect to local MySQL server ... Read More
Posted by Armin Vit
2014-01-30

Hello. Is it possible for the poll to display the results without having to press the "view results" button. I have some polls that are old that now I would just like people to see the results ... Read More
Posted by Tom
2014-01-30

Hi Armin,

>I would just like people to see the results upfront.

There isn't any switch to control it but you can always modify the script to change the flow of the execution. It shouldn't be ... Read More
Posted by Giannis
2014-01-30

Thank you for the quick response Tom!
I generate the script with my fields and by mistake my Address Field is Input Box. in which template the type to Text Box in order no to regenerate the ... Read More
Posted by Tom
2014-01-30

Hi Giannis,

>in which template the type to Text Box in order no to regenerate the script????

The path of the template is web/staff/tpl.(table-name).detail.inc.php.
Posted by Leo
2014-01-27

Me, again, its that intelligence to host the script on a free host? and which host (package) at go daddy is the best to run this script up.?
Posted by Tom
2014-01-30

I got a couple of reports that the script did not work with gmail. So just avoid gmail and use other email servers.
Posted by Rodney
2014-01-27

Love the script..easy to configure and extremely lightweight.
One question..is there a way to replace the "Server Name" in the From: part of the Email and replace it with the Senders Name instead..
Posted by Tom
2014-01-30

Hi Rodney,

>is there a way to replace the "Server Name" in the From: part of the Email

"Server Name" was never used in the script. I'm afraid that the question is not related to the script.
Posted by Tanbir
2014-01-27

Hi

I am using Contact Book Mini, how can I make Mobile No unique field. I do not want to make the same record twice . please give me a solution.
Posted by Tom
2014-01-30

You may want to take a look at CheckUsernameConflict function in web/staff/app/cls_ps_staff.inc.php. The function checkes if the user enters an username that alaready exists in the database. The ... Read More
Posted by sam
2014-01-26

Could please guide me how to that?
Posted by Tom
2014-01-27

I'm sorry but this is basically nothing to do with the script. Please check facebook programming manual about how to add php script to facebook pages.
Posted by Jose
2014-01-25

Tom, please disregard last question. I have found the solution on one of the files. Can you please tell me where IP are stored from people who have already voted?

thank you so much.
Posted by Tom
2014-01-25

Hi Jose,

>Can you please tell me where IP are stored from people who have already voted?

It's in the table tbl_ipblock
Posted by Jose
2014-01-25

Hi Tom,
Great script!. I need to have control over voters by IP blocking. I believe default setting is by cookies. Right now if you erased cookies you are able to vote again. Please help me out. ... Read More
Posted by Abubakar Jibril
2014-01-25

Hi there!, I would like to try this adfreely ad board script, but one thing l love to know is if it could be used as a stand alone installation. Thanks for your great work.
Posted by Tom
2014-01-25

Hi Abubakar,

>if it could be used as a stand alone installation.

Yes, that's right!
Posted by Ramkumar
2014-01-24

Thanks Tom for your reply. I really miss this application to integrate into my site. What a nice application is this and well built. I'm in a big trouble :(, i just integrated this application into ... Read More
Posted by Tom
2014-01-24

I wish I could tell you. Unfortunately, there isn't a quick solution. ( Actually, the quickest way is to upgrade PHP, of course. )
Posted by Kenny
2014-01-23

ty @Rafal

Posted by Tom
2014-01-24

Yes, that's another good way to fix it!
Posted by Kenny
2014-01-23

this help me out.. PERFECT it works now


if (get_magic_quotes_gpc ()) {

function stripslashes_deep($value) {
$value = is_array($value) ? array_map('stripslashes_deep', $value) : ... Read More
Posted by Kenny
2014-01-23

Hey Tom,

Thx.. But i already did. .
but it is still Not counting...

(I use xampp)
Posted by Kenny
2014-01-23

Hey,

install the 2.05 script.. see no error.. but it dont count votes.. not in my new poll and not in the others..
may u know why?
(PHP Version 5.2.0)
Posted by Tom
2014-01-23

Hi Kenny,

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 Ezekiel
2014-01-23

hi, when i am trying to install the script on locahost i get this error [ tclass config file (-poll-name-/config.inc.php) does not exist ]
What am i doing wrong?
Posted by Tom
2014-01-23

Hi Ezekiel,

>i get this error [ tclass config file (-poll-name-/config.inc.php)

Please make sure the path, -poll-name-/config.inc.php exists.
Which poll did you actually try? Would you tell me the ... Read More
Posted by pk-oso
2014-01-22

Thank You Tom.
I changed a field type from TXT to DATE to add a Birthday field. The default format for MySQL is YYYY-MM-DD, which I changed to be showed as DD-MM on my Web App. An error is showed ... Read More
Posted by Tom
2014-01-23

Hi,

you need to input year! That's by design.
Posted by Giannis
2014-01-22

Hello Tom! Great Work man! Congratulations and thanks for the script!
After i made the folder for the guest I want to hide or remove the buttons Add New and Delete because the guest will only see, ... Read More
Posted by Tom
2014-01-23

Hi Giannis,

The template is located at web/staff/tpl.(table-name).search.inc.php.
Even if you remove the edit button, it is still possible to edit records though.
First, you need to disable the ... Read More
Posted by sam
2014-01-22

Hi,

Is that possible to share the votes in facebook?

Thanks
Posted by Tom
2014-01-23

Hi sam,

>Is that possible to share the votes in facebook?

Well, yes and no. it all depends on how you set it up in facebook.
Posted by Ramkumar
2014-01-21

Thanks for your valuable comment Tom. Finally i got it. i added a new fields in admin section.
Now i have discovered with new issue. when i try to install the script in my server, it says as below ... Read More
Posted by Tom
2014-01-23

Hi, I don't think it works on 5.1.6. It was tested on v5.2 so I don't recommend anyone use it on older versions.
Posted by Carlos
2014-01-20

how to show moré récords in search,now only show 20 in one page
Posted by Tom
2014-01-21

Hi Carlos,

Open web/staff/app/df.fieldlist.inc.php in a text editor and find the following line:
XA_INIT_PAGE_SIZE=>20
Change "20" to the number you want.
Posted by berny
2014-01-20

In form2db how to send mail to form mail?
Now send to defined mail in config but i want to send mail to email in form

Thanks
Posted by Tom
2014-01-20

Hi berny,
There isn't any convenient switch to change the receiver's address, so you just have to modify the code. It has been in my to-do list for some time, but I still haven't gotten a chance to ... Read More
Posted by Ramkumar
2014-01-20

I need to add additional fields while adding the poll where can i implement that. could u pls advise
Posted by Tom
2014-01-20

Hi Ramkumar,

Loading and saving field data are done by ajax calls.
The code is in the web/staff/mod/poll-editor/ folder.
Posted by Leo
2014-01-19

But now at work Im realise it thats not safe everybody can see from where the script come? in checkoutsimulator? I'm confused, when I'm make a buy button at paypal self.. the code looks totally ... Read More
Posted by Tom
2014-01-19

Don't worry about exposing your IPN URL. If someone trys to access your IPN pretending to be PayPal, the script will deny the access. No one can pretend to be PayPal!
Posted by Leo
2014-01-19

Thanks alot! Tom! Hope it will work! beginning now with the install details and sandbox. that's i think it's the whole work! Finger Crossing. :) Best and Thanks alot.
Posted by Desmond
2014-01-18

Hi Tom,
how can I print search results to pdf or to printer us, using Address Book Script?
Posted by Tom
2014-01-18

Hi Desmond,

The following page explains how to put a print button on a web page:
http://javascript.about.com/library/blprint.htm
You can put it on the template, ... Read More
Posted by pk-oso
2014-01-17

Tom, another question if it's possible to do it. Is there any way to make a field unique in order to avoid dupicated records? i.e., make e-mail field unique?
Posted by Tom
2014-01-18

You may want to take a look at CheckUsernameConflict function in web/staff/app/cls_ps_staff.inc.php. The function checkes if the user enters an username that alaready exists in the database. The ... Read More
Posted by pk-oso
2014-01-17

Hi Tom, Happy New Year!!
My comment: I changed buttons to my lang version (keeping the filenames intact and both, btn_xxxx.png and btn_xxxx_ro.png). The "full-color" button is showed ok, but when the ... Read More
Posted by Tom
2014-01-18

>keeping the filenames intact and both, btn_xxxx.png and btn_xxxx_ro.png

That's correct. Couldn't it be that old images were still in the browser's cache?
Posted by Tristan
2014-01-17

Hi Tom, thanks for your reply. I moved everything that was in /staff into the root, not just the index.php. I did try just the index.php initially and tried to play around with .htaccess, but ... Read More
Posted by Tom
2014-01-18

Maybe you modified some references to files that were originally in the staff folder and concequently broke it? You only need to fix the dependencies to files outside the staff folder because their ... Read More
Posted by Allyn
2014-01-17

Thanks, Tom. SUCCESS!
Posted by Tom
2014-01-18

Great!
Posted by Allyn
2014-01-16

That's twice now that I said "to" instead of "two". My apologies.
Posted by Tom
2014-01-17

OK!
Posted by Allyn
2014-01-16

If you all don't mind, I'm going to state my question afresh to Tom. I appreciate the help.
Tom, I created to folders. One for a guest script and the other for Admin. The quest script does not ... Read More
Posted by Tom
2014-01-17

Hi, please remove the edit & delete buttons from the template ( web/staff/tpl.(table-name).search.inc.php )
Posted by Allyn
2014-01-16

Roll back changes?
You lost me. Sorry.
Posted by Balo
2014-01-16

Alllyn
ok, roll back changes of /staff :

-cls_sys_base.inc.php
$spec_sys_base = array(
XA_CLASS=>'cls_sys_base',
XA_AUTH=>true,
XA_DEFAULT_PAGESET=>'frame',

delete code: ... Read More
Posted by Allyn
2014-01-16

OK, I'll try the comment. Is there a protocol in exactly where that comment code should go within file staff/tpl."customname".search.inc.php ? And is this a resolve in answer to my question about a ... Read More
Posted by Balmore
2014-01-16

sorry the correct file is: staff/tpl."customname".search.inc.php
Posted by Balo
2014-01-16

try delet this lines staff/(tpl."customname".detail.inc.php):

<th nowrap='true'><?php echo $hm->Zb('ob:rs:def:contactos_id'); ?>
<?php echo RSTR_CONTACTOS_ID; ?></th>
<th><?php include( ... Read More
Posted by Balo
2014-01-16

Allyn try to comment this line from tpl."customname".search.inc.php
<th><?php include( 'include/tpl.sr.selrec_header.inc.php' ); ?></th>
<th><?php include( ... Read More
Posted by Tom
2014-01-16

Continued from "I created two separate file folders."
It all works fine except that the functions are still active in the Guest portion that I have made a file for, but the page goes blank. I ... Read More
Posted by Tom
2014-01-17

I think you are Allyn, right? I am going to answer to your last post.
Posted by Balo
2014-01-16

the same question by Allyn, pleasee! helpme!
Posted by Tom
2014-01-17

OK, please read my answer I wrote to Allyn, thanks!
Posted by Allyn
2014-01-16

Tom, I created to separate file folders. One for the admin files, and one for the guest access.
Posted by Tom
2014-01-17

Yes, that's the way to go.
Posted by Tristan
2014-01-16

Also, when I enter something into the search bar and press enter, it goes to the Add New page instead of searching the term. The only way to search is by clicking the search button - any idea why ... Read More
Posted by Tom
2014-01-17

I'm sorry I can't answer. Changing the location of index.php is beyond typical customization. Anything could happen!
Posted by Tristan
2014-01-16

(Continuing on from my previous comment). Just a note, when I say that I want to go back to the main page (i.e. showing all entries), I mean that I want to go back from when I've done a search, and ... Read More
Posted by Tristan
2014-01-16

Hi Tom, thanks for your reply to my previous comment.
I've been fiddling around with the layout of the folder structure of the script, as I didn't want the address book to be in a separate 'staff' ... Read More
Posted by Tom
2014-01-17

So you moved only index.php to the root? The script hasn't been tested in a case like that.
You can move all the files and subfolders of web/staff to the root.
You still have to fix broken references ... Read More
Posted by Allyn
2014-01-16

Tom, thanks.
I have edited that file so that visitors won't need to log in, and it works,
But I have not yet removed the editing feature because I first need clarification. I want there to be an ... Read More
Posted by Tom
2014-01-17

OK, I am going to write an answer to your later post...
Posted by Allyn
2014-01-15

Tom, I give you all the same compliments already given. I generated an address book and it works great. I want my visitors to be able to login as a guest and only see the records with no editing ... Read More
Posted by Tom
2014-01-16

Hi Allyn,

First, open web/staff/app/cls_sys_base.inc.php, and find $spec_sys_base array. It looks like this:
... Read More
Posted by Tom
2014-01-16

To disable the editing feature, open web/staff/app/cls_ps_(--table-name--).inc.php and find the line:
case 'edit_inp':
and add exit; to it. The result should look like:
... Read More
Posted by Andrej
2014-01-15

Hi Tom,

This app is very very good. I also have some questions.

1. Is it possible to make new function to COPY existing
lead in a new one?

2. Is it possible to create user with READ-ONLY ... Read More
Posted by Tom
2014-01-15

Hi Andrej,

Well, there isn't any code inside that does the job (1) & (2), but it's possible to write the code for it.
Posted by Tristan
2014-01-14

(Continued from my previous comment).
For the moment, I'll just upload each image manually and then have a field which'll be a link the image. The front-end will then just use the URL to create the ... Read More
Posted by Tom
2014-01-15

Hi Tristan,

Sorry, the current version doesn't have the file uplaod feature. I really want to add it but I haven't had a chance to do it yet.
Posted by Tristan
2014-01-14

Hi Tom, loving the script so far. I've been doing a lot of customisation, and have almost finished what I started. One of the final bits I want to add is a photo field for each contact. Any chance ... Read More
Posted by Andreas
2014-01-14

Can you advice how to add google maps to the script ?

Thanks
Posted by Tom
2014-01-14

You can add any javascript to the template ( web/staff/tpl.(table-name).detail.inc.php ) You can put a google map on the template in the same way as you put it in regular html pages.
Posted by Willem
2014-01-13

I want a poll with multiple selections possible. I want it to have a simple design (white background, black letters, no fancy buttons). How can I skip the coloured css design with the shadows etc ... Read More
Posted by Tom
2014-01-14

Hi,

You can go either way. You can remove css or change other polls to the multiple choice type. Changing to the multiple choice type is very easy. All you need to do is change the type attribute of ... Read More
Posted by Andy Francis
2014-01-10

Hi Tom, me again.. I've tried installing this version and again everything goes OK until I post it to the website. This time at least I can see the poll but it won't work. I've tried everything like ... Read More
Posted by Tom
2014-01-11

Hi, these links are broken:
http://www.lindseyscakes.co.uk/voting/css/style.css
http://www.lindseyscakes.co.uk/voting/js/jquery.js
http://www.lindseyscakes.co.uk/voting/js/ajax_poll.php

Maybe, the ... Read More
Posted by sayed sajjad hussain
2014-01-10

I am getting the following error
Location : CDatabase/GetRecordCount
Message : Query() failed: Table 'form-db.tbl_sign_free' doesn't exist
Posted by Tom
2014-01-11

When did the error message appear? during Installation?
or when you logged in the admin panel?
Posted by Andreas
2014-01-10

Hi
You made my dreams come true with this tool.
However, if I create 2 or more applications by using addressbuilder, what do I need to modify to call my applications via menue structure ? e.g ... Read More
Posted by Tom
2014-01-10

Hi Andreas,

You can edit the top menu in this file: web/staff/include/df.top_menu.inc.php
There isn't any code that creates a submenu so you have to write it yourself if you need one.
I know it's a ... Read More
Posted by MRPC
2014-01-09

Just wanted to thank you for this awesome tool. I had been searching for a simple Membership Script for over a week before I found yours. Do you have a roadmap or is this the finished product? ... Read More
Posted by Tom
2014-01-10

Yes, it's a finished product. But there is an endless series of features I want to add, so I have to keep upgrading it!
Posted by LM
2014-01-09

Hey! This is exactly what I have been looking for, however I have one small problem. My host tells me "Can not connect to database server [ localhost ] : The mysql extension is deprecated and will be ... Read More
Posted by Tom
2014-01-09

Hi LM,

>"Can not connect to database server [ localhost ] : The mysql extension is deprecated and will be removed in the future : use mysqli or PDO instead"

You encountered two error messages. (1) ... Read More
Posted by Tom
2014-01-09

Hi, Got the PHP sessions going how to I change the size of the radio button text. Thx
Posted by Tom
2014-01-09

You can change it on the poll template ( web/skins/(skin name)/tpl.front.inc.php )
Posted by Kevin k
2014-01-09

HI,
im kinda new in the world of php, and i have some little questions..

i followed the steps but the pol doesn't appear?

what am i doiing wrong?

i hope you could help me out!
Posted by Tom
2014-01-09

Hi Kevin,

It didn't show up on a preview page? Or it showed up on preview but not on your page?
Posted by Gino
2014-01-09

Hello Tom,

Is it possible that you make some adjustments to the script and wat will you charge for this work?
Think i need in the script:

1 Default answers for all polls
2 upload topics in bulk so ... Read More
Posted by Tom
2014-01-09

Sure, please email me at tom[at]phpkobo.com.
Posted by fasinated
2014-01-09

Thank you, I've read and re-read the installation instructions to no avail and then when you sent me back to the instructions in step 7, I still had the same problem... until I realize the 'staff ... Read More
Posted by Tom
2014-01-09

You are welcome :)
Posted by Tom
2014-01-08

Installed the script and able to log into admin but when ever I click on anything it brings me back to the log-in page
Posted by Tom
2014-01-09

Hi Tom,

Your PHP session is not working. That's why you get kicked out of the admin panel. Please ask your web administrator to fix the PHP session.
Posted by fasinated
2014-01-07

The software installed well, however the button to add leads is nowhere to be found. Any suggestions?
Posted by Tom
2014-01-07

Hi,

>however the button to add leads is nowhere to be found

Because you logged in as admin. Please read the step 7 of this page (http://www.phpkobo.com/doc.php?d=install&p=LF201-108)
Posted by sayed sajjad hussain
2014-01-06

Nice job I could do it in less than an hour no I am no techi
need proof
http://bestdealsonshopping.com/short-url/SU201_104/web/url/index.php
Posted by Tom
2014-01-07

All right :)
Posted by Nancy
2014-01-05

Yes, once I got that error. I read thru the comments here and changed 'localhost' to 'relay-hosting.secureserver.net', as someone suggested. While I am NOT with GoDaddy, I am with secureserver.net. ... Read More
Posted by Tom
2014-01-06

What I meant is not "custom email" I mean the error-report email described in the step 4 of Installation guude (http://www.phpkobo.com/doc.php?d=install&p=NE201-106) Did you receive them?
Posted by Nancy
2014-01-04

Me again. Realize I have not offered much info, but not sure what is needed.
Pls advise.
Posted by Tom
2014-01-05


Hi Nancy,
When you used simulator, did you receive any log emails/error emails?
Here is an example of log email
... Read More
Posted by Nancy
2014-01-04

Like this very much. Thank you.
It all works fine, except...

Simulation mode works as it should.
I get green IPN and the customized email with user info; one to me, one to client.

When I actually ... Read More
Posted by Willy
2014-01-03

Okay, I understand it is very difficult for you to say something about my server setup as you don´t know it. ;-)

It might have something to do with my firewall, I'll try to look into that.

Anyhow, ... Read More
Posted by Willy
2014-01-02

Hi Tom,

I moved the log folder one folder up, chmodded to 777, same result, the same error message was sent.

I disabled logging and things went as they should, I received my ebook and an IPN ... Read More
Posted by Tom
2014-01-03

If the simulator caused the same error, I could come up with some plausible explanations. Since the simulator works, I must conclude you ( or your browser ) have some kind of special privileges. ... Read More
Posted by Willy
2014-01-02

Hi Tom,

Your script has been working fine for me, but some time ago it stopped sending the e-product to buyers. I receive an error email containing the following:
url: http://......./ipn/ipn.php ... Read More
Posted by Tom
2014-01-02

That's strange. The simulator and paypal should behave exactly the same way. It seems as if you have special privilages when you are running the simluator. Maybe, changing the location of the log ... Read More