Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 11-17-2009, 12:01 AM
Omegatron Omegatron is offline
 
Join Date: Feb 2003
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The issue is this my block has this being inserted by vbulletin

Code:
<div id="view-ppProfile" class="block">
Thats surrounding my memberinfo_block_ppProfile template

It is suppose to be

Code:
<div id="view-ppProfile" class="view_section">
That way its hidden until click. Now once I click a tab everything is fine so this is something minor
Reply With Quote
  #12  
Old 11-17-2009, 01:50 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #13  
Old 11-17-2009, 09:29 AM
Omegatron Omegatron is offline
 
Join Date: Feb 2003
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #14  
Old 11-17-2009, 02:55 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #15  
Old 11-17-2009, 04:41 PM
Omegatron Omegatron is offline
 
Join Date: Feb 2003
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #16  
Old 12-29-2009, 05:11 PM
ageurtse ageurtse is offline
 
Join Date: Apr 2009
Location: almelo
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #17  
Old 12-31-2009, 02:03 PM
Omegatron Omegatron is offline
 
Join Date: Feb 2003
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #18  
Old 12-31-2009, 04:00 PM
ageurtse ageurtse is offline
 
Join Date: Apr 2009
Location: almelo
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

See this link for what i did so far. https://vborg.vbsupport.ru/showthread.php?t=231539
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:47 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
  • Page Generation 0.03726 seconds
  • Memory Usage 2,231KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete