The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
|||
|
|||
OMFG you are my life saver! i dont know its that easy, that simple.
thank you very much lynne ^_^ |
#22
|
||||
|
||||
One thing to consider... in vb 3.8, you are allowed to set privacy for such things as your profile picture. Doing a call like that is not taking into consideration whether the user set their profile picture to only be shown to Contacts and Friends versus Everybody. You are not taking their preferences into consideration when you do this.
|
#23
|
|||
|
|||
Oh yes, i forgot that, thanks to remind me Lynne, but its like showpath through the file right?
can i have the same code using in members profile? so its up to member want to show the profile picture or not. i cant simply copy in memberinfo style -> profilepic, then paste into postbit template right it does need the modification. and its been 2 week for tryin it, but still not successful >_< |
#24
|
||||
|
||||
I haven't looked at the memberinfo template to see how the permissions are dealt with regarding the profilepicture. It may be that you need to write a plugin to grab some permission field that helps you decide whether someone may see ithe picture or not.
|
#25
|
|||
|
|||
Wow Vidan,
I don't mean to sound out of line or anything, but you first insult me, then you criticize my help? And to boot, my method was pretty damn similar to the actual solution. No hook required, simple template edit, static avatar URL.... Vidan, in the future I will insure to keep my eyes peeled and no longer offer my support to you. Thank you! |
#26
|
|||
|
|||
no mr moo, i never insult you nor criticize your help.
i used your method, and it didnt work. i never insult you nor anything. i just said, i didnt think it can works without hooks, but Lynne give me the simpliest answer, but i didnt insult you. im sorry mr moo to make you feel this way. but i never mean to insult you. |
#27
|
|||
|
|||
Thank you,
I appreciate your response. |
#28
|
|||
|
|||
Hello Lynne, i still wondering with this figure, yes you are right it simple show profilepic using filestorage, but i still want to use the code built into memberinfo and memberlist
the memberlist code PHP Code:
PHP Code:
yes Code:
"$vboptions[profilepicurl]/profilepic$post[userid]_$post[profilepicrevision].gif". can i use this Code:
if (!$this->post['avatarurl']) { $this->post['avatarurl'] = "images/avatars/defaultavatar.png"; } if ($this->registry->userinfo['showavatars']) { $show['avatar'] = true; } i just want to show profilepic like in memberlist like in memberinfo >_< |
#29
|
||||
|
||||
Basically you need to look at all the code used for avatars and duplicate the same code for use with profile pictures through either the use of plugins or code edits.
Why don't you just have the users upload their profile pictures into the avatar field? Then you don't have to go through all this? |
#30
|
|||
|
|||
because i tried over 2 week and i really want to have this works >_< i try what dismounted told me, but as you see, im still open there open here, go site:vbulletin.com profile picture go here go there, ~_~
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|