Quick Login   
 
Register AdminFusion Tutorials
 
Featured Sponsors


One.com Domain and Hosting


Register
Forum of the Month
Australian Webmaster
fotm

A webmaster forum specifically catering for Australian site owners. We discuss site development, marketing and management issues.

Tag Cloud
Latest Threads
Forum Stats
7,852 Members
164,864 Posts
26 Users Online

Please welcome our newest member, Marokas!

Affiliates
Go Back AdminFusion » Getting Started » Software » vBulletin » H tags in forum archive [how to]
Welcome to the AdminFusion. AdminFusion is the ultimate resource for forum administrators and moderators. With exclusive articles, interviews with the experts, free downloadable skins, and the revolutionary post exchange system - PostFusion, AdminFusion is the place to go for all of your forum needs.  By joining AdminFusion, you will become part of a thriving admin community and immediately gain access to all of these resources. Registration is fast, simple and absolutely free so please join us today!
Want more than our forums? Try these: Post Fusion Forum Matrix
Old 09-16-2007, 08:53 AM   #1

cpvr's Avatar

Title: Forum Addict

Points: 7,214, Level: 25Points: 7,214, Level: 25Points: 7,214, Level: 25
Level up: 26%, 336 Points neededLevel up: 26%, 336 Points neededLevel up: 26%, 336 Points needed
Activity: 0%Activity: 0%Activity: 0%

Join Date: Sep 2005

Posts: 1,354

Location: Spring, Texas

cpvr has a spectacular aura aboutcpvr has a spectacular aura aboutcpvr has a spectacular aura about
 
 
H tags in forum archive [how to]

Alright, I was just tweaking my vbulletin forum and I was working on its archive... So, I thought I'd write a a how to on how to add h tags to your forum archive...

Okay, first find your /archive/index.php folder, and find the following:

Quote:
// display board

if ($do == 'index')
{
$output .= print_archive_navigation(array());

$output .= "<p class=\"largefont\">$vbphrase[view_full_version]: <a href=\"" . $vbulletin->options['bburl'] . '/' . $vbulletin->options['forumhome'] . '.php">' . $vbulletin->options['bbtitle'] . "</a><Br /> <h1>your keyword here</h1></p>\n";
Okay, the <Br /> is what I implemented on my forum archive, so next to </a> you put the following <h1>your keyword here</h1> or VB board name (I'm not sure how to do that).

Now for the forum page.
Quote:
if ($do == 'forum')
{
// list threads

$output .= print_archive_navigation($foruminfo);

$output .= "<p class=\"largefont\">$vbphrase[view_full_version] : <a href=\"" . $vbulletin->options['bburl'] . "/forumdisplay.php?f=$foruminfo[forumid]\">$foruminfo[title_clean]</a><Br /> <h1>$foruminfo[title_clean]</h1></p>\n<hr />\n";
Now for the thread page:
Quote:
if ($do == 'thread')
{
if ($vbulletin->options['wordwrap'] != 0)
{
$threadinfo['title'] = fetch_word_wrapped_string($threadinfo['title']);
}

$threadinfo['title'] = fetch_censored_text($threadinfo['title']);

$output .= print_archive_navigation($foruminfo, $threadinfo);

$output .= "<p class=\"largefont\">$vbphrase[view_full_version] : <a href=\"" . $vbulletin->options['bburl'] . "/showthread.php?t=$threadinfo[threadid]\">$threadinfo[title]</a></p>\n<br /> <h1>$threadinfo[title]</h1><hr />\n";
Example: the Virtual pet list archive.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

 
Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unwritten Rules of Forums Ryan Handling Problem Members 3 08-17-2008 03:17 AM
My guide to VBSEO. Features Explained BamaStangGuy Search Engine Optimization 20 11-26-2007 02:09 AM
Saw this on another forum. cpvr Creating Interest 5 07-05-2006 08:12 PM
Forum Admin advertisment offer and request KC Buy and Sell 0 10-23-2005 05:36 PM

AdminFusion

All times are GMT +1. The time now is 01:31 PM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0 © 2005-2008 AdminFusion - All Rights Reserved



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72