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.


All times are GMT. The time now is 10:23 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
  • Page Generation 0.02141 seconds
  • Memory Usage 1,748KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (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