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)

msimplay 03-13-2004 08:01 PM

i want to add vbindex as my homepage but i need a couple of things
i need to be able to make vbindex a different width to the forum
the forum is set at 750 width but i want the vbindex to be 100% width
and also how do i go about putting the shoutbox underneath the welcome box
check the attachment to see what i mean

NTLDR 03-13-2004 09:48 PM

To make the width 100% just edit the VBINDEX template and change the width from $stylevar[tablewidth] to 100%.

To place the shoutbox under the welcome panel use $side[shoutbox] in the VBINDEX template where you want it. This should work.

Davey-UK 03-14-2004 08:55 PM

I am desperately trying to add a random image from my photo gallery into a custom box.

I am just guessing, but can this be done, as i know there are issues with Php includes.

phpinclude_start

ob_start();
require("http://www.mydomain.co.uk/forum/random.php");
$header = ob_get_contents();
ob_end_clean();

Then in the custom block

<php include ('http://www.mydomain.co.uk/forum/random.php')?>

It doesn't show anything in the box at all.
Can this be done??

Please help :disappointed:

NTLDR 03-14-2004 09:02 PM

You cannot use PHP in custom blocks untill the next version. Rename the $header variable in in the phpinlcude_start template with something like $randompic and then place that in the custom block.

Davey-UK 03-14-2004 09:55 PM

Quote:

Originally Posted by NTLDR
You cannot use PHP in custom blocks untill the next version. Rename the $header variable in in the phpinlcude_start template with something like $randompic and then place that in the custom block.

Thats great, but now i get this:
Code:

Warning: Unknown(): stream does not support seeking in /hsphere/local/home/conviction/mydomain.co.uk/forum/global.php(386) :
eval()'d code on line 3

Any ideas? Something to do with permissions?

NTLDR 03-14-2004 10:06 PM

I would guess its something inside the file your including thats causing the error.

keiser 03-15-2004 04:08 AM

Everything works, except the smilies won't show up in my shoutbox. Any ideas? What files or templates should I check?

There wasn't a smilie image path option in the stylevar image settings....

NTLDR 03-15-2004 09:58 AM

Quote:

In order for smilies to work on vBindex you will need to go into the Smilie Manager in the vBulletin Admin Control Panel and edit the smilies to use a full URL.

tobkat 03-16-2004 02:47 PM

NTLDR, do you approximediatly know, when you will release the next version ? It would bit great if News texts could be limited in lenght. The rest of the Text should only be availible in the forums. For example ... "blablabla .... for full story click here"

NTLDR 03-16-2004 05:29 PM

Sometime after vB3 Gold is released vBindex RC4 will be released which will have at minium a center block for latest threads and dynamic custom blocks.

The modification to limit news text can be found at Core Forums however as I've mentioned before due to BB Code it may not allways work very well.


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