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)

Baptizer 01-03-2003 07:33 PM

Hi Teck:

So what I am about to describe is possible:
-I want to keep my main front page
-I want to keep my main forums
-I want to make a front page for my clan page that uses vblhome with the main forums. However, I do not want to use vblhome for my main front page.

Currently I am just using the test forum. Once i get it to work, i will then use my main forum. I definitely have it pointing to my testvbulletin files.....

Hmm, i am clueless. Obviously it is not your product that is giving me a problem, rather than what I want to do with it(your product is a 100% success from reading all the great comments in this thread)

EDIT:
Could the problem be that it is looking for the testvbulletin files inside the swgclan folder(considering the global.php and index.php are suppose to be in the root folder)? for example:
-its looking for /swgclan/testvbulletin/admin
-when it really is /testvbulletin/admin

My adminpath is:
$adminpath = 'testvbulletin/admin';

EDIT 2:
That is exactly the problem. The adminpath is an extension of the folder i am in. I just made some dummy files and put them ingo the /swgclan/ directory and the error was gone. Obviously this doesnt fix it, but definitley helps out.

How do i set the adminpath to go back a folder, and then to testvbulletin/admin?

TECK 01-03-2003 07:40 PM

---[root clan.php (your vbHL index file) and global.php
------[testvbulletin
---------[admin

Is the easiest way arround.

Baptizer 01-03-2003 07:44 PM

Ok, ill try that! Didnt know i could rename the index.php file to anything i wanted(figure there would be problems).

Darn, this is what i get:
http://www.2darkpark.com/clan.php

Now THAT I dont understand...*shrugs* The mystery continues!

TECK 01-03-2003 07:47 PM

You can rename the index.php to 300 files if you want:
- index.php (main page)
- clan.php
- hotstuff.php etc

They will all work fine. If you want to use specific forums for each file, simply add this line:
$articleforum = '15, 32, 48';

right after:
include_once( './global.php' );

in your index.php file.

Baptizer 01-03-2003 07:49 PM

Judging by my error, however, it is now looking for this file, which doesnt exist:

Quote:

Database error in vbHome 2.2.9:

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

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

mysql error number: 1064

Date: Friday 03rd of January 2003 04:42:43 PM
Script: http://www.2darkpark.com/testvbulletin/clan.php
Referer:
there is no such file as http://www.2darkpark.com/testvbulletin/clan.php

TECK 01-03-2003 07:51 PM

it doesn't see the $articleforum:
WHERE dateline>1041628715 AND forumid IN( [high]here you should have your forums[/high] )

In other words, change at least one vbHL option and save the changes in your vBulletin options, so it will cache the variables. Do it and you will see it will work.
Or use my trick posted above related to $articleforum line, if you want to use multiple files...

TECK 01-03-2003 07:53 PM

Hey, I told you to use the root folder system I posted above...
Do not upload all vbHL files into the darn /testvbulletin folder, unless you edit all vbHL files to match that location.

---[root clan.php (your vbHL index file) and global.php
------[testvbulletin
---------[admin

This was posted just few posts above, but it looks like you don't want to listen to me.

Baptizer 01-03-2003 07:56 PM

*BLUSHES*
Perfect, my friend! Perfect! It seems to be working now! I owe you a big thanks for helping me through my problem. It must be frustrating trying to explain such rudimentary things to someone like me :)

A big thanks, again! I will soon be buggin you for access to teckwizards as well. I am soo happy now :)



edit: i was listening :( i did use the root folder system.....that is where that error was being generated from. I would NEVER upload the files into the vbulletin folder!

TECK 01-03-2003 07:57 PM

Don't worry, but please read the posts. It will save time for both of us.
Cheers.

Baptizer 01-03-2003 08:09 PM

requesting access to your site, teckwizards


All times are GMT. The time now is 11:35 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.04141 seconds
  • Memory Usage 1,745KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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