vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Member Profile in UserCP Home (https://vborg.vbsupport.ru/showthread.php?t=112594)

wizardan 04-10-2006 11:18 AM

Quote:

Originally Posted by Yarub
I think the problem may have been from an un-needed space I had in the query. I've updated the product and you may feel free to re-try. If that's not the problem, I'll continue to look into it.

Re-installed.
Flawless.
Thank you:)

rareclownfish 04-10-2006 08:06 PM

Installed. nice work

trackpads 04-10-2006 10:33 PM

Excellent!

ShadowOne 04-11-2006 01:15 AM

does this add any templates? USERCP_PLUS?

ShadowOne 04-11-2006 01:37 AM

what about adding this code in the plugin...

Code:

if ($vbulletin->userinfo['userid'] > 0 && $vbulletin->userinfo['userid'] != '' || !$vbulletin->userinfo['userid'])
{
        require_once(DIR . '/includes/functions_user.php');
        $vbulletin->userinfo['avatar_build'] = fetch_avatar_url($vbulletin->userinfo['userid']);

        if (empty($vbulletin->userinfo['avatar_build']) || !is_array($vbulletin->userinfo['avatar_build']))
        {
                $vbulletin->userinfo['avatar_build'] = array('noavatar.gif');
        }

        $vbulletin->userinfo['avatar_build'] = '<img src="' . $vbulletin->userinfo['avatar_build'][0] . '"'.iif($vbulletin->userinfo['avatar_build'][1],$vbulletin->userinfo['avatar_build'][1],'').'border="0" alt="Edit Your Avatar" />';

Then just make a noavatar image...and turn this into an extension...

hotwheels 04-11-2006 07:28 AM

very nice addition.......

hotwheels 04-11-2006 07:31 AM

Dang, that is really neat............thanks alot for your hard work on this one

evenmonkeys 04-11-2006 06:13 PM

Quote:

Originally Posted by ShadowOne
does this add any templates? USERCP_PLUS?

Yes, this product creates a new template. As of now, this modification overwrites your current USERCP template via plugin with USERCP_PLUS. I did it this way because there are very few, if any, modifications that touch your USERCP template, and it allowed me to make the additions I needed. However, I do plan on changing it to just adding a variable to the top to call for the additional html. As of now, that's a level over my head. =P

As for your next post, I've been toying with that for about half an hour now and I'm not getting it to work. It's either giving me random syntax errors, or not displaying anything. I tried messing with it before releasing this modification, but I couldn't get it to work then either. >_<; I'm basically using a spacer.gif as a noavatar.gif. If you're able to make it work, I'll gladly add it in.

foulplay 04-12-2006 07:08 AM

Love the hack! *clicks installs* and rates thread 5 stars!

futuredood 06-29-2006 03:27 AM

is their any way to get other custom things in here.. such as profile picture?


All times are GMT. The time now is 01:49 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.01091 seconds
  • Memory Usage 1,734KB
  • 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
  • (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