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)

evenmonkeys 04-09-2006 10:00 PM

Member Profile in UserCP Home
 
Description
I remember seeing this requested a long time ago, and I have been working on it since. This is one of the more complicating modifications that I've done, so I also wanted to put some time into it. Six months may be a bit more time than I wanted, but it was a great learning experience.

Basically, what this modification does is add your own member profile to your UserCP home. Before editing your signature, or before editing your avatar/profile picture, you can see it to determine if it needs to be edited. Of course, your UserCP home will still display your PMs and subscriptions; however, they will be displayed under your profile information.

This being your own profile, I have removed several if statements and certain information areas as you do not need them. For instance, I removed the timestamp and location as it would just tell you you were in your UserCP. Pointless? I think so.

Known Issues
There are two things not entirely working though, and I will gladly take suggestions on how to make it work. Those two things are the profile picture and avatar. The avatar does show and update properly; however, if you do not have an avatar at all, it shows a red x. The profile picture does not update at all, but it will show the first one you ever used. So two things I need to tweak. I've left the avatar open, but the profile picture is currently out right now.

Products to Import: 1
Templates to edit: 0
Files to Upload: 0

Installation Instructions
1. AdminCP > Plugin System > Manage Products > Add/Import Products
2. Click install.

Comments
If you have any questions or comments, don't be afraid to ask. =D I will support this to the best of my ability.

Release Notes
04.09.06 - Fixed a query problem. New product should fix the referral query.
04.09.06 - Initial release.

Support will only be given to those who click install.
This does not include questions before installing.

evenmonkeys 04-09-2006 10:28 PM

Reserved.

Andrew K 04-09-2006 10:32 PM

Installed!

Looks and works great.

Daniel 04-09-2006 10:53 PM

Nice idea. :)

wizardan 04-09-2006 11:04 PM

Mmmm...

Any idea why I may be getting this message instead of access to User CP?

Quote:

Database error in vBulletin 3.5.4:

Invalid SQL:
SELECT COUNT(*) AS count FROM sobejoh9_ user WHERE referrerid = 1;

MySQL Error : Table 'sobejoh9_vBforums.sobejoh9_' doesn't exist
Error Number : 1146
Date : Sunday, April 9th 2006 @ 08:02:43 PM

wizardan 04-09-2006 11:10 PM

Uninstalled the product, and all is fine.
I'm running several hacks, and have a highly stylized skin.
Might be a conflict in code somewhere.
I really like the look of this though, and will follow this thread.
I'll also install it on my test board and then add hacks to see if I can find a problem.

evenmonkeys 04-09-2006 11:21 PM

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.

yinyang 04-09-2006 11:26 PM

*installed*

this is a great idea and probably should be standard on vB. However, not all the information is being pulled up, especially all the custom stuff that you can see when you click on a members name from the member list.

in other words, is it possible to make this view identical to the one you would see if you were to access your profile off the memberslist?

evenmonkeys 04-09-2006 11:32 PM

As of now, this includes the default member profile information. It should be including all custom fields and things like that though. Later down the road, I might be able to make it just include the actual template, but for now... I've reached my limit. Haha. If there is something default that should be showing up... but isn't, let me know.

Snake 04-10-2006 10:12 AM

Awesome! Just awesome! I've installed this hack and seems to work fine!

Thank you very much, Yarub! I really like it! :)


All times are GMT. The time now is 03:48 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.01030 seconds
  • Memory Usage 1,738KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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