Honesty Rocks! truth rules.

A Few Questions About My Website

HOME      >>       Websites and Web Designing

Soviet Rathe

Ok I have a few questions and thought I'd just put them all in one thread :angel:

#1
I am buying a new domain, once I apply it, what will I have to do to the scripts I have installed? I'm sure that my paths will be messed up upon getting a new domain right?

#2
I have a forum set up on my site, the path where it is, is currently in the main directory, but I want to move it to /forums/, to do this will I just have to edit the forum configurations file? or do I have to edit the SQL in any way?

#3
I want to make a nav menu and I don't want to use flash anymore. I am trying to make a 3 image mouseover affect but don't know where to start. this is what I'd like to do:

image1.gif will be displayed at all timesimage2.gif will be displayed when mouse cursor goes over image1.gif
image3.gif will be displayed when the mouse clicks the link, but directly afterwards go back to image2.gif
image1.gif will be displayed when the mouse cursor leaves the image area



Thanks in advance :P

BuffaloHelp

#1I am buying a new domain, once I apply it, what will I have to do to the scripts I have installed? I'm sure that my paths will be messed up upon getting a new domain right?


Many things and situations you'll need to consider. First is making sure all your links are in order. I'm assuming you currently have a sub-domain (you should always specify your situation and then ask questions), and then either park or add-on this new domain? If your current website has "http://forums.xisto.com/no_longer_exists/ dot com..." in HREF tag parking or add-on will be useless because it will be redirected to your sub-domain.

If you have a database, unless you change your cpanel username, it should be alright. Your database's prefix depends on your cpanel username. The next thing is if your database related script calls for script path to your sub-domain you may have an issue if you decide to drop your sub-domain.

Otherwise, I do not see any immediate problem. Perhaps someone else can foresee the issue in their next reply.

#2I have a forum set up on my site, the path where it is, is currently in the main directory, but I want to move it to /forums/, to do this will I just have to edit the forum configurations file? or do I have to edit the SQL in any way?


As mentioned above, it depends on how your database is calling your scripted forum. Normally, you can change your "forum path" by going into the control panel and simply changing it. Other than database prefix, i.e. cpanel.username_databasename, you will not have any issue. To make your new domain part of your existing sub-domain I would suggest Parking your new domain to your hosting account.

#3I want to make a nav menu and I don't want to use flash anymore. I am trying to make a 3 image mouseover affect but don't know where to start. this is what I'd like to do:


http://www.dynamicdrive.com/ is a great place to start learning about javascript and CSS driven menu effects. Their open source codes will teach you at the same time get you started immediately. My suggestion is using CSS and a:hover to achieve your mouseover affect. I think it's the best way to do it with limited knowledge.

Baniboy

I am buying a new domain, once I apply it, what will I have to do to the scripts I have installed? I'm sure that my paths will be messed up upon getting a new domain right?

So, is this going to be an add-on domain? If yes, then a new folder will be created in your public_html folder and your new add-on domain will be redirected to that.

#2I have a forum set up on my site, the path where it is, is currently in the main directory, but I want to move it to /forums/, to do this will I just have to edit the forum configurations file? or do I have to edit the SQL in any way?

Take a back-up of everything. Redirect your visitors to a page where you inform them about maintenance.
Go to your forums' settings in your forum software's admin cpanel and change your forum index path(if it says "enter url only if you want blah blah blah..." post back here with the message). Then move all the files and folders to that /forums- folder without affecting the folder structure. Try if it works, if it doesn't work, go to phpmyadmin and search through configurations' table(in the forum's database) for the index path and replace those urls with the current url. Report back to us.

#3I want to make a nav menu and I don't want to use flash anymore. I am trying to make a 3 image mouseover affect but don't know where to start...


I have written tutorials on the subject. Although I don't think the last 2 of your mouseover effects can be done with CSS alone.
http://tutoriary.com/
http://tutoriary.com/

The second link is about making the background image shift with one image only. This will decrease http requests and speeds up your site a little bit.

The 3rd mouseover effect might be possible with this code:
a:active {color:#0000FF;} /* selected link */
I haven't tried this out. Tho this selected link will stay selected unless the user clicks on somewhere else on the page. Your 3rd demand is also weird if you're not going to use ajax or javascript interactivity. Usually when someone clicks the link/buttons, he/she gets redirected to a page and the bg images return to default.

Good luck.

Soviet Rathe

Many things and situations you'll need to consider. First is making sure all your links are in order. I'm assuming you currently have a sub-domain (you should always specify your situation and then ask questions), and then either park or add-on this new domain? If your current website has "http://forums.xisto.com/no_longer_exists/ dot com..." in HREF tag parking or add-on will be useless because it will be redirected to your sub-domain.
If you have a database, unless you change your cpanel username, it should be alright. Your database's prefix depends on your cpanel username. The next thing is if your database related script calls for script path to your sub-domain you may have an issue if you decide to drop your sub-domain.

Otherwise, I do not see any immediate problem. Perhaps someone else can foresee the issue in their next reply.


As mentioned above, it depends on how your database is calling your scripted forum. Normally, you can change your "forum path" by going into the control panel and simply changing it. Other than database prefix, i.e. cpanel.username_databasename, you will not have any issue. To make your new domain part of your existing sub-domain I would suggest Parking your new domain to your hosting account.


http://www.dynamicdrive.com/ is a great place to start learning about javascript and CSS driven menu effects. Their open source codes will teach you at the same time get you started immediately. My suggestion is using CSS and a:hover to achieve your mouseover affect. I think it's the best way to do it with limited knowledge.


Woh, there's some nice tutorials and scripts there... it's like... script heaven.... thanks I'll be using alot of those recourses :]


So, is this going to be an add-on domain? If yes, then a new folder will be created in your public_html folder and your new add-on domain will be redirected to that.

Take a back-up of everything. Redirect your visitors to a page where you inform them about maintenance.
Go to your forums' settings in your forum software's admin cpanel and change your forum index path(if it says "enter url only if you want blah blah blah..." post back here with the message). Then move all the files and folders to that /forums- folder without affecting the folder structure. Try if it works, if it doesn't work, go to phpmyadmin and search through configurations' table(in the forum's database) for the index path and replace those urls with the current url. Report back to us.



I have written tutorials on the subject. Although I don't think the last 2 of your mouseover effects can be done with CSS alone.
http://forums.xisto.com/no_longer_exists/
http://forums.xisto.com/no_longer_exists/

The second link is about making the background image shift with one image only. This will decrease http requests and speeds up your site a little bit.

The 3rd mouseover effect might be possible with this code:

a:active {color:#0000FF;} /* selected link */
I haven't tried this out. Tho this selected link will stay selected unless the user clicks on somewhere else on the page. Your 3rd demand is also weird if you're not going to use ajax or javascript interactivity. Usually when someone clicks the link/buttons, he/she gets redirected to a page and the bg images return to default.

Good luck.

Nice tutorial. I've seen something like the second one where a portion of the image is shown until the mouse moves over it then it scrolls to another part of the same image, nice :angel: