vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to: Go to Tags Search page instead of Main Forum as Home Page? (https://vborg.vbsupport.ru/showthread.php?t=263056)

TWood 05-03-2011 05:11 PM

How to: Go to Tags Search page instead of Main Forum as Home Page?
 
1 Attachment(s)
Instead of the front page of my forum showing the Main Forum, I'd like to replace all links and go to the 'forumname.com/tags.php' page as shown in the image. I made changes in the main options that get the link in the footer to go to the correct page, but the 'Forums' tab in the navbar and the link for the logo (red underline in the image) still go to the main forums page.

How do I set the site up so it always opens at the 'forumname.com/tags.php' page from all links to the site?

Thanks

TWood 05-05-2011 06:44 PM

I'll use Lynne's tab maker plug-in for the navbar link, but still need a little help setting it up so all visitors to the site arrive first at the Tags Search page as the Home page. Can anyone get me started?

Thanks

Lynne 05-05-2011 09:07 PM

Did you try the suggestion I posted in the ticket? Either the new index.php page, or modify your .htaccess to point all users who come to your site to go to your tags search page instead of index.php

TWood 05-05-2011 11:31 PM

Sorry for the dual communications Lynne, I'll stay over here for now.

I modified the bottom of the index.php file to this:

/**
require('forum.php');
*/
require('tags.php');

So, commented out the forum.php. [S]This still doesn't fix the link in the logo though.[/S]

--------------- Added [DATE]1304646504[/DATE] at [TIME]1304646504[/TIME] ---------------

I kinda powered through this doing it the way I knew would work, but I suspect this isn't the most elegant solution. I went into the 'header' template and made this change:

From this:
Code:

<vb:if condition="$stylevar['titleimage']"><div><a name="top" href="{vb:link forumhome}" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a>
To this:
Code:

<vb:if condition="$stylevar['titleimage']"><div><a name="top" href="http://shoutstreet.com" class="logo-image"><img src="{vb:stylevar titleimage}" alt="{vb:rawphrase x_powered_by_vbulletin, {vb:raw vboptions.bbtitle}}" /></a>
I understand how phrases work, but is there a system to create and manage those vb tags, such as {vb:link forumhome}?

EDIT: How embarrassing, there's an online manual that explains the template syntax. :o


All times are GMT. The time now is 05:39 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.00937 seconds
  • Memory Usage 1,716KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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