The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
i've been trying this for 2 and half hour, and result, nothing appear. only show <img src="image.php?u=1&type=profile"> in source file.
i tried to put PHP Code:
and display PHP Code:
can i get more clue. im trying to search both in .com and org to find similar, but nothing i found, only the 3.5.4 version with avatar in datbaase. please help me >_< |
#12
|
||||
|
||||
$this can only be referenced inside object context...
|
#13
|
|||
|
|||
so do i need to put require globals.php in the plugin?
--------------- Added [DATE]1237227955[/DATE] at [TIME]1237227955[/TIME] --------------- hello, can i got more clue >_< nearly a week |
#14
|
|||
|
|||
Are you creating a plugin or just modifying files? Your losing me mate.
|
#15
|
|||
|
|||
i just want to show profile picture in showthread, i do not know if its need a plugin or simple editing the style.
|
#16
|
|||
|
|||
My method should have been a simple "style-edit", to my knowledge it should have worked.
Dismounted's should have also worked by editing the PHP file. |
#17
|
|||
|
|||
no mr boo boo, this cant be style edit, needs some hooks. but i dont know what to hooks -_-
im not a progammer, not even nearly >_< |
#18
|
||||
|
||||
Did you try doing a search at all for this? This may help get you on the right track - Profile Picture in Postbit. There may be other threads, but I just grabbed one for posting here.
|
#19
|
|||
|
|||
yes yes and yes, its been a week before i created this thread. then its 2 weeks now.
yes and that thread, i read that too. but its for database, i need the one using file storage. btw my first post in this thread, is based on that thread -> https://vborg.vbsupport.ru/showpost....7&postcount=15 thanks Lynne --------------- Added [DATE]1237322372[/DATE] at [TIME]1237322372[/TIME] --------------- hello dismounted mrboo and lynne i found this PHP Code:
got some idea? |
#20
|
||||
|
||||
You know, isn't the url to the profile picture (when in file storage) just a matter of knowing the userid and the profilepicrevision? I'll answer that to the best of my knowledge... yes, it is. So, just grab the profilepicrevision from the user table and then the url to the image is just "$vboptions[profilepicurl]/profilepic$post[userid]_$post[profilepicrevision].gif".
edit to add: you don't even need a plugin to grab the profilepicrevision since it's already available. I'm not sure about grabbing the height and width though since I didn't look at the tables for that. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|