Webmaster Forum
Go Back   Webmaster Forums UK SEO SEM Webmaster Community Forum - UKWW > Web Design and Website Development > Programming > PHP Forum
Register FAQ Members List Downloads Calendar Today's Posts Webmaster Resources Webmaster Blogs

UK Web Hosting
UK Web Hosting
Website Hosting
Website Hosting
UK One Way
UK One Way
Free Website Thumbnail Creator
 
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-30-2008, 09:45 PM
Senior Member
 
Join Date: Mar 2008
Posts: 78
iTrader: 0 / 0%
Thanks: 0
Thanked 0 Times in 0 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
arunpattnaik is on a distinguished road
Default How to integrate various scripts to use one database?

Hello guys,

I am here with a problem. It may sound a little confusing, it goes like this. I have bought a few php scripts to start a website. (e.g, a theme download script, a blog creator script, a forum creator script, a hotscripts clone, an image hosting script etc). They all use different databases.

I have installed them at different subdomains of my main domain. I want to know how can i integrate them so that they use a single user database. that is, a user has to register just once to the site, and he can access all the subdomains/scripts as a registered user. I dont even know that it is possible or not. But if it is, how do i go for it? I am not so good in coding, but have some knowledge.

Also, I will use either MyBB or vBulletin as a forum, so it needs to be integrated as well.

Please let me know if it is possible.
Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 03-30-2008, 10:23 PM
Resonate's Avatar
Internet Marketing Admin
Recent Blog: gray pagerank
 
Join Date: Sep 2007
Location: {{ A Remote Server }}
Posts: 626
iTrader: 0 / 0%
Thanks: 0
Thanked 0 Times in 0 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Resonate is a jewel in the roughResonate is a jewel in the roughResonate is a jewel in the rough
Send a message via ICQ to Resonate Send a message via AIM to Resonate Send a message via MSN to Resonate Send a message via Yahoo to Resonate Send a message via Skype™ to Resonate
Default

I carried this task out before & luckily sucseeded, It was to do with creating a table within the sql, I can't remember for sure. But I'm sure Bagi will no doubt be able to advise you on this.
__________________
Currently taking my LEVEL 3 ADVANCED ELECTROTECHNICAL Certification exams.

Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 03-30-2008, 11:31 PM
Junior Member
 
Join Date: Mar 2008
Posts: 5
iTrader: 0 / 0%
Thanks: 0
Thanked 0 Times in 0 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
NoisyTech is on a distinguished road
Default

I guess all of your script use Mysql Database. To use any database from script you need three entity
1. Database Name ( Separate database is created to create logical block)
2. Username
3. Password

All of your script will need this three entity..you can use same value for all script ..(just make sure that now two script create table with same name) . In short create your own database and user from Cpanel and modify all script to use same information.

I hope this will solve your issue.

Thanks,
Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 03-31-2008, 10:43 PM
Senior Member
 
Join Date: Mar 2008
Posts: 78
iTrader: 0 / 0%
Thanks: 0
Thanked 0 Times in 0 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
arunpattnaik is on a distinguished road
Default

Thanks a lot noisytech. but actually i am a noob in programming. I understood the "what " to do part, but am still in dark about the "how" to do part . would you mind to elaborate?

And yes, all my scripts use mysql databases.
Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 04-01-2008, 06:32 AM
Bagi Zoltán's Avatar
Boss Cart consultant
 
Join Date: Feb 2007
Location: Veszprém, Hungary
Posts: 1,554
iTrader: 9 / 100%
Thanks: 0
Thanked 0 Times in 0 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Bagi Zoltán has much to be proud ofBagi Zoltán has much to be proud ofBagi Zoltán has much to be proud ofBagi Zoltán has much to be proud ofBagi Zoltán has much to be proud ofBagi Zoltán has much to be proud ofBagi Zoltán has much to be proud ofBagi Zoltán has much to be proud of
Default

Arun, as first step you need to hunt up the code snippets which execute the login and the registration process, plus make a quick survey on the difference in the user tables.
__________________
Time may come when you will need a shopping cart
mérleg keresőoptimalizálás
Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 04-13-2008, 11:13 PM
Senior Member
 
Join Date: Mar 2008
Posts: 78
iTrader: 0 / 0%
Thanks: 0
Thanked 0 Times in 0 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
arunpattnaik is on a distinguished road
Default

ohh. thanks but that's not something i'm getting into. it looks like i'll have to hire someone to do that for me.
Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
Reply

Bookmarks

Webmaster Resources
UK Web Hosting
UK WW SEO Tools
Free site submission
Web Directory
 
Advertisement
Get top 10 exposure
 
Site Of the Month
BizzFace
Nominate site of the month
 
Tag Cloud
2 columns admins wanted advice article submistion bbpress best site bid bidding directory blog post british telecom broadband butterflies community concentration digg directories submission directory directory network domain name dzone ecommerce ecommerce poll fibre optic forum forum posting free free download free hosting free web hosting generate revenue google google serps icq instant messenger intel internet spending james in london jokes keywords limitations link exchange microsoft mod modeling moderators wanted msn music online newbie not possible online retail online spending owg in london paid forum posting photography php reddit review review website scripts search engine seo site promotion social bookmarking special discount speed cameras submission thank you theme web hosting website of the month win a network

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump



All times are GMT. The time now is 08:42 PM.

UK Webmaster World Forums - Internet marketing, web development, domain names, SEO contest and discussuons.
Subscribe to our feeds   Subscribe to our feeds

Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150