![]() |
|
Article Options |
#16
|
||||
|
||||
Try
in the plugin, to use it in the template you would probably have to register it first.
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again. http://www.roma-antiqua.de No members have liked this post.
|
#17
|
|||
|
|||
this might be a stupid question, but is this an area that is editable by the user? Like if said user wanted to add more to their profile such as their favorite things, etc.
No members have liked this post.
|
#18
|
||||
|
||||
no.
You would have to supply fields to everyone via the Admin CP -> User Profile Field Manager. You can make them optional so only users who want to fill them out have to- but they would all show under "About Me."
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. No members have liked this post.
|
#19
|
|||
|
|||
Hello,
Sorry for my bad english, i'm french How to add this profile tab with php code in a file .php and not in a plugin ? Thank you No members have liked this post.
|
#20
|
||||
|
||||
Sorry, I don't know what you want to do. If you want to add any tabs to any php page, this is not for you.
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again. http://www.roma-antiqua.de No members have liked this post.
|
#21
|
||||||||
|
||||||||
Any ideas why this only works if "test" is used in the $taburl variable? If I change the #test to #quoted ($blockid var) nothing shows up.
Template
No members have liked this post.
|
#22
|
|||
|
|||
What should I do to have to extra tab only be shown to certain usergroups ?
--------------- Added 25 Apr 2012 at 22:26 --------------- nevermind. figured it out: if (is_member_of($vbulletin->userinfo,x,y,z)) { } in the plugin where x,y,z are the group Id's No members have liked this post.
|
#23
|
|||
|
|||
Alright, so I've got the "Gallery" tab added. Now how would I add the content? How can I add photos?
Also I notice that none of my blog entries are showing up under my "Blog" tab in my user profile. I am logged in and everything. No members have liked this post.
|
#24
|
||||
|
||||
You have the tab working - this is all this article is about.
It is not about querying whatever it is you want to show on that tab. It sure is not about general support issues (your blog tab not working). Please ask for help in your own thread in the proper forums.
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again. http://www.roma-antiqua.de No members have liked this post.
|
#25
|
|||
|
|||
But the "Congratulations, you can see me, I'm your PHP Code!" is not appearing under the new tab I added.
Can you please help me to determine why? I had deleted some of the code in the memberinfo_block_statistics template and cleared out the code in the memberinfo_block_contactinfo template, because I did not like all of that ("Number of Posts per Day: 0.25" etc) content in my User Profile. No members have liked this post.
|
#26
|
||||
|
||||
If you follow the tutorial by the letter, it will be there. I cannot know what you did wrong.
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again. http://www.roma-antiqua.de No members have liked this post.
|
#27
|
|||
|
|||
I copied and pasted the code you showed in my AdminCP, where you told me to.
Was that what I was supposed to do? No members have liked this post.
|
#28
|
||||
|
||||
Article updated. Obviously the template name convention was changed somewhere along the line.
The template needs to be named memberinfo_block_test now (remember to adapt the create_template call in the plugin accordingly.
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again. http://www.roma-antiqua.de No members have liked this post.
|
#29
|
|||
|
|||
I did it exactly as you have it, but it does the same thing......I'm wondering if it is because I had deleted some of the code in the memberinfo_block_statistics template and cleared out the code in the memberinfo_block_contactinfo template, because I did not like all of that ("Number of Posts per Day: 0.25" etc) content in my User Profile? Could that affect it at all?
No members have liked this post.
|
#30
|
||||
|
||||
You could always try and revert those templates.
__________________
Please note that there will be no further updates to my addons, especially they will not be upgraded for vB5. I'm leaving vB, since IB choose to go the banana-way yet again. http://www.roma-antiqua.de No members have liked this post.
|
![]() |
«
Previous Article
|
Next Article
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Article Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 23:30.