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)
-   -   vbHome (lite) - your vBulletin(powered) main homepage (https://vborg.vbsupport.ru/showthread.php?t=36756)

armani1072 02-16-2004 01:03 AM

yep thats what i have in there and still nothing. :(

i think i am gonna have to give it rest for a while i have been working on this for about 18-19 hours now, and i am not getting anywhere. the only thing i can think of is maybe my path is incorrect, i may not fully understand what should go in there.

at the top of my ws_ftp box when i am in the admin folder it says /precisio/precisionmuscle.org/forum/admin is that the full path, my brain is cooked.

klaattu 02-16-2004 01:11 AM

in my humble just put $adminpath = 'forum/admin';
in the globals.php file

a...and also check the syntax on the templatephp should end up lik ethis:

$only['forumdisplay'] = 'Forum Display';
$only['forumhome'] = 'Forum Home Page';
$only['getinfo'] = 'User Info Display';
$only['home'] = 'Home Page';
$only['memberlist'] = 'Member List';

and on newthread should end like this:

$postid=$DB_site->insert_id();
if (in_array($foruminfo['forumid'], explode(',', $articleforum))) {
$DB_site->query("UPDATE thread SET articleid=$postid WHERE threadid=$threadid");
}

(paste exactly fron first carachter to last do not copy paste any spaces before $ or after}

Step 4 follow to th eletter since your forum resides on a folder called forum

so just put forum/images (exactly like th einstructions)

hope youll be up and running in no time... By the way my BvBulletin is 2.3.0. so just check my code if it sno diferent from yours but I think is the same

armani1072 02-16-2004 01:13 AM

thanks man i will give that a try. **crosses fingers**

klaattu 02-16-2004 01:25 AM

check the update... more complete

armani1072 02-16-2004 01:42 AM

dude i really appreciate your help on this.

armani1072 02-16-2004 06:01 AM

uggg i followed the steps to a 't' and still a blank page.

Paige4Ever 02-22-2004 01:34 PM

Hi. We have been installing this hack in our forum since 20 days 7 or 8 times and we always get the same problem.



Database error in vbHome 2.3.4:

Invalid SQL:
SELECT COUNT(*) AS total
FROM thread
WHERE forumid IN( ) AND dateline>1077386035

mysql error: You have an error in your SQL syntax near ') AND dateline>1077386035
' at line 4

mysql error number: 1064

Date: Sunday 22nd of February 2004 04:27:56 PM
Script: http://www.thesourceofcharmed.com/
Referer:



Anybody knows where is the problem??

Thanx

Boss-Hog 02-23-2004 03:35 PM

Hello,

I was able to get this hack successfully installed and running at http://www.redszone.com/index.php . Now, I'm sure the answer to the question I'm about to ask can be found somewhere in this thread, but I don't have the time or the patience to read 90 pages worth of replies. My question is this: now that I have vbHome Lite working, how do I customize the index.php file such that the background is not the default VB blue color (my forum logo doesn't look right on that) and that the 'home' button can be removed (take a look at the URL I posted above and you'll see what I mean)? Additionally, I would like to move everything into tables (similar to the home page of vbulletin.org) so that all the information is not displayed down the left hand column, but those first two items will be enough for now. Thank you very much.

Boss

Pseudomizer 02-28-2004 01:31 AM

Quote:

Originally Posted by msimplay
[high]Originally posted by TECK [/high]
This is a minor change required to make it work in vbHome (lite).

FILE: vbHL global.php
FIND:
Code:

$pagestarttime = 0;
if ( isset( $HTTP_GET_VARS['showqueries'] ) or isset( $HTTP_POST_VARS['showqueries'] ) or isset( $showqueries ) )
{
  $showqueries = 1;
  $pagestarttime = microtime();
}

REPLACE WITH:
Code:

$pagestarttime = microtime();
if ( isset( $HTTP_GET_VARS['showqueries'] ) or isset( $HTTP_POST_VARS['showqueries'] ) or isset( $showqueries ) )
{
  $showqueries = 1;
}


Sorry, but this did not work for me. I tried to find this obvious fix everywhere. Postet everywhere but no one could help. And due to having multiple domains and forums from Teck down, i had no help.

So i tried it on my own and you showed me the right way. But your code did not work. I had to add after your code in the /global.php an additional line but not in the /forum/global.php.

Code before:
Code:

$pagestarttime = 0;
if ( isset( $HTTP_GET_VARS['showqueries'] ) or isset( $HTTP_POST_VARS['showqueries'] ) or isset( $showqueries ) )
{
        $showqueries = 1;
        $pagestarttime = microtime();
}

Code after the change:
Code:

$pagestarttime = 0;
if ( isset( $HTTP_GET_VARS['showqueries'] ) or isset( $HTTP_POST_VARS['showqueries'] ) or isset( $showqueries ) )
{
        $showqueries = 1;
        //$pagestarttime = microtime();
}

$pagestarttime = microtime();

I hope that other people facing the same problem have now the fix for this microstats problem or your insane server load time problem.

Cheers,

Pseudomizer

hireamerica 03-03-2004 06:26 PM

Gotta silly one going on...

OK downloaded the zip file and expanded and Actually read the readmefirst.htm file:

(note: vbulletin 3.0 RC4 here)

ok, on the "/admin/forum" folder... I thought that my "/includes" was the right folder, since that's where my config.php (you know... config.php.new was edited and saved as config.php).

If this is the case, then I get reasonably far by changing global.php to 'vbulletin/includes' for the admin folder.

But then it gets screwy b/c I need to add $dbservertype = 'mysql'; into the config.php folder, else global.php tries to open db_.php instead of db_mysql.php.

Well, it opens alright, but suddenly my database name, server, login, password is forgotten (it's all in my config.php, but db_mysql.php doesn't see those).

Quote:

Warning: Missing argument 1 for connect() in /mnt/web_g/d06/s37/b01cc19b/www/vbulletin/includes/db_mysql.php on line 46

Warning: Missing argument 2 for connect() in /mnt/web_g/d06/s37/b01cc19b/www/vbulletin/includes/db_mysql.php on line 46

Warning: Missing argument 3 for connect() in /mnt/web_g/d06/s37/b01cc19b/www/vbulletin/includes/db_mysql.php on line 46

Warning: Missing argument 4 for connect() in /mnt/web_g/d06/s37/b01cc19b/www/vbulletin/includes/db_mysql.php on line 46

Warning: Failed opening './includes/functions_log_error.php' for inclusion (include_path='.:/usr/local/nf/lib/php') in /mnt/web_g/d06/s37/b01cc19b/www/vbulletin/includes/db_mysql.php on line 370
Any help would be great!

a) is my assumption correct on forum/admin = vbulletin/includes based on config.php being there and db_mysql.php being there?
b) did I do right by adding $dbservertype to config.php
c) in home lite, instructions reference newthread.php and template.php... don't see either of these in my /vbulletin/includes folder..

Gracias!


All times are GMT. The time now is 05:07 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.03562 seconds
  • Memory Usage 1,753KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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