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.
Anyway, I'd like to thank both el3m3nt and NTLDR for all of their great support on this hack. I have finally ported all of my website to vBulletin and I'm using vbIndex to drive the main page. It is now finally online.
Nice hack el3m3nt.
I'm currently working on totally redesigning my site to incorporate the features of vBulletin into it more. At first I was going to use vBhome, but I think I may switch to this one instead.
The one thing that I can not seem to figure out (and does not seem to be in either of these hacks) is how to display a users avatar with the rest of their information. I've tried to figure this out myself, but I'm not that good with php code yet. If anyone could help me with this it would be much appreciated.
Originally posted by PlurPlanet The one thing that I can not seem to figure out (and does not seem to be in either of these hacks) is how to display a users avatar with the rest of their information.
Do you mean like how I have the users avartar shown on my vBindex page? If so I'll work out the code and where you need to put it in the standard vBindex file.
Hi NTLDR,
I just checked out your site again and that is exactly what I am trying to do. If you could tell me what code needs to be placed in the vBindex page I would appreciate it. I'm not exactly sure of the rules about posting code from vBulletin on here, so if it would be better you could just PM or email me.
Thanks for the help!
I just noticed that guest users see the poll in the main page but are not able to vote on it. It says "User already voted", even though I set the poll forums permissions to allow guests to vote.
Originally posted by PlurPlanet Hi NTLDR,
I just checked out your site again and that is exactly what I am trying to do. If you could tell me what code needs to be placed in the vBindex page I would appreciate it. I'm not exactly sure of the rules about posting code from vBulletin on here, so if it would be better you could just PM or email me.
Thanks for the help!
Right, you need to add this code:
PHP Code:
// show avatar
// -------------------------
if ($bbuserinfo[userid]!=0) {
$avatarurl=getavatarurl($bbuserinfo[userid]);
if ($avatarurl=='') {
$avatarurl='images/avatars/noavatar.gif';
}
$avatarimage='<a href="member.php?s='.$session[sessionhash].'&action=editavatar"><img src="'.$avatarurl.'" border="0">';
} else {
$avatarimage='<a href="register.php?s='.$session[sessionhash].'&action=signup"><img src="images/avatars/guestavatar.gif" border="0"></a>';
}
After this code in the vbindex php file:
PHP Code:
]// vBindex - start
// -------------------------
This code is taken from the welcome pannel hack and full credit goes to the creator of that hack.
You need to add:
Code:
$avatarimage
in the template that you want the avatar to be displayed.
Originally posted by The Piper I just noticed that guest users see the poll in the main page but are not able to vote on it. It says "User already voted", even though I set the poll forums permissions to allow guests to vote.
Any way to change this?
Thanks!
Paulo
Does this happen in the forum when a guest votes? As all guests have userid 0 I'm asuming when one guest votes it allows no other guests to vote, can users vote multiple times?
Does this happen in the forum when a guest votes? As all guests have userid 0 I'm asuming when one guest votes it allows no other guests to vote, can users vote multiple times?
No, I just logged in as guest and when I go to the forums, I'm allowed to vote. Pretty strange, isn't it?