vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   How to create your own vBulletin-powered page! (uses vB templates) (https://vborg.vbsupport.ru/showthread.php?t=62164)

phenomenon 03-19-2004 11:45 PM

I'm intrigued by this. I keep coming back to it, wondering if this is something that could be combined with Coppermine or with 4images to get the gallery integrated with the forum. I'm currently running 4images; it allows me to login etc. but logs me out as soon as someone else looks at the forum or the gallery. Drives me nuts. I'd like it to have the navbar across the top, but replace the search functionality with the gallery search (which I've done already once before I scrapped and started over -- basically built a search that looks like vbulletins but calls 4images code)

That gallery is installed into a different directory, but I see you've got the code here for the diff directory.

There is a hack that unfortunately no one is paying attention to anymore here that linked the user login/cp of vb3 to the 4images... so now what I'm curious about is getting basically this to work the other way around -- make the login/etc. work with the gallery.

Hmm... I suppose if I were to copy all the 4images html into these templates it may work.

SilverDawn 03-20-2004 06:43 PM

great! I have been looking to get my custom pages to display correctly on who's online!

Thanks!

AshAbed 03-20-2004 11:01 PM

is it possible to make it so test.php?page=xxx works? thanks

Gary King 03-20-2004 11:10 PM

Quote:

Originally Posted by AshAbed
is it possible to make it so test.php?page=xxx works? thanks

Yes it's possible but it would be harder to explain and to make it work properly; why not just create a new file? :)

Grendel 03-21-2004 05:00 PM

I try to put the "whats-going-on"-content of the forumhome-template into a custom template. Works fine - besides the "calender events". Is there any way to put the events on an "vBulletin-powered page"?

Greetings
Grendel

Gary King 03-21-2004 05:20 PM

You'd have to copy the code in the file to produce the results for that; easiest thing to do would be to copy all of the contents of the index.php but remove the print_output() line.

Grendel 03-21-2004 05:33 PM

That's what I had done.
It shows the statistics, online-users and birthdays. But the events are not shown :(.

Grendel 03-21-2004 06:37 PM

Is there any chance to get the "Quick-Links" of the navbar running on "vBulletin-powered pages"? That would be nice.

Sorry, my fault. forgot the $navbar.
But the other problem exists nevertheless. ;)

Gary King 03-21-2004 10:58 PM

Quote:

Originally Posted by Grendel
Is there any chance to get the "Quick-Links" of the navbar running on "vBulletin-powered pages"? That would be nice.

Sorry, my fault. forgot the $navbar.
But the other problem exists nevertheless. ;)

Well I haven't looked into how the code creates the events data, but I suppose it would require more than index.php then. I will look into it when I have time, or maybe someone else could give it a go :)

AshAbed 03-21-2004 11:02 PM

Quote:

Originally Posted by Gary W
Yes it's possible but it would be harder to explain and to make it work properly; why not just create a new file? :)

I was using vBadvanced and had 100+ pages running through it, they're all saved as index_(pagename), I was hoping to be able to do this without making a page for each and keeping them named as index_pagename


All times are GMT. The time now is 02:46 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02146 seconds
  • Memory Usage 1,737KB
  • 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
  • (3)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