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 : April 2014
Posted by Matt
2014-04-29

Thanks Tom, I changed the XA_CLASS=>'CVTextarea' to fix that. One last thing,I am adding links to the header & modifying the web/staff/include/df.top.menu.inc.php.I used print( '<a ... Read More
Posted by Tom
2014-04-30

OK, this example shows how to put a link on the top menu. Open web/staff/include/tpl.body.header.inc.php in a text editor and insert the following lines at line 43
... Read More
Posted by Matt
2014-04-29

Thanks Tom, that worked like a charm.How did you resize the height of the Note box in the Detail ( Add New / Edit ) Page ?
Posted by Tom
2014-04-29

You can customize the size of the text area in web/codelib/asc/df.fl.(--table-name--).inc.php Open it in a text editor and find code like
... Read More
Posted by ninni
2014-04-29

never mind
solved
host: mailout.one.com
port 25
no auth

ciao
Posted by Tom
2014-04-29

OK
Posted by ninni
2014-04-29

hello

I get this ERROR timeout error 110 when submit the form

I am using one.com hosting and i have correctly configured (i think)

what can i do ?

thank you a lot
Posted by s.samanta
2014-04-28

Hi. Tom,
Thank you so much.
Your suggestion worked.
After a few more tuning by myself, it's working as I wanted.
Thank you again for sharing your fabulous effort.
Posted by Tom
2014-04-29

You are welcome :)
Posted by charles
2014-04-28

probably 3 as I confirmed ssl is active on my server
Posted by Tom
2014-04-29

OK, good luck!
Posted by Spencer Pickett
2014-04-28

Hello Tom! I can't applaud you enough for the amount of help you give and respect I have for you. You take the time to work on each problem I have! I really do appreciate it. I have hopefully my last ... Read More
Posted by Tom
2014-04-28

You mean the color of the background of the input boxes? Here is a css technique, which is very general and no way specific to the script.

Suppose you have some input boxes like
... Read More
Posted by charles
2014-04-28

Yup, tried that yesterday. Tried again but still denying access.
Posted by Tom
2014-04-28

OK, then I have to conclude that the problem is outside of the script. The possible causes that I can think of are

(1) SSL/TLS haven't been installed in the web server.
(2) Some network ... Read More
Posted by S.Samanta
2014-04-28

Hi! Tom,
Many thanks for ur quick response & for everything. However, your suggested code
$spec_sys_base = array(
XA_CLASS=>'cls_sys_base',
XA_DEFAULT_PAGESET=>'(--your-table-name--)',
);

is ... Read More
Posted by Tom
2014-04-28

>But, an admin login is also needed at the front end for add/delete/editing data.

I know. Let's do it one at a time. So, you already modified the staff folder. Rename it to guest or something, and ... Read More
Posted by Matt
2014-04-28

Hello Tom,
I am adding a datepicker function to a dateofbirth field.I am editing tpl.addresses.detail.inc to incorporate that using jquery.I am calling the #rs:def:date_of_birth value in jquery.How ... Read More
Posted by Tom
2014-04-28

Hi Matt,

I assume you already know how to setup the date picker on a regular input box like
<input id='some-id' type='text' name='some-name' />
If you don't know, please read a manual of the ... Read More
Posted by Agarwal
2014-04-28

sir, how can I purchase multiple products at a time..?
Posted by Tom
2014-04-28

Hi Agarwal,

>how can I purchase multiple products at a time

Sorry, the script doesn't have the feature.
Posted by charles
2014-04-27

And I can get the php mail function to work so this is a little strange behavior.
Posted by Tom
2014-04-28

SSL/TSL are components you install in the web server. You can't install it in php script.

>465 yields
>Permission denied (13)

I got "connection successfully" for 465. So, smtp.bizmail.yahoo.com is ... Read More
Posted by charles
2014-04-27

I think it may be the required setting for SSL/TSL with port 465.

can this be added to the registration email code?
Posted by charles
2014-04-27

Ran it using both ports.

465 yields
Permission denied (13)

25 yields what I saw when I first started
No route to host (65)
Posted by S.Samanta
2014-04-26

Dear Tom,
I faced a issue with your address book application.
I want let the view & search my address book without login. How to do that?
Alternatively, a "view only" user is needed. How to do that.
Posted by Tom
2014-04-27

Hi S.Samanta,

>I want let the view & search my address book without login.

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

I how i can contact you directly ?
Posted by Tom
2014-04-27

Hi Salaheldin, my email is tom(at)phpkobo.com. For any feedbacks & quesitons regrading open source scripts available here, please leave your message in this feedback box. For custom scripting ... Read More
Posted by charles
2014-04-26

My email cfg params. changed the actual login and pwd to make anonymous for this

Hostname=smtp.bizmail.yahoo.com
Port=465

Auth=LOGIN
Username=sent@thefxxxxxxxxxxx.com ... Read More
Posted by Tom
2014-04-26

I can telnet to smtp.bizmail.yahoo.com at both 25 and 465.
$telnet smtp.bizmail.yahoo.com 25
$telnet smtp.bizmail.yahoo.com 465

So, their ports are open. Telnet from your PC and your web ... Read More
Posted by charles
2014-04-26

But I know the credentials work as I send and receive email through the account
Posted by charles
2014-04-26

Email error. Permission denied (13)
Posted by charles
2014-04-25

added a port =465 to the email script and now getting permission access denied. the email account has SSL turned on. it;s the only thing I can think of. the account and credentials but not through ... Read More
Posted by Tom
2014-04-25

Hi Charles,

>now getting permission access denied

OK, so you could connect to the email server but couldn't log in. What was the exact error message you saw?
Posted by charles
2014-04-25

I posted this in the wrong thread so here it is again. My site is hosted at yahoo and I have an app I wrote that uses mailto in php which works well. I cannot for the life of me get the email cfg ... Read More
Posted by Virtual
2014-04-25

Perfect!. Thanks to your suggestion the script works perfect for me.
Million thanks! :-)
Posted by Tom
2014-04-25

Great! You are welcome! :)
Posted by Mohamed
2014-04-24

You are great for releasing this.
I am a begginer with PHP and need a leading management system.

Thank you sir
Posted by Tom
2014-04-25

Hi Mohamed, Thanks. Have a fun with the script!
Posted by Lisa
2014-04-23

I really love this script. It showed GREAT in IE, Firefox and Google Chrome, but the weird thing is that is now only showing in IE...., It stopped showing in Firefox and Google Chrome? Can you ... Read More
Posted by Tom
2014-04-23

Isn't that the same problem as the previous post? When you say "it's not showing", do you mean it's not showing in the admin panel or on a page that hosts polls, or both?
Posted by Virtual
2014-04-23

A great script. Only one suggestion: When a banner is disabled appears a sign with red letters that says "Not Found" . Is there any way to disable it?. Because I want to have several alternatives to ... Read More
Posted by Tom
2014-04-23

Hi Virtual,

>Is there any way to disable it?.

You can make it blank. Open web/cn/app/lib.inc.php in a text editor. Find the following code.
... Read More
Posted by Lisa
2014-04-23

I love the poll script but I can't seem to get it to work. I followed the instructions and placed this in the <head>

<!--POLLING SCRIPT [ Step 1 ] Include jquery -->
<script ... Read More
Posted by Tom
2014-04-23

Hi Lisa,

The URL that points to the script contains a domain name. Probably, the page that hosts the polls and the script are on two different domains? To make the polls work, they must be in the ... Read More
Posted by Arkadi
2014-04-22

Hello!
Your script is really very good and intuitive.
However one thing: You could add the option of putting an image from an external source? (eg "Image = http://server.com/image.jpg"). I ask ... Read More
Posted by Tom
2014-04-22

Thanks for your suggestion!
Posted by John Underwrir
2014-04-21

Is there a way to incorporate somewhere in the code to make a PDF or similar report for a person? If I wanted to print someone's information. Any information on this would be great! If you know a ... Read More
Posted by Tom
2014-04-21

Hi John,

Here is a pdf library that allows you to create PDF files in php.
http://www.fpdf.org/

It's been used widely for more than 10 years. It may not have latest PDF features but it has an ... Read More
Posted by Aries
2014-04-20

Hi, may I know does this cater to multiple purchase?
Posted by Tom
2014-04-21

Hi Aries,
>does this cater to multiple purchase?
Sorry, it doesn't.
Posted by Massimo
2014-04-20

Tom the poll results is very valuable information that voters can show, but since voters are often influenced by others opinion, I'd like to have the vote first, and once done, enable the view ... Read More
Posted by Tom
2014-04-21

All right!
Posted by Massimo
2014-04-20

Hi Tom, I've checked the Poll Rex to see if voters can view the results ONLY after voting, but I do not see this functionality. The nice option of this derivative version is that the next time you ... Read More
Posted by Tom
2014-04-20

OK, how about deleting the "View" button from tpl.front.inc.php? If you delete it, no one can view the result unless they make a vote. Does it satisfy your needs?
Posted by Nicola
2014-04-18

Tnx Tom! In effect the reporting error was depending by the sushosin patch on the server
Posted by Tom
2014-04-18

All right!
Posted by Massimo
2014-04-17

Great job Tom, works perfectly as designed. Simple question not found in the forum : is it possible to show results solely if you first vote ? Many thanks.
Posted by Tom
2014-04-18

Hi Massimo,

>is it possible to show results solely if you first vote

Probably, Ajax Poll REX is what you are looking for. That's not an open source, though.
Posted by Sam
2014-04-17

Hi Tom,

I like the Ajax poll script you distribute. Thank you for the distribution. I am trying to figure out how I can use it with MySQL instead of saving the data on flat file. You suggest to see ... Read More
Posted by Tom
2014-04-18

Hi Sam,
Oh I'm sorry that the code was delisted a long ago. I think I should delete the link.
Posted by Timothy Kelpling
2014-04-17

I know this is kind of a weird question but do you happen to know if it is possible to put examples inside of the search field? For example if one of the search criteria is Phone Number: would it be ... Read More
Posted by Tom
2014-04-18

Hi Timothy,
I found a jquery plugin you are looking for:
http://remysharp.com/wp-content/uploads/2007/01/input_hint.html
Posted by Randy Smith
2014-04-16

All of a sudden we just got an error after doing nothing to the database? It happened randomly with this error: Fatal error: Call to undefined function mb_regex_encoding() in ... Read More
Posted by Tom
2014-04-16

Something horrible must have happened to your PHP. Maybe, somebody messed up php.ini? By the way, when a harddisk of your web server is full, PHP tends to behave crazy. You may want to check if your ... Read More
Posted by Steve
2014-04-15

Tom,

I understand re: your answer on my previous post. Another issue I'm wondering if you might help with, if it falls within your scope of support:

I've got a form where one of the fields is a ... Read More
Posted by Tom
2014-04-16

>the data appears in this "S1001" format.

That's by design. It allows you to change the labels without editing the values in the database. For example, you can change February to Feb in ... Read More
Posted by Nicola
2014-04-15

Tnx Tom for your great work! We're trying it in these days but we always have this server error that it occurs when trying to add or edit a record:

ALERT - configured request variable name lenght ... Read More
Posted by Tom
2014-04-16

Hi Nicola,

> configured request variable name lenght limit exceeded - dropped variable

This is very strange. Probably it's saying the ... Read More
Posted by Bashir Noori
2014-04-15

there is a bug ! when someone submitted the form, after submitting if refresh the page, you will see those contents again, so it's possible to send more spam ...
i think the form should reset after ... Read More
Posted by Tom
2014-04-15

Hi Bashir,

>when someone submitted the form, after submitting if refresh the page , you will see those contents again, so it's possible to send more spam ...

Your browser just remembered the ... Read More
Posted by Manuel
2014-04-14

Thanx very much Tom!
Posted by Tom
2014-04-14

You are welcome :)
Posted by Randy Smith
2014-04-13

Just curious on the edit page- we are using that as a (view entry) button now. When we open this is there anyway to edit the layout to where you can have multiple things across the page? For example ... Read More
Posted by Tom
2014-04-14

Hi Randy,

>For example First Name and Last name be beside each other instead of each item being on a separate line?

Yes. Please edit the template, web/staff/tpl.(table-name).detail.inc.php
Posted by Manuel
2014-04-12

Sorry to bother you again Tom, i did add a code in the main page with a livea ajax style search with an external file doing the mysql query and returning the result....when i search is returning the ... Read More
Posted by Tom
2014-04-13

Yes, both the search page and input page display IDs, it should be very easy to obatin the ID of a particular record if you take a look at the templates. In both ... Read More
Posted by Nelson
2014-04-12

Thanks for this help.

I want to remove @ from short url because there are some sites which brakes the urls containing @ in it.
Second reason is I want to make my urls like tinyurl or bitly
Posted by Tom
2014-04-13

OK!
Posted by Nelson
2014-04-10

Yes, I already have removed @ from web/config/config.url.inc.php

and from htaccess file.

After that Everything was working fine. Short urls were opening without and home page was also loading well. ... Read More
Posted by Tom
2014-04-11

Maybe, some of existing file path are used by short urls.
The following code will prioritize the existing path.
... Read More
Posted by Lion
2014-04-10

after commenting out line 110

im getting this error

ERROR:

Unkonwn
Posted by Tom
2014-04-12

OK, I've been trying to come up with a method to figure out the cause indirectly but there doesn't seem to be a simple way. If you are interested in letting me debug it on your site, let me know. my ... Read More
Posted by Obida
2014-04-10

Its working now , Thank you Tom for the great work .
Posted by Tom
2014-04-10

All right!
Posted by Obida
2014-04-10

Hi Tom,

Appreciate your gorgeous work ,,,
Im trying to create the poll on my website and following the steps exactly , but the poll is not working !

Here is the source of the page :

<!-- For Poll ... Read More
Posted by Lion
2014-04-09

im using the checkout simulater i keep getting this
ERROR:

IPN handler did not return array:

this is the error log that sent to my email result: ERROR : paypal did not return status [CIpnReceiver] ... Read More
Posted by Tom
2014-04-10

Hi Lion,

The error message(IPN handler did not return array) is for developers only and have no significance for users, so you can remove it. Open web/sim/include/CCheckoutSimulator.inc.php and ... Read More
Posted by Nelson
2014-04-09

Hi Tom
How are you doing!!

I wanted to remove @ from short url and I made it.

and then made the changes in htaccess file
from this

RewriteEngine onRewriteRule ^/([_a-zA-Z0-9\-]*)$ ... Read More
Posted by Tom
2014-04-10

Hi Nelson,

>made the changes in htaccess file

Did you edit web/config/config.url.inc.php, also?
You need to remove '@' from URL_PREFIX.
... Read More
Posted by Leo
2014-04-08

Hello Tom, me again, a friend of me, purchased my e-product. i got the cash, but he dont got the e-product... ?! and i got an IPN error back with this >> time: 2014-04-07 10:55:13
url: ... Read More
Posted by Tom
2014-04-09

OK, the error message says the recipient is greylisted. So, that's why it couldn't sent. Please ask your web administrator why it's greylisted!
Posted by Joseph
2014-04-05

I got this error and don't know why? I have a full permission to the pic folder [Image] Invalid file format
Posted by Tom
2014-04-07

Hi Joesph,

It means that php can't decode the image file. Probably, the file is corrupted or not fully compliant to the standard. You may be able to load it in an image editing software like ... Read More
Posted by Tejas
2014-04-05

Hey I do not want to show the poll results once the user has voted, can you tell me how to stop it from display
Posted by Tom
2014-04-07

Hi Tejas,

The feature hasn't been implemeneted, yet. I'll put it in my to-do-list. Thanks for your suggestion!
Posted by hedi
2014-04-04

Hi,
thank you for this script :)
In Safari 7.0.3 (latest), mac osx maverick, visitors can vote several times. the limitation don't seem to work.
works great on chrome and firefox
Posted by Tom
2014-04-05

Hi hedi,

>visitors can vote several times.

Probably because cookies were disabled in those browsers. That's the only cause I can think of.
Posted by Manuel
2014-04-04

Thanx very much Tom!
Posted by Tom
2014-04-05

You are welcome :)
Posted by Manuel
2014-04-03

Hi Tom, thanx for the reply...but i was looking to somehow add the session in a php file i have created in the same staff folder which i do not wish someone access unless is logged in in the address ... Read More
Posted by Tom
2014-04-04

OK, put this code at the top of your page.
... Read More
Posted by JR
2014-04-02

HI Tom,
Address Book Mini can upload photo or attach file?
Thanks
JR
Posted by Tom
2014-04-03

Hi JR,
>Address Book Mini can upload photo or attach file?
If you mean Address Book Mini is compatible with fileup-addon, yes, it works on Mini, too.
Posted by Randy Smith
2014-04-02

Hello Tom! I don't know if this is possible but is there anything to add to the code that will help with printing? A lot of times we have a person/database entry that we would like to print out but ... Read More
Posted by Tom
2014-04-03

You can edit the template, web/staff/tpl.(table-name).detail.inc.php. I templatized it so people can change the style to their liking.
Posted by Steve
2014-04-02

Tom,

I did get the hidden input to work. Thanks for your help on that. Much appreciated.

I noticed that at least one other user would like to integrate CAPTCHA into the form, as would I. I've ... Read More
Posted by Tom
2014-04-03

Hi Steve, I'm sorry I can't explain it here. The steps are too long and this is a type of gigs I often do. What I can do for you are basically, (1) solve installation problems, (2) explain how to use ... Read More
Posted by devha
2014-04-02

Hi Tom,

Is it also possible to check user IP to count votes? Because you can still vote from same IP with different browsers.

Thank you!
Posted by Tom
2014-04-02

Hi devha, The script doesn't have the feature but it's possible. Ajax Poll Script and Ajax Poll Admin prevents users to vote more than once with the same IP address. I'll add the IP feature to the ... Read More
Posted by Mac
2014-04-02

Hi Tom,
I would like to add 2 fields in the same search page ,
first field for the contact creation date and time
2nd for the staff id (who created the contact)
Thanks alot.
Posted by Tom
2014-04-02

Hi Mac, This article explains how to add serach criteria input box.

http://www.phpkobo.com/address_book.php#add_a_search_criteria
Posted by Manuel
2014-04-01

Hi, this scripts is great! Is there any way to add a code to a page so only show it if the admin/staff is logged in? Thanx!
Posted by Tom
2014-04-02

Hi Manuel, 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 Cassandra
2014-04-01

Really beautiful! Is there a way you could add an IP logger?
Posted by Tom
2014-04-02

Hi Cassandra,
If you just want to get IP addresses of posters, you can use the following command. It displays the IP address from which the user is viewing the current page.
... Read More
Posted by Jonnel
2014-04-01

Hi Tom, thank you for the immediate response. I know now what to do. Another things is if I want to view both of them on the same page because now I need to access them separately. I appreciate if u ... Read More
Posted by Tom
2014-04-02

I really want to publish how to merge two Address Book script but there are few gotchas. That's why I'm holding off until I upgrade the script. For now, I leave it to people who are willing to dig ... Read More