PDA

View Full Version : Please help : CSS Changed as I change the Forum URL in Admin Panel


ptbm
01-05-2012, 01:54 PM
Hi everyone. I never use the vbulletin before, this is my first experience and vBulletin is amazing :). But now I'm having difficulties in modifying the css.

I have 2 questions :

1. I have modified the additional.css in my localhost. Then I upload it to the server. But my modifications are gone. When I open the additional.css, the file is empty. Why is it like that ?

2. I just knew that I have to set up the Forum URL in the admin panel to be the URL where my forum will be located. When I modified the css and layouts in my localhost, the setting was still "http://localhost/forum". Then I uploaded it. All the links were directing to localhost. So I changed the forum URL to be the real URL where the forum is located. But my settings are gone. Only if I set the forum URL to be "http://localhost/forum" (which is the same when I modified the CSS in my localhost), my modification is working. Why is it that way ?

Please help, since I dont want to repeat the modifications again. Thanks so much for the feedback

kh99
01-05-2012, 02:03 PM
1. I have modified the additional.css in my localhost. Then I upload it to the server. But my modifications are gone. When I open the additional.css, the file is empty. Why is it like that ?

You should edit the additional.css template instead (go to the adminCP, Styles & Templates > Style Manager, select Edit templates, it's under CSS templates).


2. I just knew that I have to set up the Forum URL in the admin panel to be the URL where my forum will be located. When I modified the css and layouts in my localhost, the setting was still "http://localhost/forum". Then I uploaded it. All the links were directing to localhost. So I changed the forum URL to be the real URL where the forum is located. But my settings are gone. Only if I set the forum URL to be "http://localhost/forum" (which is the same when I modified the CSS in my localhost), my modification is working. Why is it that way ?


I'm not sure I follow this, but maybe it's the same issue as above?

ptbm
01-05-2012, 02:22 PM
Thanks for the reply. Yes I edited the additional.css template from my admin panel. In my localhost the template has changed as I modified it. But when I uploaded to the server, then I open the additional.css template from my admin panel, it is empty

Lynne
01-05-2012, 04:39 PM
What do you mean "when uploaded to the server"? What are you uploading to the server exactly?