The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
VB World Weather Details »» | |||||||||||||||||||||||||
This is VB World Weather...
It allow your users to look up and display local weather for 39,722 locations around the world! It is template based with multi language support built in! The zip file contains... 1. Step by step install files 2. All images, language files, templates, weather database file and scripts Demo http://forum.ya-right.com/ user: test pass: test when you login go to the usercp to try the demo, also look at the bottom of the forum home for the other display... The one on the forum home can be placed where ever you want to place it! If you have any questions or need install help post your questions here... UPDATES (7/15/2004 9:47 PM EDT) Go here for the FORUMHOME template update install info https://vborg.vbsupport.ru/showthrea...d=1#post533325 UPDATES (7/18/2004 9:04 AM EDT) Add a database install table script, for people who can not run the single sql file (FOUND IN STEP 7). It is very easy to use! Have a great day.... Sonia _______________________________ Next mod -> translate this topic or post! Show Your Support
|
Comments |
#32
|
||||
|
||||
Hmm. After waiting for about half an hour on my 56k modem to apply the Database changes I get an error with the first damn query when it tried to create the forecast table:
Code:
CREATE TABLE forecast( id int( 4 ) NOT NULL AUTO_INCREMENT , rid char( 2 ) default NULL , region varchar( 15 ) default NULL , cid char( 2 ) default NULL , country varchar( 33 ) default NULL , sid char( 2 ) NOT NULL default '', state varchar( 20 ) default NULL , pid varchar( 5 ) NOT NULL default '', place varchar( 120 ) default NULL , code varchar( 8 ) default NULL , PRIMARY KEY ( id ) , KEY forecast_rid_cid_sid_pid( rid, cid, sid, pid ) )ENGINE = MYISAM DEFAULT CHARSET = latin1 I'm pretty sure it's because my PHP version is too old, which is a shame as this isn't my server so I don't have a choice as to upgrading the version. But this is a great hack though! Thanks! |
#33
|
||||
|
||||
can someone please tell me how do i install the weather table using command line? :nervous:
|
#34
|
|||
|
|||
Quote:
Just remove that line..... As it is the default chr/set anyways! It will cause problems with some mysql managers! Like in MyPHPAdmin, if you use browse and upload having the charset is ok, but if you try to run the create in the query text box you will get the same error you got! change to..... Code:
DROP TABLE IF EXISTS forecast; CREATE TABLE forecast ( id int(4) NOT NULL auto_increment, rid char(2) default NULL, region varchar(15) default NULL, cid char(2) default NULL, country varchar(33) default NULL, sid char(2) NOT NULL default '', state varchar(20) default NULL, pid varchar(5) NOT NULL default '', place varchar(120) default NULL, code varchar(8) default NULL, PRIMARY KEY (id), KEY forecast_rid_cid_sid_pid (rid,cid,sid,pid) ); Sonia |
#35
|
|||
|
|||
Question, what will happen if I install this and have already messed with the profile.php and functions_user.php while installing another hack. I'm pretty sure I've messed these around some.
Can I not add this? |
#36
|
|||
|
|||
Quote:
This was done, because I want everyone to first install the core system. Adding it to any page after the core system is installed is easy! I don't know why you said the example on my demo site was not working, because it is! Maybe someone switched it off when you were trying it! HINT!!!!! Look under the "WHOS ON LINE" This will be released tomorrow, along with transparent images using (2) sizes, (1) for the CP, the other for the FORUMHOME and Members Profile page. The templates are easy to make, so you can design any type of display you want, using 60 different forecast array values! I will include 2 templates based on the USERCP template, which is CSS controled, so making it look the way you want is as easy as creating (2) images (gradients) and changing the colors you want to use! Sonia |
#37
|
|||
|
|||
Quote:
If you tell what you installed, better yet give your 'profile.php, functions_user.php', and I can write a work around for whatever you have installed that might get in the way of this system! Sonia |
#38
|
||||
|
||||
Thanks Sonia I got it working now, well, I think so. I already had existing custom profile fields like a number of people here so it's not working correctly at the moment. Where abouts would I need to edit in the files so I can change the profile field ids manually?
|
#39
|
||||
|
||||
hi can you please show me how to install the .sql file? i tried with phpmyadmin but the filesize was too big. so if you could show me how to do it with command line would be great, thank you in advance
|
#40
|
|||
|
|||
Quote:
If you already have custom fields installed, this is not a problem! You just have to update the array that validates the custom fields for the weather system. I am writing a very simple 'HOW TO' with images that show you how to do this! Once the system is installed this takes less than 30 seconds to fix or change if you add more fields later! Sonia |
#41
|
|||
|
|||
Quote:
|
#42
|
||||
|
||||
Quote:
That's the array in profile.php , yes? It did nothing to fix the 'lack of a button to press to choose the location' problem tho. Now I am getting: Warning: file_get_contents(forecast.php?wid=4416&lid=66235) : failed to open stream: No such file or directory in /public_html/forums/includes/functions_weather.php on line 184 ... when I add a valid number manually into the text box. |
#43
|
|||
|
|||
Quote:
If your having a hard time installing the DB because it is to big, install it in parts! Download this file.... http://www.ya-right.com/sql.zip unzip it, then install every file starting at (1) to (8), make sure you install it in order 1, 2, 3, 4, 5, 6, 7, 8 this is very important! I have installed this on 7 boards today already, and I am working on 3 right now. (3) of those had the same trouble, so spliting the INSERT up seems to have worked for me, I hope it will for you! Sonia |
#44
|
||||
|
||||
great! thanx! I'll do it now
|
#45
|
||||
|
||||
Yeah, I've found also that the only mentioning of the profile field ids are in the profile.php file mod you do. I don't have the problem with the Select button not appearing, instead even after I pick and Region and Location etc. it doesn't display it in 'Current Location:' afterward. That's no doubt due to the Profile Field IDs being inconsistant, but adjusting the profile ids in the profile.php mod above still doesn't solve this. I'm sure there's something I'm missing.
|
#46
|
||||
|
||||
Quote:
Missed the 'make field private' instruction on the last field. Still getting the Warning: file_get_contents(forecast.php?wid=4416&lid=66235) : failed to open stream: No such file or directory error tho. Any thoughts on this? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|