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)

Intex 03-30-2003 10:47 AM

XtremeVigilante - check out this post and that should fix it for you.


Quote:

Today at 12:38 PM XtremeVigilante said this in Post #1000
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?


XtremeVigilante 03-30-2003 11:06 AM

thanks Intex that has fixed the problem :)
and thhanks for the quick reply

Hostc 03-31-2003 12:25 AM

Question, When we upload styles for Vbulletin will the portal change to that style? :)

Tigga 03-31-2003 03:27 AM

Intex - Just creating a new page with the header and footer is fairly easy. I'm not sure I follow you as to why you need to preserve the forum permissions though if it's just going to be a page with the header, footer, and some html... If you just need a page with the header and footer though, the easiest way would be to create a new file with the following content:
PHP Code:

<?php
error_reporting
(7);

$templatesused 'yourcustomtemplate';

chdir('/path/to/your/forum');

require(
'./global.php');

eval(
"dooutput(\"".gettemplate('yourcustomtemplate')."\");");

?>

You would enter the path to your forum in the chdir part (or if the file is placed in your forums directory then that line isn't necessary and can be removed). Then you would create a new template and enter all the html in there, and just use the variables $header and $footer just like in every other template. And of course you can call the template whatever you want, you just need to be sure to change the 2 places you see yourcustomtemplate in the file to whatever you named the new template. I'm assuming there's something more that you needed to be able to do with these pages since you mentioned the forum permissions, so if you could elaborate a little more as to what you're trying to do with those then I'll be glad to try and help. :)


Yuber - You could try opening your myvbindex file and looking for:
require('./global.php');

Right above that add:
$stlyeid=1;

Then you would just change the 1 there to whatever styleid you want it to be. I'm not sure how well that will work though as when I tried it, it kept that style when I went to other pages even though I had another one selected. :ermm:


Hostc - If the style is only different in the colors and etc, then the new style will work fine. If the new style also has a new template set with it, then you will also have to install the index templates with that template set (I think). I'm not positive about that though as I only use one template set and just have different colors and such with my other styles. I'm pretty sure though that you will have to also add the index templates to the new template set. I'm sure there would be an easier way than to just copy and paste them all into the new set, so if you add some new styles and need some help let me know. :)

xtremeathlonxp 03-31-2003 02:50 PM

I have installed this hack but can't seem to get the links to go to my forums from the index page how can this be accomplished.

Hostc 03-31-2003 11:04 PM

Tigga, Vbulletin 2.30 Final has been released. You may want to check and see if it works with it ;)

refertech 03-31-2003 11:04 PM

Quote:

[i]03-29-03 at 04:42 PM Tigga
[B]refertech - Well actually I live in Marietta right now, but that's close enough. :)

Thats cool Tigga,
I'm in Newnan south of town, dont meet man people here, that are this close to home.

o0stephane0o 04-01-2003 01:42 AM

I´m using it on a vbulletin 2.3 and it looks like it works fine but there is no way i can get the weather bit working.
Images just won´t display and i have no information at all, 0 degrees, 0 humidity..
It looks like i´m not receiving any information at all.
Any idea what could be the problem?

refertech 04-01-2003 01:48 AM

Have you looked Here and Here.

Tigga 04-01-2003 01:52 AM

xtremeathlonxp - I'm not sure what links you're talking about... If you're talking about making one of the buttons a link to the forums, you would need to edit your index_header tempalte and change the link there.

Hostc - I saw that 2.3 Final was released earlier today, but I probably won't upgrade until sometime next week (got a very busy week ahead). I'm running RC3 already though and there weren't many file changes between the versions, so there shouldn't be any problems. If anyone does have a problem with 2.3.0 though let me know and I'll look into them.

refertech - Yea, I think you're the only other person I know on here from GA. :)

o0stephane0o - Did you try applying the fix posted here? Be sure to make those changes to both myvbindex.php and weather.php and it should fix the problem.

o0stephane0o 04-01-2003 02:10 AM

Yes I did but unfortunatly, it won?t work.
I have read all the messages about it and it looks like something ?s wrong.
I?have tried it on two different servers, i also tried the wheather hack separatly but still have the same problem.
Can someone help me?
Pleaseeeeeeeeeeeeeeeeeeeeeeeeeee
:)

o0stephane0o 04-01-2003 09:40 PM

Ok, it does works but it´s very strange, i have installed the 3.01 and spain doesn´t work.
The cities aren´t even there but if you check the php files, thay are in the script. it looks like the tables aren´t altered or created.
Can someone check (if he has the 3.01 running) if the spanish cities like madrid or barcelona appears and works fine cos i promise you, here in spain, we Do not have in Murcia or Madrid - 18 Degrees lol

o0stephane0o 04-02-2003 11:34 AM

Yes, now I am sure it doesn´t work with Spain, I have checker it with other site that have vbindex installed.
Spain doesnt work, maybee Tigga can do something about it?

o0stephane0o 04-02-2003 01:49 PM

Wow, big problem in deed, here is the mail I have sent to JJR512
Read carefully if you have installed the weather hack.
Hi, I really love your hack and I think it´s great but unfortunatly, I cannot make it work with Spain. I tried with the V3.0 and the v 3.01. I also tried with the VBulletin 2.29 and 2.30 but I get the same problem.
I have checked your webiste to see if it was working but it didn´t. So try to put any cities in Spain like Madrid or Barcelona. It just says they aren´t there but when you check your tables, they are all there.
And if you go to the nbc page, it does works there. Any idea of what could be the problem?
I hope you can help me with this problem because if soemone wants to ++++ around, he only has to chose Spain and you will get a SQL Error.
Quite annoying.
Hope you will have the time to answer me. If I can help, do not hesitate in contacting me.
Thanks you.

Snapperhaed 04-03-2003 04:46 AM

Quote:

04-01-03 at 01:04 AM Hostc said this in Post #1006
Tigga, Vbulletin 2.30 Final has been released. You may want to check and see if it works with it ;)
Works fine with 2.3.0

Snap

Tigga 04-03-2003 09:22 PM

Just an FYI, v3.2 has just been released. It includes a couple of small bug fixes and a few new options. Upgrading from 3.1 or 3.0 should take less than a minute, so get to upgrading! :p

Tigga 04-03-2003 09:28 PM

By the way, did anyone get the update I sent out? The page went to a "Cannot find server" message after I sent it, so I just wanted to make sure everyone received it.

Zachery 04-03-2003 09:32 PM

i got an error on line 480

Parse error: parse error, unexpected $ in /home/digitalk/public_html/myvbindex.php on line 480

i just updated

mv540 04-03-2003 09:41 PM

aye aye aye. ..all these updates... :confused: , so little time, ill stick with the portal i have. As the saying goes, if it aint broke, dont try and fix it..lol..

Tigga 04-03-2003 09:42 PM

That's weird... Line 480 of the scirpt is just:

$adminopts = '';

There's no extra $ sign above or below that. Try re-uploading the file and see if that helps. If not let me know.

Zachery 04-03-2003 09:44 PM

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/digitalk/public_html/myvbindex.php on line 16

Warning: main(./global.php) [function.main]: failed to create stream: No such file or directory in /home/digitalk/public_html/myvbindex.php on line 19

i have this error now. all i did was reupload

im still running 2.2.9 i dont plan on upgrading till i have to, if the 2.2.9 means anything

Tigga 04-03-2003 09:50 PM

Did you change the path in your myvbindex.php file? (Sorry, I guess I should have added that in the upgrade instructions)

Zachery 04-03-2003 09:51 PM

hmm lol probally not, also your gonna wanna change the version number at the top still says 3.1

Tigga 04-03-2003 09:53 PM

Thanks for pointing that out. I also need to change the path back to something random rather than leaving the path to my fourms there. I'll update the first post in just a minute. :)

FleaBag 04-03-2003 09:53 PM

Great work on version 3.2 Brian, thanks! :D

Zachery 04-03-2003 09:54 PM

ok one last thing look at http://www.digitalkore.net/ and http://www.digitalkore.net/myvbindex.php i dont remember how to get it to look like it should

Tigga 04-03-2003 09:56 PM

FleaBag - Thank you. :)

Faranth - Is it just that the signatures are not being displayed with the news? If so just edit your myvbindex options and turn signatures on in news posts (a few people didn't seem to like that, so I added an option to completely disable them)

Zachery 04-03-2003 09:58 PM

no not that, my header vblogo and the buttons, im not worried about sigs

i know i changed sumthing before but i dont remember what

Tigga 04-03-2003 09:59 PM

Oh, and I just noticed your header too... Did you maybe change it to pull your regular forums header instead of the index_header template? It appears as though a <br> is missing after the logo or something like that. Which version did you upgrade from? I'm not sure why the header would change though unless you upgraded from v3.0...

Zachery 04-03-2003 10:01 PM

no i didnt i upgraded from 3.1 to 3.2 well i have alot of differnt header buttons, :\ i think its a file edit to myvbindex.php but i dont remember where

not poiting to the right place?

Tigga 04-03-2003 10:10 PM

That's really confusing... It shouldn't have anything to do with the php file as nothing was changed to pull the header. I don't understand though how one file could be showing something different like that when it's the same template. You could maybe try looking for this in your myvbindex.php file:

eval("\$index_header = \"".gettemplate('index_header')."\";");

And replace it with:

eval("\$index_header .= \"".gettemplate('index_header')."\";");

Hopefully that'll work. :)

Zachery 04-03-2003 10:13 PM

no such luck

350Chevy 04-03-2003 11:20 PM

Heya Tigga,

I just upgraded to 2.3.0 final from 2.3.0 RC3 and the news stopped showing on the front page. Soooo.. I decided to upgrade from MyVBIndex 3.1 to 3.2. Now the news and polls show on the main page if you're not logged in but there's no HTML. If you sign in there's no news and no poll shown. I'm thinking this may have something to do with the high number of the forums (news is 106 and polls are 108)... Dunno.. very strange..

Tigga 04-03-2003 11:21 PM

Try running the template installer that's included in the myvb_install.php file. For some reason vBulletin deletes all templates that aren't there by default, so that's why I included the template only part in the install file. ;)

350Chevy 04-03-2003 11:22 PM

nm... I fixed it running your install file.. hehe.. Yes.. I'm stupid. :P

Tigga 04-03-2003 11:42 PM

Hehe... No problem at all. I'm still not sure why vBulletin deletes templates like that (other than the fact that it's easier for them to do it that way). I guess there's no reason for them to make things harder on themselves though since they don't support hacked boards.

TheGunOwner 04-04-2003 01:17 AM

Very nice hack sir!

gmarik 04-04-2003 04:01 AM

Great, the new updates are awesome!
Keep it on!

Asendin 04-04-2003 02:12 PM

anyone know why the weather wont show up for me ??

http://www.ianwh.com/


thanks in advance

attroll 04-04-2003 02:28 PM

Did you insert the text into your myvbindex.php and did you also turn it on in your admincp panel?


All times are GMT. The time now is 12:19 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.02428 seconds
  • Memory Usage 1,827KB
  • 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
  • (3)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