BLUE CRYSTAL GROUP

Contents

Images in listing. 1

Modification highlights. 1

Installation. 2

Contacting blue crystal group. 4

 

Images in listing

 

  

Mod version:  PMD PRO 1.1-8 & up

 

Release date:  11-25-08

Author:  Blue Crystal group

 

Note:  You can not re-sell this modification or use it as a base for other modifications and sell it.

 

Terms:  You are free to modify this code for your own purposes. You may install this mod on one instance of phpmydirectory for which you hold a valid phpmydirectory license. 

 

DISCLAIMER:  Blue Crystal does not warrant the merchantability of this modification, and all liability is limited to any amount paid. Installation of this modification is done at your own risk. Backup your scripts before making changes to them.  Also backup your configuration files.

 

Modification highlights

 

 

Displays a number of images from the Image gallery on the main listing. 

Selected Images are displayed in a random order.

The number of images can be set up on the configuration screen by the administrator

The selected images portion has a link to all images

 

Installation

 

Please read the entire set of instructions before doing the install.

 

Please read the entire set of instructions before doing the install.

 

 

The following is a list of the modified code:

 

·         listing.php

·         templates/default/listing_default.tpl

 

 

Download your listing.php file

Look for the lines:

 

if($listing['www_allow'] AND !empty($listing['www'])) {

        if ($_GET['action'] == 'print') {

             $template_content->set('www',$listing['www']);

   

Insert the following lines before the above listed lines

 

/**** BCG LOADER STARTS HERE ****/

/*********************************/

/*********************************/

$filename='';

$methodName='require_once';

require(PMDROOT.'/bcg/loader.php');

/*********************************/

// YOU MUST HAVE ONLY ONE LOADER PER SCRIPT.  IT WILL LOAD ALL BCG MODS 

//**** BCG LOADER ENDS HERE ****/

 

 

 

Download  template/yourtemplate/listing_default.tpl

 

And insert these at the end of the file

 

<!-- BCG products in view starts -->

<?php echo $table_list_images;?>

<!-- BCG products in view ends -->

 

and insert the section on your own copy of the file

 

Upload the changed files

 

And upload the bcg folder to the root directory ( it will be next to cp, members, etc)

 

Keep in mind that I fyou create your template file for listing (i.e. template_1.tpl) you must update that file too

 

Execute the install script with

http://www.your_domain.com/bcg_install_images.php

 

 

CONFIGURATION.

The number of images that are displayed is teh same as the number of listings per page

End of installation

 

 

Contacting Blue Crystal Group

 

 

Should you have any issues with the software, questions or concerns, the quickest way to contact us is by means of our Forum

http://bluecrystalgroup.com/support/forum

 

or by e-mail to support@bluecrystalgroup.com

 

We’ll get back to you inside a business day.