![]() |
The issue is this my block has this being inserted by vbulletin
Code:
<div id="view-ppProfile" class="block"> It is suppose to be Code:
<div id="view-ppProfile" class="view_section"> |
I just did a quick test on my beta 3 using the plugin I wrote and it works just fine. I go to my profile and the new tab is there. I click on the tab and I get the correct output and the tab is not highlighted when I first get there.
|
Yeah I found out you need to add this into the memberinfo template so unlike 3.8 you need to hook into two locations. profile left last for the button and profile left for the content box.
<div id="view-myVariable-content" class="<vb:if condition="$selected_tab == 'myVariable'">selected_view_section<vb:else />view_section</vb:if>"> {vb:raw blocks.myVariable} </div> |
Actually, I tested mine on my beta 3 suite and I only needed one plugin. I no longer needed the one for the tab since it was added automatically now (it wasn't in alpha1 through beta 2).
But, if you've got it working now, great! |
Yeah the tab was never an issue ;)
The issue was as posted in post 11 vb wraps it with a block thing but if its a tab it needs a specific wrap in profile left as posted. I still need to try and code up the call to load that block I posted in 13 automatically. I just hard coded that one part for now to make sure it fixed the issue of it displaying outside of the cell and it did. Basically it needs that special class as posted with selected_view_section or view_section not block which it was doing before. --------------- Added [DATE]1258491127[/DATE] at [TIME]1258491127[/TIME] --------------- Sometimes Lynne you just need to step back grab a coffee and relax. Issue was real simple. Just had to define wrap to false in the block setup and then in the template place the div tags I noted in post 13. LOL Since vb is for the most part tableless the div id class tags are very important I have found. Since wrap is by default set to true and I had omitted the surrounding div tag it surrounded it with one that is for the sideblock instead of the proper one I needed. The fruits of my labor can be seen here http://www.reeftalk.com/forums/members/1-Chuck-S The random gallery photo and gallery tab stats ;) |
Omegatron, could you tell me what exactly you did, i followed the manual posted here,
https://vborg.vbsupport.ru/showthrea...ght=profile%2A but when i get to the members profile page, on the default page my content is showing. when i hit a tab button al is ok. do i need to alter the members.php page? or whatever. |
Can you post what you did? I might be able to give a few pointers.
I simply made a new profile table how its defined. Pretty much the way it was in 3.8 series except the template calls are a little different. I cant really post what I did because it contains copyrighted code from another company I work for. ;) Unless you own the program the tab was written for you cant access the code. |
See this link for what i did so far. https://vborg.vbsupport.ru/showthread.php?t=231539
|
All times are GMT. The time now is 04:50 AM. |
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:
|