View Full Version : How to: Go to Tags Search page instead of Main Forum as Home Page?
TWood
05-03-2011, 05:11 PM
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. This still doesn't fix the link in the logo though.
--------------- Added 1304646504 at 1304646504 ---------------
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:
<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:
<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
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.