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)

Reeve of shinra 03-31-2002 05:32 PM

woolf - I checked your front page and the nav links - (cp, memberlist, ect) point to the wrong url ... it points to your domain/whatever.php instead of forums.domain/whatever.php.

Just thought you may want to know.

N!ck 03-31-2002 08:12 PM

errr...looks okay, but it's kind of useless to me...all i see is the latest posts and some news.

wooolF[RM] 03-31-2002 09:52 PM

]
Quote:

Originally posted by Reeve of shinra
woolf - I checked your front page and the nav links - (cp, memberlist, ect) point to the wrong url ... it points to your domain/whatever.php instead of forums.domain/whatever.php.

Just thought you may want to know.

what??? what URL do u talking about??? I have installed it on my test server :D

PM me if u have some comments

TECK 03-31-2002 09:55 PM

Quote:

Originally posted by nicksaunders
errr...looks okay, but it's kind of useless to me...all i see is the latest posts and some news.
is up to you to add the rest. is fully customizable, all you have to do is copy-paste the vBulletin code into the [high]index.php[/high] file.

ptbyjason 04-01-2002 08:30 PM

any reason this won't accept html even if the news forum allows html (only I have access to the news forum nakkid, don't worry :) ). All I get is the html code to come up. I wanted to create some tables in my posts since I am making it a newsletter. If all else fails I guess I could try to just add a custom script and make it work that way. Any other ideas before I go that route?

TECK 04-01-2002 09:44 PM

it does accept html (in templates). if your forum have html code disabled, you will not be able to post html code.. the same thing like a regular post.

i will get back at you tonite, home (on msn). ;)

E 04-02-2002 10:35 PM

i have this code in the index.php
PHP Code:

// latest threads (maximum number of threads)
$maxthreads="5";

// latest threads (maximum title lenght)
$maxchars="15"

yet it still shows 25 new threads

TECK 04-02-2002 11:12 PM

<font color="red">$maxthreads</font> will show you the number of your latest threads from the forums (not the news). i entered the value 1 and it showed me only one thread. it's working fine. please check your code.

Birdie501 04-03-2002 08:06 AM

Hi,

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

thanks
Birdie501

Bald Bouncer 04-03-2002 07:09 PM

brilliant mate!! works the same as Portal except its a lot easier to customize and only one file!!

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

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

]
Quote:

Originally posted by nakkid
does anyone have the same problem? it's working perfect for me. let me know please.
// latest threads (maximum number of threads)
$maxthreads="5";

result == 25 threads

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

]
Quote:

Originally posted by nakkid
lol.. wooolF.. ur the expert in finding those bugs.. arnt you?? hehe
well... I'm trying... ;) As I said to u in one of my PMs (*tip* ;)) I'm not good with PHP hacks/editing... :(

Sadie Frost 04-04-2002 07:01 PM

Many thanks wooolF[RM] :)

wooolF[RM] 04-04-2002 07:03 PM

]trying to help the community ;)
By the way, very nice avatar, I like it :)

Sadie Frost 04-04-2002 07:06 PM

Thank you :) I'm what you might call "graphically challenged" or "sucks at graphics" so I'm relegated to the simple.

Also, figured out my table border problem - please try to forget that I asked such a stupid question!

TECK 04-04-2002 07:30 PM

Quote:

Originally posted by Sadie Frost
Also, figured out my table border problem - please try to forget that I asked such a stupid question!
is nothing wrong to ask. we are here to help. glad you managed all great. ;)

wooolF[RM] 04-04-2002 07:38 PM

]To Saddie :

http://www.britpack.com/announcement.php?forumid=18

Damn... that was interesting to read... If I will follow these rules 100% I could never be a MOD on your forums ;)

TECK 04-05-2002 12:23 AM

Quote:

Originally posted by wooolF[RM]
// latest threads (maximum number of threads)
$maxthreads="5";

result == 25 threads

ok.. my fault.. :(
in index.php find this code:
PHP Code:

///////////////////////////////////
// variables settings            //
///////////////////////////////////
// news forum
$newsforum="2";

// number of news listed
$newsposts="15";

// latest threads (maximum number of threads)
$maxthreads="3";

// latest threads (maximum title lenght)
$maxchars="25";

// set your root path
chdir("/home/path/to/forum");
///////////////////////////////////
// end variables settings        //
///////////////////////////////////

require("./global.php"); 

replace it with:
PHP Code:

///////////////////////////////////
// variables settings            //
///////////////////////////////////
// set your root path
chdir("/home/path/to/forum");
require(
"./global.php");

// news forum
$newsforum="2";

// number of news listed
$newsposts="15";

// latest threads (maximum number of threads)
$maxthreads="3";

// latest threads (maximum title lenght)
$maxchars="25";
///////////////////////////////////
// end variables settings        //
/////////////////////////////////// 

that should do it. :)
i updated the file.

E 04-05-2002 12:34 AM

lol... see my thinig was right :) thx for the code tho

TECK 04-05-2002 12:38 AM

E, the file i had on my pc was different then the one uploaded here.. that's why it was working good..
you are right, it was my mistake. ;)

Sparkz 04-05-2002 01:00 PM

Definitly gonna have a look at this later.
Kinda sick and tired of vbportal. :)

wooolF[RM] 04-05-2002 01:50 PM

]any ideas how to add PM info? and maybe some nifty info like
Members
Currently active users
Newest member
Total Threads
Total Posts
Total Thread Views
How many new threads and posts since last visit
User last visited

I have all of these features on the main page of the forums... Is there a way to "import" them into index.php? :( 3 days I have tried to get it to wrk... no luck...

E have helped me a bit with top posters, thanx to him!

TECK 04-05-2002 01:57 PM

Quote:

Originally posted by wooolF[RM]
any ideas how to add PM info?
click here ;)

wooolF[RM] 04-05-2002 02:02 PM

]baah :disappointed:

what about others? ;)
well... I'm not saying someone must help me cause nobody owns me... but help with this hack would be very appreciatted...
That's my favorite hack from about 40-50 I have installed.

why, oh why I can't do it myself... :confused:

well... if somebody will help, I'll be waiting ;)

btw... thanx to all hackers for great job! keep it up! :)

TECK 04-05-2002 02:10 PM

wooolF, add me to your msn messenger:
nakkidone@hotmail.com

i will help you there. due to vBulletin code copyright, i cannot post here the exact changes. contact me on msn and i will explain to you there the process.. ;)

wooolF[RM] 04-05-2002 02:35 PM

]installing MSN... deleted it for looooooong time ago.... ;)

el3m3nt 04-05-2002 04:00 PM

wooolF[RM], just copy n paste from the original index.php

el3m3nt 04-05-2002 04:02 PM

hmm.. okey ur right.. so isi its not. mostly u have to change the original code a little... hmm..

well.. u can find some of these features here

Sadie Frost 04-05-2002 05:03 PM

Quote:

Originally posted by wooolF[RM]
To Saddie :

http://www.britpack.com/announcement.php?forumid=18

Damn... that was interesting to read... If I will follow these rules 100% I could never be a MOD on your forums ;)

It's the result of 9 months of revisions every time a new problem arose on the various boards lol

one thing to do is go to the hack instructions and see what code you were supposed to add (to whatever file), then add that to your new index one :) That's what I did for ones not in the index.php file

wooolF[RM] 04-05-2002 05:51 PM

]hmmz... I'm working on it... not everything working yet... but... but .. but... ;)
look at the attachment


All times are GMT. The time now is 09:53 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.02262 seconds
  • Memory Usage 1,838KB
  • 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
  • (6)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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