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)
-   -   vBadvanced Homepage (https://vborg.vbsupport.ru/showthread.php?t=59803)

NuclioN 01-08-2004 01:55 PM

Yes but not as the reply's in the forum itself, more a very simple reply system maybe even a reply mini bbs as a third party addon that displays short instant reactions on the mainpage. They are only visible when you click a newslink and then a visitor has the option to reply on that specific newsitem. :)

(seen on fok.nl) www.fok.nl

jeff225 01-08-2004 02:41 PM

Thanks Tigga for the help. It worked fine after I updated the URL on the thread display options.

Does anyone have a procedure for adding more custom blocks? I realize you must update the adv_index.php file but how do you add the custom 3 block to the index_tempates catagory and have it recognize it. Thanks, jeff

Tigga 01-08-2004 02:45 PM

Nuclion - Something like that would be possible, but I don't think it will be a default feature anytime soon.

Jeff - Why not just copy one of the custom templates and then add the code in the index template where you'd like it to appear? ;)

jeff225 01-08-2004 03:02 PM

I can do it that way Tigga but I wanted to keep it organized. I'm integrating your program with other custom databases and I wanted to keep it as organized as possible.

Tigga 01-08-2004 03:08 PM

Ahhh, ok. Well the easiest way to do that would be to look in your adv_index.php file for this code:
PHP Code:

eval('print_output("' fetch_template('index') . '");'); 

Right above that add:
PHP Code:

eval('$custom3 = "' fetch_template('index_custom3') . '";'); 

Then create a new template called "index_custom3" and just add $custom3 in your index template. And of course if you need more, you would just change the two places you see the number 3 in that code to 4, 5, and so on.
If you need to add options to turn them on/off, the easiest way would be to put your forum in debug mode for a minute by adding $debug = 1; in your config.php file. Then go to the vBadvanced Homepage settings and add the new settings. If you do that, don't forget to take your board out of debug mode afterwards. ;)

jeff225 01-08-2004 03:14 PM

I'm new to VBulletin so bare with me Tigga but when I select add templates to add the custom 3 template in the admincp it adds it to the custom templates catagory and not under your index templates catagory.

Tigga 01-08-2004 03:20 PM

Yea, it adds them there because they're not "default" templates. It will work just fine from there though... Or if you really need them to be displayed with the others then you can go to your templates table in the database, find that template, and change it's styleid to "-1".

jeff225 01-08-2004 03:22 PM

Awesome, thanks for your help today.

TECK 01-08-2004 03:49 PM

<a href="http://www.plurplanet.com" target="_blank">www.plurplanet.com</a>
You are breaking the vBulletin copyright, simply because you do not display the "vBulletin Copyright ©2000 - 2003, Jelsoft Enterprises Limited" required, on your front page.
Your script uses the vB functions, so is a vBulletin product/hack.

Tigga 01-08-2004 05:35 PM

Jeff - No problem. Hope you enjoy the script. :)

TECK - I have spoken with a member of the Jelsoft team before and they said it was not necessary to display the copyright message on the homepage, nor any of my other pages, since it is not a vBulletin file. If it was necessary, or a violation of the vBulletin license agreement, then it would be there. [Edited by assassingod - Unnecessary]


All times are GMT. The time now is 04:30 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.01771 seconds
  • Memory Usage 1,741KB
  • 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_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