vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   [How-to] Add more tabs to the vB 3.7 profile pages (https://vborg.vbsupport.ru/showthread.php?t=165554)

Wired1 05-12-2008 02:10 AM

Anyone gotten the Edit stuff to work on new tabs? Only messed with it for a couple of min myself while working on updating my mods.

kinggori 05-13-2008 08:14 PM

Thanks for the awesome article :) Gave it 5/5 :)

Quick question... how can I have a link that goes (displays) directly to the new tab I created instead of the contents of the first tab on the list?

tafreeh 05-15-2008 06:24 PM

OMG this is soo confusing, is there any easier way to do it ?

Wired1 05-15-2008 06:52 PM

It's pretty easy actually. Pop in the 2 quotes in the article, and that's it.

If you just want a tab for a profile category, that's built in.

soulface 05-19-2008 06:42 AM

Nice article, works fine. But can anyone tell me how I can call a custom templates for data into that tab ?

craiovaforum 05-19-2008 06:12 PM

thanks ;)

Code Monkey 05-20-2008 07:57 PM

So what's the deal with phrases? It seems only GLOBAL phrases work in blocks no matter what you put in the new class. Even if the phrasegroup shows as available for the page. So there must be some issue with scope here that isn't cured by a mere addition of "global $vbphrase;".

DieselTruck 05-23-2008 12:02 AM

How can I disable the new tab for all usergroups but one?

XTF 05-28-2008 11:20 AM

I've simplified the following code fragment a bit.
Code:

$blocklist['mymodification'] = array
(
                'class' => 'MyModification',
                'title' => 'My Modification',
                'hook_location' => 'profile_left_last'
);

How do I access for example $userinfo inside prepare_output()? I've used global $userinfo, but that doesn't seem to do the trick.

intrigue 05-28-2008 04:11 PM

Awesome thanks very much this has answered one question at least
Matt


All times are GMT. The time now is 07:17 PM.

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.01617 seconds
  • Memory Usage 1,729KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete