| |||||||
| Register | Projects | FAQ | Members List | Mark Forums Read |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
review.php disable the following code by adding // infront of each line. // if (!($users_obj->GetUserAuthentication(0) == 0 || $users_obj->GetUserAuthentication() == 0)) { // $url = urlencode('http://' . $HTTP_SERVER_VARS["HTTP_HOST"] . $HTTP_SERVER_VARS["REQUEST_URI"]); // // if (substr($_SERVER["SERVER_SOFTWARE"], 0, 6) == "Apache") { // header ("Location: login.php?b=$url&f=1"); // } // else { // echo "<META HTTP-EQUIV='refresh' CONTENT='0;URL=login.php?b=$url&f=1'>"; // } // } Don't forget to change username variable. Frank |
| |||
| Code: Content visible to License Owner only. I found the other lines in register.php by my register.php does not have the first line you posted: // if (!($users_obj->GetUserAuthentication(0) == 0 || $users_obj->GetUserAuthentication() == 0)) { Also, I was unsure what you ment by "Don't forget to change username variable" any help appreciated! |
| |||
|
Why in register.php - search in review.php !!! The code I sent was from v3.3, but I'm nearly sure it must work also in 3.2 / 3.1 and you can also find it here in the forum. About username variable - in the template you show the username variable to show who wrote the review, but if there is no user you must change that field (if you show it). regards Frank |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| write a review without registering | Shophere | Tutorials, Hints & Tips | 7 | 02-26-2002 08:33 AM |
| My visitors can't write a review...? | Hart_House | v5.x | 0 | 02-13-2002 04:54 AM |