vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=242)
-   -   [HOW TO - vB4] Adding a New Tab in Member Profile - Reloaded (https://vborg.vbsupport.ru/showthread.php?t=265971)

Dave234 05-25-2012 09:28 PM

How do I do that? Do I press the "Revert" button and that will do it?

cellarius 05-26-2012 05:45 AM

Yes.

Dave234 05-28-2012 12:17 PM

Still doesn't work......

cellarius 05-29-2012 09:03 AM

I have the code from the article working in 4.2.

Dave234 08-01-2012 07:36 PM

Can someone please help? I want to have this custom tab added to each person's profile, and have that tab be called "Gallery". When you click on it, it shows all the photos they've uploaded.

Then in the menu at the top of the webpage, I want to have "Gallery" and have that connect to random members' photos, possibly based on their popularity.

I hope it's not too much that I'm asking...

cellarius 08-02-2012 09:03 PM

You'll find the code to create the tab in this article. For all the rest you'll have to create your own thread in the general forums.

TheSupportForum 09-10-2012 06:27 PM

now that i have this setup

how do i include custom fields for that tab

cellarius 09-11-2012 05:02 AM

Quote:

Originally Posted by cellarius (Post 2353814)
You'll find the code to create the tab in this article. For all the rest you'll have to create your own thread in the general forums.

^^^ This, please.

Scanu 09-16-2012 04:55 PM

Quote:

Originally Posted by simonhind (Post 2364384)
now that i have this setup

how do i include custom fields for that tab

Thanks for the article cellarius! :)

@simonhind i was having your problem and i've done this

Create a new plugin and choose "userprofile_create" as hook, use this php code
PHP Code:

vB_Template::preRegister('name of the template for your tab',array('fieldX' => $this->userinfo['fieldX'],)); 

I'll write an article soon with this

Dave234 10-02-2012 08:16 PM

Is there not a way to have this new tab connect directly to the user's pictures within their profile?


All times are GMT. The time now is 08:08 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.01659 seconds
  • Memory Usage 1,732KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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