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 : October 2013
Posted by Rafal
2013-10-31

Easy to say but if we had your knowledge, we wouldn't be here hahah I'll try though
Posted by Tom
2013-10-31

OK, Good luck!
Posted by Rafal
2013-10-31

Hi Tom, great script! 1 question: is it possible to make this that way if you already voted it doesn't show you '*' or text but it shows you result page?

Thanks!
Posted by Tom
2013-10-31

Hi Rafal,
Unfortunately, the feature was not considered when I wrote it. So, there isn't a simple way to do it. You just need to dig into the code and change how it works.
Posted by gouri
2013-10-31

thanks for script.
i just want to know how add attach image to database?
Posted by Tom
2013-10-31

Hi gouri,
Sorry, it doesn't have the file upload feature. I certainly want to add it but haven't had a chance to do it yet.
Posted by Vadim
2013-10-30

Hello, Tom.
You know, when I test on your demo version, everythink is all right. I can enter russian, and I see all.
But when I open this program on my computer I have the next situation.
I enter ... Read More
Posted by Tom
2013-10-31

OK, your MySQL is not accepting UTF-8. It could be because of misconfigurations of the MySQL server or because your MySQL is old and doesn't have the UTF-8 feature. Could you tell me your MySQL ... Read More
Posted by Vadim
2013-10-30

Hello, Tom. Thank you for your answer.
Unfortunatelly, when I type russian in the script, for example if I try to add a new record, after saving this record, I see only blank fields. The only filled ... Read More
Posted by Tom
2013-10-30

What happens if you enter "Hello привет" in an input box and click the save button?
Will it save (1)"Hello привет", (2)"Hello", or (3)nothing?
Posted by Oscar R
2013-10-30

Thanks a lot Tom! This script has helped me a lot!
I would like to know if is possible to protect other files like PDFs ?? How can I do that ?
Thanks once again.
Posted by Tom
2013-10-30

Hi Oscar,

In web/.htaccess, find this line.
RewriteCond %{REQUEST_URI} /(.*)\.html$
The line redirects any files with the .html extention to _protect_.php, which in turn outputs the content ... Read More
Posted by Vadim
2013-10-30

Hello, Tom.
Thank you for your program - it is realy very usefull and comfortable.
I have got a question - how can i change the language of the programm?
I need a possibility to input and read ... Read More
Posted by Tom
2013-10-30

Hi Vadim,

>how can i change the language of the programm?

No need to change anything. You can just type Russian in the script. Try it on the demo!
Posted by Tim
2013-10-29

Hi Tom -

Just wanted to thank you for developing this. I was able to create two different "Address Book" scripts, merge them together, add a few custom input controls and create a relational table ... Read More
Posted by Tom
2013-10-29

Hi Tim,

>add a few custom input controls and create a relational table

Wow! Never thought anyone would dig that deep. I'm glad you like it! :)
Posted by Eric
2013-10-29

Your script works perfectly well if it is placed on a server. It shows the error messages discussed before only when I tried to run your script in XAMPP on my PC. So, all is well, thanks again!
Posted by Tom
2013-10-29

You are welcome :)
Posted by michal
2013-10-29

Hi
I have version 1.17, how do i change a input field to dropdown listbox, this dropdown read the values from a mysql table i the same mysql database?
Posted by Tom
2013-10-29

Hi Michal,
This is an example for converting a text field to a dropdown list box, which gets options from a table in the database. I'll use the "country" field in this example.

(1) Create a table ... Read More
Posted by Brooks
2013-10-27

I am using a very old MySQL because it came with a radio server I have, WinMySQLAdmin 1.4. I am a beginner when it comes to php and mysql. I have installed a program called EasyPHPServer installed ... Read More
Posted by Tom
2013-10-27

OK then, probably it's too old to run the "SET NAMES utf8" command. Upgrade your MySQL server and try again.
Posted by Brooks
2013-10-27

(1064) You have an error in your SQL syntax near 'NAMES utf8' at line 1 this is an error I receive when I try to install.
Posted by Tom
2013-10-27

Hi Brooks,

>SQL syntax near 'NAMES utf8'

It could be a MySQL version incompatibility. Would you tell me your MySQL version?
Posted by David
2013-10-27

Looks like this could do what I am looking for, but everything defaults back to the lead_follow_up.php sign in page?
Posted by Tom
2013-10-27

Hi David,

>but everything defaults back to the lead_follow_up.php sign in page?

If you mean "login page", then that's a symptom of PHP session failure. The script could not save your session state ... Read More
Posted by Will
2013-10-27

Thanks again Tom,

Working flawlessly!
Posted by Tom
2013-10-27

You are welcome!
Posted by Will
2013-10-26

Hi Tom,

Great, easier impossible!

Do I only write the path or should I add the file name at the end of the path? I guess the answer is yes. :)

Greetings.
Posted by Tom
2013-10-27

Please add the filename like "c:/aaa/bbb/ccc/ddd.zip"
Posted by Will
2013-10-26

Hi Tom,

I am another happy user of your script.

I have three different products in three different folders. Depending on what Paypal returns one of those is automatically emailed to the buyer as an ... Read More
Posted by Tom
2013-10-26

Hi Will,
Open web/ipn/sublcass/CProductInfo.inc.php, add the following line:
$pi['files'][] = "--path-to-the-bonus-file-here--";
The result should look like:
... Read More
Posted by Hayden Barton
2013-10-25

Hi Tom,
I am using this on my website right sidebar and it is very good! check it out: http://www.techbitereviews.com

One thing i would like though, once a user have voted and refreshed the page the ... Read More
Posted by Tom
2013-10-25

Sorry, there isn't a simple way to do it because it's not implemented as an option. You need to dig into the code and change the flow of the execution. Using cookies sounds a right direction to me, ... Read More
Posted by Eric
2013-10-25

Thanks for the modification of json_decode. However, this produces a short and simple message: 'ERROR unknown '. Could it be that your scripts should be placed on an actual server not on my PC using ... Read More
Posted by Tom
2013-10-28

Hi, I tested the script with XAMPP(PHP v5.4.19). Surprisingly, it didn't show any error message. It may be due to the slight difference in the PHP version. So, I couldn't get any clue about the error ... Read More
Posted by Tom
2013-10-25

OK, then there must still be some other issues. I'll install XAMPP over weekend and see if there are any differences in the json_decode function. I'll get back to you in a couple of days. Later.
Posted by Eric
2013-10-24

My PHP is version 5.4.7. By the way, when using the Paypal sandbox option I can carry out a payment but am not led back away from the Paypal site back to mine. Is this intentional?
Posted by Tom
2013-10-25

>but am not led back away from the Paypal site back to mine.

The HTML code generated by the first page of Checkout Simulator is a minimalist code to accept payments. There are more options you can ... Read More
Posted by Tom
2013-10-25

Thanks for the info. I'm convinced that the problem is json_decode. OK, here is a solution.
Open web/include/CJson.inc.php. Replace line 33-35
... Read More
Posted by Eric
2013-10-24

I agree with Anthony, good script. My setup is local (XAMPP). After entering all own info I get the Paypal sandbox to work fine but the Checkout simulator returns 'IPN handler did not return array:'. ... Read More
Posted by Tom
2013-10-24

Hi Eric, Would you tell me your PHP version? ( I'm suspecting that it is related to the version incompatibilities of a particular PHP function, "json_decode" )
Posted by Sean
2013-10-24

Wow, your truly a life saver, thanks bro, your the man.
Posted by Tom
2013-10-24

You are welcome :)
Posted by Sean
2013-10-24

Wonderful, thanks for your help. Would like to throw in another request though if its not too much trouble. Is it possible to hide text for the passwords being inputted? And is it possible to get rid ... Read More
Posted by Tom
2013-10-24

>Is it possible to hide text for the passwords being inputted?

Yes, Open login.html and
Replace
<input name='password' value=''/>
with
<input type='password' name='password' value=''/>

>is it ... Read More
Posted by Sean
2013-10-24

Hey tom, I would like to commend you on the work your doing here, very fantastic stuff.
Anyway I used the protect html script to create private work folders for a few of my colleagues, and it seemed ... Read More
Posted by Tom
2013-10-24

Hi Sean, here is a solution.
Open _protect_.php and find this line:
define( 'KEY_LOGGED_IN', '_logged_in_' );
Append " . __FILE__" to _logged_in_ like shown below
... Read More
Posted by rajeev
2013-10-22

thanking you sir
Posted by Tom
2013-10-23

You are welcome!
Posted by Russia
2013-10-22

Strange, but helped save in UTF-8 without BOM. But thanks anyway! I loved your script and its simplicity, you done!
Posted by Tom
2013-10-22

Yes, that's the way to go!
Posted by Russia
2013-10-22

How to get to understand the Russian letters? Please tell me the solution.
Posted by Tom
2013-10-22

Hi,

>How to get to understand the Russian letters? Please tell me the solution.

Just type Russian in poll templates and save it in UTF-8!
Posted by Ron
2013-10-22

Ajax Likes-Dislikes Counter

Thanks for the super fast reply. I'll see what I can do. I appreciate the help and the free script!! Thanks man.
Posted by Tom
2013-10-22

My pleasure!
Posted by rajeev
2013-10-21

thanking you sir its working..i have small doubt sir how to add the page.. i mean when staff was click on the editable option the page was empty displayed. i need one text message are display on that ... Read More
Posted by Tom
2013-10-22

OK, then use this instead:
if ( !$this->sys->IsAdmin() )
{
echo "You have No Rights on the Editable ption";
exit;
}
Posted by Ron
2013-10-21

Ajax Likes-Dislikes Counter

Is there a way to use this script in a template? I have it working but every ad page created from the template has the same # of votes. I am not a strong coder. Thanks
Posted by Tom
2013-10-22

Yes, you can templatize it. But you still have to assign an unique "tid" to the tid attribute in the template.
To do so, put something like this in your template.
... Read More
Posted by Peter
2013-10-21

Is it possible to add fileupload under the addnew/edit template? so i can uploade for each address?
Posted by Tom
2013-10-21

Hi, if you mean it is possible by just adding a file upload input box to the template, no, it's not enough. You need to write back end code to process incoming files. There is an example ... Read More
Posted by rajeev
2013-10-20

Thank you for reply sir..when staff was login in to the form.they can editing contacts.How can i disable editing option.
Posted by Tom
2013-10-21

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

Greetings Tom,

What are the administrator's privileges in config admin inc? What wille happen to a poll if I type 'NONE'?
Posted by Tom
2013-10-19

Hi Sylvia, the administrator's privileges applys to the "Clear IP & Cookie block" button. "None" means that no one can clear IP & Cookie block.
Posted by Orhan Sadik
2013-10-19

Hi Tom,

Thank you for everthings. I disabled editing addresses. But I want the page to appear as following link. How can I do it?

http://www.phpkobo.com/scripts/AB201-117/web/guest/index.php
Posted by Tom
2013-10-19

To change the appearance of page, please edit the template. The template for the address search page is "web/staff/tpl.addresses.search.inc.php" Sometimes, you have to dig into some of "include" ... Read More
Posted by Ramil
2013-10-19

Hello, Tom.
I apologize for the English. Google translator.
A great script, but have a question.
How to vote on several items at the same time?
For example, on the website: ... Read More
Posted by Tom
2013-10-19

Hi, a demo for multiple selection poll is included in the zip package. The folder name is "demo-multi-selections" Check it out!
Posted by Orhan Sadik
2013-10-19

Hi Tom,

Thanks for your answer. I made it. Visitors can see address without loging in. But they can editing address. How can I disable editing address for visitors?
Posted by Tom
2013-10-19

Hi Orhan
Open "web/staff/app/cls_ps_addresses.inc.php" and
put "exit;" after the "case 'edit_inp':" line like
case 'edit_inp': exit;
Do the same for "case 'edit_done':" line.
That should ... Read More
Posted by rajeev
2013-10-18

Dear sir
Thank you so much for your script..i have used in ur script..its working successfull..the main problem is i want to add the another user how to add sir..in the same way when user enter the ... Read More
Posted by Tom
2013-10-19

Hi, rajeev
To add a new user,
Click "Staff" from the top menu
Click "Add New" button
Fill out the form
Click "Save"
Posted by Orhan Sadik
2013-10-18

Hi,

I have installed addressbook 1.18 script. How can I access guest visitor without loging in?
Posted by Tom
2013-10-18

Hi, open web/staff/app/cls_sys_base.inc.php and replace $spec_sys_base array with the following:
$spec_sys_base = array(
XA_CLASS=>'cls_sys_base',
XA_DEFAULT_PAGESET=>'addresses',
);
Now, ... Read More
Posted by Sid
2013-10-17

I installed this program I have one of those free hosting services which couldn't get the email to work so I commented everything out in the email config, still getting the same error messages ... Read More
Posted by Tom
2013-10-18

Hi, Sid

>so I commented everything out in the email config

Please don't comment them out. You need to set them up.
At least, you need to configure "Hostname", "From", and "To."
For more detail, ... Read More
Posted by Anthony
2013-10-17

Great script, works perfectly, easy set up.
Posted by Tom
2013-10-17

Thanks for your nice comment!
Posted by WhiteFolwer
2013-10-17

Thanks for your explain and reply ,BUT , why doesn't require database ?
how can I change these information in database ?
And I want one of these Voting system how can I do this ?!
My site have a ... Read More
Posted by Tom
2013-10-17

>how can I change these information in database ?

OK, this addin may help you.
http://www.phpkobo.com/ajax_poll.php#Ajax-Poll-Script-Saving-vote-counts-to-MySQL

>My site have a registration I ... Read More
Posted by Kris
2013-10-15

Hi Tom,
Thank you for the quick answer !
The solution is very easy. I love your script !!!
Posted by Tom
2013-10-15

You are welcome! :-)
Posted by Kris
2013-10-15

Hello,
I try to insert 2 multiple choice polls on the same page, but as i am totally noob in php i don't know how to do...
I am a pethotel owner, I'd like to ask my customers what kind of pet they ... Read More
Posted by Tom
2013-10-15

Hi, Kris

>I suppose i have to give different name to each poll

That's right.

>if yes where to do ?

In the "web" folder, you see many folders whose names start with "demo-..." Those folder names ... Read More
Posted by Mark
2013-10-12

Hi
Please, check: http://f3.s.qip.ru/zuH5XpgX.png
for short urls need "http".
Posted by Tom
2013-10-12

Hi, Mark. Please enter "http://a01.com" in the long-url input box. The url should start with "http://"
Posted by mohan
2013-10-12

i want include the another folder, like .. footer only i want insert pls help me to correct
Posted by Tom
2013-10-12

Um...I'm not sure what you meant by "include another folder" Would you clarify it?
Posted by mohan
2013-10-12

It does not seem that this folder was placed inside of "; echo "Ajax Poll Script!"; exit; } include( dirname(PATH_TCLASS) . "/app." . BASE_TCLASS . "/cp.inc.php" ); class CIndexPage extends CSystem { ... Read More
Posted by Tom
2013-10-12

Looks like the web server is not executing the code as PHP but just outputting the code as a text to the browser. Did you just start using a new web server? Try simple php code like
<?php echo ... Read More
Posted by Bob Sorenson
2013-10-08

The script is still not loading.
I have a dedicated managed server with Hostdime. I have asked tech support to help.
Here is a copy of their last email:
The field display_errors is turned-on and ... Read More
Posted by Tom
2013-10-09

Hi, Bob
I PMed you.
Posted by Silviu
2013-10-08

I have not expressed correctly. I wanted to insert javascript code when creating advertisements. but I solved. Now if I insert css code "<style type="text/css">" is loaded in backend/admin panel
Posted by Tom
2013-10-08

OK!
Posted by Silviu
2013-10-08

Hi, I want to use as ads a javascript code, I tryed to create a new add and in edit area I paste the code, but seems that not working. how can I display javascript ads using this Text Ad Script ?
Posted by Tom
2013-10-08

Hi, probably you didn't customize image path in the code:

"http://www.mydomain.com/(path-to-pic1)",
"http://www.mydomain.com/(path-to-pic2)",
"http://www.mydomain.com/(path-to-pic3)"
Posted by sammy
2013-10-05

i am getting the Strict Standard warnings
Strict Standards: Declaration of COutString::Render() should be compatible with COutObject::Render() in C:\Program ... Read More
Posted by Tom
2013-10-06

Hi, Sammy. It seemed that the error_reporting command was ignored in your php environment. Try this. Open web/staff/index.php and replace
error_reporting( E_ALL & ~E_DEPRECATED & ~E_STRICT );
... Read More
Posted by Kelly
2013-10-02

Hello i'm very pleased with this script but ... :-)
The voters can click on the button Clear Ip & Cookie Blocks. I don't wan't that they can click on it because they could vote again. How do i change ... Read More
Posted by Tom
2013-10-02

Hi, Kelly! The button is for testing purpose only. You are supposed to remove it for production use.
Posted by Bob Sorenson
2013-10-01

This looks like a great script!

I am having trouble installing it. I edited config.db.inc.php with my database config. I uploaded the script to the root of my website /public_html/web. Changed the ... Read More
Posted by Tom
2013-10-01

Hi, Bob. The problem is most likely file permissions. First, you need to see the error message. The reason why you get a blank page is because your php is configured not to show error messages in ... Read More