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)

Alien 05-04-2003 09:06 PM

Tigga: Hey, thanks so much for the help with the source add-on! I'll give it a try!

-Jason

glo 05-05-2003 08:16 AM

"clicks install" ;)

Hi Tigga,
Thanks for the hack! :D Im going to play around with the layout to suit my website.

If I wanted to shuffle them around is there any easy way to do it?

DarkDraco07 05-05-2003 09:03 AM

Hey, i just recently moved to a new server and everything was working fine. since i moved the vbindex page hasnt been working. is there something i forgot to change?

Tigga 05-05-2003 09:07 AM

glo - No problem. I'm sure you'll enjoy it. :) What exactly do you mean by "shuffel them around"?

DarkDraco - What error is it giving you? Did you change the path to your forums folder in your myvbindex.php file?

glo 05-05-2003 10:06 AM

Hi Tigga,

What i mean is...

Ideally I would like 2 have only 2 columns, The News in the centre and the user cp, active users, custom templates and polls all on the right column instead of the left hand side.

As I dont want to use the Latest Forum topics.

Tigga 05-05-2003 10:14 AM

Ahh ok. Yes, you can do that by editing the index template and changing the table structure there.

ivanmcp 05-05-2003 02:09 PM

Login to your forum admin, click on Templates (bottom left), then Modify.
If not expanded, click on Expand, then find mYvBindex Templates and click [expand].
From there, click on index [edit] . This is the default template, where I commented all the columns:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Cache-Control" content="no-cache">
<!-- end no cache headers -->
<META NAME="title" CONTENT="$hometitle">
<META NAME="keywords" CONTENT="">
<META NAME="description" CONTENT="">

<TITLE>$hometitle</TITLE>
$headinclude
</head>
<body>
$index_header

<table width="100%" cellspacing="10"><tr align="left" valign="top">

<!-- LEFT COLUMN -->

<td width="165">

$welcometext

$buddylist

$loggedinusers

$search

$custom1

$currentpoll

$currentweather

</td>

<!-- END LEFT COLUMN -->

<!-- MIDDLE COLUMN -->

<td valign="top">$newsbits</td>

<!-- END MIDDLE COLUMN -->

<!-- RIGHT COLUMN -->

<td valign="top" width="170">

$custom2

$stats

$calendar

<table cellpadding="0" cellspacing="0" border="0" bgcolor="#0A293E" width="100%"><tr><td>
<table cellpadding="4" cellspacing="1" border="0" width="100%">
<tr id="cat"><td bgcolor="#1D6AA0"><smallfont color="#000000"><b>Latest Forum Topics</b></font></smallfont></td></tr>
$threadbits</table></td></tr></table>

</td>

<!-- END RIGHT COLUMN -->

</tr></table>
$index_footer
</body></html>

So, to move eg. weather box to the right column, just type $calendar in your left column where you want it to appear.
To copy all right hand column items to the left, you just move everything from right column between <td> and </td> tags, and then delete those (<td> and </td>).

This will leave you with only two columns.

DarkDraco07 05-05-2003 06:06 PM

hey Tigga, back on my old forum i changed the file to index.php. i made about 3 copies of this index.php for different pages in folders. they all worked fine. since i moved to the new site i dont get an error, it tries to load the page for like 10 minutes at a blank page then it gives me a page not found. www.darknemesis.com check it out

Tigga 05-05-2003 06:26 PM

That's odd that it would just give you a blank page like that. The best thing I could suggest would be to double check that all the templates are there. There's not anything else I can think of off the top of my head, so if you would like to set me up a temporary admin account at your forums and possibly FTP access to your server I'll log in and take a look. Oh, and I can't see anything on your site right now as you have your forums closed. I'm seeing the closed message on your homepage though, so that would mean parts of the script are actually working right.

Shawnn 05-06-2003 02:37 AM

I'm getting this error

Warning: SAFE MODE Restriction in effect. The script whose uid is 606 is not allowed to access /home/virtual/site101/fst/var/www/html owned by uid 0 in /home/virtual/site101/fst/var/www/html/index.php on line 16

Warning: Unable to access ./global.php in /home/virtual/site101/fst/var/www/html/index.php on line 19

Is this because my shared hosting is in safe mode and you have to turn of safe mode for the Vbindexpage to work?


All times are GMT. The time now is 08:57 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.02196 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)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