Status: offline

pabell

Forum User
Junior
Registered: 12/08/02
Posts: 22
Question 1 I want to add sub address to my domain name for example store.blahblah.com, Pabell.blahblah.com What I would love to have happen is when a person goes to my site via store.blahblah.com the sections on the right side changes as well. Are you following me? if you log in and you see x y z on the section (using geeklog as an example) I would like x y z to change to p d g in the section when entering via the above store example. Question 2 If part 1 is not possible I would like to create a different view of the sections depending on the log-in, is this possible? If someone could please respond to this in anyway I would appreciate it. My file backup question went un answered.

Status: offline

Tony

Site Admin
Admin
Registered: 12/17/01
Posts: 405
edit COM_getTopics() in lib-common.php. You will need to check the value of $_SERVER ['SERVER_NAME'] and change the SQL for retrieving the topics accordingly. See this page for all the $_SERVER values: http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server---The reason people blame things on previous generations is that there's only one other choice.
The reason people blame things on previous generations is that there's only one other choice.

Status: offline

Tony

Site Admin
Admin
Registered: 12/17/01
Posts: 405
Oh, and yes, someone did answer you file backup question:
http://www.geeklog.net/article.php?story=20030614162553243

---
The reason people blame things on previous generations is that there's only one other choice.


The reason people blame things on previous generations is that there's only one other choice.