The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#42
|
||||
|
||||
Well here is my altered code that works for me. Note, I didn't care about the guest code as I don't allow guests to view my board
PHP Code:
|
#43
|
||||
|
||||
well php3 are of no use to me, i have .php
also, i allow guests to view, so thats no use to me either sorry |
#44
|
||||
|
||||
Quote:
You can use it with no problems. There is no difference other than the extension in the link in the code. I've edited them out now so you should just be able to cut and paste it in and it will work. |
#45
|
||||
|
||||
Your code doesnt hyperlink to the UserCP when they have no avatar specified.
I will use your code for now, but I really would like that feature. |
#46
|
||||
|
||||
Quote:
PHP Code:
|
#47
|
||||
|
||||
Quote:
|
#48
|
|||
|
|||
Does it work for v2.03?
|
#49
|
||||
|
||||
Quote:
Anyway, thanks for your help, I now have it sorted. take a look at http://www.airwavescomms.co.uk/forums |
#50
|
||||
|
||||
Quote:
|
#51
|
||||
|
||||
Great Hack Chen, well done
|
#52
|
||||
|
||||
Quote:
|
#53
|
|||
|
|||
Quote:
|
#54
|
|||
|
|||
What if the user has uploaded their own avatar (goes into the customavatar table in DB) How can we make that show up?
|
#55
|
||||
|
||||
[QUOTE]Originally posted by TechTalk
What if the user has uploaded their own avatar (goes into the customavatar table in DB) How can we make that show up? |
#56
|
|||
|
|||
It sure does I was having errors that were causing me problems.
A note to evryone else.... if you use this hack in global.php like I did your users will have problem uploading their avatar (real nasty error). I posted on it here: http://www.vbulletin.com/forum/showt...threadid=35489 The only solution I could find was to change the variable names from "$avatarurl" and "$avatarimage" to "$theavatarimage" and "$theavatarurl" Im not sure if the original variables were already in use by Vb or what, but it was causing me loads of problems. |
#57
|
||||
|
||||
umm is there anything simialr to make it so the profile fields can be used on teh index page. an ex is I want a custom field to be displayed under the avatar.
|
#58
|
||||
|
||||
Just stick $bbuserinfo[field7] for example in the template.
|
#59
|
||||
|
||||
ok, i tried that... but there is a problem.
if ($bbuserinfo[userid]!=0) { $hpmax=getavatarurl($bbuserinfo[field7]); if ($hpmax=='') { $hpmax='0'; } } THe function for getavatarurl I know. but what would be the get function used for field 7 and so on. Right now it just ignores my variable for $hpmax |
#60
|
||||
|
||||
Huh? Why do try to get an avatar for the field7 as a userid? If you just want to display field7, stick $bbuserinfo[field7].
|
#61
|
||||
|
||||
Quote:
awesome it worked thanks so much. |
#62
|
|||
|
|||
the $avatarimage bit isnt working for me, ive added the code to the index.php and added $avatarimage where i want it but i get no image, am i missing some code somewhere?
|
#63
|
||||
|
||||
Where did you add $avatarimage?
|
#64
|
||||
|
||||
works great on mine and thanks, I have a question?
I would like to have more user info on the main page (index page) like how many posts they have made, there awards, threads they have replied to and their posts made in that day, can anyone help me |
#65
|
|||
|
|||
Please help, the problem is in the new avatar.php
|
#66
|
|||
|
|||
firefly, is there a script that will make it work with 2.2.6???
|
#67
|
||||
|
||||
What error are you getting when trying to use it with 2.2.6?
|
#68
|
|||
|
|||
the avatar wont show up at all... www.turbine7.com in the "aeternalis" skin and the others that use the welcome panel hack
|
#69
|
|||
|
|||
Im using vbhome, anyone know how to add this to my index site?
|
#70
|
||||
|
||||
Im useing an off site avatar hack too, so the url is stored in a field (field7)
i trid to change this: Quote:
Quote:
|
#71
|
||||
|
||||
Hiya
I love your hack, but I have a huge problem with it. I'm using Vb2.2.8 and the noavatar isn't showing. I just get a red X. The guestavatar works perfectly. I checked the path multiple times and it is correct. Here's my code Please help me, someone Code:
if ($bbuserinfo[userid]!=0) { $avatarurl=getavatarurl($bbuserinfo[userid]); if ($avatarurl=='') { $avatarimage='<a href="usercp.php?s='.$session[sessionhash].'"><img src="images/avatars/noavatar.jpg" border="0"></a>'; } $avatarimage='<img src="'.$avatarurl.'">'; } else { $avatarimage='<a href="register.php?s='.$session[sessionhash].'&action=signup"><img src="images/avatars/guestavatar.jpg" border="0"></a>'; } |
#72
|
|||
|
|||
firefly how would i incorporate this into my postbit template... i want it to show a noavatar.gif when a user doesnt have one selected for my postbit template, how would i do that?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|