vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Using Forum AS Main Site? Stop forum.php from showing? (https://vborg.vbsupport.ru/showthread.php?t=235800)

mrdexx 02-14-2010 12:18 AM

Using Forum AS Main Site? Stop forum.php from showing?
 
Hi there,

I just purchased vB 4.01 and I setup my new website, which is actually just a forum.

i.e. TheDogForum.com

Now I renamed forum.php to index.php (backed up index.php) and loaded the vB file into the public_html main directory.

So when people go to my site:

www.thedogforum.com

They land directly into the forum...which is perfect!

The problem is on the Navigation Bar and the Image Title itself, when clicked, redirects people to www.thedogforum.com/forum.php

Which I do not want!
(I had to make a copy of forum.php otherwise it returned with a file not found error)

How can I stop the site from even linking to forum.php?

Please let me know,

~Dexx

borbole 02-14-2010 01:25 PM

Do you mean that you want the Forum tab not to redirect to forum.php when clicked? If so, at the navbar template, find the following code:

HTML Code:

<a class="navtab" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}">{vb:rawphrase forum}</a>
And replace the url inside the href attribute with the url you want.

shzad1 01-28-2011 09:35 AM

Not working . Any new Method to overcome this problem?

www.xyzabc.com/forum.php (Can i remove OR HIDE forum.php from Address Bar ?)

Thank you in Advance :)

your24hourstore 01-28-2011 05:17 PM

1 Attachment(s)
i dont see forums.php

your24hourstore 01-28-2011 05:41 PM

must have got it because it shows forum.php doesn't exist


All times are GMT. The time now is 10:05 AM.

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.01143 seconds
  • Memory Usage 1,718KB
  • 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_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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