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)

ivanmcp 06-22-2003 06:40 PM

Intex,

Any adjustements to the way your home page (mYvBindex) looks is in your vBulletin admin section. Go to the Templates > Modify, and than find 'mYvBindex Templates', click on the [expand], and first template is 'index'. Click on 'edit' and this is where you control the look of your home page.

You can create your page in Dreamweaver and copy all of the html code into the 'index' template. So, let's say you created page with three equal width columns and you want to place poll in the middle column. To do this, you just place $currentpoll in html code where poll is to appear. Same goes to all the other bits, like $currentweather, $calendar, $search etc.

I found this feature (vB template) to be of great help, as now I can be anywhere in the world, and can still change home page, as long as I can find a computer connected to the net, and some html knowledge.

Intex 06-22-2003 07:44 PM

Thx. for the info ivanmcp.

silverlex02 06-22-2003 11:04 PM

I have a quick question. Everything worked fine for me, but when you load my site it goes straight to the forum unless I rename the vbindex file to index. Then If I do that I can't access the forum it won't take me to the page with all the forum theads and so on. What do I have to do to get the vbindex file to pull up when you load my url and then how could I access the forum?

silverlex02 06-22-2003 11:14 PM

Check this out http://host53.hrwebservices.net/~oforums/index2.php what do I have to do to change the top left corner so it's the same as the rest?

QCumber 06-23-2003 02:18 PM

Quote:

Can you quote the chdir(''); line that's around line ~8 for us please?
Quote:

QCumber - What did you set for your path to your forums? I don't see why that would give an error on line 12, but (as long as you haven't made any modifications to your myvbindex file) then that should be the only thing that would produce an error like that.
Cloudrunner and Tigga, here's what I put into line 8 of myvbindex.php:

chdir('d:\www\vbulletin\');

I have vBulletin running on its own virtual server under IIS5.

Regards,

Sean McCormick
---
Hudson Highland Group, Inc.
Knowledge Management Centre
Edmonton AB Canada

certify 06-23-2003 04:26 PM

I'm using v3.2

How to exclude certain forums from showing in Latest Forum Topics?

Cloudrunner 06-23-2003 07:10 PM

One thing to try is to use the correct address...according to your error you are running the system in: D:\www\devforum.kmc.hhgroup.com\ but have your chdir set to: D:\www\vbulletin, try making the vbulletin the right directory for your forums, or, I may be wrong in this, but simply try removing the "d:" from the chdir...I've not yet run PHP under IIS so I may be wrong, I'll defer this to Tigga.

Intex 06-23-2003 07:19 PM

Tigga - how do you display flash on the homepage?

QCumber 06-23-2003 08:02 PM

Quote:

One thing to try is to use the correct address...according to your error you are running the system in: D:\www\devforum.kmc.hhgroup.com\ but have your chdir set to: D:\www\vbulletin, try making the vbulletin the right directory for your forums, or, I may be wrong in this, but simply try removing the "d:" from the chdir...I've not yet run PHP under IIS so I may be wrong, I'll defer this to Tigga.
Ergh - I think I'm starting to lose it from trying to do too many things at once.

I've got the problem fixed. It turned out to be the trailing slash. I was experimenting with renaming the directory when I discovered the problem. Apologies for not posting my followup sooner. The correct path was:

d:\www\vbulletin

The path that produced the error was:

d:\www\vbulletin\

Thx very much for the help all the same and my apologies for the messed up reply I posted this morning. I really shouldn't touch a computer until I've had my first pot of coffee of the day.

Tigga, if you're reading this, my compliments to you on the hack. It's very easy to modify and it hardly places any strain on my server. :)

Tigga 06-23-2003 09:08 PM

Intex - I'm not quite sure if the "Force Update" link is working properly with the weather part of this hack or not. I'll be rewriting it so that it will function much better, but I'm not sure when I'll be able to get around to it. As for putting flash on your homepage, you would just put the HTML code in your index template just as you would a normal page.

silverlex - The file is generally placed in your root folder and serves as you main index page. If you want the page somewhere else (like in your forums directory) you would have to rename the file.

QCumber - Glad you got everything worked out and thanks for the compliment. :)

certify - If you open your myvbindex.php file and look for:
PHP Code:

$forums=$DB_site->query('SELECT forumid,parentid,displayorder FROM forum WHERE displayorder<>0 ORDER BY parentid,displayorder'); 

Change that to something like:
PHP Code:

$forums=$DB_site->query('SELECT forumid,parentid,displayorder FROM forum WHERE forumid != XX AND forumid != YY AND displayorder<>0 ORDER BY parentid,displayorder'); 

Then change XX and YY in that code to the forums you wish to exclude.


All times are GMT. The time now is 06:02 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.02324 seconds
  • Memory Usage 1,747KB
  • 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_php_printable
  • (3)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