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 : May 2014
Posted by Michael
2014-05-31

I get this error in IE 11

{"cmd":"load","html":"\n\n\n","result":"OK"}

Any idea how to fix this?
Posted by Tom
2014-05-31

Hi Michael,

I can't reproduce the error in my IE11. Would you post the URL?
Posted by smile
2014-05-30

sent you email to you email address
Posted by smile
2014-05-30

Why isn't this working inside the ad manager? I hope you can help me, when can you add the expiration feature?

Anyway here is my code:

<html>
<head>

<script language="javascript">
<!--
var ... Read More
Posted by Tom
2014-05-30

Before getting into the javascript, I would like to point out that you shouldn't put <html>, <head>, <body> tags in the code box. Those tags will mess up hosting pages.
Posted by smile
2014-05-30

Thanks for reply Tom.

Another idea is that once expired (if user checks a check box and specifies an image) the script could display another image, this gives more flexibility.

Since I can enter ... Read More
Posted by JoeMac
2014-05-29

Hi Tom, I would like to start by saying Thank you for sharing, you have made my life a lot easier...

I'm looking to change the layout of the form. What I would like is to have items run parallel to ... Read More
Posted by Tom
2014-05-30

Hi Joe,

>I seen an earlier post were you suggested to edit the template, web/staff/tpl.(table-name).detail.inc.php

Yes, that's correct.

>I've done that and nothing has changed.

Yes it should ... Read More
Posted by John
2014-05-29

Hi Tom, I was wondering if it is possible for each staff to have his own lists? The others will not see the lists each other.

Thanks
Posted by Tom
2014-05-30

Hi John,

>I was wondering if it is possible for each staff to have his own lists?

Yes, it's possible. Check out "Lead Follow-Up Database." It may give you some ideas about how to implement the ... Read More
Posted by c
2014-05-29

I have a number of users (staff) that I've added and as you know each of these have staff_Id. I would like the search form for customers to automatically use the staff_Id as a search parameter when ... Read More
Posted by Tom
2014-05-30

First, create a search input box for staff_id and make sure you can select the customer records with a particular staff_id. Then assign the staff_id of the logged user to the search input box, so the ... Read More
Posted by David
2014-05-28

Thanks a lot for your answer!
Posted by Tom
2014-05-29

You are welcome!
Posted by smile
2014-05-28

It would be great if I could specify the expire date YMD format for each add, also is it possible once expired the add would display an overlay text EXPIRED on top of it etc?

Thanks.
Posted by Tom
2014-05-29

That's a nice idea!
Posted by vikash
2014-05-28

very nice
Posted by Tom
2014-05-28

Thanks!
Posted by David
2014-05-27

Hi Tom,

Thanks again for your answer regarding ‘mysqli’.

Based on your previous reply: "CMySQL.inc.php" is the only file where you used "mysql_*" extension. Are there any other functions that I ... Read More
Posted by Tom
2014-05-28

>Are there any other functions that I need to replace (could you please advise where)?

No, you don't need to but just relpacing the functions may not be enough. In some occasions, you may have to ... Read More
Posted by Mn9or!
2014-05-26

Hello again,
Thanks for your reply and I am glad you like my suggestion. I have another suggestions. If you mix the shorten URL to be numbers and letters that will be fantastic also, a simple captcha ... Read More
Posted by Tom
2014-05-27

Thanks! :)
Posted by David
2014-05-26

Hi Tom,

Thank you for your reply regarding ‘mysqli’ extension.

Please advise what you mean by ‘port the file’.
Do I need to make any change to the specified command ... Read More
Posted by Tom
2014-05-27

> by ‘port the file’.

I should've said convert, instead. I meant replacing all "mysql_*" functions with mysqli functions. Sometimes, it may not be simple replacement procedure and requires you ... Read More
Posted by Stuart
2014-05-26

Hi
I would like to remove some of your fields and add a few new fields more applicable for my intended application
Is this easy to do ?
What files do i need to understand / modify ?

Thank you
Posted by Tom
2014-05-26

Hi Stuart,

>remove some of your fields and add a few new fields

I haven't written a guide for adding/removing fields to/from Lead Follow-Up Script, but the core code of the script is very close to ... Read More
Posted by David
2014-05-25

Hi Tom,

I've just started using your scripts, working great!

As of PHP 5.5.0 ‘mysql_real_escape_string’ and the mysql extension are deprecated. I found that in your ‘Contact Us Backend’, ... Read More
Posted by Tom
2014-05-26

Hi David,

>web/codelib/sys/CMySQL.inc.php

If I remember correctly, "CMySQL.inc.php" is the only file where I used "mysql_*" extension. So basically, all you need to do is port the file. It's still ... Read More
Posted by charles - 58000 records
2014-05-25

I didn't change any code for the IDs but it's even weirder than I thought. I clicked through roughly 200 pages and it's not consistent. I have screenshots and will send them to your email that you ... Read More
Posted by Tom
2014-05-26

OK, I PMed you.
Posted by LHammonds
2014-05-25

I just did a derive of Address Book Mini 1.18, updated the database info and uploaded to my Apache server, did the install script and BAM! Instant app and working app. Thank you so much. What you ... Read More
Posted by Tom
2014-05-25

You are welcome!
Posted by charles
2014-05-25

I imported 58000 records into the database. confirmed the ID field is unique for each record. While the app shows there are 58000 unique records the ID field resets to 1101 once you get to 153xx ... Read More
Posted by Tom
2014-05-25

>the ID field resets to 1101 once you get to 153xx records, not the database, the number shown in the webpage

That's very weird. I don't think I can reproduce it. "1101" looks so arbitrary. Did you ... Read More
Posted by Martin
2014-05-24

Hi,

I get an error in IE 11, relating to CWaitIcon. Works great on Webkit.
Posted by Tom
2014-05-25

Hi Martin,

>I get an error in IE 11,

I can't reproduce the error in IE11.

CWaitIcon uses an image and raises an error when the image is not loaded. I think the error you encountered has something ... Read More
Posted by Chung
2014-05-24

Awesome script. Instead of storing the text files all in one folder `tbase`. Is it possible to have a better organization like creating A-Z folders, and storing the files in one of the folders based ... Read More
Posted by Tom
2014-05-25

Hi Chung,

That's possible but if you need to organize the data, it's better to store it in a database. You don't need to reinvent the wheel!
Posted by Matt
2014-05-24

Hi Tom,

Is there a way to have a "clicked" state for the buttons once they have been hit?

Thank,
Matt
Posted by Tom
2014-05-25

Hi Matt,

>Is there a way to have a "clicked" state for the buttons once they have been hit?

The script doesn't have the feature but certainly the idea looks nice. I should implement it in the next ... Read More
Posted by John
2014-05-24

Hello Tom. Re: Paypal IPN?eproduct delivery script.
I'm a novice to this kind of script work but am seriously keen to get this working as it could just be the answer that I'm looking for. HOWEVER, I ... Read More
Posted by Tom
2014-05-25

Hi John,

>when I click to test the simulator I get an failed/error message.

So what error message did you get when you clicked?
The error message may reveal the problems you are dealing with.
Posted by Bhushan
2014-05-24

I am not able to install it properly, please help
Posted by Tom
2014-05-25

Hi Bhushan, Would you briefly describe the problems you encountered?
Posted by Mn9or!
2014-05-23

Hello,

Thanks for this great script. Have you think about add Malware & Phishing Protection by using Phishtank and Google Safe Browsing. This will be so great for the script.

Best,
Mansour
Posted by Tom
2014-05-23

Hi Mn9or,

>Have you think about add Malware & Phishing Protection by using Phishtank and Google Safe Browsing.

Never thought about it until you told me. I'm now interested in "Google Safe Browsing" ... Read More
Posted by Charles
2014-05-22

I checked again its 5.4

http://screencast.com/t/e5S3czVo1o

Posted by Tom
2014-05-23

First, find the error messages the script is outputing. In some hostgator's website, web servers save error messages as a text file named "error" in the same folder as the executed script resides. In ... Read More
Posted by philip
2014-05-21

thanks for sharing! GBU
Posted by Tom
2014-05-23

You are welcome!
Posted by Charles Eger
2014-05-21

I checked with coustmer support and they said 5.4
Posted by Tom
2014-05-21

Probably, php5.4 is spitting out an error message like "Warning:this command will be obsolote in the next version...etc" You need to suppress the error message like suhas did. The script does ... Read More
Posted by Charles
2014-05-20

I have the same error as suhas

Warning: Illegal string offset 'state' in

http://my_website.info/web/codelib/asc/CVFileUpload.inc.php on line 91

I have whatever hostgator uses

Charles
Posted by Tom
2014-05-20

Hi Charles,

Would you tell me your php version? This error message started showing recently. I suspect it has something to do with a new PHP version or configuration.
Posted by Robert
2014-05-19

I keep getting the following error message:

IPN Result:
ERROR:

email error: Connection timed out(110) [CProductMailer]
Posted by Tom
2014-05-19

Hi Rebert,

>email error: Connection timed out(110) [CProductMailer]

Check if the mail server address is correct. If it looks OK, then check if the mail server is up and running. You can ping the ... Read More
Posted by Beau Ling
2014-05-18

Tom,

Can this feature... " Create multiple instances of the same poll with different data sets ( vote counts ) " be automated?
Posted by Tom
2014-05-19

Hi Beau,

Yes! the trick is assign different tid to polls. For example,
<div class='ajax-poll' tclass='my-poll' tid='instance1'></div>
... Read More
Posted by Ani
2014-05-18

Hi Tom ,
is it possible to UPDATE or ADD multiple poll questions using my file.csv so i can add multiple polls daily without having to sign in and create poll with the same properties.
Thank you ... Read More
Posted by Tom
2014-05-18

Hi Ani,

Yes, that's possible. But that doesn't mean the script internally keeps the poll data in the csv format. You need to write the script to convert a csv file to the internal format.
Posted by Nathan
2014-05-17

Hi Tom,

Thanks for the answer, great script, unfortunately I cannot use it since in my code the section of the ‘submit form’ is in index.php, which is outside the ‘web’ directory.

Thanks, ... Read More
Posted by Tom
2014-05-18

OK, I understand.
Posted by charles
2014-05-16

Tom,

Have you ever added sub-menus to the main menu so that a menu item could have a pulldown for other pages?
Posted by Tom
2014-05-17

>Have you ever added sub-menus to the main menu so that a menu item could have a pulldown for other pages?

Whenever I need sub-menus, I replace the entire menu ( in ... Read More
Posted by Nathan
2014-05-16

Hi,

In regards to my previous question about the error message when calling the ‘Form’ outside the specified directory tree, I would like to add that it’s impossible for me to include (and ... Read More
Posted by Nathan
2014-05-16

I like the script, works very nice.

Can I call the ‘Form’ from the root directory?
test.php contains the following code:
<?php require('web/form/index.php'); ?>

http://mydomain.com/test.php ... Read More
Posted by Tom
2014-05-17

Hi Nathan,

Unfortunately, it's not easy to display the form outside of the folder ( except using iframe ). I'm aware of the issue and plan to correct it in a future version (I have to dig into the ... Read More
Posted by Roy
2014-05-16

Hi Tom,

Solved!
Using the last configuration works for me.
I had a typo mistake in 'Username'.

Thx.
Roy
Posted by Tom
2014-05-17

OK!
Posted by Roy
2014-05-16

Hi Tom,

I have difficulties with setting up email configuration.
The ‘Admin Panel’ works fine and a new row is added, but ‘Form’ is not submitted. I get the following error messages.

The ... Read More
Posted by Mike
2014-05-15

Hi Tom,

Thank very much for your answer and for the link ("Image format support"), the problem was really that 'Google Chrome' doesn't support 'tiff' format.

Mike
Posted by Tom
2014-05-16

You are welcome :)
Posted by sean
2014-05-15

how can i install multiple forms as i get a sql error staff table already exists?? Sean
Posted by Tom
2014-05-16

Hi Sean,

First, you need to rename the tables of the first instance in your MySQL database. Use phpMyAdmin to change "tbl_staff" to say, "tbl2_staff". Do the same to the other table of the first ... Read More
Posted by Mike
2014-05-15

Hi Tom,

Great script!

I try to upload 'tif' images by adding this extension in:
config.ad_pic.inc.php

I don't get error message, but the image doesn't showing up.

Any idea how can I solve this ... Read More
Posted by Tom
2014-05-15

Hi Mike,
Maybe, your browser won't support the tiff format. Please check the "Image format support" section of this page.

http://en.wikipedia.org/wiki/Comparison_of_web_browsers#Image_format_support ... Read More
Posted by mike
2014-05-13

Hello,

Whats the simplest way possible to add a Guest Login or a Public Viewing of the address book list. Something where someone can't add or delete options?
Posted by Tom
2014-05-14

Hi Mike,

> a Public Viewing of the address book list.

There isn't a turn key solution but I think many users modified it successfully. The first step is copy the staff folder and rename it as ... Read More
Posted by mandy
2014-05-11

how can i have advertisment in between
Posted by Tom
2014-05-12

Hi mandy,

>how can i have advertisment in between

I'm sorry I didn't get what you meant by "in between" Would you give me an example?
Posted by giovanni
2014-05-11

hi is their any way i can throw ads between redirects
Posted by Tom
2014-05-12

Hi giovanni,
Sorry, the script doesn't have the feature. But you can always modify the script. the source code is open!
Posted by giovanni
2014-05-11

How can i make money from this software thanks
Posted by Elbert Wade
2014-05-10

I am so excited to anticipate using your script -- AP 201-205 but have been unable to download it either to Desktop or Floppy. I have tried numerous times. It indicates it is downloading but never ... Read More
Posted by Tom
2014-05-12

Hi Elbert, maybe the site was slow. Would you try it again?
Posted by charles
2014-05-09

images in database <cont>

I also use it as the contact manager for our clients. I would think someone wanting to use this great tool for members or contacts would find attaching pics for each ... Read More
Posted by Tom
2014-05-12

>>www.thefarmerindale.com
Wow that's one nice looking site!
Posted by charles
2014-05-09

Images in database thread

I have converted the app to be used to manage our farm (livestock, clients, produce). There are inventory items in my shopping cart that have pics. I am using the app as ... Read More
Posted by Grant
2014-05-08

Thanks Tom worked great.
Posted by Tom
2014-05-09

You are welcome!
Posted by charles
2014-05-08

Separate question on image upload to address book. I have created a field as blob in my table. I don'd find a class anywhere that defines a field to handle bitmaps and such. CVxxxx in the Sys folder? ... Read More
Posted by Tom
2014-05-09

You are right, I haven't written the blob class. Never thought there was a demand for it. You are the first person who mentioned it. Do you really need to put images in a database? Maybe you are ... Read More
Posted by Charles
2014-05-08

I guess I should have stated it correctly on the search form. That would be a roster of clients with active orders. Editing a client to the details page would reveal orders and the line items in each ... Read More
Posted by Tom
2014-05-09

Hi, in the current version, joining tables is not implemented. It's already in my to-do list, though.
Posted by Charles
2014-05-08

Tom,

Here a sql statement that I use in my current solution that I want to migrate to your address book.

$rs = mysql_query("select * from cart inner join items on cart.itemId = items.itemId where ... Read More
Posted by Grant
2014-05-08

Hi
Fantastic script I was just wondering if it was possible to change the output of one of the text fields such as email to be a clickable URL i.e. mailto:N@N.com or http//.
Thanks
Posted by Tom
2014-05-08

Hi Grant,

>wondering if it was possible to change the output of one of the text fields such as email to be a clickable

First, you need this helper function. Open web/staff/common.inc.php in a ... Read More
Posted by HATEM
2014-05-05

Thank you very much, it is very good script.
Posted by Tom
2014-05-06

You are welcome :)
Posted by Tom
2014-05-05

Feature request or how to if preferred.

I have modified the app to do all that I want but I need 1 more feature that I think would be useful for others. The ability to create a form but use ... Read More
Posted by Tom
2014-05-06

Hi Tom,

Yes, joining tables is very important. I definitely want to implement it in Address Book script. The only problem is there are many ways to join tables. I don't want to ask users to write ... Read More
Posted by dengyi
2014-05-04

Hi

The problem 'The mysql extension is deprecated and will be removed in the future : use mysqli or PDO instead' happened when I run the install script on PHP 5.5. Can you update your script builder?
Posted by Tom
2014-05-05

Hi dengyi,

>The problem 'The mysql extension is deprecated and will be removed in the future : use mysqli or PDO instead' happened when I run the install script on PHP 5.5.

The script specifies ... Read More
Posted by Suhas
2014-05-03

Hi Tom,
I got it to work, it just needed the error reporting to be turned off
Thanks for your continued support to the users and the script works like a charm!!
Posted by Usman
2014-05-03

Hi

Sir how can i access the Companies Address Book Builder as i want to add different fields but i am unable to find any option to add fields
Posted by Tom
2014-05-05

Hi Usman,

>how can i access the Companies Address Book Builder as i want to add different fields but i am unable to find any option to add fields

Just click the "drive" link next to the "download" ... Read More
Posted by Lisa
2014-05-02

It seems that once you have seen it in the browser and then go back to that page, it does not show even when I clear the browser cache...This is wierd
Posted by Tom
2014-05-03

Yes, that's wierd. Would you send me the url of the page? My email is tom(at)phpkobo.com
Posted by Lisa
2014-05-02

It is showing in the admin but not on the page that hosts the poll. The script and where the page that hosts the poll are on the same domain. Any help is appreciated. Thanks Lisa
Posted by chuck
2014-05-02

good god, forget it. I copy a line that doesn't belong there. working now.
Posted by Tom
2014-05-03

OK!
Posted by chuck
2014-05-02

here is where it is breaking.

added comments through the code.

//-- [END] Load data from input to state


echo "made it past data loaded";

//-- [BEGIN]*** Validate Staff Input
if ... Read More
Posted by chuck
2014-05-02

verified that the echo done is in fact being called. just does not update nor add records when I click Save. again, I can delete records just not update nor add. just throws a white page.
Posted by chuck
2014-05-01

I added a new table and created new forms in addition to the customer and staff elements. everything works except the Save button inside ADD or Edit does not write to MYSQL. Just a blank screen. ... Read More
Posted by Tom
2014-05-02

Hi Chuck,

>Edit does not write to MYSQL. Just a blank screen.

You may want to check if clicking the save button really takes you to the appropreate backend code.
Open ... Read More
Posted by Suhas
2014-05-01

Hi Tom,
I,m getting ths warning when I click the 'Your Ad here' tab

Warning: Illegal string offset 'state' in C:\wamp\www\web\codelib\asc\CVFileUpload.inc.php on line 91

Please help me out!!
Posted by Tom
2014-05-02

Hi Suhas,

>Warning: Illegal string offset 'state'

OK, this is new to me. May I ask your PHP version and web server type(IIS or apache)?