vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   [split] Make pages powered by vBulletin (https://vborg.vbsupport.ru/showthread.php?t=32879)

Hooper 12-01-2001 10:12 PM

Edited by Hooper:

This was a conversation in a beta hack thread. It was split by the moderator. Not being well layed out for a topical discussion that could be well understood, I have removed the content I posted. Sorry for the confusion.

Thanks

Crinos 12-01-2001 10:28 PM

if it's template code, I don't think it's forbidden ...

Hooper 12-01-2001 10:51 PM

Edited by Hooper:

Crinos 12-01-2001 11:08 PM

Hmmm, I'm a bit confused...

I am using .SHTML pages along the other parts of the site, and they have at least 5-7 include calls in them (like the left and top menus, footers, etc)... do I just add the php headers/footers into the SHTML file and rename them .PHP? I forgot how you "include" a file in PHP ...

Also, you said I should create a template - do you mean a style template? If so, what exactly do I put inside the template?

Thanks :)

Hooper 12-01-2001 11:15 PM

Edited by Hooper:

Freddie Bingham 12-02-2001 02:24 PM

Use this instead:
PHP Code:

<? 
require( './global.php' ); 
ob_start(); 
require("$path/community/aboutlinks_.php"); 
$aboutlinks = ob_get_contents(); 
ob_end_clean(); 

if( $bbuserinfo[userid] ) { 
  // $bbuserinfo[username] is the username
  eval("dooutput(\"".gettemplate('aboutus')."\");"); 
} else { 
  show_nopermission(); 
} // end if 
?>


Hooper 12-02-2001 04:22 PM

Edited by Hooper:

KuraFire 12-10-2001 01:40 PM

Wow, this makes NO sense at all!


I'd like to know more about how to incorporate extra pages in the vBulletin system and the Who's Online page and all, but this is just WAY unclear :(


All times are GMT. The time now is 11:01 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.00983 seconds
  • Memory Usage 1,724KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete