Version: 1.00, by el3m3nt
Developer Last Online: Oct 2002
Version: 2.2.x
Rating:
Released: 04-04-2002
Last Update: Never
Installs: 75
No support by the author.
Latest Version: 1.3
This hack is not very special for me. I just wanted to create a mainpage on which you can see.. (as a member) everything what u like to see. The idea of the script is similar to the vbHome of nakkid and also a little bit to the vBPortal. I tested all of them.. but i was looking for something better . so i decided to write such a script myself...
Features:
Active threads & newest posts
News & Polls (read from a newsforum and a pollforum)
Quick CP Links on the index-site
Buddies on the index-site
Very easy to customize. Just edit the templates!
Available in english and german!
Summary: On this index-site you can see everything what you as a member would like to see .
Credits
Newscode part from vBHome by nakkid.
Onlinetodaycode part from Online Today Hack by Mystics.
Pollcode part from vBPortal by wajones.
Note!
I'd really like to get every feedback you guys can give me. Also post bugreports and suggestions to improve this script. If you have installed this hack, pls click on the install button to receive updates thru email. Thank you .
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I just installed both vBulletin and vbIndex, as I'm planning on using them both as the backend for my website (old version at http://www.pinkfloydfan.net and new test-version at http://209.51.137.172). I really like what vbIndex does, and I was thinking of using it to power all pages on my website.
So what I'd like to do was to use the header, footer and the left and right blocks in ALL of my pages, and the only thing that would change would be the center "window", where the latest threads and news are. But since vbIndex uses templates so much, I'm pretty lost as to how I should proceed to get what I want. I thought of using require's (as SSI's) as I'm doing right now on pinkfloydfan.net, but for all I tried, it doesn't work. So, could anyone please help me out?
Also, if this is possible, would it be too heavy on my server? I ask this because I think there are many MySQL queries and all, so is this a practical option? Sorry, but I'm really a beginner in both MySQL and PHP...
Thanks a lot and congrats el3m3nt for such a nice hack!!!! I've tried using phpNuke, postNuke and so many other portal scripts but never liked them. With your script I got exactly what I wanted.
I just installed both vBulletin and vbIndex, as I'm planning on using them both as the backend for my website (old version at http://www.pinkfloydfan.net and new test-version at http://209.51.137.172). I really like what vbIndex does, and I was thinking of using it to power all pages on my website.
So what I'd like to do was to use the header, footer and the left and right blocks in ALL of my pages, and the only thing that would change would be the center "window", where the latest threads and news are. But since vbIndex uses templates so much, I'm pretty lost as to how I should proceed to get what I want. I thought of using require's (as SSI's) as I'm doing right now on pinkfloydfan.net, but for all I tried, it doesn't work. So, could anyone please help me out?
Also, if this is possible, would it be too heavy on my server? I ask this because I think there are many MySQL queries and all, so is this a practical option? Sorry, but I'm really a beginner in both MySQL and PHP...
Thanks a lot and congrats el3m3nt for such a nice hack!!!! I've tried using phpNuke, postNuke and so many other portal scripts but never liked them. With your script I got exactly what I wanted.
Cheers,
Paulo
Yes this can be done very easily, I'll post the modifications you need to make to have a mulipaged vBindex site after, see My vBindex (in my sig) for an example of a multipaged version of vBindex.
As for server load etc, I'm no MySQL expert, but as long as the number of queries is <=30 (or there abouts) it should be fine.
This is what I've been lead to belive, someone may correct me on that
Page generated in 20.847882032394 seconds with 44 queries,
spending 20.519717216492 doing MySQL queries and 0.32816481590271 doing PHP things.
Ouch.
Query: SELECT *,thread.open FROM poll LEFT JOIN thread ON (thread.pollid = poll.pollid) WHERE thread.forumid='244' ORDER BY poll.dateline DESC LIMIT 1
Time before: 2.2398979663849
Time after: 20.608139038086
Originally posted by NTLDR
Yes this can be done very easily, I'll post the modifications you need to make to have a mulipaged vBindex site after, see My vBindex (in my sig) for an example of a multipaged version of vBindex.
As for server load etc, I'm no MySQL expert, but as long as the number of queries is <=30 (or there abouts) it should be fine.
This is what I've been lead to belive, someone may correct me on that
Thanks a lot, NTLDR. I look forward to hear from you. By the way, I`ve checked your vBindex page and it looks great, that's exactly what I want to do. In a way, it's what a portal system would allow me to do, but I don't like the way how every page using a portal system looks exactly the same as other pages... That way I could keep my own design but still use the nice features of vBindex.
Originally posted by The Piper In a way, it's what a portal system would allow me to do, but I don't like the way how every page using a portal system looks exactly the same as other pages... That way I could keep my own design but still use the nice features of vBindex.
This is why I've chosen not to use a portal system, because it looks the same as everyone elses site and is mean't for a lot of things I don't need or want to do, this way I can fully integrate with my forums and have a common design thoughout my site.
Here is the code you need to find and change for a muli-paged vBindex:
In the vbindex php file change (its right at the end):
PHP Code:
eval("dooutput(\"".gettemplate('home')."\");");
To:
PHP Code:
if (!$page)
// no page specified
{
eval("dooutput(\"".gettemplate('home')."\");");
}
else
eval("dooutput(\"".gettemplate("$page")."\");");
//eval("dooutput(\"".gettemplate('home')."\");");
to get the homepage use http://mysiteurl/forumsdir/vbindex.php to get any other page use http://mysiteurl/forumsdir/vbindex.php?page=template_name
Where:
vbindex.php is what you have called the index.php file included with vBindex
and
template_name is the name of the template that contains the page.