Jump to content

ltaa09

Members
  • Content count

    32
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    A J
  1. Hey Rainer, its me again. I just am wondering how do i know what version im on and if im up to date or not? Thanks
  2. Ok, my problem is when i go to the shop on my iPhone 5 or any other mobile device it doesn't redirect to the mobile site I have to click on the link to mobile version. And I have updated the php device list thing.
  3. Thank you very much! I would love to thank you for all the help you have provided me and also i would like to thank you for providing this wonderful add on and all of your hard work! :thumbsup:
  4. Because it doesnt redirect it for iPhone 5, iphone 4, samsung GS3, as far as ive tried every device doesn't do it
  5. Ok thanks! So hopefully this is my last question, i think! Im trying to get the main website to redirect to the mobile when a mobile is detected, i looked it up and found this code: <br /> <?php<br /> function callback($buffer) {<br /> if ($_SERVER['SERVER_NAME'] == 'mobile.myawesomeblog.com') {<br /> $buffer = str_replace('http://www.myawesomeblog.com', 'http://mobile.myawesomeblog.com', $buffer);<br /> $buffer = preg_replace('/[\n\r\t]+/', '', $buffer);<br /> $buffer = preg_replace('/\s{2,}/', ' ', $buffer);<br /> $buffer = preg_replace('/(<a[^>]*>)(<img[^>]+alt=")([^"]*)("[^>]*>)(<\/a>)/i', '$1$3$5<br />', $buffer);<br /> $buffer = preg_replace('/(<link[^>]+rel="[^"]*stylesheet"[^>]*>|<img[^>]*>|style="[^"]*")|<script[^>]*>.*?<\/script>|<style[^>]*>.*?<\/style>|<!--.*?-->/i', '', $buffer);<br /> $buffer = preg_replace('/<\/head>/i', '<meta name="robots" content="noindex, nofollow"></head>', $buffer);<br /> }<br /> return $buffer;<br /> }<br /> ob_start("callback");<br /> ?> Now would i just add this to the end of my application top file, thats what im assuming
  6. Lol i just went through the trouble to figure it out then i get it come back here and see that you edited it lol, but thank you! Now i have ONE FINAL question how can i enable my discount code add on to work with the mobile version?
  7. Ok so i went and fixed the problems i was having, it looks great now! Expect why is the options to select on the left side and not centrally aligned on the desktop one
  8. Why do i see this at the bottom of the classic view style: TEXT_SHOW_VIEW_1TEXT_CLASSIC_VIEW And in the mobile version i see this at the top: TEXT_SHOW_VIEW_1Desktop Version And this at the bottom: TEXT_SHOW_VIEW_1Desktop Version - Mobile VersionTEXT_SHOW_VIEW_2 Now i did change the name of the classic and mobile but it was like that before i did. Also on the home screen of the mobile version i see this: TEXT_WELCOME I know that i was supposed to change this in the installation but the line of code wasn't in there when i was going through the set up. Im sorry for still annoying you with my problem!
  9. Just to clarify do you mean when you said that this line needs to be removed: define('DIR_FS_MOBILE', '/home/content/04/9587604/html/buy/catalog/mobile/'); Did you mean to put this there: define('DIR_FS_CATALOG', '/home/content/04/9587604/html/buy/catalog/');
  10. Sorry about that im just stressed out with this ive been working on this store for mobile optimization so it will work better with the mobile version of the actual site, and ive been working on it since last night and pretty much all day today.
  11. <?php define('HTTP_SERVER', 'http://buy.myurl.net'); define('HTTPS_SERVER', 'http://buy.myurl.net'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); //BOF Mobile define('HTTP_MOBILE_SERVER', HTTP_SERVER); define('HTTPS_MOBILE_SERVER', HTTPS_SERVER); define('DIR_WS_HTTP_MOBILE', '/mobile/'); define('DIR_WS_HTTPS_MOBILE', '/mobile/'); (defined('MOBILE_SESSION') ? define('DIR_WS_IMAGES', HTTP_SERVER . DIR_WS_HTTP_CATALOG . 'images/') : define('DIR_WS_IMAGES', 'images/')); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); (defined('MOBILE_SESSION') ? define('DIR_WS_INCLUDES', '../includes/') : define('DIR_WS_INCLUDES', 'includes/')); //EOF Mobile define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); //BOF Mobile define('DIR_MOBILE_IMAGES', 'images/'); define('DIR_MOBILE_INCLUDES','includes/'); define('DIR_MOBILE_MODULES', DIR_MOBILE_INCLUDES . 'modules/'); define('DIR_MOBILE_CLASSES', DIR_MOBILE_INCLUDES . 'classes/'); define('DIR_MOBILE_HEADERS', DIR_MOBILE_INCLUDES . 'headers/'); define('DIR_MOBILE_LANGUAGES', DIR_MOBILE_INCLUDES . 'languages/'); define('DIR_FS_MOBILE', '/web/htdocs/www.mystoreurl.com/home/mobile/'); //EOF Mobile (defined('MOBILE_SESSION') ? define('DIR_WS_DOWNLOAD_PUBLIC', HTTP_SERVER . DIR_WS_HTTP_CATALOG . 'pub/') : define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/')); define('DIR_FS_CATALOG', '/home/content/04/9587604/html/buy/catalog/'); define('DIR_FS_MOBILE', DIR_FS_CATALOG . 'mobile/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
  12. No i just deleted the URL so its not shown to the public on these forums
  13. Ok here is the config file: <?php define('HTTP_SERVER', 'http://buy..net'); define('HTTPS_SERVER', 'http://buy..net'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/content/04/9587604/html/buy/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
×