![]() |
That's really odd... I took the file you sent me, replaced the path with my test server's info, and got the same error. Somehow something had to have been changed, but I'm not sure what or how. I emailed you with my original file with all the correct code added and your server info in place. Try that out and if it still doesn't work let me know.
|
Grrr! Sorry about that... I took out a piece of code when you first posted to see if I could recreate your problem and forgot I had done that. In your myvbindex file search for this code:
$recordusers = $maxusers[0]; Right below that add: $recorddate = vbdate($dateformat,$maxusers[1]); $recordtime = vbdate($timeformat,$maxusers[1]); Upload the file and it'll work fine. :) |
Yeah, I undy why I miss it, I misunderstand your instruction.. it s hard for me to undy some instruction since english is not my first lanuage. Anyway thanks for taking your time and help me out. It s solve! Thanks!
Oh about weather, I cannot install at all, whenever I browse admin/weather_install.php and it just pop up error page with time out. I didnt make any step at all, I think it is too much for my host, it work well on my local server but not at host. If it is hassle for you to make "divide" install, you dont have to. In any way, thanks for help ^_^ |
Oh, and if you would still like to get the weather installed I'll be glad to help. I just need to know how far you made it in the install script so I know what has and hasn't been done. I would assume the last thing you saw would have been "Adding city values 1-10,000..." but want to make sure. Let me know that, and if you have phpMyAdmin there is another way to install the script.
Hehe... Posting at the same time. Just let me know the above questions and I'll help ya out. :) |
I test it at local server and I know what you re talking about. But unfortunately I cannot make any steps at all with weather_install.php, not even open the page of weather_install.php itself.
As for phpmyadmin, yeah I have it on the net, so what do I need to get your weather hack to work? Thanks for being patience with me :D |
No problem at all. :)
Give me a minute or two and I will get the manual file edits and attach them here. |
Ok :)
:banana: |
Ok, here is a zip file with all the queries that you can do in phpMyAdmin. You will want to open each text file included, copy and paste them into phpMyAdmin and run the queries.
Be sure to run the queries in the "create_tables.txt" file FIRST. Then run the queries listed in the other .txt files (it doesn't matter what order) individually. Each of those queries will probably take a few minutes to execute. After those are finished you should upload the weather_template.php to your fourms/admin folder and run that in your browser. That is just a small file that will install all the templates for you. After that you can go into your Admin CP and turn the weather on under your mYvBindex options. |
Thanks! =D I ll let you how it is, it ll take a while.. my girlfriend have only 56k modem =\ So take a break =D You deserve it.
|
Done install database and weather_templates.php but unfortunately error come out after I turn weather feature on =\
Error: Code:
Fatal error: Call to undefined function: convert_temp() in /home/virtual/site57/fst/var/www/html/index.php on line 599 |
Looks like you forgot to make the changes in admin/functions.php that were listed in the instructions. ;)
Find: PHP Code:
PHP Code:
|
...... I should not stay up so late.. sorry for put up with me.. I m going to use that right away
|
Okey dokey it works now =D but whats up with disappear temperature? Both in weather setting and frontpage.
Thanks =D Edit: Also I wonder if can you add uninstall weather if it cause problems or troubles so I can uninstall only weather instead of all in uninstall_myvbindex.php. Thanks |
Actually, I'm not completely sure about that one. As you see in the file, that's a hack created by JJR512 that I added in with my script. It works fine on my personal site and another I did, but I have the same problem on my "test" server. I read through JJR512's thread earlier and saw that one other person posted with the same problem, but nobody has posted a fix yet. I'll play around with it a bit and see if I can figure out why it doesn't display correctly for some people, but I can't guarantee I'll find a fix for this one...
|
Oh ok, I ll turn it off for now, Thanks for everything ^_^ Also I wonder will you do the uninstall weather or ? If not, then I ll undy and I think I can do manual, I m not sure =D
|
Well so far I'm not having much luck figuring out why it doesn't work. I've looked over the code and everything seems ok, but I'll play with it a bit more tonight.
For now you can just turn it off, or you could edit out the temperature parts (though in my opinion that's one of it's main features). Maybe I'll figure it out or someone will post a fix in the original thread soon. If you decide you want to uninstall it, you can just upload the myvbindex_uninstall.php file to your admin folder. Then you would go to http://yoursite.com/forum/admin/myvbindex_uninstall.php?step=3. That will remove all the weather templates and database fields. Just be sure not to do that unless you're positive you want to uninstall it because there won't be a conformation screen and you'll have to re-do everything for the weather if you decide you want it back. ;) |
Great, many thanks! I ll save it when and if weather is still not work. As you said, temperature is one of its main feature.
Thanks for everything =D |
Is it supposed to auto use the settings i have for the rest of the forum? Do i have to edit and put info in manually?
|
Which part exactly? If you're referring to the news, please look at the part in the install file that tells you how to set the permissions for the forum. If you're talking about something else please explain what you mean a little more. :)
|
Basicly its not using the header settings, not showing the php banner script at the top and is using old button links accross top instead of those in the php file. The buttons are turned off for the normal forum.
Take any thread eg. http://www.4u-servers.net/showthread...=&threadid=224 you wil see whats missing :) |
Ahhh... Yes, that made it much more obvious. :)
By default it uses the index_header template for the header since some people may want a different header for their homepage. See post # 73 to see how to change it. |
lol now the buttons have gone :) but its not using the template "phpinclude" this has the whole php file with banner script, logo and link pictures.
(you must be getting annoyed with me now, sorry). |
Which method did you use to change it? If you used the 2nd way so it would just call your regular header, I forgot that you would need to change "$index_header" to "$header" in your index template (sorry, it's late ;)).
If you used the first method, I'm not completely sure why it wouldn't have worked. You said you used a php file for your header... Is there maybe a place to set a path to the file or something like that? If you could post the header & phpinclude templates or email them to me (brian@plurplanet.com) so I can have a look I'll see if I can figure it out. Or you could try the 2nd method to include it, which really is better if you want to have the same header for your forums and index page. That way you don't have to edit both anytime you change it. ;) |
Ok, it's late... Scratch that part about changing $index_header to $header. It's still using the $index_header variable to call the header, so that's not the problem.
|
<a href="http://advance.clawz.com/myvbindex.php" target="_blank">http://advance.clawz.com/myvbindex.php</a>
can u help me, the myvBIndex doesnt show up its come to a blank screen - Help! |
Hmm... What do you have set for your path? Also double check that the index templates are listed in your Admin CP.
|
hmm...
Home Directory: /var/www/advance.clawz.com/ this? EDIT: problem solved, forogtten to put /vb/ at end Stupiod Me! |
LOL! Let me know if you have any other problems. :)
|
the news thingy did not show up so pls help me the id number is 2
|
The post was made after you installed myvbindex, right?
Do you have only the number 2 in the box for the News Forum ID? Did you make the changes to newthread.php and newreply.php and upload them? |
i made the post AFTER i installed the hack. and number 2 is the ID for the news forums
|
Did the install file run correctly? I'm assuming it did since it created the templates and such... The only other thing it could be is you didn't make the right changes to newthread.php and newreply.php. Double check that you made the 2 changes in each of those files, upload them again, and make another news post. There's no reason that shouldn't work, but if it doens't let me know and we'll get the problem solved. :)
|
i have done it correctly but what is the problem?
|
If it's not showing up something had to have been missed... If you have phpMyAdmin, you can log into there and check your "post" table to make sure it has a column called "isnews" (it should be the last one in the post table). There's really not a reason that shouldn't be there since it's the first step in the installer, but it wouldn't hurt to double check that it's there.
Could you email me (brian@plurplanet.com) with your newthread.php and newreply.php files so I can have a look at them? |
email sent with the two files.
|
Ok, I looked over those files and both of them were modified correctly. Do you have phpMyAdmin where you could check to make sure the "isnews" column is there? I don't see a reason it wouldn't be if the installer ran correctly, but then again I don't really see a reason the news wouldn't be working. You could also try re-uploading your newreply & newthread files and then try making another news post.
If it's still not working, I could take a look at things for you if you would like to make a temporary account on your forums and give me access to your admin pages. Of course I understand if you don't want to give some stranger access to your admin pages, but it would be easier to locate the problem if I could look through the pages. |
according to my phpmyadmin, its has the table in it
edituserid int(10) UNSIGNED No 0 Change Drop Primary Index Unique Fulltext editdate int(10) UNSIGNED No 0 Change Drop Primary Index Unique Fulltext isnews char(1) No N |
its still not working but you need to go on aim to chat with me
my aim is DigiPowerX |
Ok, I may have found the problem... What do you have your "News Posts Maximum" set to? If it's set to 0 try changing it to something else. That was a bug in v1.0 that I thought I had fixed, but apparently I missed it. I just tried it on my personal site and when I set that to 0 the news didn't appear.
|
PlurPlanet
Everything work great so far, I m curious which replacements in which vbmyindex template to change the highlight on "today date" on calendar at vbmyindex.php? I want to increase the color since my background color is dark and I cannot see any highlight at all. Thanks |
All times are GMT. The time now is 09:30 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|