Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Google Rich Snippets

 
Reply
   X-Cart forums > Forum archive > Using X-Cart in my project > Need advice
 
Thread Tools
  #21  
Old 06-25-2012, 06:00 AM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default Re: Google Rich Snippets

Hi Phil

Could you just advise please in regards to your instructions -
12) FINALLY, in /comments/includes/commentics.php

Replace around line 150...

mysql_close($connection); //close connection to database

However there isn't anything like this, ive pasted part of the code below from line 70 to 151 can you advise please.....Thanks

/************************************************** ************* ERROR REPORTING ************************************************** ******/
cmtx_error_reporting($cmtx_path . "includes/logs/errors.log");
/************************************************** ************************************************** ************************************/


/************************************************** ************* ADMIN DETECTION ************************************************** ******/
$cmtx_is_admin = cmtx_is_administrator(); //detect admin
/************************************************** ************************************************** ************************************/


/************************************************** ************* FORM VALUES ************************************************** **********/
cmtx_load_form_login(); //load login values
cmtx_load_form_defaults(); //load default values
cmtx_load_form_cookie(); //load cookie values
/************************************************** ************************************************** ************************************/


/************************************************** ************* MAINTENANCE (1/2) ************************************************** ****/
if (!cmtx_in_maintenance()) { //if not in maintenance
/************************************************** ************************************************** ************************************/


/************************************************** ************* PAGE ID ************************************************** **************/
$cmtx_page_id = cmtx_validate_page_id(); //validate Page ID
/************************************************** ************************************************** ************************************/


/************************************************** ************* TIME ZONE ************************************************** ************/
@date_default_timezone_set($cmtx_settings->time_zone); //set time zone PHP
@mysql_query("SET time_zone = " . $cmtx_settings->time_zone); //set time zone DB
/************************************************** ************************************************** ************************************/


/************************************************** ************* UNBAN USER ************************************************** ***********/
cmtx_unban_user(); //unban user if requested by admin
/************************************************** ************************************************** ************************************/


/************************************************** ************* LOAD PROCESSOR ************************************************** *******/
require_once $cmtx_path . "includes/app/processor.php"; //load file for form processor
/************************************************** ************************************************** ************************************/


/************************************************** ************* DISPLAY DATA ************************************************** *********/
if ($cmtx_settings->sort_order_parts == "1,2") {
require_once $cmtx_path . "includes/template/comments.php"; //display comments
echo "<div class='cmtx_height_for_divider'></div>"; //display divider
require_once $cmtx_path . "includes/template/form.php"; //display form
} else {
require_once $cmtx_path . "includes/template/form.php"; //display form
echo "<div class='cmtx_height_for_divider'></div>"; //display divider
require_once $cmtx_path . "includes/template/comments.php"; //display comments
}
/************************************************** ************************************************** ************************************/


/************************************************** ************* VIEWERS ************************************************** **************/
if ($cmtx_settings->viewers_enabled) { //if viewers feature is enabled
if (!$cmtx_is_admin) { cmtx_add_viewer(); } //add viewer if not administrator
}
/************************************************** ************************************************** ************************************/


/************************************************** ************* TASK SYSTEM ************************************************** **********/
require_once $cmtx_path . "includes/tasks/tasks.php"; //load task system
/************************************************** ************************************************** ************************************/


/************************************************** ************* MAINTENANCE (2/2) ************************************************** ****/
} //end of if-not-in-maintenance
/************************************************** ************************************************** ************************************/


/************************************************** ************* DATABASE (2/2) ************************************************** *******/
cmtx_reconnect_db(); //reconnect database connection
} //end of is-database-connection-okay
/************************************************** ************************************************** ************************************/


/************************************************** ************* VARIABLES (2/2) ************************************************** ******/
require_once $cmtx_path . "includes/variables/unset_variables.php"; //unset variables for page
/************************************************** ************************************************** ************************************/
?>
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
  #22  
Old 06-25-2012, 07:16 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 13,813
 

Default Re: Google Rich Snippets

You have this in the wrong thread

There is new version of cosmetics and Phil is updating his mode to match. There are more changes not only this
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #23  
Old 06-25-2012, 08:05 AM
  a1deano's Avatar 
a1deano a1deano is offline
 

X-Adept
  
Join Date: Oct 2004
Posts: 745
 

Default Re: Google Rich Snippets

Thanks for letting me know Steve ive found the other thread...Cheers
__________________
--------------
V4.6.1
xcartmods - Reboot Template

X-cart - X-PDF

Altered Cart - Checkout one
Reply With Quote
  #24  
Old 10-02-2012, 01:53 AM
  rocky's Avatar 
rocky rocky is offline
 

X-Cart team
  
Join Date: Jul 2005
Posts: 715
 

Default Re: Google Rich Snippets

Hi, Everyone!

The new Rich Google Search Results module has been recently released:

http://forum.x-cart.com/showthread.php?t=65018

I thought you might be interested in it.
__________________
Alexander Diatchkov
Head of Technical Support Department

Official X-Cart Support at:
http://www.x-cart.com/technical-support.html
Reply With Quote

The following user thanks rocky for this useful post:
elmirage001 (10-02-2012)
  #25  
Old 10-02-2012, 06:45 AM
 
elmirage001 elmirage001 is offline
 

X-Wizard
  
Join Date: Apr 2007
Posts: 1,676
 

Default Re: Google Rich Snippets

Hi Rocky, I saw this a day or so ago and I'm definitely going to purchase after I upgrade 4.5.2 to 4.5.3 when the upgrade packs are available. Even though I've already modded my 4.4.5 site for Rich Snippets I like using x-cart modules when I can for both compatibility and future upgrade ease. I have a question but I'll ask in your announcement post. Thank you!
__________________
X-Cart GoldPlus v4.7.12 | reBOOT | Live
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) | Dev
  • XCARTMODS.CO.UK | reBOOT | reBOOT (reDUX) |
  • Total Server Solutions Hosting | Linux | PHP v7.2.30 | MySQL v5.6.47 |
Reply With Quote

The following user thanks elmirage001 for this useful post:
rocky (10-02-2012)
  #26  
Old 10-08-2012, 06:33 PM
 
gotpump gotpump is offline
 

eXpert
  
Join Date: Aug 2008
Posts: 272
 

Default Re: Google Rich Snippets

What kind of effect will this have if a website is currently running CDSEO Pro?
__________________
X-Cart DB Version: 5
Reply With Quote
  #27  
Old 10-08-2012, 10:22 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 13,813
 

Default Re: Google Rich Snippets

Some read - http://www.seomoz.org/blog/a-visual-guide-to-rich-snippets
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #28  
Old 10-09-2012, 04:04 AM
  rocky's Avatar 
rocky rocky is offline
 

X-Cart team
  
Join Date: Jul 2005
Posts: 715
 

Default Re: Google Rich Snippets

Quote:
Originally Posted by gotpump
What kind of effect will this have if a website is currently running CDSEO Pro?


It has not been tested with CDSEO Pro yet, but frankly speaking I don't see a reason for their contradiction.
__________________
Alexander Diatchkov
Head of Technical Support Department

Official X-Cart Support at:
http://www.x-cart.com/technical-support.html
Reply With Quote
  #29  
Old 10-09-2012, 12:48 PM
 
JacksmithxD JacksmithxD is offline
 

X-Adept
  
Join Date: Oct 2010
Posts: 400
 

Default Re: Google Rich Snippets

Quote:
Originally Posted by rocky
It has not been tested with CDSEO Pro yet, but frankly speaking I don't see a reason for their contradiction.

Works, just to confirm.
__________________
Xcart 4.5.2
Reply With Quote

The following user thanks JacksmithxD for this useful post:
rocky (10-09-2012)
  #30  
Old 10-29-2012, 05:49 AM
 
thebluedoorboutique thebluedoorboutique is offline
 

Senior Member
  
Join Date: May 2011
Posts: 132
 

Default Re: Google Rich Snippets

Anyone else using this? Developed the code for it, other than X-Cart's mod? I'm interested in this for our store.
__________________
X-Cart Classic 4.4.X
Reply With Quote
Reply
   X-Cart forums > Forum archive > Using X-Cart in my project > Need advice


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:25 PM.

   

 
X-Cart forums © 2001-2020