![]() |
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 |
So you want the users avatar to appear in the dropdown?
|
Quote:
|
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.
|
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 :) |
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. :)
|
Quote:
|
The articles don't but the widgets do. blog.php may help as well.
|
Im just at a dead end, found {vb:raw bbuserinfo.avatarurl}
Still no go.... :( |
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.
|
All times are GMT. The time now is 11:50 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|