Go Back   vBulletin Modification Discussions > vBulletin Discusions > vBulletin Modifications
Home Register FAQ Members List Calendar Mark Forums Read
vBSEO Info Tags

About This Page: This is a discussion on Weather in a Thread within the vBulletin Modifications forums, part of the vBulletin Discusions category, at vBulletin Modification Discussions. I run a Disney Forum site and I am interested in in putting weather based on locations I want and I want these to appear in a thread. (one thread for each of the Disney parks). After I get the


Reply
 
LinkBack Thread Tools
Old 03-27-2007, 10:24 AM   #1 (permalink)
Junior Member
 
Join Date: Mar 2007
Posts: 3
captainron19 is on a distinguished road
iTrader: (0)
Weather in a Thread

I run a Disney Forum site and I am interested in in putting weather based on locations I want and I want these to appear in a thread. (one thread for each of the Disney parks).

After I get the thread up I plan on closing it to not allow any posts so members can just view the threads to view the weather.

I tried allowing html for the specific thread and inserted the code from a weather web site but it did not work.

Any recommendations?
captainron19 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links

Old 03-27-2007, 10:28 AM   #2 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,238
Code Monkey is on a distinguished road
iTrader: (0)
That's not what threads are designed for and would be a waste of effort to hack and make it work.

A better idea would be to make new vBulletin based page for each park and display the weather there. I would name the pages after each park so they get good Search Engine Rankings as well. Then you can just put links to each parks page if you wish. You can also add other info about the park there.
__________________
Please do not PM me unless it's personal. General vBulletin or mod questions by PM will be ignored.

Try the vBSEO Demo

Click here for Instant Community
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-27-2007, 10:42 AM   #3 (permalink)
Junior Member
 
Join Date: Mar 2007
Posts: 3
captainron19 is on a distinguished road
iTrader: (0)
Thanks for the honest input. Any recommendation on how I could do it based on the look of my forum at Disney-Forums.Com

I was thinking of possiobly a way to make it as a new section at the very bottom so it actually looked like a forum section and have each link under that ( alot like the child forums are)

BTW - great site (just found it today)
captainron19 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 03-27-2007, 11:13 AM   #4 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,238
Code Monkey is on a distinguished road
iTrader: (0)
Just like I did for my vBSEO info page http://vbmodder.com/forums/vbseoinfo.php .

Just create the html you need to display it and whatever else you want in the page then create a new template with that html in it. Just the content tables. No header info.

Then use this code as a php file named for the park and add your template info and navbits info.

PHP Code:
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);

// #################### DEFINE IMPORTANT CONSTANTS #######################
define('THIS_SCRIPT''thisisthescriptname');     //change this to the name of the script without the .php

// ################### PRE-CACHE TEMPLATES AND DATA ######################
// get special phrase groups
$phrasegroups = array();

// get special data templates from the datastore
$specialtemplates = array();

// pre-cache templates used by all actions
$globaltemplates = array(
    
'Thisisthetemplateyoumade' //change this  to the template you made
);

// pre-cache templates used by specific actions
$actiontemplates = array();

// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
require_once(
DIR '/includes/functions_bigthree.php');

// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################



$navbits[''] = 'The navbits name of the page'//change this to whatever you want the page to show in the breadcrumb on navbar.
$navbits construct_navbits($navbits);

eval(
'$navbar = "' fetch_template('navbar') . '";');
eval(
'print_output("' fetch_template('Thisisthetemplateyoumade') . '");'); //change this to the template you made 
Then just upload the file to your forumroot and link to it.
__________________
Please do not PM me unless it's personal. General vBulletin or mod questions by PM will be ignored.

Try the vBSEO Demo

Click here for Instant Community
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply
Tags: ,





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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


A vBSkinworks Design Recoded By vBModder.
All Code Distributed On This Site is © 2006 by it's author.
Search Engine Optimization by vBSEO 3.1.0

All times are GMT -7. The time now is 11:25 PM.
Online Users 24
Registered 0
Guests 24
Members 3923
Active Members 160
Threads 1857
Posts 7348
Top poster: Code Monkey (2238)
Welcome to our newest member, BadOscar
Most users ever online was 235, 04-11-2007 at 09:59 AM.
Speak Out! vBulletin gets the web talking!


vBulletin Setup SEO

vBulletin graphics resource images