Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

IP in writing with Your name and Your email address


Salvo

Recommended Posts

Posted

Hi all,

 

Long title because I like to do something nice, good and useful...

 

I would like to use the products_reviews_right.php as follow:

 

anybody (not need to be customer or user to post a review about a product)..

I did this for that..

I commented the customer_id session to allow all to post...

 

now I need:

1- to take the posters IP address (just in case) (to be stored in a new field)

2- to allow them to enter name (field already in table)

3- to allow them to enter email (field to be created)

 

I thank you all for help..

 

I hope I made myself understood...

 

Salvo

Posted

IP address is available either in $_SERVER['REMOTE_ADDR'] (or maybe somewhere else if there is a proxy).

 

Add a hidden field to the form with tep_draw_hidden_field().

 

For the fields, duplicate the 'textarea' line:

 

<tr>

<td><?php echo tep_draw_textarea_field('review', 'soft', 60, 15);?></td>

</tr>

 

And change tep_draw_textarea_field() to tep_draw_input_field(). You'll find parameters in html_output.php.

Christian Lescuyer

Posted

Uh, perhaps it has changed in the post November releases but, I have the ability to allow guests to post reviews in the Admin.

 

Admin->Configuration->My Store->Allow Guest to Write Reviews, true or false.

Posted
Uh, perhaps it has changed in the post November releases but, I have the ability to allow guests to post reviews in the Admin.

 

Admin->Configuration->My Store->Allow Guest to Write Reviews, true or false.

I don't have it in admin. can someone explain how to add it?

 

Thanks

 

Salvo

Posted

Salvo,

 

I highly recommend the contribution. I forgot it was a contribution.....Sorry.

Posted

I think it either is in the latest CVS or will get included soon.

It was mentioned in one of the reports...

 

Mattice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

  • 1 month later...
Posted

Downloaded and installed this contrib. I did everything it said and I don't see anything in admin. Did I skip something perhaps?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...