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)
-   -   Adding a table for including news or anything else (https://vborg.vbsupport.ru/showthread.php?t=62583)

Bernd Glasstett 03-16-2004 10:00 PM

Adding a table for including news or anything else
 
I wrote this modification for a request on vbulletin.com (btw. Wayne Luke pointed it to be here, he thinks it to be more than a template modification...)

What it does is this: It includes a php-include-file in the phpinclude_start-template. And you need to add some lines to your FORUMHOME-template. And in the included file, you can put whatever you want: news, ex-moderators (that was it, for what is was designed, that's why it's called that way). The good thing is: You don't need to edit templates again, when you need to change things in this file. And as it is a PHP-file, you can add whatever PHP-code you want. The table in which you can write this stuff can be collapsed.

Templates to edit: 2
Files to be uploaded: 1

All instructions are in the ZIP-file.

If you have any questions, just ask :)

mello_mike 03-17-2004 07:51 PM

I think I understand what this is....

would it be any trouble to give us a screen shot? Thanks!

Bernd Glasstett 03-17-2004 08:49 PM

a demo is always better: http://www.comicforum.de/comicforum - the news are made with this :)

alkahf 05-19-2004 09:41 PM

Quote:

Originally Posted by Bernd Glasstett
a demo is always better: http://www.comicforum.de/comicforum - the news are made with this :)

Hello
Nice hack but I have problem with login:
http://www.vbulletin.com/forum/showt...905#post673905
may you help me?

Regards
alkahf

MrWolfman 06-09-2004 06:14 AM

im not a wiz but isnt this
$vb = ob_get_contents();
supposed to be this
$vb = ob_get_content();


All times are GMT. The time now is 10:03 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.00983 seconds
  • Memory Usage 1,718KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (5)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