Project Detail

Add 3 purchased mods to phpmydirectory  

Add 3 purchased mods to phpmydirectory is project number 363956
posted at Freelancer.com. Click here to post your own project.

 

| More Free Trial For New Buyers
 

Status:

Selected Providers: exitsol

Budget: $30-250

Created: 12/31/2008 at 12:04 EST

Bid Count: 1

Average Bid:
$ 40

01/01/2009 at 12:04 EST

Project Creator: tomcremer
Employer Rating: 10/1010/1010/1010/1010/1010/1010/1010/1010/1010/10 (12 reviews)

Bid On This Project
 

Description

I have 3 mods to install for my phpmydirectory website. I have purchased these and the directions are straight forward. I have the tabbed listings mod, the dynamic listings mod, the ratings mod. They all come with directions on how to install. I need someone who can do this today.
Thanks

Here are the directions for all 3 mods, the first is the ratings mod:

#1: Upload the modules folder and the ars.ajax.proc.php file to the main directory

#2: upload the CP/admin_edit_listing_ratings.php file to your cp directory

#3: Go to the admin panel and install new module via uploading the INSTALL_XML.xml file

#4: Apply code...
(code here)


Tabbed Listings v3.5

----------------------------------------------------------------

Install Instructions:

1. MAKE BACKUPS OF ALL FILES MODIFIED BEFORE CONTINUING!!! WE ARE NOT LIABLE FOR ANY PROBLEMS YOU MAY HAVE!

2. Upload the following files to your ROOT FOLDER (folder where defaults.php and defaults_setup.php are located):
files/tabs.php
files/tab_setup.php
files/tab_js.php


3. Upload the files in the /images/ folder to /template/[YOUR_TEMPLATE_NAME]/images folder:
images/shade.gif
images/shadeactive.gif

4. Upload the files in the /template/ folder to /template/[YOUR_TEMPLATE_NAME]/ folder, overwriting/replacing your existing ones:
template/listing_1.tpl
template/listing_2.tpl
template/listing_3.tpl
template/listing_4.tpl
template/listing_default.tpl


5. (not applicable, I am not installing the coupons module)

6. Follow the steps in Steps.txt (listed below)
Add the following line to your css.css file:

ul.shadetabs{padding: 3px 0; margin-left: 0; margin-top: 1px; margin-bottom: 0; font: bold 12px Verdana; list-style-type: none;ntext-align: left; }
ul.shadetabs li{display: inline; margin: none;}
ul.shadetabs li a{text-decoration: none; margin-right: 1px; border: 1px solid #778; color: #2d2b2b; background: white url('images/shade.gif') repeat-x top left;; padding-left:7px; padding-right:7px; padding-top:3px; padding-bottom:3px}
ul.shadetabs li a:visited{color: #2d2b2b;}
ul.shadetabs li a:hover{text-decoration: underline; color: #2d2b2b;}
ul.shadetabs li.selected{position: relative; top: 1px;}
ul.shadetabs li.selected a{ /*selected main tab style */
background-image: url('images/shadeactive.gif'); border-bottom-color: white}
ul.shadetabs li.selected a:hover{ /*selected main tab style */
text-decoration: none;}
.contentstyle{border: 1px solid gray; width: 100%; margin-bottom: 1em; padding: 10px;}
p.translation {margin-top: 10px;}
ul.shadetabs li {margin: 0; padding: 0; background: none;}
ul.address li a, ul.shadetabs li a {text-decoration: none;}
td.tab_menu_border { border-bottom : 1px solid #DADADA; border-left : 1px solid #DADADA; border-right : 1px solid #DADADA; border-top : 1px solid #DADADA;}


-------------------------------------------------------------------------


Add the following right above <?php echo $javascript; ?> in /template/YOUR_TEMPLATE_NAME/header.tpl:

<?php echo '<script language="JavaScript" src="'.BASE_URL.'/tab_js.php?pid='.$_GET[id].'"></script>'; ?>


-------------------------------------------------------------------------


Add the following to the very end of the first line inTEMPLATE/[YOUR_TEMPLATE_NAME]/BLOCKS/LISTING_QUICKLINKS.TPL file:

<? echo $no_records; ?>



-------------------------------------------------------------------------


Locate the following line in /LISTING.PHP

$meta_desc = $f['business_short'];


Add the following right below the above line:
include (PMDROOT."/tab_setup.php");


-------------------------------------------------------------------------

Dynamic Listings Order Sort (lite) v2.5

----------------------------------------------------------------

Package Contents:
Steps.php
Installation Instructions.txt

----------------------------------------------------------------

Install Instructions:

1. MAKE BACKUPS OF ALL FILES MODIFIED BEFORE CONTINUING!!!

2. Login to your admin control panel, click on the "Modules & Plugins" tree link in the left menu, click on "Modules", click "Add Module", browse for the install.xml file and then click "Submit" button.

The module is now installed, we HIGHLY recommend not modifying the plugins added automatically to the "Plugins" page.

2. Follow the steps in "Steps.txt" to complete installation.(below)

----------------------------------------------------------------

Open index.php and find the following line:
$r = $category_tree->getListings($_GET['id'],false, $page_start, $config['count_directory'],'membership DESC, firmname');

Replace this line with:
//$r = $category_tree->getListings($_GET['id'],false, $page_start, $config['count_directory'],'membership DESC, firmname');
$plugin = $db->GetRow('SELECT phpcode FROM '.T_PLUGINS.' WHERE eventname=\'index_sort1\''); if ($plugin[phpcode]) eval("$plugin[phpcode]");
$r = $category_tree->getListings($_GET['id'],false, $page_start, $config['count_directory'],$orderby);





Find the following line:
include (PMDROOT . "/includes/template_listing_results.php");

Add the following to the line directly above:
$plugin = $db->GetRow('SELECT phpcode FROM '.T_PLUGINS.' WHERE eventname=\'index_sort2\''); if ($plugin[phpcode]) eval("$plugin[phpcode]");



Find the following line:
$page_suffix = (MOD_REWRITE == 'YES') ? '#page.html' : '&page=#page';

Replace with:
// $page_suffix = (MOD_REWRITE == 'YES') ? '#page.html' : '&page=#page';
$page_suffix = (MOD_REWRITE == 'YES') ? '#page-'.$_GET[order].'.html' : '&page=#page&order='.$_GET[order];





Open search-all.php and find this line:

$search->useLocationText = $config['allow_loc_text'];



Add the following line below that line:

$plugin = $db->GetRow('SELECT phpcode FROM '.T_PLUGINS.' WHERE eventname=\'search_sort1\''); if ($plugin[phpcode]) eval("$plugin[phpcode]");


Find this line:

include (PMDROOT . "/includes/template_listing_results.php");



Add the following right above it:


$plugin = $db->GetRow('SELECT phpcode FROM '.T_PLUGINS.' WHERE eventname=\'search_sort2\''); if ($plugin[phpcode]) eval("$plugin[phpcode]");




-------------------------------------------------------------------------


Open your .htaccess file and find the following line:
RewriteRule ^Category\/(.+)/([0-9]+)\.html$ index.php?id=$1&page=$2 [L]


Add the following line right beneath it:
RewriteRule ^Category\/(.+)/([0-9]+)-(.+)\.html$ index.php?id=$1&page=$2&order=$3 [L]


-------------------------------------------------------------------------

Messages Posted:0 View project clarification board Post message on project clarification board

Bid On This Project
 

If you are the project creator or one of the bidders Log In for more options

 

40

0 days

12-31-2008 12:14 EST

lets get started

help


    Bid on this Project