User Feedback Archive : June 2014

Posted by Serg
2014-06-30

How to allow staffs to view his/her own records only, but admins to view all records?
Posted by Michal
2014-06-30

Hi,

i have a question, how make related dropdown list like:

color >> red / blue / etc
size >> 40 / 41 / 42

One dropdown list as parent, so when we choose first type then apperas other details to ... Read More
Posted by Tom
2014-06-30

You can do it with javascript. When you add the javascript to the template, probably you need to assign an id to select the element. To assign an ID , add "ZB_ATTR" to the placeholder like this.

... Read More
Posted by Kelton Joyner
2014-06-29

Tom.
I copied the staff folder and renamed it guest then made the changes suggested to S. Samatha on 2014-04-27.
Next, replace $spec_sys_base with the following code:

$spec_sys_base = array( ... Read More
Posted by Tom
2014-06-30

>click on Logout I get this error

It makes sense. You already removed the login/logoff feature, so the logoff link shouldn't work. Please remove the top menu from the template.

To prevent ... Read More
Posted by Gyorgy
2014-06-27

Hello! Your script is great, I've downloaded and I'm using it. I would like have a user category with read-only privileges, please let me know if it is very difficult do achieve that
Posted by Tom
2014-06-30

Hi, I'm sorry I don't understand what you meant by "a user category with read-only privileges" Would you give me an exmaple?
Posted by Aries
2014-06-26

Can this be used on blogger post?
Posted by Tom
2014-06-30

>Can this be used on blogger post?

Yes as long as your blog allows you to run javascript. I think you can run it in Wordpress.
Posted by Michael
2014-06-24

I've tested. With our mail server (Surgemail) if I disable the need for angle brackets emails are sent normally however they are only deliverable locally with our mail server's clients. Any attempt ... Read More
Posted by Tom
2014-06-24

So, you just need to put angle brackets around an email address? You can do it by replacing a line in web/codelib/slib/CEmail.inc.php. Open the file and and find the following code:
... Read More
Posted by Frederic Rau
2014-06-24

Thank you ! This script is what i'm looking for.

Is it possible to not display the result after voting ?
Posted by Tom
2014-06-24

Hi Frederic,

>Is it possible to not display the result after voting ?

Sorry, the script doesn't have the option. You need to modify the code.
Posted by Nidhin
2014-06-23

Thanks for your previous support.
Also I want to know How to disable edit option in Staffs. Only admin can add/edit. For Staffs, read only right is more.
Posted by Tom
2014-06-24

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
case 'edit_inp':
The ... Read More
Posted by Nidhin
2014-06-21

Hi,
How to change its template? Thanks in advance
Posted by Tom
2014-06-21

Hi Nidhin,

>How to change its template?

Open web/staff/ folder and you see files whose name begins with tpl. They are the template files for the admin panel. Feel free to edit them.
Posted by Michael
2014-06-20

Hi Tom.

I have modified your form and would like to know if it is possible to send a copy of the inquiry form to the person filling it out. I noticed different settings including Cc: Bcc: etc.
That ... Read More
Posted by Tom
2014-06-21

>if it is possible to send a copy of the inquiry form to the person filling it out.

Open web/form/app/cls_ps_forms.inc.php and find the following lines
... Read More
Posted by charles
2014-06-19

I like the multi delete capability and want to add to this menu bar if possible. Do you have any code allowing for updating fields in selected records from this bar using a field with a Submit button ... Read More
Posted by Tom
2014-06-20

>Do you have any code allowing for updating fields in selected records from this bar

Sorry, I don't have it.
Posted by Luna
2014-06-19

Hello. Nice script!
I'd like to add music from soundcloud as poll options. Is it possible? I've tried to add the URL but it was a stupid attempt. It simply showed the URL as poll option. How can I ... Read More
Posted by Tom
2014-06-20

Hi Luna,

>I'd like to add music from soundcloud as poll options

Souldcloud gives you two options for sharing sounds. One is a link. The other one is an iframe. Choose the iframe to display the ... Read More
Posted by VGRs1
2014-06-17

Dear Tom
Thank you very much for your immediate response . It was very helpful. It is perfect .

Keep up good work
Posted by Tom
2014-06-17

All right!
Posted by Arie
2014-06-16

Hi Tom,

Thanks for the response. I located the file and the array and made the suggested changes but get this error:

Critical Error : Page Not Found ( poll/_def/ )

My original array: ... Read More
Posted by Tom
2014-06-16

You don't need /_def, so the result should look like

$spec_sys_base = array(
XA_CLASS=>'cls_sys_base',
XA_DEFAULT_PAGESET=>'poll'
);
Posted by Michael
2014-06-16

Duh !!! Thanks.
Posted by Tom
2014-06-16

You are welcome!
Posted by VGRs1
2014-06-16

Hello again Tom
unluckily the solution didn't work , or maybe it's my mistake , (although it's very easy just a copy) . Is there any other "trick" ?

Thank's again.


(I did this
Try this. Open ... Read More
Posted by Tom
2014-06-16

OK then probably some other php files in the same web site are overwriting php session files.
You can have a separete session folder for the script so other scripts won't overwrite it.
To do so, ... Read More
Posted by pttla
2014-06-16

Hello,Tom
I try change the language
but
"Please fill out the form below and click the Create Short URL button."
and
"* Long URL :"
I don't find that in "res.eng.app.inc.php" and ... Read More
Posted by Tom
2014-06-16

Oh yes, there is more resouce file. Here you go:
web/url/app/res.eng.inc.php
Posted by pttla
2014-06-15

I will try that..
BY the way
can you add Captcha when make a new short URL
Thank you very much
Posted by Tahmidul
2014-06-15

i want to publish my address book for public visitors,,,
how can i do that???
Posted by Tom
2014-06-16

Hi Tahmidul,
The first step is copy the staff folder and rename it as something like "guest" The "guest" folder now works exactly the same way as "staff" folder does. Feel free to remove anything you ... Read More
Posted by Sal
2014-06-15

If you can make the modification for me I will pay you for your time..

Please contact me at my mail for details.. thank you
Posted by Raman
2014-06-14

Installed several of your scripts without any trouble whatsoever. Your coding skills are of the very highest order, Tom. Many thanks.
Posted by Tom
2014-06-16

You are welcome!
Posted by Raman
2014-06-14

How can anyone not be friendly to a generous person like you, Tom? May you prosper! The downloads came through without hiccups, thanks.
Posted by Michael
2014-06-14

The original snippet is ...

Hi Nick

>can I skip send email page in guest access?

Open web/form/app/cls_ps_(tablename).inc.php and find the following lines:
//-- [BEGIN] Send email
if ( ... Read More
Posted by Tom
2014-06-14

//-- [BEGIN] Send email
//if ( !$this->SendRegEmail( $def,
// $this->fs_reg_page3,
// $this->config_email
//) ) break;
//-- [END] Send email

I'm sure this should disable sending emails. ... Read More
Posted by Sal
2014-06-14

How can the "Clear IP & Cookie Blocks" button, be modified to substract the old vote as well (and not only delete the cookie and ip)? so someone can reset his vote, by choosing something else?

that ... Read More
Posted by Tom
2014-06-14

Hi Sal,

>How can the "Clear IP & Cookie Blocks" button, be modified to substract the old vote as well (and not only delete the cookie and ip)? so someone can reset his vote, by choosing something ... Read More
Posted by Arie
2014-06-14

Hi Tom,

This is truly an awesome script. It has saved me mountains of headaches, thanks a lot.

Is there a way of removing the login screen or bypassing the security? I am using this script in ... Read More
Posted by Tom
2014-06-14

Hi Arie,

>Is there a way of removing the login screen or bypassing the security?

Open web/staff/app/cls_sys_base.inc.php, and find $spec_sys_base array. It looks like this:
... Read More
Posted by hello
2014-06-13

ok Tom,
please try to find an ad rotator for me.

thanks.
L.James
Posted by Tom
2014-06-14

Well, I don't know what kind of ad rotator you are looking for. Did you try googling it? You would see a lot of products there. Some have a lot of features but a high learning curve, others are ... Read More
Posted by pttla
2014-06-13

Hello,I have use your URL Shortening script make website
http://ptt.la/
it's my website
but now I have two question
how can I change language to chinese
what's data I modify
and If I want ... Read More
Posted by Tom
2014-06-14

Hi pttia,

>how can I change language to chinese what's data I modify

The following files list the texts used in the script:

web/codelib/cfg/res.eng.sys.inc.php
... Read More
Posted by Sonu
2014-06-13

Hii Tom, is there any option to add date calender in search box and in ADD NEW field to sorting addresses by date
Posted by Tom
2014-06-13

Hi Sonu,

I assume you already know how to setup the date calender on a regular input box like this.
<input id='some-id' type='text' name='some-name' />
To use the date calendar on an input ... Read More
Posted by Daniel
2014-06-13

Another thing, is there a way to switch an input box to a drop down and allow multiple choices?
Posted by Tom
2014-06-13

Hi, you can convert an text input box to a dropdown but it's not multiple choice. To have a multiple choice list box, you need to write new code & add it to the script, which takes some effort. If ... Read More
Posted by hello
2014-06-12

Hello,
How are you doing? am called James, i have created a small social community network with oxwall software but it doesnot have a proper ad plugin, can you please help me if you can get me a ... Read More
Posted by Tom
2014-06-13

>hope for your positive reply.

I'll try...but then I just don't have script that rotates banners. Unless there are special requirements for displaying banner, you can use pre-written scripts ... Read More
Posted by Michael
2014-06-12

Hi Tom,
I tried your suggestion to Nick regarding email, but i get an error stating: 501 Command MAIL expecting FROM:

I changed the defaults for accessing smtp and the email settings but can't avoid ... Read More
Posted by Tom
2014-06-13

Hi,

>I tried your suggestion to Nick regarding email

Sorry, I'm not sure which suggestion you referring to. Would you copy&paste the suggestion you are refefring to, so I can refresh my memory?
Posted by Daniel
2014-06-12

Hi there, is there any way to add dropdown list and have have it to allow multiple choices and have php treat it like an array of strings like selection1; selection2; etc ...?
Posted by Tom
2014-06-13

>is there any way to add dropdown list and have have it to allow multiple choices

No, the script doesn't have the field like that. The closest one is just adding many checkboxes.
Posted by VGRs1
2014-06-12

Hi Tom
sorry to bother you again . I would like to help me in this :
I connect to my base and it goes grate but if I don't make a "movement" for a while the session close and I must reconnect. Is ... Read More
Posted by Tom
2014-06-12

Try this. Open web/staff/index.php in a text editor and put this line on the top.
ini_set('session.gc_maxlifetime', 24*60*60);
It should be after <?php, so the result should look like this
... Read More
Posted by Rahul
2014-06-12

I am a Web Designer and i want to make website like OLX or Craigslist.com.
is it possible by using this script
Posted by Tom
2014-06-12

Hi Rahul, AdFreely is for adding a quick ad feature to existing websites, not really meant for making a stand-alone classified website like craigslist.com.
Posted by Raman
2014-06-11

Download links for all the scripts fail with this error ---
Parse error: syntax error, unexpected T_CLASS, expecting T_FUNCTION in /home/phpkobo/public_html/oosite/sys/CDownload.class.php on line 509 ... Read More
Posted by Tom
2014-06-11

Thaaaaanks! It's nice to have friendly visitors like you ;)
Posted by Michael
2014-06-11

Thank you for all your help.
Posted by Tom
2014-06-11

You are welcome : )
Posted by Michael
2014-06-10

Hi Tom, I have a solution to the being able to view and search but not add or delete.

Can we not disable the display of the add and delete buttons, and leave it at that for now ? Thats seems to be ... Read More
Posted by Tom
2014-06-10

You can remove any buttons from the template, web/staff/tpl.(table-name).search.inc.php but some people know how to execute the backend code without buttons. So, you should first disable the backend ... Read More
Posted by Michael
2014-06-10

Hi Tom I don't know if this is a dumb question but here goes.

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the ... Read More
Posted by Tom
2014-06-10

Open web/staff/index.php and put date_default_timezone_set function on the top like this:
<?php
date_default_timezone_set('Europe/Paris');
You need to replace 'Europe/Paris' with your time zone. ... Read More
Posted by Michael
2014-06-10

Wonderful. Wonderful. Wonderful.
After some brief sorting out of things its up and running.
Posted by Tom
2014-06-10

Great!
Posted by Eddie
2014-06-09

Hi,

Is it possible to use the script with my website style?
i.e. inside a div container of a file which is outside the script’s ‘web’ directory.

Posted by Tom
2014-06-10

Hi Eddie,

>inside a div container of a file which is outside the script’s ‘web’ directory.

Lead Follow-Up Database Script isn't an Ajax, so there isn't anything you can put inside a div. Maybe you ... Read More
Posted by Michael
2014-06-09

Hello Tom. Do you have an ETA for the patch to PHP 5.5.x for the install app. I would really like to try your apps but can't it installed. Any tips or guidance ?
Posted by Tom
2014-06-09

Hi Michael,

>Do you have an ETA for the patch to PHP 5.5.x for the install app.

Open web/install/app/lib.inc.php in a text editor and find the following code ( near the top of the file )
... Read More
Posted by Benny
2014-06-08

hi tom
how to recovery forgot pasword
to login as staff


Thanks

benny
Posted by Tom
2014-06-09

Hi Benny,
If you lost the administrator's password, you can reset it to "password" To do so, copy the code below, save it as reset.php in the web folder.
... Read More
Posted by Nick
2014-06-05

can I skip send email page in guest access?
Posted by Tom
2014-06-06

Hi Nick,

>can I skip send email page in guest access?

Open web/form/app/cls_ps_(tablename).inc.php and find the following lines:
... Read More
Posted by Nick
2014-06-05

Hi Tom,

how can I logon user page without any password?
Posted by giampiero
2014-06-04

by entering my email the result does not change. Php version 5.3
url simulator: http://astroamore2000.altervista.org/web/sim/index.php
Posted by Tom
2014-06-05

I PMed you.
Posted by Mike
2014-06-04

Hi Tom,

I would like to thank you for your professional support.
The function below that you provided me, works well in the program.

Thanks again,
Posted by Tom
2014-06-04

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

This is a reply to charles

To allow users to view his/her own records only, insert these lines to web/staff/app/cls_ps_addresses.inc.php

... Read More
Posted by Mike
2014-06-03

correction for previous comment.

instead:
When echo $rs['ad_type'] ,I get: S1001

should be:
When echo $rs['color'] ,I get: S1001

sorry...
Posted by Tom
2014-06-03

You can use this function to get the corresponding value of a particular key.
... Read More
Posted by Mike
2014-06-03

Hi Tom,

Thanks for returning to me.
In regards to your answer below, no error message appears.

The following is my dropdown listbox:
web/config/config.selection.inc.php

define( 'SEL_AD_COLOR', " ... Read More
Posted by giampiero
2014-06-03

I solved the two previous problems a) commenting on web / sim / include / CCheckoutSimulator.inc.php and comment out line 110 to suppress the error message b) on altervista.org I set the "connect ... Read More
Posted by Tom
2014-06-03

Would you send me the url of your checkout simulator?
Posted by giampiero
2014-06-03

do you know if the script works with host altervista.org
Posted by Tom
2014-06-03

Sorry, have never used the host.
Posted by David
2014-06-03

Hi Tom your work is totally assume. I have one seemly dumb question. To give my form a little more pizzazz I would like to change the background colour to a jpg file. I've look in the css file but I ... Read More
Posted by Tom
2014-06-03

Hi David,
>I would like to change the background colour to a jpg file.

If I remember correctly, I used only png and gif files. You can find png/gif files in web/staff/images folder.
Posted by giampiero
2014-06-03

ERROR:
IPN handler did not return array:

help
Posted by Tom
2014-06-03

Hi giampiero, Would you tell me your PHP version and the OS type of your web server( Windows, Linux )?
Posted by Michael
2014-06-02

Yes, I also get the same error on that page.

I will have a look at the configuration of IE and see if that resolves the issue....

Thanks for such a fine script, I really love it!
Posted by Tom
2014-06-03

OK
Posted by Mike
2014-06-02

Hi Tom,

Great script, perfect code!

I have added two keys to ‘AdFreely’ script.
‘age’ is Integer (CVInteger) and ‘color’ is Selection-Box (CVSelection).
Both are functioning well in admin panel ... Read More
Posted by Tom
2014-06-03

Tom@@@2189
>Data from ‘color’ is not showing up on ‘ad’ in visitor page (it shows ‘0’).

If it shows up in the admin panel, then it should show up in the visitor page, too.
Maybe typo? Check the ... Read More
Posted by John
2014-06-02

Hi Tom

Error message is as follows:

IPN Result:

ERROR:

http response error:
Posted by Tom
2014-06-02

The error message means that the IPN handler didn't return anything. It could be due to a wrong path to the checkout simulator. Did you move the simulator folder? If you move it, you need to update ... Read More