vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Changing blog.php into index.php anyone know how? (https://vborg.vbsupport.ru/showthread.php?t=164498)

greatthings 12-06-2007 12:28 PM

Changing blog.php into index.php anyone know how?
 
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:
Quote:

Redirect /forum/index.php http://www.yourdomain.com/forum/blog.php
Just make sure the URL's are correct

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

Regards,
Val.


All times are GMT. The time now is 10:14 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01305 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete