Advertisement:

Author Topic: 1 site with 35 subdomains on 1 Database  (Read 2074 times)

Legion

  • Hero Member
  • *****
  • Posts: 622
  • I am founder of top20remedies.com buyeradvise.com
1 site with 35 subdomains on 1 Database
« on: November 11, 2012, 11:20:23 pm »
hi osclasser's

1 site with 35 subdomains on 1 Database
users will be login at main site and can browse other subdomains
How this will be done i would need help from senior's.

Legion

  • Hero Member
  • *****
  • Posts: 622
  • I am founder of top20remedies.com buyeradvise.com
Re: 1 site with 35 subdomains on 1 Database
« Reply #1 on: November 12, 2012, 05:09:08 pm »
reply needed please

Legion

  • Hero Member
  • *****
  • Posts: 622
  • I am founder of top20remedies.com buyeradvise.com
Re: 1 site with 35 subdomains on 1 Database
« Reply #2 on: November 19, 2012, 03:41:51 pm »
any one give me some idea

lucky_strike

  • Guest
Re: 1 site with 35 subdomains on 1 Database
« Reply #3 on: November 19, 2012, 07:36:54 pm »
try demo_theme plugin..same theme  35  times...diferent names you could use  dropdown  from demo  to switch from category to category ;)
each subdomain point to diferent category?
if(osc_category_name()=='subdomain1')
            {
            echo '<li><a "href="'.osc_search_category_url().'&theme=subdomain1">'.osc_category_name().'</a>';
}elseif(osc_category_name()=='subdomain2'){

            echo '<li><a href="'.osc_search_category_url().'&theme=subdomain2">'.osc_category_name().'</a>';
or something like that

combined
http://forums.osclass.org/development/subdomains-for-each-location/
« Last Edit: November 19, 2012, 07:40:59 pm by lucky_strike »

chintor

  • Jr. Member
  • **
  • Posts: 95
Re: 1 site with 35 subdomains on 1 Database
« Reply #4 on: January 31, 2013, 08:42:24 am »
U maybe use same database for every subdomains....

jaspreet

  • Newbie
  • *
  • Posts: 30
Re: 1 site with 35 subdomains on 1 Database
« Reply #5 on: January 31, 2013, 11:52:01 am »
no one help this qus i'm also post this type of qus :(

chintor

  • Jr. Member
  • **
  • Posts: 95
Re: 1 site with 35 subdomains on 1 Database
« Reply #6 on: January 31, 2013, 01:22:32 pm »
Yep, This can be easy way to do. u can install osclass for every subdomain(Just copy the folders of existing domain and paste it on every subdomain and edit the city whatever u want) .  When installing  seperate osclass, put the Database username,password as same as for every domain and subdomain.

Am not tested. Try it yourself.

I hope this can be help it.

Thanks,

Pragash

Donsor

  • Newbie
  • *
  • Posts: 11
Re: 1 site with 35 subdomains on 1 Database
« Reply #7 on: January 31, 2013, 01:45:31 pm »
I want also each category in a subdomain with own theme. All will start from a gateway.
The easy way is to have a database for each subdomain.
But the user have to register voor every subdomain. Is there anyway to have user integratien?

any idea?

Legion

  • Hero Member
  • *****
  • Posts: 622
  • I am founder of top20remedies.com buyeradvise.com
Re: 1 site with 35 subdomains on 1 Database
« Reply #8 on: January 31, 2013, 02:18:59 pm »
hello chintor

i tried not working ads shows in every city

Legion

  • Hero Member
  • *****
  • Posts: 622
  • I am founder of top20remedies.com buyeradvise.com
Re: 1 site with 35 subdomains on 1 Database
« Reply #9 on: January 31, 2013, 03:46:50 pm »
hi  lucky_strike
where to find this code?