vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=139)
-   -   [Release] Simple vB powered web page (https://vborg.vbsupport.ru/showthread.php?t=86155)

donBLACK 02-11-2003 11:37 PM

let me see if i understand this, if i install it i can use all of the $variables on on pages other than my board

Rufus69 02-12-2003 01:33 AM

most of them, yes...

Brad 02-12-2003 02:22 AM

Quote:

Originally posted by donBLACK
let me see if i understand this, if i install it i can use all of the $variables on on pages other than my board
you can use

$header
$footer
$gobutton
$bburl
$bbuserinfo[]
{replacements}

And probbly a few mor i can not recall at this time.

Bad Bunny 02-15-2003 03:27 AM

Is there a way to make the page use one style (other than the default one), and override user's preference?

Brad 02-15-2003 04:37 AM

Try adding this:

if ((!isset($styleid) or $styleid=="") {
$styleid="$setstyleid";
}

after:

$templatesused='$template';

And this:

// set this to the custom style of the page
$setstyleid = "1";

after:

// Edit this line with the full _path_ to your vBulletin global.php file (not /admin/global.php!!!)
$path = "/path/to/globals/";

Bad Bunny 02-15-2003 05:02 AM

Parse error on the line with
if ((!isset($styleid) or $styleid=="") {

Bad Bunny 02-18-2003 11:50 AM

I hate to be a nag, but should I assume that this is currently not possible to force a style on a page?

Brad 02-18-2003 04:40 PM

I look into it, and add a few more things when i release version 2 (coming after loo-portal). For now you can just link the page like so:

www.yoursite.com/page.php?styleid=*number of style id here*

Bad Bunny 02-19-2003 04:54 AM

Hmmm. I will have to wait I guess. I do not allow changing of styles by members. Different areas change styles by default. So this does not seem to work for me.

kitzzy 05-15-2003 10:36 PM

I am having a problem, it seems that all of a suddent the access masks on this stopped working because all pages that I have that say no to guests are still viewable by guests :( Any ideas of what could be causing this?


All times are GMT. The time now is 07: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.02576 seconds
  • Memory Usage 1,735KB
  • 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
  • (3)pagenav_pagelink
  • (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