PDA

View Full Version : Changing blog.php into index.php anyone know how?


greatthings
12-06-2007, 12:28 PM
Hi,

I am not a programmer, but I want to get right into modding my VB forums, this is my first post, I guess I am a nubie. thanks for reading my post, regards from Josh,

The question: Would anybody know how to change vbblog.php (version 3.6.8 blog plugin) to index.php (obviously the forum index.php would have to be changed to something else as the blog is now the index page)

If anyone knows what is involved and what code where would need to be changed to make this happen, please write in your knowledge
:rolleyes::up:

nexialys
12-06-2007, 12:36 PM
you will have to request this at the official forum (http://vbulletin.com) as it is something related to the structure of their files...

greatthings
12-06-2007, 12:57 PM
Thanks nexialys, I asked support, but they sent me here. but if you think vbulletin.com forums can help, I will try there. Best regards from Josh

valdet
12-06-2007, 05:23 PM
If you want to have your users be pointed straight to your blog, then you may want to add a redirect line into your htaccess file.

Other than that there is also an option within vB ACP to achieve your effect.

Regards,
Val.

greatthings
12-07-2007, 04:33 AM
Thankyou for the information Val, would you know under what in admin cp you would do this, under blog, i couldnt find in the left hand side

valdet
12-07-2007, 02:03 PM
Go in your vB Admin Panel>VBulletin Options>Forums Home Page Options>

In the first field where it says index replace it with blog, and from then on, when your users open your forum homepage, they will be redirected to blog homepage. I hope this will work properly as you want it to. If it does not just revert this little change.

Secondly, you could do it via htaccess redirect:
Place this line in your .htaccess:
Redirect /forum/index.php http://www.yourdomain.com/forum/blog.phpJust make sure the URL's are correct

Reply back or PM me if you need this to work.

Regards,
Val.