Maian Script World on Facebook Maian Script World on Twitter Maian Script World - Latest News Maian Script World on YouTube Maian Script World on LinkedIn


Please Read

You are required to register before you can post. This is via a custom verification system. Please post any problems you are encountering here and I`ll do my best to respond as soon as I can. Please note that a reply WILL be posted to all queries, so do not double post. There are no guarantees when a reply will appear but I do my best to answer all within 3/4 days max. Bumping topics won`t make the slightest difference.

IMPORTANT: Posts in English ONLY please, thank you! Any other languages will be ignored and your message deleted.
SEARCH: Use the search option to see if your question has been answered on the forum before. Or check the relevant script docs.
CUSTOMER: If you have purchased a commercial version of any of my software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
PRIVATE MESSAGES: Private messages are currently disabled.
LINKS: Any links posted are 'NOFOLLOW' and will not be picked up by search engines.

You are not logged in.

#1 26-12-2011 20:39:26

Skywalker
Members
Registered: 13-06-2011
Posts: 16

merge 2 greeting sites

can you tell me how i can merge 2 e-card sites?
i want to set up a basic (free) e-card site and a premium (paid) e-card site like:
domain.com/ecards (free) domain.com/premium (paid) now i want if you register on the free one you are also registred on the premium site, so the database should be partly be shared.
if i add $database['prefix2'] in db_connection.inc.php where i do need to edit the $database['prefix'] in the files to share acount details and adressbook and other personal data?
the cards, site details, categories and so on should be seperated
gave it a try but the site gave db error so i must have missed something.

Last edited by Skywalker (26-12-2011 20:41:30)

Offline

#2 26-12-2011 22:58:31

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,119

Re: merge 2 greeting sites

There would be a lot of code changes for this. Your best bet would be to have flags in the tables that determine which site the data belongs to. So, same database for both, but each setup loads based on the flag of 'site1' or 'site2'. You would then have to update the queries throughout to load the correct data.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#3 26-12-2011 23:01:14

Skywalker
Members
Registered: 13-06-2011
Posts: 16

Re: merge 2 greeting sites

and how do i do that? can you give ma start point?

Offline

#4 26-12-2011 23:06:46

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,119

Re: merge 2 greeting sites

Sorry, like I say, there`s too much code involved. Do you know any php/mysql?


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#5 26-12-2011 23:14:05

Skywalker
Members
Registered: 13-06-2011
Posts: 16

Re: merge 2 greeting sites

i know a little of both,
so if i have a start point of what i need to edit and a example i can do the rest myself
i made some changes to the script myself so far like facebook like buttons for cards and categories.
Therefor i needed to edit the php syntax also.
But i need a startpoint and i need what code to edit and what to add to do the trick
i also had a modded phpbb forum and there i also needed to edit php and mysql

Offline

Board footer

2Checkout.com is an authorized reseller of goods and services provided by Maian Script World.© 2003-2013 David Ian Bennett. All Rights Reserved | Forum: FluxBB

Privacy Policy | Refund Policy