Posted on: 06/18/03 07:21pm
By: pabell
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.
2 part question
Posted on: 06/19/03 10:27am
By: Tony
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.
2 part question
Posted on: 06/19/03 10:30am
By: Tony