The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#2
|
||||
|
||||
I like it, nice work there Firefly
|
#3
|
||||
|
||||
it's good hack for me thankz FireFly~~
if i want it show up like main page of this forum what template should i put this code$avatarimage? forumhome or .....?? |
#4
|
|||
|
|||
forumhome template
|
#5
|
|||
|
|||
or any of the other's that are listed under forumhome
|
#6
|
||||
|
||||
oh yeah, love'n it firefly!
http://www.form-kaos.com/board/ |
#7
|
||||
|
||||
How would I go about using $avatarimage in my header template. Modifying something in functions.php correct?
|
#8
|
||||
|
||||
Add the code to global.php, before:
Code:
$header=''; |
#9
|
||||
|
||||
Thank You
|
#10
|
||||
|
||||
Thanks FireFly!
|
#11
|
||||
|
||||
Awesome Hack Firefly. What part of the code would I change to make it so the noavatar.gif is linked to userCP?
|
#12
|
||||
|
||||
|
#13
|
||||
|
||||
[QUOTE]Originally posted by JTMON
Awesome Hack Firefly. What part of the code would I change to make it so the noavatar.gif is linked to userCP? |
#14
|
||||
|
||||
Is there anyway to encorporate this into a non-vb page?
|
#15
|
||||
|
||||
For some reason that code didn't work for me firefly. I just get a red x if I don't have an avatar selected, but no noavatar.gif. I have reuploaded the gif file twice too. Otherwise it works great.
|
#16
|
||||
|
||||
ok I got it working now. I had to do this:
Code:
if ($bbuserinfo[userid]!=0) { $avatarurl=getavatarurl($bbuserinfo[userid]); if ($avatarurl=='') { $avatarurl='images/noavatar.gif'; } $avatarimage='<a href="member.php3?s='.$session[sessionhash].'&action=editavatar"><img src="'.$avatarurl.'">'; } else { $avatarimage='<a href="register.php?s='.$session[sessionhash].'&action=signup"><img src="images/guestavatar.gif"></a>'; } $avatarimage'<img src="'.$avatarurl.'">'; |
#17
|
||||
|
||||
hmm, the only problem now is I have a box around the avatar?
|
#18
|
||||
|
||||
Try changing
Code:
<img src="'.$avatarurl.'"> Code:
<img src="'.$avatarurl.'" border="0"> |
#19
|
||||
|
||||
Thanks Bane!! Worked perfectly!
|
#20
|
||||
|
||||
hey Crinos (Tolitz i presume?), gimme your forumhome template. i want your table layout for the top box with the ava in it... i'm having brain farts here. :stupid:
|
#21
|
||||
|
||||
LOL, I wish it was that easy - the whole process of putting it together is scattered althroughout several templates:
forumhome forumhome_unregmessage forumhome_welcometext forumhome_logincode forumhome_logoutcode forumhome_pmloggedin I'm afraid giving you just the forumhome template is not gonna be useful Took me about 3-4 hours of trial and error just trying to put it together ... what I did was set up a "mock-up" page with the layout as I want it to be ... then I just insert the relevant code and then chop it up by the <tr>'s and insert each one in the templates I mentioned |
#22
|
||||
|
||||
oic. ok then... i'll manage
|
#23
|
||||
|
||||
Hey man, I think I just posted what you are looking for. I installed it all together, then wrote a walkthrough of most of it for a friend, thought someone might find it usefull, so uploaded the zip here...
https://vborg.vbsupport.ru/showthrea...threadid=32702 See my sig for a working example. Even if it's not exactly what you are looking for, it should give you the *bones* to play with! |
#24
|
||||
|
||||
Thinking about it, I prolly should have posted it here - not sure about the protocol for such things
Anyway, I *think* I included all the edits |
#25
|
||||
|
||||
thanks
|
#26
|
||||
|
||||
cool... check out my www link
|
#27
|
|||
|
|||
Quote:
ie mine is images/noavatar.gif but in the code given by Firefly its Quote:
|
#28
|
||||
|
||||
Really nice hack Firefly. I would install it but the default avatar size for our message board is 105x150 making the avatar take up too much board real estate. Awesome job though Firefly!
|
#29
|
||||
|
||||
Quote:
|
#30
|
||||
|
||||
Hi,
Quote:
PHP Code:
westi |
#31
|
||||
|
||||
Where do I put
PHP Code:
|
#32
|
||||
|
||||
Bump
cant anyone help a n00b ? |
#33
|
||||
|
||||
in the forumhome template, right above $postbits
|
#34
|
||||
|
||||
I cannot find $postbits in the forumdisplay template ??
|
#35
|
||||
|
||||
Put it in the forumhome template like Firefly said in his first post!
|
#36
|
|||
|
|||
I have done everything step by step, but where exactly does $avatarimage go in the forumhome template.
|
#37
|
|||
|
|||
If it is installed here, how come i don't have it as noavater here as i have not selected one here?
Confused. |
#38
|
|||
|
|||
I got it.
I thought this hack would add it to each member in the posts. It is only on the main page. Okay. |
#39
|
||||
|
||||
Quote:
Each member already has his avatar in his post...? |
#40
|
||||
|
||||
Having a bit of trouble with this...
I have the two image required in the /forums/images/avatars folder on my server, BUT, i still get a little red X in a box for someone who doesnt have an avatar set here is the code in my index.php PHP Code:
please help? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|