The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
My First MOD - (Diary)
I am creating a mod that uses memberaction_dropdown and I have everything done expect for the fact I cannot get vb to call the users profile in the -
This is an example of the direction I was trying to go in the memberaction_dropdown template but the "src" is not calling the profile pic <img src="{vb:raw prepared.profilepicurl}" alt="" /> This is my last bit I need to finish and I will have a complete mod (First official mod from scratch!) Will add whoever helps to "Supporter" area in modifications |
#2
|
||||
|
||||
So you want the users avatar to appear in the dropdown?
|
#3
|
||||
|
||||
Hey Ozzy, the member's profile image (or avatar I guess, I have tried both with no success)
|
#4
|
||||
|
||||
Just a silly question, why do you need it to show there, I am just tying to wrap my head around it, that's why I ask.
|
#5
|
||||
|
||||
Quote:
Once I get this code right I am going to use my custom memberaction_dropdown_article template to use for vbcms_content_article_page and preview page. I turned a vbulletin into a support ticket system, which everything is private except for articles and blogs. So in articles, where it says "By *Name here" Publish Date - I dont want guests to go to the authors profile page, but I want them to see a little "blip" of who they are.... Hope that helps |
#6
|
||||
|
||||
Take a look in the includes/block php files, and you can see how vB gets the avatars in the forum sideblocks. When I did vBDonate for DBTech, that is how I went about getting the avatars to show up.
|
#7
|
||||
|
||||
Good, call and I had not checked out the block php files yet, Im there now and just realized that articles dont call any avatars/profile - I know that Blog.php does, maybe check there?
|
#8
|
||||
|
||||
The articles don't but the widgets do. blog.php may help as well.
|
#9
|
||||
|
||||
Im just at a dead end, found {vb:raw bbuserinfo.avatarurl}
Still no go.... |
#10
|
||||
|
||||
You cant just use a variable, you need to fetch it from the DB, like they do in the block files, then you can call it. Only way to use a variable without calling it, is if it is already available.
|
Благодарность от: | ||
dizzynation |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|