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.
Pages: 1
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
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.
Offline
and how do i do that? can you give ma start point?
Offline
Sorry, like I say, there`s too much code involved. Do you know any php/mysql?
Offline
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
Pages: 1