vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vB Weather Mk. 2 (https://vborg.vbsupport.ru/showthread.php?t=41842)

Dark_Wizard 08-12-2003 08:18 PM

Works fine for me...check it out here. I can tell you what I did to make it work ;)

PhoenixBB 08-12-2003 08:23 PM

It always ran fine for me until a few weeks ago, but I didn't realise it was this causing the slow loading. I've just put links to the weather now. Doesn't look as nice but my Portal is already nippier.

Dark_Wizard 08-12-2003 08:42 PM

Ok...here is what I see as causing the problem...they are having router issues the hop before you get to them, hence the slow response.

BiZ 08-13-2003 04:49 PM

Quote:

Yesterday at 10:18 PM Dark_Wizard said this in Post #371
Works fine for me...check it out here. I can tell you what I did to make it work ;)

doesnt look like you did anything. its slow to load. The problem isnt consistent, whereas its slow every time you visit the board. if you try to access your main forum page on a daily bases, your going to see that there is lag time...and find yourself having to click links/buttons to your board more then once for it to load.

i tried you link..it had the same problems I had.

ANT.menmusic 08-17-2003 03:37 PM

i had alot of problems when i first installed this, but it was late last night after a few beers.
this morning, i woke up, deleted all the tables from mySQL (the ones pertaining to this hack), removed all the templates, followed this thread (actually read every post), changed the php pages back to what they were and started from scratch again and boom! it worked!
it's for a client so i think they will be very happy.

ANT.menmusic 08-17-2003 08:59 PM

okay, i changed the forumhome_weather template to:
Code:

<!-- Weather -->
<br>
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#0A293E"  width="95%" align="center"><tr><td>
<table cellpadding="4" cellspacing="1" border="0"  width="100%">
<tr id="cat">
        <td bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif" colspan="5"><a href="weather.php?s=$session[sessionhash]&action=getdata"><normalfont color="#000000"><b>Check the Weather</b></normalfont></a></td>
</tr>
<tr id="cat">
        <td bgcolor="#1D6AA0" width="100%" align="left" colspan="5"><smallfont color="#EEEEFF">Time of last weather update: $weather[updatedate] at $weather[updatetime]</smallfont></td>
</table>
</td></tr></table>
<!-- /Weather -->

now my index.php loads quickly and only registered users can check the weather, since they have to click on "Check the Weather" category (which brings them to the weather.php.. etc.)

Dodger 08-18-2003 12:56 PM

This script is very cool, but i'am tired of w8ing loading forum home. I have an idea of sollution of this problem. Couse i'am lame in php can smb. write a peace of code - a link wich will popup window with an a detail forcast? So this link everybody can put in forumhome instead of $currentweather
THX

Addon:
Oh, I see ANT.menmusic done smth like this... THX to him!

ANT.menmusic 08-18-2003 01:45 PM

yeah, basically, the template that way only shows you a link to check your weather and the last time update (you could even remove the update time):
look here (i opened the board last night at 12AM).

ANT.menmusic 08-18-2003 05:42 PM

oh, here are the two files you can upload so that your visitors/users don't get a red-X when the weather server is down.
-ant

this one is named ".gif" (without the quotes, obviously)

ANT.menmusic 08-18-2003 05:43 PM

and this one is named "0.gif"
same image, but now all you have to do is upload it to your
yourdomain/forums/images/weather folder

-ant


All times are GMT. The time now is 12:03 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.02299 seconds
  • Memory Usage 1,740KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete