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)
-   -   vBindex v3.0.0 RC5 (https://vborg.vbsupport.ru/showthread.php?t=59524)

NTLDR 03-31-2004 08:31 PM

Quote:

Originally Posted by killervette
I would like to add a php script in the custom box? How can I do this? I tried to read the posts but it is 77 pages or so and i couldnt find an answer. I am php stupid so can you be detailed please?

Add it to the vbindex_customblock_php template within the case X part (where X is the number of the custom block) and then use $boxY_php in the custom block template where you want your output (Where Y is the block number).

PHP will only work in phpinclude_start, phpinclude_end, vbindex_customblock_php and vbindex_extra_php_NAME templates.

killervette 03-31-2004 08:54 PM

Cool...that worked. Now part two. I want to add another box like the centered latest threads window or the news. How can I add the php code so it will show under the latest threads.

NTLDR 03-31-2004 09:32 PM

You'll need to edit vbindex.php and add your code there. PHP powered center blocks arn't supported at the moment.

killervette 03-31-2004 09:37 PM

I tried that...i put it in the latest threads part. It always puts it on the top of the page??? i cant get it to the bottom.

GoTTi 03-31-2004 09:58 PM

the style select option on the index page is not working properly...it will load 1 style, then if u try to change the style in the drop down after you change it once, it will not load.

some1 told me that the New Post link is not working also, but i am not duplicating this problem. vBindex RC3 is what im running right now.

killervette 03-31-2004 11:09 PM

Quote:

Originally Posted by NTLDR
You'll need to edit vbindex.php and add your code there. PHP powered center blocks arn't supported at the moment.

do you know where i should put the code?

iJason 04-01-2004 03:18 AM

How do you make the title image on the vbindex page centered?

Sam FT 04-01-2004 03:52 AM

Another request since you guys brought up center block...I like to see a weather block either add or an addon. Mainly since someone create one for vbadvanced.

chris frolic 04-01-2004 08:23 AM

Is there a way to allow HTML in the news block if it's allowed in that forum?

NTLDR 04-01-2004 08:27 AM

HTML should be parsed automaticly if the forum allows it.


All times are GMT. The time now is 05:50 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.03716 seconds
  • Memory Usage 1,734KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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