Support Forums

Four Sites, One Database

This is a discussion on Four Sites, One Database within the Site Critiques forums, part of the General category; you're right (showlistings.tpl and viewlisting.tpl)....


Go Back   68 Classifieds Forums > General > Site Critiques

Reply
 
Thread Tools Display Modes
Old 12-16-2009, 02:36 PM   #11
Customer
 
Join Date: Jun 2009
Posts: 127
Rep Power: 12
pipelin is on a distinguished road
Default

you're right (showlistings.tpl and viewlisting.tpl).
pipelin is offline   Reply With Quote
Old 12-16-2009, 04:02 PM   #12
Ageless Member
 
Bronxgodzilla's Avatar
 
Join Date: Jun 2008
Posts: 136
Rep Power: 16
Bronxgodzilla is on a distinguished road
Default

So, boys and girls, following this logic, I should be able to change around the Location of the "main site" should I feel that one is more visitable than another -- everything else being the same and the db staying in the same place, correct?

BarryG
__________________
Currently using Latest version v4.1.10 Developer with latest Templatecodes Sigma (The Greatest)
Bronxgodzilla is offline   Reply With Quote
Old 12-19-2009, 08:43 PM   #13
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,089
Rep Power: 35
bowers01 is on a distinguished road
Default

Ok this is getting way over comlicated.
say we have site1.com, site2.com and site3.com

1. Make a main site, this is where all ads need to be placed on, modified and accounts created on
2. copy all of the main sites files to site2 and site3
3. make the change to core.php for site2,3
4. for all the sites change viewlisting, showlisting, smarty plugins(featured listings, new listings ect) the image path:
instead of being
Code:
<img src="thumbs/small_[[image]]"
Make it
Code:
<img src="http://site1.com/thumbs/small_[[image]]"
5. change all links that have to do with registration, modifying listings, placing listings to site1.com/??.php
6. And now you have all sites running off the one database
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
DataBase help corazon7 Templates, HTML, CSS, and Design Help 2 11-26-2008 06:28 PM
example sites 0273302733 Technical Support 5 08-14-2008 06:08 PM


All times are GMT -4. The time now is 04:44 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0