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 : March 2014
Posted by Jamie
2014-03-31

This is a wonderful script. Thank you very much Tom. Your instructions were also very easy to follow :-)
Posted by Jamie
2014-03-31

This script worked awesome but I switched to the admin version which works great too. Thank you tom. Do you by any chance have a comment box script like the one on this page?
Posted by Jonnel
2014-03-31

Hi Tom, I created two Address Books with different fields and database, my question is would it be possible to merge the two using the same logins? or rather make a link on the menu pointing to ... Read More
Posted by Tom
2014-03-31

Hi Jonnel

>would it be possible to merge the two using the same logins?

It's possible if you put both of them in the same database. To put them in the same database, first you need to rename ... Read More
Posted by Ani
2014-03-31

Hello Tom ,
how do i check if cookie exist first on page load, and if cookies exist if the user has voted do not display the .ajax-poll-btn-vote just the view button.
Thank you.
Posted by Tom
2014-03-31

Hi Ani,

Sorry, the script doesn't have the feature, yet. You just have to dig into the code and modify it.
Posted by Emilio
2014-03-31

Nothing Tom! The same situation.
Posted by Tom
2014-03-31

I PMed you.
Posted by Mac
2014-03-31

Hi Tom,
how can i add a new user type?
Thanks,
Posted by Tom
2014-03-31

Hi Mac,
Sorry, theres isn't easy way to add a new user type. It's one of things I have to add in the next version!
Posted by Emilio
2014-03-30

Hi Tom,
I have the same problem with Carine (first you see an “ERROR {"cmd":"load","html": …“and after refresh all going fine). I host the script to 2 deferences hosted companies and in the ... Read More
Posted by Tom
2014-03-30

OK, try this. Open web/conn/index.php and find the following line:
error_reporting( 22527 );
Change 22527 to 0 like
error_reporting( 0 );
Let's see how it goes
Posted by Ryan Smith
2014-03-29

Tom- That did not solve the problem. That actually made it worse. I shortened the width and it discombobulated them even more. I like the page length now. The text inside "Search Criteria" is very ... Read More
Posted by Tom
2014-03-30

>The text inside "Search Criteria" is very large

Now I see what you mean. Then you can make the font size small. Enclose the search criteria table with <div id='search-criteria'>... </div>, then put ... Read More
Posted by Ryan Smith
2014-03-29

Hello Tom. Is there a way to insert something into the code somewhere to reduce the size of the search page. Every computer I log into the search boxes are very large and discombobulated. I am ... Read More
Posted by Tom
2014-03-29

Hi Ryan,

>the search boxes are very large and discombobulated.

Is it because the page always stretches to the browser width? If so, maybe you can fix the width of the search page by specifing ... Read More
Posted by nur
2014-03-28

can you help me?thats for rotates the pictures, i just want to ask,i want rotate image from database..can you teach me how to call from database?
Posted by Tom
2014-03-29

Hi, Sorry, Text Ad doesn't store images. what you saw on the page is just an example for running javascript in an ad.
Posted by Leo
2014-03-28

? what's that? are you have see my link (picture) in my last submit https://lh4.googleusercontent.com/--ASkezbu9tc/UzXU1pu97QI/AAAAAAAAAhg/tsfnVkwIoc0/w1107-h603-no/example.png ?
Posted by Tom
2014-03-29

Yes, I checked your pic. You want to erase your email and put a logo, right? I may be repeating myself but they have nothing to do to with the script. So i gave you a link to the information you are ... Read More
Posted by Leo
2014-03-28

Hallo Tom, Me Again... becaue the last question. why it shows the e-mail adress left top.? here a screenshot ... Read More
Posted by Tom
2014-03-28

Hi Leo, this article may help.
http://www.visser.com.au/blog/adding-your-business-logo-to-paypal-checkout/
Posted by Dino
2014-03-28

Hello, great script.
I have the same issue how Ervis, i cant click in the radio button. On name it works and check the button.
Posted by Tom
2014-03-28

Hi Dino,
OK, try this. Open web/js/ajax_poll.js in a text editor and comment out the line 275 like this
//e.preventDefault();
There are many "e.preventDefault();" in the script so be careful. ... Read More
Posted by Ervis
2014-03-27

Hi Tom,
Can you tell me how to fix this problem: When i click to the radio button it cannot be selected, i mean inside the radio circle. Outside it works perfectly.
Thanks
Posted by Tom
2014-03-27

Hi Ervis,

>When i click to the radio button it cannot be selected,

mmmm, I can't confirm it. would you tell me your browser type?
Posted by Ani
2014-03-22

Hi Tom ,
Thank you for replying.I realized for to edit the result style.My problem now is when i try to get the file demo.hml outside the folder demo and rename it to index.html it gives me a lot of ... Read More
Posted by Tom
2014-03-22

Hi, Ani

>i've updated the css and js links but the main problem is that it doesn counts the votes anymore and percentages.

It should work. The only cause I can think of is a wrong path to css/js ... Read More
Posted by Edgar
2014-03-21

and this script reset the cookie automatic for 12 hours?
Posted by Tom
2014-03-22

Hi,

>this script reset the cookie automatic for 12 hours?

No, I wonder how you got "12 hours" thing.
Posted by Evan Ramge
2014-03-20

Hey Tom! Thanks again for helping me with the return results part below. I am still struggling especially since I am new to PHP with having select results show a red value instead of the standard ... Read More
Posted by Tom
2014-03-21

Hi, this is not something I can write the step-by-step instruction about without coding and testing. So, I'll write an outline of procedures. First, You need to obtain the text you entered in the ... Read More
Posted by Ani
2014-03-19

Hello Tom ,
how can i change the result style., i mean after clicking view button to restyle width height and color.
thank you.
Posted by Tom
2014-03-19

Hello Ani,

>after clicking view button to restyle width height and color.

Unfortunately, you can't. Ajax Poll DX uses the same html for both front and results page, so they must be the same. You ... Read More
Posted by Evan Ramge
2014-03-18

Hi Tom- I was wondering if you are able to have the search field blank instead of showing everyone in the database. I would rather it show 0 people until we search for a person in the database and it ... Read More
Posted by Tom
2014-03-18

Hi, Evan,

>would rather it show 0 people until we search for a person in the database and it returns results.

OK, Here is a solution:

(Step 1) Open web/staff/app/cls_ps_(table-name).inc.php in a ... Read More
Posted by Steve
2014-03-17

Tom:

Thanks for the tip re: adding a hidden input. Actually, I'm creating a new field, not replicating or repurposing an existing field. Tried your suggestion, and all the fields seem to be in the ... Read More
Posted by Tom
2014-03-18

Hi, the procedures you described are correct but then nobody's perfect, you could have made a typo. I recommend you do one at a time. First, add a regular text field and test it. After making sure ... Read More
Posted by Eric
2014-03-17

Great job Tom!
Consider add reporting in pdf format?
Posted by Tom
2014-03-17

Hi Eric, I think pdf is a good idea. I'll go csv export first and then add pdf next. Thanks for your suggestion!
Posted by Mac
2014-03-17

Hi Tom
Thanks for This greet work
I want to remove (add new ) and (Delete) buttons from the non admin staff.
Posted by Tom
2014-03-17

Hi Mac
If you just want to remove the buttons, you can do so in the template, web/staff/tpl.(table-name).search.inc.php. But removing buttons does not mean disabling it. Before editing the template, ... Read More
Posted by Avi
2014-03-16

You are great for releasing this.
I am a begginer with PHP and need a leading management system.
It lacks a few features like exporting to Excell / CSV and a limited permissions user, but no ... Read More
Posted by Tom
2014-03-16

Hi Avi, Thank you for your suggestions! :)
Posted by Amol
2014-03-15

How to resolve this error that I mentioned in previous comment
Posted by Tom
2014-03-15

Hi Amol,

The error on "CIPBlock.inc.php on line 38" indicates that the script couldn't get the exclusive permission to write on a data file. Something else is locking up the data file. Did you open ... Read More
Posted by Amol
2014-03-15

C:\Inetpub\vhosts\mystateinfo.com\httpdocs\AP201-205\AP201-205\web\app.ajax-poll\include\CIPBlock.inc.php on line 38
Posted by nonull
2014-03-14

i'm just wondering if it's possible to change order of menus. is it...?
Posted by Tom
2014-03-14

Hi, If you mean menu items in the top menu, then you can edit them in web/staff/include/df.top.menu.inc.php.
Posted by Dan
2014-03-13

Any news about Quick Feedback available to public?
Posted by Tom
2014-03-14

Sorry, it's still not ready for publishing.
Posted by Johnny
2014-03-12

Hi, great script!

I was wondering if it would be easy enough to just list the ads down a page instead of using cells.

I'd like to incorporate it into an existing web page.

Good job! Thanks.
Posted by Tom
2014-03-13

Hi Johnny,

>I was wondering if it would be easy enough to just list the ads down a page instead of using cells.

Probably, it won't take much time to modify it that way. Go ahead and try!
Posted by Leo
2014-03-12

ah, okey now i check it :) but my another question is.. at the step 10? when i forward to the paypal pay site, there show the e-mail adress left top.? can i hide the e-mail adress?
Posted by Tom
2014-03-13

> can i hide the e-mail adress?

The script has no control over it. I think if you have a business type account, you can change it. ( But don't take my word for it. You should ask paypal people )
Posted by Leo
2014-03-12

?.. in the step 8 ? >> First, create a product ID ( or item_number in PayPal terminology ) for your new e-product. << need i make that in the paypal account? where can i make that ID or item_number ... Read More
Posted by Tom
2014-03-13

>where can i make that ID or item_number of the product in Paypal

You just make up one! You don't need to register it to PayPal.
Posted by Leo
2014-03-12

Hello Tom :) Me again... something is not so clear... in the paypal terminology.. is that the Create an Invoice? because i have one done but the status is in Draft? so is that the right way.? Best. ... Read More
Posted by Tom
2014-03-12

>is that the Create an Invoice?

Honestly, I have no idea about this terminology. I don't think there is any connection with Buy Now Button, though.
Posted by Brandon Smith
2014-03-11

Thanks Tom for the information. I would like this pop-up menu to be on the main bar that can be scrolled on the main search page. I have looked over many of the J-Query Popup menu's and I really ... Read More
Posted by Tom
2014-03-12

Hi, I think the subject is a bit too specific to discuss here. Would you PM me at "tom[ at ]phpkobo.com"?
Posted by Brandon Smith
2014-03-10

Thanks Tom- That was really helpful! I appreciate you adding the information on what to do since I am relatively new to PHP. However, I do not know where I would add any of the Javascript to your ... Read More
Posted by Tom
2014-03-11

>Would I have to add it each time for each new entry?

No. You need to add it only once. Since you want to have a popup in edit page, you put the javascript on ... Read More
Posted by Michael Montana
2014-03-10

Tom,
We thank you so much for your outstanding work!
I have learned quite a bit from your code!
We use URL Shortening Script! Works Perfectly!

Your polls will be a super valuable asset to our ... Read More
Posted by Tom
2014-03-10

You are welcome :)
Posted by Leo Phillips
2014-03-10

I appreciate this application. I have installed it for use on three different websites. I note one minor issue in the installation instructions: One of the configuration files is said to have .inc ... Read More
Posted by Tom
2014-03-10

Thanks for reporting!
Posted by Leo
2014-03-10

Hello Tom. Now, fixed that with the mail accounts. ! now my other question is.. can i hide the Checkout Simulator with a .htaccess file so that the Checkout Simulator is close and not open anymore?
Posted by Tom
2014-03-10

If you don't need Checkout simulator, you can remove the Checkout simulator folder. Or you can rename it. The step 9 of the installation guide explains about renaming Checkout simulator.
Posted by Mark
2014-03-10

Thank you VERY much for this. This is wonderful! Keep up the good work!
Posted by Tom
2014-03-10

You are welcome!
Posted by Leo
2014-03-09

Hello Tom. Thanks much for your Answer. but, my e-mail adress from the paypal is gmail. > SIM_SELLER_EMAIL is an email address that you registered to PayPal.
so need i change the e-mail adress from ... Read More
Posted by Brandon Smith (Question 2)
2014-03-09

Our second question deals with warrants. If we have a warrant faxed to our office we try to input the information into the system so if an officer searches a name it will show they have outstanding ... Read More
Posted by Tom
2014-03-10

In the template, web/staff/tpl.(table-name).search.inc.php, you can find many placeholders like <?php echo $hm->zb('rs:def:(--field-name--)'); ?>. The part, $hm->zb('rs:def:(--field-name--)') returns ... Read More
Posted by Brandon Smith
2014-03-09

Okay Tom I will post the question here. It might be a tricky one and I'm not sure quite how to do this. Any help would be greatly appreciated. The police department loves your system as a in-house ... Read More
Posted by Tom
2014-03-10

>we can provide a "Click here for notes" link and a separate pop-up box would come up with all the notes?

You can do it with javascript. There are many jQuery popup libraries out there, which allow ... Read More
Posted by ajay
2014-03-08

Hi,

This is an amazing script...thanks a lot for your help. I installed the script succesfully but am getting the below error when I login as admin.

"Warning: date(): It is not safe to rely on the ... Read More
Posted by Tom
2014-03-09

Hi ajay,

>Warning: date(): It is not safe to rely on the system's timezone settings.

I think the timezone settings is missing in your php.ini.
This article exlains how to fix the timezone ... Read More
Posted by Ben
2014-03-08

Great!
Posted by Tom
2014-03-08

Thanks!
Posted by Steve
2014-03-07

Any suggestions for how to add a hidden input to the form to pass on a set value?

I experimented by adding standard HTML code for a hidden input, and referencing the new field in the database I ... Read More
Posted by Tom
2014-03-08

Hi Steve,

I assume you are converting a text input box to a hidden input. Let's use "first_name" as an example. Find the following php tag in form/tpl.(table-name).reg_page2.inc.php
... Read More
Posted by Marco
2014-03-07

Hi Tom!

Is it possible to modify the script in order to not show results? TY!
Posted by Tom
2014-03-08

Hi Marco,

OK, I'll explain how to hide the poll result. Open web/js/ajax_poll.js and find the following lines:
	displayStats : function()
{

Insert "$(this.domobj).hide();" below the code. The ... Read More
Posted by Delio
2014-03-07

Great!

Thank you Tom!!!
Posted by Tom
2014-03-08

You are welcome :)
Posted by Delio
2014-03-06

Hi tom, first of all thank you for your great job!

I have a question, can I avoid to show results? I need to store the answer and use the 'vote' button to go to another webpage. Is it possible? ... Read More
Posted by Tom
2014-03-06

Hi Delio,

>I need to store the answer and use the 'vote' button to go to another webpage.

Open web/(poll-name)/tpl.result.inc.php and put the following code at the top of the file.
... Read More
Posted by Greg
2014-03-06

Hey Tom,

Great job! Adress book script work awesome on one of my hosts, but on second (after I login) if I click on any link (like add record for example) i'm getting redirected back to login page, ... Read More
Posted by Tom
2014-03-06

Hi Greg,

>i'm getting redirected back to login page

Your PHP session is not working, so the script can't remember your login status. That's why you got kicked out of the admin panel. Please ask ... Read More
Posted by Brandon Smith
2014-03-05

Tom, do you have an email I could possibly talk to you with? I didn't know if the admin one in the script was to you. Thanks!
Posted by Tom
2014-03-06

Hi, Please post your questions here, so people can share it. Thanks!
Posted by Cindy
2014-03-05

Hi Tom, can you point me to the files to move the scroll bar on the search results to the top rather than the bottom of the results. Thank you
Posted by Tom
2014-03-05

Hi, The script doesn't concern it. Browsers display the scroll bar on the bottom automatically whenever it's needed.
Posted by Brandon Smith
2014-03-04

Thank you Tom! That did work however, whenever they click on "edit" for example it takes them to a white blank page. Is there a way for it to take them to the error message for example: "Unauthorized ... Read More
Posted by Tom
2014-03-05

You can show the edit button to only administrators. To do so, open the template ( [b]web/staff/tpl.(--table-name--).search.inc.php ) and enclose the button with php commands like this:
[code]<?php ... Read More
Posted by Brandon Smith
2014-03-02

Hi Tom! I was wondering if you could answer a question for me. I work for a police department who is using this on their website as a database for phone numbers and records of people. I am helping ... Read More
Posted by Tom
2014-03-04

Hi Brandon,

To prevent non-administrators from adding/editing/deleting records, open web/staff/app/cls_ps_(--table-name--).inc.php and add
if ( !$this->sys->IsAdmin() ) exit;
after
... Read More