Jump to content

roban

Member
  • Posts

    3,238
  • Joined

  • Last visited

Everything posted by roban

  1. This has been asked and answered many time. A search for 'linking logo' would have netted you: http://www.cubecart.com/site/forums/index....c=18350&hl=
  2. All the information you'll need can be found by doing a search. www.cubecart.org
  3. A simple way of doing this is with a meta redirect. Put this code between the head tags of your index.tpl: <meta http-equiv="refresh" content="0;url=http://www.yourdomain.com" /> http://www.yourdomain.com is replaced with the url to be directed to and the content= number is the number of seconds to wait before the redirect. In this case set to '0' for immediate redirect.
  4. Root field will be / (just the forward slash)
  5. First of all your store must be in the root directory of your server. Now it resides in a folder called 'shop' so you must move it. To get rid of the index.php part, Markscarts has created a tutorial on this called 'Change Links' and you should be able to find it at cubecart.org. If not, PM me.
  6. =============================================================================== FILE: skins/{yourskin}/styleTemplates/content/viewProd.tpl =============================================================================== +++-------------------------------------------------------------------------- FIND this code +++-------------------------------------------------------------------------- <!-- BEGIN: prod_true --> <strong>{LANG_DIR_LOC}</strong> {CURRENT_DIR} +++-------------------------------------------------------------------------- INSERT this block AFTER it +++-------------------------------------------------------------------------- <p class="notify">{CART_FEEDBACK}</p> =============================================================================== @@@ END @@@ Save and close skins/{yourskin}/styleTemplates/content/viewProd.tpl =============================================================================== =============================================================================== FILE: includes/content/viewProd.inc.php =============================================================================== +++-------------------------------------------------------------------------- FIND this line of code around line 68 +++-------------------------------------------------------------------------- $view_prod->assign("TXT_PRODTITLE",validHTML($prodArray[0]['name'])); $view_prod->assign("TXT_DESCRIPTION",$prodArray[0]['description']); +++-------------------------------------------------------------------------- INSERT this block AFTER it +++-------------------------------------------------------------------------- //Cart Feedback if (isset($_GET['added'])){ $view_prod->assign("CART_FEEDBACK",$lang['front']['viewProd']['cart_notify']); } else { $view_prod->assign("CART_FEEDBACK", ""); } //Cart Feedback =============================================================================== @@@ END @@@ Save and close includes/content/viewProd.inc.php =============================================================================== =============================================================================== FILE: includes/boxes/shoppingCart.inc.php =============================================================================== +++-------------------------------------------------------------------------- FIND this line of code around line 77 +++-------------------------------------------------------------------------- // prevents refresh adding extras to the basket header("Location: index.php?act=viewProd&productId=".$_POST['add']); exit; +++-------------------------------------------------------------------------- REPLACE WITH +++-------------------------------------------------------------------------- // prevents refresh adding extras to the basket header("Location: index.php?act=viewProd&productId=".$_POST['add']."&added=true"); exit; =============================================================================== @@@ END @@@ Save and close includes/boxes/shoppingCart.inc.php =============================================================================== =============================================================================== FILE: language/en/lang.inc.php =============================================================================== +++-------------------------------------------------------------------------- FIND this code +++-------------------------------------------------------------------------- 'prod_opts' => "Product Options:", 'prod_not_found' => "That product could not be found.", +++-------------------------------------------------------------------------- INSERT this line AFTER it +++-------------------------------------------------------------------------- 'cart_notify' => "Item successfully added to your cart", =============================================================================== Save and close language/en/lang.inc.php
  7. This has been covered many times and a search would have brought you to the answer. Here it is again. To change your password: If you have managed to forget your admin password and for some reason you cannot get the "Reset Password" function to work please follow this process: 1. Access your database using a tool such as phpMyAdmin and browser the table CubeCart_admin_users. It should contain the list of administrator accounts to access the admin interface of your store. 2. We need to now create a file to show us what the md5 hash of the password you require should be. Using notepad make a file with content: <?php echo md5("password"); ?> 3. Replace password with your desired password. 4. Save this file as md5.php and upload it to your webserver. 5. Execute this in your browser and copy the output. 6. Edit the admin user with phpMyAdmin and paste this output into their password field. If done successfully then you should now be able to access the admin interface of your store. To change your email address you can either do it directly in your database or use the editconf.php. Copy the following text to notepad and save it as editconf.php. Upload to your server and execute it as in www.yoursite.com/editconf.php <?php /* +-------------------------------------------------------------------------- | CubeCart v3.0.3 | ======================================== | by Alistair Brookbanks | CubeCart is a Trade Mark of Devellion Limited | &copy; 2005 Devellion Limited | Devellion Limited, | Westfield Lodge, | Westland Green, | Little Hadham, | Nr Ware, HERTS. | SG11 2AL | UNITED KINGDOM | http://www.devellion.com | UK Private Limited Company No. 5323904 | ======================================== | Web: http://www.cubecart.com | Date: Thursday, 25 August 2005 | Email: info (at) cubecart (dot) com | License Type: CubeCart is NOT Open Source Software and Limitations Apply | Licence Info: http://www.cubecart.com/site/faq/license.php +-------------------------------------------------------------------------- | editconf.php | ======================================== | Config recovery tool +-------------------------------------------------------------------------- */ if(!isset($_GET['c'])){ header("Location: editconf.php?c=config"); exit; } include_once("includes/ini.inc.php"); include_once("includes/global.inc.php"); include_once("classes/db.inc.php"); $db = new db(); include_once("includes/functions.inc.php"); include_once("admin/includes/functions.inc.php"); if(isset($_POST['data'])){ //$config = fetchDbConfig($_GET['c']); $msg = writeDbConf($_POST['data'],$_GET['c'], $config, $_GET['c']); } $config = fetchDbConfig($_GET['c']); ?> <!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> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>CubeCart - Config Recovery Tool</title> <script language="JavaScript" type="text/JavaScript"> <!-- function MM_jumpMenu(targ,selObj,restore){ //v3.0 eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); if (restore) selObj.selectedIndex=0; } //--> </script> <style type="text/css"> <!-- body,td,th { font-family: Verdana, Arial, Helvetica, sans-serif; } .code { font-family: "Courier New", Courier, mono; color: #000000; } .redText {color: #FF0000} --> </style></head> <body> <span class="redText"><?php if(isset($msg)) { echo $msg; } ?></span> <h1>Config Recovery Tool</h1> <p><strong>Devellion Ltd & CubeCart provide this script without any warranty of any kind and by proceeding you are doing so entirely at your own risk.</strong></p> <p>This tool is designed to edit your config file if for some reason your store becomes corrupt due to incorrectly changing your settings.</p> <p>Example: If you have switched on SSL mode and your store has become broken. Select "config" from the dropdown menu below and set $config['ssl'] to 0. No test to see if your store has been fixed and if so delete this file from the server. </p> <p class="redText"><strong>IMPORTANT:</strong> You must NOT leave this file on your server as it is a VERY high security risk!</p> <p><a href="index.php" target="_blank">View Store Front</a> - (Opens in New Window)<br /> <a href="admin/" target="_blank">View Store Admin</a> - (Opens in New Window)</p> <p>Select Config to edit: <?php $query = "SELECT * FROM ".$glob['dbprefix']."CubeCart_config"; $results = $db->select($query); ?> <select name="menu1" onchange="MM_jumpMenu('parent',this,0)"> <?php for ($i=0; $i<count($results); $i++){ ?> <option value="?c=<?php echo $results[$i]['name']; ?>" <?php if($_GET['c']==$results[$i]['name']) { echo "selected=\"selected\""; } ?>><?php echo $results[$i]['name']; ?></option> <?php } ?> </select> </p> <form name="form1" id="form1" method="post" action="editconf.php?c=<?php echo $_GET['c']; ?>"> <table border="1" cellspacing="0" cellpadding="2"> <tr> <td><strong>Variable name: </strong></td> <td><strong>Current Value: </strong></td> <td><strong>New Value: </strong></td> </tr> <?php foreach($config as $key => $value) { ?> <tr> <td class="code"><?php echo "\$".$_GET['c']."['".$key."']"; ?></td> <td class="code"><?php echo $value; ?></td> <td> <textarea name="data[<?php echo $key; ?>]" cols="30" rows="2"><?php echo $value; ?></textarea> </td> </tr> <?php } ?> <tr> <td> </td> <td> </td> <td><input type="submit" name="Submit" value="Update Config" /></td> </tr> </table> </form> </body> </html>
  8. roban

    Wicked Orleans

    Integrating with Joomla gives more possibilities. Interesting idea. I might have just gone with Virtumart.
  9. Obviously you have a path problem in includes/global.inc. Check your data.
  10. You may have some path problems. Please post contents of your includes/global.inc file
  11. You don't have permission to access / on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
  12. No. You must only leave the copyright and the 'Powered By Cube Cart' in the URL. You can change anything else you like.
  13. roban

    SSL

    The SSL (and TLS) protocol is the Web standard for encrypting communications between users and SSL (secure sockets layer) e-commerce sites. Data sent via an SSL connection is protected by encryption, a mechanism that prevents eavesdropping and tampering with any transmitted data. SSL provides businesses and consumers with the confidence that private data sent to a Web site, such as credit card numbers, are kept confidential. Web server certificates (also known as secure server certificates or SSL certificates) are required to initialize an SSL session. Customers know when they have an SSL session with a website when their browser displays the little gold padlock and the address bar begins with a https rather than http. SSL certificates can be used on webservers for Internet security and mailservers such as imap, pop3 and smtp for mail collection / sending security. Your SSL session begins when you place an order.
  14. topHeader is a jpg, not a gif unless you've changed it in layout.css Make sure there is no 'repeat' statement in layout.css #topHeader { text-align: right; height: 116px; margin-bottom: 10px; padding-right: 9px; padding-top: 0px; background-image: url(../styleImages/backgrounds/topHeader.jpg); border-bottom: 1px solid #000000;
  15. Nope I don't know about that one. Call Bluehost support, they are good about stuff like that.
  16. For your Site Doc text look in style.css: .txtSiteDocs, a.txtSiteDocs { font-family: Arial, Helvetica, sans-serif; font-size: 70%; color: #0B4492; text-decoration:none; } a.txtSiteDocs:hover { font-family: Arial, Helvetica, sans-serif; font-size: 70%; color: #000000; text-decoration:none; As for your seal you might consider a side box by adding the following code to index.tpl where you'd like it to appear: <div class="boxTitleRight">Your head-line</div> <div class="boxContentLeft"> Use the code you wish to add for your seal <border="0" > </div> <div class="boxFootRight"> </div>
  17. roban

    OneGiraffe.com

    Double cheers for a terrific look on a Cube Cart site. It's refreshing to see and a benchmark for all. Nicely done.
  18. I include a 30 day support package. If they want to hire me as Web Master after the 30 days, I charge on a semi-annual basis for technical support. Any changes to the site are charged at an hourly rate.
  19. It's hard to say because your site is off line but if I had to venture a guess it would be your header height or a missing <div>
  20. roban

    sorry to say 2

    Doggies? Let's step outside and settle this mano a mano.
  21. Your store seems to be working correctly. I would lighten things up a bit. I have a hard time reading your store's name in the header and your site docs are dark blue so as far as I am concerned they don't exist. I would also work on the content of your About Us page. Make it more personal. Otherwise good job.
  22. Is this a dedicated certificate or shared? If dedicated please tell us how you have it configured in your admin control panel and what is your url.
×
×
  • Create New...