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)
-   -   mYvBindex v3.1 (https://vborg.vbsupport.ru/showthread.php?t=44691)

Tigga 03-27-2003 07:52 PM

Is anyone still having problems with the weather after applying the fix above?

Intex - It appears as though the weather is not working at all as -18 C is what it would display if it wasn't. Did you try applying the fix listed above?

Amongthethugs 03-27-2003 08:09 PM

How can I have more then one poll on the index page? Also I would like to post news from several forums onto the main page.. Can you help me with both of these... BTW.. looks great

refertech 03-27-2003 10:53 PM

For some reason I'm having that weather problem now too. I've even applied the changes but not change.
Actually when i applied the fix to the index (myvbindex). It started working but when I changed the setting it went back to not working. So I applied the change to the weather.php and still no change.

Welcome back Tigga, have fun in miami?

jibious 03-27-2003 11:19 PM

just saying hi to the tigga man! hehe.

PKRWUD 03-28-2003 03:25 AM

*UPDATE*
Weather now works perfectly for me. I made the exact same change in both my weather.php file and my myvbindex.php file. At first I only did it to my weather file, and it would work when the settings were submitted, but I had to do that every time I logged in. I then made the change to the myvbindex file, and now it's always there.

:)

attroll 03-28-2003 04:05 AM

OK Got it working.

INTEX this is what you have to do to get it working. At least this is what I did.

Open your Myvbinndex.php file and change the following.

Find:

fputs($rawdata,"GET /m/chnk/d/weather_d_src.asp?acid=$usersettings[accid] HTTP/1.0\n\n");


Replaced with:

fputs($rawdata,"GET http://www.msnbc.com/m/chnk/d/weather_d_src.asp?acid=$usersettings[accid] HTTP/1.0\n\n");


Now open you weather.php file and change the same thing you did in your Myvbindex.php file

Thanks for you help PKRWUD.

EnriqueHavoc 03-28-2003 04:51 AM

id like to create content for my site and integrate it with myvbindex but im not quite sure how... for instance, id like to swap out html/php pages with the newsbits

is there a way to do this with templates?

Intex 03-28-2003 06:01 AM

OK, ingore my problem. This was more to do with my lameness than anything else. I was working on two styles and I was switching between two :). Weather works fine.




Quote:

Yesterday at 09:52 PM Tigga said this in Post #961
Is anyone still having problems with the weather after applying the fix above?

Intex - It appears as though the weather is not working at all as -18 C is what it would display if it wasn't. Did you try applying the fix listed above?


meCOOL 03-28-2003 04:32 PM

who i can add the command in the middle

superman 03-29-2003 04:09 AM

will this owrk on 2.3.0?

Spitfireisgod 03-29-2003 04:45 AM

im wondering also

superman 03-29-2003 05:57 AM

I'll answer my own question NO IT DOESN"T DAMNIT I NEED A 2.3.0 PORTAL!!!! *runs away crying*

Tigga 03-29-2003 05:06 PM

Amongthethugs - It's possible to pull more than one poll, but that's something I'll have to play with and post instructions for later when I have the time. As for pulling news from more than one forum, you would just change your News Forum ID in the admin options to "XX OR forumid=YY" - And you would just change XX and YY to your forum id's.

refertech - There was a different fix for the weather posted here. Maybe that one will work for you? Oh, and Miami was pretty fun. I was down there mostly for business, but I still had a good time. Thanks for asking. :)

jibious - Good to see you posting on here! :)

EnriqueHavoc - Edit your index template and replace the $newsbits variable with the content you would like there instead, and just leave your News Forum ID blank in the Admin CP.

meCOOL - Huh??

superman & Spitfireisgod - Yes, it does work for 2.3.0. Several people are running 2.3.0 with myvbindex, so if you're having problems post them here and I'll be glad to help.

EnriqueHavoc 03-29-2003 05:26 PM

thanks tigga i got that part.. but i do want to keep the news. I guess what im asking is how to keep the index + newsbits page as it is, but also have multiple links (located in one of the custom template windows) that bring up other content pages where the newsbits go.

Id like to build an entire site around myvbindex. When someone clicks on one of the links- instead of going to an entirely new page, it will just swap out the newsbits with another template and keep everything else from the index page.

am i overcomplicating or is this possible?

are you saying i should copy the index.php page, rename it to whatever.php, edit out the newsbits and add the new content, then link to that(whatever.php) from the index? will the user login and other stuff still work like that?

Tigga 03-29-2003 05:41 PM

Ahhh, ok... Yes, that is very possible and really not that hard to do. If you'll refer to these two posts they should help you to do that. ;)
https://vborg.vbsupport.ru/showthrea...560#post348560
https://vborg.vbsupport.ru/showthrea...929#post349929 (the instructions there to Matrix explains how to have more than one template since the first set of instructions only tell how to have one different template)

superman 03-29-2003 06:06 PM

well it kept giving me this unexpected parse error on line 17 then when I tried to fix it it would go to 13....

I don't understand why it won't work O_O

but it just... doesn't I guess....

if you would like to acutally hellp me IM me.... ckywang05 (aim)

alright well I'll try again....

AllMadden.net 03-29-2003 06:13 PM

Ok...I read through page 33 and got sick of reading...lol.

I am trying to make the banners show up on the main page (that is where I think they are supposed to show up). In my banner administration I have it set up, I have it turned on in my config.php file, and it is registering impressions...but it isn't showing up...

Tigga 03-29-2003 06:20 PM

superman - It looks like you did something wrong when entering the path to your forums. I don't use AIM, but If you want to post what you have for line 13 I can tell you what's wrong.

AllMadden.net - What banner script are you trying to implement?

superman 03-29-2003 06:33 PM

ok it's up but I have an error... this

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/gamingwa/public_html/index.php on line 13

Tigga 03-29-2003 06:40 PM

What do you have set for the path to your forums? Judging by the error, it looks like you left it blank...

superman 03-29-2003 06:50 PM

no it's

http://www.gamingwave.com/forums.php?s= or something with that php thing.. .should I get rid of that/

superman 03-29-2003 06:55 PM

sorry for the double post but

I changed it to http://www.gamingwave.com/forums/

and it still gives me that error

refertech 03-29-2003 07:04 PM

Thanks Tigga. I cleared my cookies and it went to working and has been working every since, so I'm not going to kick a gifted horse in the mouth. :)
Yet Miami is fun, I'm in Ft. Lauderdale from time to time for business as well and I always enjoy as apposed to Boston in the winter. :( :p

Mark

Tigga 03-29-2003 07:13 PM

superman - It has to be the path to your fourm, not the url. Try /home/gamingwa/public_html/forums ;)

refertech - Glad it's working properly now. I can imagine Ft. Lauderdale is a nice change from Boston. When I got back to Atlanta I couldn't believe how cold it was here... It was almost enough for me to want to go back! :)

refertech 03-29-2003 07:18 PM

You call Atlanta your home as well as I do? Cool.

Mark

superman 03-29-2003 07:20 PM

thanks it works now ;)

Yuber 03-29-2003 07:34 PM

Hey Tigga. How do you change the widths of the polls, calebdar, welcome panel, and latest forums so they don't appear as wide on the homepage?

Tigga 03-29-2003 07:42 PM

refertech - Well actually I live in Marietta right now, but that's close enough. :)

superman - Glad to hear it.

Yuber - In the index template the first table cell there has a width of 165. Just change that to whatever you'd like and it should affect everything in that column

superman 03-29-2003 07:55 PM

ok everything is totally set, thanks alot, and it is a +++++ to get an imaged map banner in there phew, took forever

Intex 03-29-2003 08:05 PM

Tigga - Have a quick quick question for you. I've installed your hack and got loads of stuff running with it.

However could you guide me as to how to use any of the forum variables, so that I can show anything on your page that I can in the forum. For example I wanted to put the forum jump menu on your page and noticed this was a variable named $forumjump + $forumjumpbit, so I put $forumjump in the myvbindex 'index' template but it didn't work.

Any general guidance on using / calling forum bits and pieces would be very much appreciated :).

Yuber 03-29-2003 08:17 PM

Thank tigga, but that only affected some stuff, it didn't affect the calendar.

Tigga 03-29-2003 08:47 PM

Intex - Well there's not that many global variables that would work simply by putting the variable in the template. The best thing I could suggest if you wanted to try adding a few things yourself would be to just search the file for the variable and try to figure out from there what needs to be added to the myvbindex file to make it work. That's pretty much how I started out learning PHP, vBulletin, and that's pretty much how I made the first version of this script (and it's definitely come a long way since then ;)). Oh, and here's a link to a post where I explained to someone how to add the forumjump to their homepage - https://vborg.vbsupport.ru/showthrea...89#post340589. :)

Yuber - Sorry, I was thinking of just the left column. If you look in the index template, right below where the $newsbits part is, you'll see another table cell that has a width of 170. Just change that to what you would like the width to be and that will affect everything in the right column.

EnriqueHavoc 03-29-2003 08:55 PM

thanks so much! thats exactly what i was looking for...

Yuber 03-29-2003 09:08 PM

So like the polls, the calendar can only be shunk to a certain size?

Intex 03-29-2003 09:30 PM

OK, thx Tigga :).


Quote:

Today at 10:47 PM Tigga said this in Post #992
Intex - Well there's not that many global variables that would work simply by putting the variable in the template. The best thing I could suggest if you wanted to try adding a few things yourself would be to just search the file for the variable and try to figure out from there what needs to be added to the myvbindex file to make it work. That's pretty much how I started out learning PHP, vBulletin, and that's pretty much how I made the first version of this script (and it's definitely come a long way since then ;)). Oh, and here's a link to a post where I explained to someone how to add the forumjump to their homepage - https://vborg.vbsupport.ru/showthrea...89#post340589. :)

Yuber - Sorry, I was thinking of just the left column. If you look in the index template, right below where the $newsbits part is, you'll see another table cell that has a width of 170. Just change that to what you would like the width to be and that will affect everything in the right column.


Tigga 03-30-2003 01:00 AM

Yuber - The calendar, or any other "box" can be changed to any size you want by changing the width for that table from 100% (for the calendar, it would be the index_calendar template).
As for the styles question, I'm not quite sure what you mean by that...

EnriqueHavoc & Intex - No problem. Hope you enjoy the script. :)

Yuber 03-30-2003 01:11 AM

What I mean is, you know the vBindex shows colors and images according to what style you are using. I want to know if there is some option or way to show only one style's vBindex no matter what style you use. Sorta as to override all styles when you go to the vBindex.

Yuber 03-30-2003 01:22 AM

Is there any possible way to have all styles show one styles vBindex homepage?

Intex 03-30-2003 08:27 AM

Tigga - I'm a little confused at the moment :confused: - reading all the posts has clouded it further :).

I'd like to create quite a few more non-vB pages which will be selectable from a jump menu on myvbindex. I'd like these to have the forums header / footer but have the rest of the content personailsed by HTML that I create. How would I do this whilst still preverving forum permissions? I noticed the thread about the protal - is this the way to progress? What about the webtemplates hack by Logician?

Thanks for your help :).

XtremeVigilante 03-30-2003 10:38 AM

hi can anyone help me with this hack i just installed it but i get this error

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in c:\program files\apache group\apache\htdocs\myvbindex.php on line 13

Warning: main(./global.php) [function.main]: failed to create stream: No such file or directory in c:\program files\apache group\apache\htdocs\myvbindex.php on line 17

Anyone know how i can fix this?


All times are GMT. The time now is 11:32 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.02231 seconds
  • Memory Usage 1,825KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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