![]() |
Well, I'm not sure where to put this, it's really a template edit, but includes a couple of hacks already posted on the "full releses" section. I put this together as a walkthrough for an admin friend, and thought someone might find it useful.
Like I said, it's a combination of 2 previously relesed hacks (both credited fully). One by Firefly (avatar hack) and one by MrLister (since your last visit). It combines both of these hacks into a welcome panel at the top of the BB, just like the one here and on a few other sites. I'm pretty much a newbie to vB hacking, and struggled to put this together myself (couldn't find any instructions/hacks etc), but I think I've done an OK job. Maybe this will save a few headaches to others like myself ;) Anyway, here's a few images to illustrate the hack/edit (or whatever it is :D) A guests view of your forum homepage... http://www.synobyte.com/images/unreg.gif ...and what they see when they have registered.... http://www.synobyte.com/images/gotavatar.gif You can see a working verion of this hack here: The Genome Collective Thanks to Firefly and MrLister for providing the PHP hacks in this err, whatever :) (BTW, if this is in the wrong forum, please (mods) feel free to move it) here it is: [EDIT] Updated 28-11-01 to correct a display issue, table border on the right now displays properly. |
melikes...ill install it l8r :cool:
|
[QUOTE]Originally posted by nafae
melikes...ill install it l8r :cool: |
great hack trilobyte
i wasnt too keen on the actual welcome panel as i thought the actual forum was too far down instead of the welcome panel i just edited my forumhome template underneath <td><smallfont> Registered Members: <b>$numbermembers</b><br> Total Threads: <b>$totalthreads</b> | Total Posts: <b>$totalposts</b><br> Welcome to our newest member, <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$newuserid"><b>$newusername </b></a> </smallfont></td> i put <td align="center"><smallfont> $avatarimage<br>Your chosen Avatar. </smallfont></td> I have attached an example. Cheers |
I like it im gonna install it on my board :D.
|
i do love the avatars
class |
im installing it, but it seems i have encountered something i dont get. It sayes it can be placed anywhere in forumhome_xxx template. Well i am in the "forumhome" tree, and I dont see forumhome_xxx there or anywhere else. If he means xxx as in "any of them" it doesnt matter in WHAT forumhome i put it in? sorry just wanted to clear that up ;)
|
I didnt like it when the users avatar was in that table man, cuz then the ON/OFF image of the PM's gets all messed up, and doesnt aling with the forums ON/OFF.
I made mine from scrap, and hacks throw together. The "User News Scroller" is just that, it scrolls some important user news, and threads, and tips. Hot links, sorta explains its self. It looks basically the same when logged out, but with an "GUEST" image as the avatar, no scroller, or hot links. PM is gone, and it just says a little "HEY JOIN NOW" thing, and im working in the login thing tonight (whoa, a whole 2 mins there) I attached a shot of it when your loggedin. Myles. |
synx call me :stupid: but i dont understand... hehe :D
|
what man, im just showing off my work :D
|
da darling da... :D
|
[QUOTE]Originally posted by nafae
im installing it, but it seems i have encountered something i dont get. It sayes it can be placed anywhere in forumhome_xxx template. Well i am in the "forumhome" tree, and I dont see forumhome_xxx there or anywhere else. If he means xxx as in "any of them" it doesnt matter in WHAT forumhome i put it in? sorry just wanted to clear that up ;) |
[QUOTE]Originally posted by snyx
I didnt like it when the users avatar was in that table man, cuz then the ON/OFF image of the PM's gets all messed up, and doesnt aling with the forums ON/OFF. Myles. |
Oh yeah, if there are no glitches with this (anyone), maybe a mod could move it into a none "beta" area. ;)
|
i hvnt found glitch, i love it... i have gotten like 6 comments "i like that thing at the top of the forums" hehehe
|
I put a screen shot up, I dont know too much PHP, but I am missing a line on the right side...ideas?
I put a half circle around it.... Also how do I move all the stuff under my forums instead of at the top. |
Working great for me, but I heavily modified it:
http://www.unrealtournament.org/forums/index.php One problem though: The # of posts and threads always seems to be the same.... |
[QUOTE]Originally posted by Horizon
I put a screen shot up, I dont know too much PHP, but I am missing a line on the right side...ideas? I put a half circle around it.... |
Well I dont want to change it up at all...just want that line there :D
|
Ooops, I never noticed that, but bitmap is right, it's an html error, all you need to do is remove the colspan=4 from after the $avatarimage... so
Code:
<td bgcolor="#1C5780" align="center" valign="top" width="100">$avatarimage</td> Code:
<td bgcolor="#1C5780" align="center" valign="top" width="100">$avatarimage</td> I'll update the download ;) |
OK, I've updated the download :)
|
What Template is this in?
Ok ANswered my question FORUMHOME template. :D |
Hey Trilobyte, I have an idea....right above the welcome panel we have
Members: 20, Threads: 105, Posts: 430 Welcome to our newest member ..... Can you incorporate this into the panel also? |
Sure, it's all in the forumhome template. The code you refer to, is located in the.....
<!-- text --> xxx[bunch of code]xxx <!-- /text --> part of the template, just move it into whichever part of the <!-- welcomepanel --> xxx[bunch of code]xxx <!-- /welcomepanel --> you want it to be in. In answer to your other question about having the welcomepanel at the bottom, yes just move all the.... <!-- welcomepanel --> xxx[bunch of code]xxx <!-- /welcomepanel --> code so it is underneath the.. <!-- /main --> part of the template. It's dead easy :) |
Yea thanks a million, I dont know if I want the welcome panel at the bottom the more I Think about it.....
Have any ideas where to put the lines of Members: 20, Threads: 105, Posts: 430 Welcome to our newest member I am at a lost to put it somewhere, I Think though that it looks too plain though at the top...... |
well it's up to you. I didn't include it in the welcomepanel, because it isn't directly pertinent to the viewers personal info, like all the other stuff in the welcomepanel.
I suppose you could put it under the login/logoff links, but it would look wierd to a guest user. I'm happy with it where it is. |
Very nice, loox good. Thanks
|
[QUOTE]Originally posted by DarkReaper
One problem though: The # of posts and threads always seems to be the same.... |
That works, thanks :)
|
Great hack, congrats trilOByte :)
|
This is a great hack, thanks to all BUT
I have a wee problem :( can someone look here) www.scottalk.com/forum and tell me where I have went wrong :( The avatar appears at the top left as well as in the box :( please helps, thanks |
This Hack Is Great...Good Job Guys...But i dont like where da PM box is so what do i do to put the PM box back to it's regular spot? Anybody can help?
|
Put $pminfo after $forumbits
|
[QUOTE]Originally posted by Lesane
Put $pminfo after $forumbits |
forumhome
|
Ight thanxx...
|
When i added this hack, the stats dissapear...U know where it says NEWEST MEMBER:,THREADS:, and POSTS...Can somebody help me and tell me how to add them back? I really need it...Thanx again...
|
They don't dissapear if you followed the hack properly. The stats are contained within the..
<!-- text --> some code....... <!-- /text --> part of the forumhome template. Review the hack and make sure you followed it properly. Look at the images in the first post of this thread, your stats should appear there. |
Yo thanxx man...I got it now...Looks perfect...Great hack...
|
this is a real sweet hack
i have it on my board. was real easy to install. :) |
All times are GMT. The time now is 03:51 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|