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

Reply
 
Thread Tools Display Modes
  #1  
Old 06-02-2009, 04:42 AM
GCSkye GCSkye is offline
 
Join Date: Apr 2008
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Profile Questions - Tabs and Profile Owner View Only

<a href="http://evercube.net/forum/members/skye.html" target="_blank">http://evercube.net/forum/members/skye.html</a>

Underneath the profile picture, I would like a link to show up that says "Update Picture". It should only show up if the profile owner is viewing it. I have seen a code for it while googling for things but haven't seen it since.

My other problem would be the Tabs in the profile. After 6 tabs it starts showing [>>]. How would I go about disabling this so it shows all tabs with no cutoff?
Reply With Quote
  #2  
Old 06-02-2009, 08:09 AM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For the link only visible to the user I guess this would work:

Code:
<if condition="$bbuserinfo[userid] == $userinfo[userid]"> CODE here </if>
For user profile page there are many tags not closed properly or closed at wrong places e.g. </tr>, </table> ... find them and correct them and [>>] will go away.


.
Reply With Quote
  #3  
Old 06-02-2009, 01:36 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GCSkye View Post
My other problem would be the Tabs in the profile. After 6 tabs it starts showing [>>]. How would I go about disabling this so it shows all tabs with no cutoff?
It does that based on the width of your browser. Only so many tabs can be shown at a time.
Reply With Quote
  #4  
Old 06-02-2009, 03:31 PM
GCSkye GCSkye is offline
 
Join Date: Apr 2008
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Seven Skins View Post
For the link only visible to the user I guess this would work:

Code:
<if condition="$bbuserinfo[userid] == $userinfo[userid]"> CODE here </if>
For user profile page there are many tags not closed properly or closed at wrong places e.g. </tr>, </table> ... find them and correct them and [>>] will go away.


.
That is the exact line I was looking for. As for the tags, they are all closed properly.

Quote:
Originally Posted by Lynne View Post
It does that based on the width of your browser. Only so many tabs can be shown at a time.
I have the profile at a set width atm so it shouldn't matter. I'm assuming it sees the friend box is still there. I'm going to look a little further into what is having it do it an I'll get back to this.
Reply With Quote
  #5  
Old 06-02-2009, 03:44 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GCSkye View Post
I have the profile at a set width atm so it shouldn't matter. I'm assuming it sees the friend box is still there. I'm going to look a little further into what is having it do it an I'll get back to this.
I have found it before when looking. I think it's in the javascript.
Reply With Quote
  #6  
Old 06-02-2009, 04:38 PM
GCSkye GCSkye is offline
 
Join Date: Apr 2008
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looking through the source I'm guessing it has to do with this file:
http://evercube.net/forum/clientscri...bctrl.js?v=382

Wheres it calling for the width from?
Reply With Quote
  #7  
Old 06-02-2009, 06:45 PM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GCSkye View Post
As for the tags, they are all closed properly.
They are not closed properly as you can see from the screenshot from my editor. (highlight pink = error = not closed/used at wrong place)



^^ Thats just one example there are many more.

.
Reply With Quote
  #8  
Old 06-02-2009, 07:07 PM
GCSkye GCSkye is offline
 
Join Date: Apr 2008
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thats because I put tables inside of a <td>, what your seeing is the ending table at the end of the main table ending. It associates with everything above the tabs, don't think that is the problem
Reply With Quote
  #9  
Old 06-02-2009, 09:41 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Look closer.... you should have end column, end row, end table - then end column, end row, end table. You have end row, end column, end table - the the proper end column, end row, end table.
Reply With Quote
  #10  
Old 06-02-2009, 10:01 PM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And some of your <div>'s are ending in between tables. e.g.



.
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 03:03 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04280 seconds
  • Memory Usage 2,256KB
  • 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
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete