vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBadvanced Homepage (https://vborg.vbsupport.ru/showthread.php?t=59803)

Tigga 01-07-2004 05:36 PM

Apparently I missed a small part in one of the temlate modifications. I know I had it fixed and working before, but I guess I forgot to update the template.txt file, included the wrong one with the zip, or something... Either way, if you'll change your calendar_smallmonth_header template to the following it will fix the problem.

PHP Code:

<if condition="$dontshowweek">
<
td class="tcat" colspan="$colspanalign="left"><span class="smallfont"><b>$vboptions[blockbullet
<else />
<
td class="tcat" colspan="$colspanalign="center"><b>
</if><
a href="calendar.php?$session[sessionurl]month=$month&amp;year=$year&amp;c=$calendarid&amp;do=displaymonth">$monthname $year</a></td>
</
tr>
<
tr align="center">
    <if 
condition="!$dontshowweek"><td class="thead">&nbsp;</td></if>
    <if 
condition="$show['day1']"><td class="thead">$day1</td></if>
    <if 
condition="$show['day2']"><td class="thead">$day2</td></if>
    <if 
condition="$show['day3']"><td class="thead">$day3</td></if>
    <if 
condition="$show['day4']"><td class="thead">$day4</td></if>
    <if 
condition="$show['day5']"><td class="thead">$day5</td></if>
    <if 
condition="$show['day6']"><td class="thead">$day6</td></if>
    <if 
condition="$show['day7']"><td class="thead">$day7</td></if>
</
tr>
$calendarrowbits 


sarge0087 01-07-2004 05:39 PM

I'm having a problem also on my site.

http://www.nextdictator.com/

For some reason, all the links are pointing to my cgi-bin and I'm not sure why. How can I change the directories of where the links are pointing?

Tigga 01-07-2004 05:41 PM

Um... What do you have set for your "Homepage URL" in your main vBulletin options section?

Hotte 01-07-2004 05:44 PM

Thx Tigga,
looks good now :)

sarge0087 01-07-2004 05:46 PM

God, I'm such an idiot. I'm a little inexperienced with VBB I guess. Thanks Tigga.

sarge0087 01-07-2004 05:51 PM

Damn, now when I change it to the right directory I get this:

"Warning: offset not contained in string in /www.nextdictator.com/forums/includes/init.php on line 561

vBulletin Options"

Tigga 01-07-2004 05:56 PM

I actually posted the wrong setting anyways (sorry, trying to do too many things at once ;)). You should make sure that your "Homepage URL" is set to "http://www.nextdictator.com/" and your "Forum URL" is set to "http://www.nextdictator.com/forums/". As long as those settings are correct you shouldn't have any problems.

sarge0087 01-07-2004 06:18 PM

Now when I try and access my website, I get this:

"Warning: offset not contained in string in /www.nextdictator.com/forums/includes/init.php on line 561


Unable to add cookies, header already sent.
File: N/A
Line: 0"

Zachery 01-07-2004 06:23 PM

you have extra space somewhere after ?> or before <?php

paratek 01-07-2004 06:55 PM

Quote:

Originally Posted by Tigga
I'm not sure I follow you about the permissions thing... You said that regular users are able to see and respond to the posts, so what would be the problem with them being displayed on the homepage?

Because regular users don't have access to those forums so they should not be able to see those posts on the latest post page.

Also, when i click on the calendar it is pointing to the wrong url. where would i change that?

and lastly, how would i go about putting php code in the custom box? Something like a server status block for a gaming server etc.

Great program


All times are GMT. The time now is 09:15 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.01790 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
  • (1)bbcode_php_printable
  • (1)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