Jump to content

xprez

Members
  • Posts

    14
  • Joined

  • Last visited

    Never

Everything posted by xprez

  1. Hi again. First you should try to modify the code in red cart.php to point to the path to your store(try both full or just http): [code]define('VIEW_CART_URL', SELF . '?' . CMD_PARAM . '=' . VIEW_CART_CMD); define('UPDATE_CART_URL', SELF . '?' . CMD_PARAM . '=' . CART_UPDATE_CMD); [color=red]define('STORE_MAIN_URL', SELF)[/color];[/code] Then try out the cart function. If it does`nt work, and if ALL of the code required to run Digishop is not to large, send ALL of it to my e-mail, then i can run it on my own server, much easier to check the code in progress. Best regards, webmaster@eivindkrey.com
  2. Hi. You could visit http://phpmychat.sourceforge.net/ That`s an nice chat-script.
  3. Hi. It would be easier if you included the "conf/paths.inc.php" - file. I think theres where the problem is.
  4. Hi. You can get a nice live chat script here: http://phpmychat.sourceforge.net/ Best of luck. ;)
  5. Hi. If i read the guide correct, than you need ActivePearl to make the installation work. If you have`nt installed it, you can get it here: http://www.activestate.com/store/freedownload.aspx?prdGuid=81fbce82-6bd5-49bc-a915-08d58c2648ca
  6. Hi. Below is the code for an simple registration form. You have to make changes to make it suite your needs. Hope it helps. ;) [code]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> </head> <body class="sub"> <form action="" method="post" name="form1" id="form1">   <table width="90%" border="0" cellpadding="8">     <tr>       <td colspan="3" class="HeaderColor">        <h4>Register</h4>      </td>     </tr>     <tr style="vertical-align: top">       <td style="text-align: right" class="LabelColor" nowrap="nowrap">         <label for="username"> User Name*</label>      </td>       <td colspan="2" class="TitleColor">         <input type="text" id="username" name="textfield" />         <br />        <span class="small">*Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.</span>      </td>     </tr>     <tr style="vertical-align: top">       <td style="text-align: right" class="LabelColor">         <label for="password"> Password</label>      </td>       <td colspan="2" class="TitleColor">        <input type="text" id="password" name="textfield2" />      </td>     </tr>     <tr style="vertical-align: top">       <td style="text-align: right" class="LabelColor">         <label for="confirmpassword"> Confirm<br />         Password*</label>      </td>       <td colspan="2" class="TitleColor">         <input type="text" id="confirmpassword" name="textfield3" />         <br />        <span class="small">* Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.</span>      </td>     </tr>     <tr style="vertical-align: top">       <td style="text-align: right" class="LabelColor">        Name      </td>       <td width="43%" class="TitleColor">         <label for="first">First: </label>        <input type="text" id="first" name="textfield4" />      </td>       <td width="46%" class="TitleColor">         <label for="last">Last: </label>        <input type="text" id="last" name="textfield5" />      </td>     </tr>     <tr style="vertical-align: top">       <td style="text-align: right" class="LabelColor">         <label for="email"> Email</label>      </td>       <td colspan="2" class="TitleColor">        <input type="text" id="email" name="textfield6" size="50" />      </td>     </tr>     <tr style="vertical-align: top">       <td style="text-align: right" class="LabelColor">        Gender      </td>       <td colspan="2">        <p class="TitleColor">           <label for="male">Male </label>           <input type="radio" id="male" name="radiobutton1" value="radiobutton" />           <label for="female">Female </label>           <input type="radio" id="female" name="radiobutton1" value="radiobutton" />         </p>      </td>     </tr>     <tr style="vertical-align: top">       <td style="text-align: right" class="LabelColor">        Birth Date      </td>       <td colspan="2">        <table border="0" cellspacing="2" cellpadding="0">           <tr style="text-align: left">             <td class="TitleColor">               <label for="month">MM </label>               <input type="text" id="month" name="textfield7" size="2" />            </td>             <td class="TitleColor">               <label for="day">DD </label>               <input type="text" id="day" name="textfield8" size="2" />            </td>             <td class="TitleColor">               <label for="year">YYYY </label>               <input type="text" id="year" name="textfield9" size="4" />            </td>           </tr>         </table>      </td>     </tr>     <tr style="vertical-align: top">       <td colspan="3">         <p class="StoryContentColor">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.<br />           <label for="yes1">Yes </label>           <input type="radio" id="yes1" name="radiobutton2" value="radiobutton" checked="checked" />           <br />           <label for="no1">&nbsp;No </label>           <input type="radio" id="no1" name="radiobutton2" value="radiobutton" />         </p>        <p class="StoryContentColor">Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. <br />           <label for="yes2">Yes </label>           <input type="radio" id="yes2" name="radiobutton3" value="radiobutton" checked="checked" />           <br />           <label for="no2">&nbsp;No </label>           <input type="radio" id="no2" name="radiobutton3" value="radiobutton" />         </p>      </td>     </tr>     <tr style="vertical-align: top" class="FooterColor">       <td colspan="3">         <input type="submit" name="SubmitName" value="Submit" />      </td>     </tr>   </table> </form> </body> </html> [/code]
  7. Hi. It`s a little difficult this one, but it would help if you posted partial or the whole code in the script. ;)
  8. It would be a great help if you posted partial or the whole script here. Not sure what to look for if i don`t see the script.;)
  9. Hi. It`s a little difficult to say what you should do with this problem, cause i don`t know what permissions you are allowed to set on your folders. I have looked over the tiny tool script, and if i read the script correct, you dont have to set chmod 777 on the folder. You could set chmod 755, and as low as 600 depending on what "user" has the ownership of the files. If you change the ownership to the user with highest access, then there should be no problem.
  10. Hi. Have you checked these pages? http://mamboserver.com/ http://forum.mamboserver.com/
  11. Hi. I have an ad-script, that creates ads in different categories, after you have registered as an user of the service. On the "index" - page it shows the number of ads in the categories in "()" after the category-name. But how do i get it to show the total number of ads in the categories AND subcategories in the same "()"? Here`s the code: [code]<?php include ("session.php"); $nav_section = "search"; include ("header.php"); [color=red]get_categories($_GET['cat_id']); get_ads_in_cat($_GET['cat_id'], "full", "");[/color] include ("footer.php"); ?>[/code] The code in red, are the functions getting the number of ads in that category, but what do i change to get the total in subcategories as well?
  12. Hi. If i read the error from mysql correct, than you have to check the db with phpmyadmin, to see if the tables in the db are what the scripts demands. i.e. if the script requires a table with the name "banner", and that table has 5 rows, check if the rows have any values or data in them. You will get that error if your db is not according to the scripts demand. You could try to delete the tables in the db, then consult your scripts innstall help files. If that does`nt work, try deleting the entire db and create it from scratch.
  13. Thank you for the help so far. I will try to implement the example you have given me. If not that works with my "special" - php script  ;D i will try the "third party script" section. ;) Thanks again. Great site by the way! Best regards
  14. Hi all. I have done some php scripting, but now i`m stuck! (newbie) I want this ad-script to show the amount of ads in each category on the front page, in "()" behind the category name, and that  part is working fine, but how do i get the scipt to get the amount of ads in the subcategories? Someone please help. Belowe is the code of the "index.php" page. The red txt is the part that`s working fine about getting the amount of ads in the main categories, but what about it do i have to change the include the amount of ads in subcategories? <?php include ("session.php"); $nav_section = "search"; include ("header.php"); [color=red]get_categories($_GET['cat_id']); get_ads_in_cat($_GET['cat_id'], "full", "");[/color] include ("footer.php"); ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.