vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vbHome (lite) - your vBulletin(powered) main homepage (https://vborg.vbsupport.ru/showthread.php?t=36756)

TECK 04-03-2002 07:23 PM

glad you like it. :)

Darshu 04-03-2002 09:55 PM

hey nakkid can i add my own custom pages to it? or is it just for the front page??

also can i add like a poll and such outta vb?

sorry i'm a lil' new to this, thanks :P

E 04-03-2002 10:00 PM

its easy too add ur own pages...

TECK 04-03-2002 10:33 PM

How to add a VB code segment

If you want to add the pm code (for example) to your main page, do this:
forum/index.php
Find the code:
PHP Code:

//check usergroup of user to see if they can use PMs
[...more vB code here...]
  eval(
"\$pminfo = \"".gettemplate('forumhome_pmloggedin')."\";");

} else {
  
$pminfo='';


and copy it in the vbHome index.php file (there is a mark for the location where you can copy the code).

Replace:
PHP Code:

eval("\$pminfo = \"".gettemplate('forumhome_pmloggedin')."\";"); 

with:
PHP Code:

eval("\$homepminfo = \"".gettemplate('home_pmloggedin')."\";"); 

Add a new template called home_pmloggedin and put in there the html code you want to have (get inspired from 'home_pmloggedin'). Call everything in your home template with the variable $homepminfo.
That's all. ;)
Do the same with whatever code segment you want to add to your homepage.

[HIGH]IMPORTANT:[/HIGH] Do not forget to add [high]home_pmloggedin[/high] to the line:
Code:

$templatesused = 'home,home_headinclude,...,[high]home_pmloggedin[/high]';
or else you will add an extra query for every template you miss to add.

TECK 04-03-2002 10:36 PM

Quote:

Originally posted by Birdie501
Hi,

can somebody explain what the differences between lite and the full version are?

thanks
Birdie501

https://vborg.vbsupport.ru/showthread.php?s=&threadid=35058

E 04-04-2002 07:57 AM

ha i used the pm thing... and top posters.. and a user cp.....But 25 threads still show up lol

Sadie Frost 04-04-2002 06:08 PM

Great hack :) I wonder if someone might help me with a bit of formatting?

I am trying to make the items on the vbHome page appear with the tableborder as it would on the forumhome page - can anyone tell me how to do this? I tried using regular table borders, but it doesn't look the same. Sorry, I'm not very advanced in html :)

http://www.britpack.com/main.php

(I'm just playing with the page right now - so it won't actually look like that when it's finished lol, so please don't laugh too hard at it :))

Thanks!

TECK 04-04-2002 06:13 PM

Quote:

Originally posted by E
ha i used the pm thing... and top posters.. and a user cp.....But 25 threads still show up lol
does anyone have the same problem? it's working perfect for me. let me know please.

wooolF[RM] 04-04-2002 06:33 PM

]All original content copyright britpack.com 2002. All other materials copyright their respective owners. No infringement intended. This site not affiliated with Natural Nylon, or any of the actors discusssed

U may want to remove one lil extra "s" ;)

TECK 04-04-2002 06:35 PM

lol.. wooolF.. ur the expert in finding those bugs.. arnt you?? hehe


All times are GMT. The time now is 02:11 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.03184 seconds
  • Memory Usage 1,744KB
  • 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
  • (3)bbcode_php_printable
  • (2)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