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)

TNCclubman 02-13-2009 10:51 PM

Please tell me its possible to display 1 users most recent albums in one of these 'powered by' pages. I want to make a intro page with just my albums in it so when people enter the 'menu' page it will show them the most recent pics I've uploaded.

Lynne 02-13-2009 11:35 PM

It is possible to display whatever you want to code. You just need to code it.

TNCclubman 02-14-2009 01:33 AM

I see, Im kind of an amature and was hoping someone knew the code off hand. No worries then, nice code!

(Tried putting 'Todays Events' code from the FORUMHOME template and its not displaying Todays Events. Is it not that easy?)

Lynne 02-14-2009 03:27 AM

No, it's not that easy. You need to grab all the php code that creates all the variables that are called in the template also.

TNCclubman 02-14-2009 03:07 PM

and would that php code go in the php part of your system, or the template part?

Lynne 02-14-2009 03:31 PM

php code goes in the php page. html goes in the templates.

TNCclubman 02-14-2009 10:22 PM

thanks you've been most helpful!!

I'll try to look for the corresponding php probably in the calendar.php file and add it to this test.php and see if it works...

appreciate the help Lynne!

wAnBoA 02-15-2009 05:48 AM

This Article is really useful. Thank dude.

khurtsiya 02-16-2009 10:04 AM

Anyone tested on vBulletin 3.8.1?

ragtek 02-16-2009 10:07 AM

Why it shouldn't work?:D

It's working!

--------------- Added [DATE]1234807628[/DATE] at [TIME]1234807628[/TIME] ---------------

But, i've forgotten, there are some things which changed with the time(because the code seems to be old*g*
1.
PHP Code:

define('NO_REGISTER_GLOBALS'1); 

2. Please use csrf protection on your sites, here's a article/tutorial.


All times are GMT. The time now is 01:16 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.02480 seconds
  • Memory Usage 1,733KB
  • 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)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