vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Profile Questions - Tabs and Profile Owner View Only (https://vborg.vbsupport.ru/showthread.php?t=215144)

GCSkye 06-02-2009 04:42 AM

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?

Seven Skins 06-02-2009 08:09 AM

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.


.

Lynne 06-02-2009 01:36 PM

Quote:

Originally Posted by GCSkye (Post 1821827)
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.

GCSkye 06-02-2009 03:31 PM

Quote:

Originally Posted by Seven Skins (Post 1821885)
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 (Post 1822024)
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.

Lynne 06-02-2009 03:44 PM

Quote:

Originally Posted by GCSkye (Post 1822087)
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.

GCSkye 06-02-2009 04:38 PM

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?

Seven Skins 06-02-2009 06:45 PM

Quote:

Originally Posted by GCSkye (Post 1822087)
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)

https://vborg.vbsupport.ru/external/2009/06/57.png

^^ Thats just one example there are many more.

.

GCSkye 06-02-2009 07:07 PM

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

Lynne 06-02-2009 09:41 PM

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.

Seven Skins 06-02-2009 10:01 PM

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

https://vborg.vbsupport.ru/external/2009/06/55.png

.


All times are GMT. The time now is 04:59 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.01092 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete