vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Vbadvanced - Weather Channel Module (https://vborg.vbsupport.ru/showthread.php?t=81730)

boo.3 05-19-2005 09:53 PM

Quote:

Originally Posted by KevinL
Yeah in the navbar..well mine is in the header.

If I enable this and I click on that button it reloads the page. When I shut it off everything works fine again.

I have no idea why that would happen.

thats odd... would anyone know why this is happening?

dsboyce8624 05-19-2005 09:54 PM

Quote:

Originally Posted by boo.3
ok i tryed your code and it didn't work for me it said i needed to enter zipcode?

did you get that error

Mine? You prolly have to change it back to field6.

EDIT: Now I have to find a way to force it to be a smidge smaller.

dsboyce8624 05-19-2005 09:55 PM

Quote:

Originally Posted by boo.3
thats odd... would anyone know why this is happening?

No idea, unless there something else already wrong with the navbar.

This hack went nowhere near it.

boo.3 05-19-2005 09:56 PM

haha my bad i didn't add field6

let me check 1 sec

edit: An error has occurred.
Invalid location code provided.
Please notify the webmaster.

i get that now after changing field

KevinL 05-19-2005 09:57 PM

Quote:

Originally Posted by boo.3
thats odd... would anyone know why this is happening?

ok for some reason that new code fixed that problem! :)

Thanks!

dsboyce8624 05-19-2005 10:01 PM

Quote:

Originally Posted by boo.3
haha my bad i didn't add field6

let me check 1 sec

edit: An error has occurred.
Invalid location code provided.
Please notify the webmaster.

i get that now after changing field

I got that before I edited mine, make sure you get all instances.

dsboyce8624 05-19-2005 10:03 PM

Quote:

Originally Posted by KevinL
ok for some reason that new code fixed that problem! :)

Thanks!

Damn I'm good!

I have no idea what I'm doing either.

:banana:

boo.3 05-19-2005 10:06 PM

Quote:

Originally Posted by dsboyce8624
I got that before I edited mine, make sure you get all instances.


everythings right still get error * lol giving me support for my hack *

dsboyce8624 05-19-2005 10:08 PM

Quote:

Originally Posted by boo.3
everythings right still get error * lol giving me support for my hack *


I cleaned it up some more. Try this new version. Make sure you edit all of the field5's.

PHP Code:

<table align="center" border="0" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]class="tborder" width="100%">
<
tr>
<
td class="tcat"><span class="smallfont"><b>$vba_options[portal_blockbulletWeather Conditions</b></span></td>
</
tr>
<
tr>
<
td class="$getbgrow"><span class="smallfont">

<if 
condition="!$bbuserinfo['userid']">
<
span class="smallfont">Registered members can see their local weather forcast here.<br /><br /><phrase 

1
="$vboptions[bburl]">$vbphrase[not_a_member_yet_register_now]</phrase></span>
<else />
<if 
condition="$bbuserinfo[field5] !=''">

<
script src='http://voap.weather.com/weather/oap/$bbuserinfo[field5]?template=GENXV&par=null&unit=0&key=05afc55b05db4d084c1497353310d74b' alt="Weather for $bbuserinfo[field66] provided by that-sucks.net." border="0"></a></script>

<else />
Add your <A HREF="$vboptions[bburl]/profile.php?do=editprofile">Zip Code</Ato show weather forcast.
</if>
</if>
</
span>
</
td>
</
tr>
</
table>
<
br/> 

EDIT: Don't worry, I'm happy to finally be able to help somebody.

boo.3 05-19-2005 10:11 PM

ty i'll give that a shot

if this works mind if i upload it to main post?


All times are GMT. The time now is 08:45 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.01201 seconds
  • Memory Usage 1,756KB
  • 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_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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