Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
User notes visibile immediately on user's profile Details »
User notes visibile immediately on user's profile
Mod Version: 2.00, by Alan_SP (Designer) Alan_SP is offline
Developer Last Online: Jan 2020 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (1 vote - 5.00 average) Installs: 8
Released: 20 Feb 2012 Last Update: Never Downloads: 0
Not Supported Template Edits Re-usable Code  

With this you could have user notes visible immediately on user's profile and you could add them, edit them and everything else you do with user notes without need to go to separate window.

This was inspired by @rammieone question here: http://www.vbulletin.org/forum/showp...&postcount=161

You need to edit at least one template (MEMBERINFO), but probably you would like to edit two more templates to make it more practical.

To add usernotes inside member profile edit MEMBERINFO template.

Two most logical places is above and below user's profile tabs.

To place it above user's profile tabs find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

To place it below user's profile tabs find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

In both cases below add this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

With $bbuserinfo,5,6,7 you define which usergroups will see user notes inside user's profile.

You could define height to different value, depending what you prefer, it doesn't have to be 300px. Also you could add FRAMEBORDER=0 if you don't want border around your IFRAME.

Also, you can made this into collapsible block, so if you don't want to see it time from time, use this html code instead:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Code for making something into collapsible block you can find here.

In case that you decide to use this template change, it would be wise to change two additional templates, to remove unwanted header, navbar and footer.

Edit templates usernote and usernote_note

Remove from them:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

In template usernote you also need to find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add below two </BR> so you have:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This is that button for adding new user notes is separated from title of page.

I attached image how it looks if you place it above user's profile tabs.

v1.00 - Initial version.
v2.00 - Added option that usernotes block can be collapsible. Also changed text you need to find and add code below it, if you want it above user profile tabs.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	above.gif
Views:	546
Size:	27.0 KB
ID:	136580  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
User Notes Icon/Link in Postbit, if user has notes SFishy vBulletin 3.0 Full Releases 24 11 Apr 2007 01:47

  #16  
Old 30 Nov 2015, 04:35
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Originally Posted by Alan_SP View Post
I also changed location where you should add code, it's in the first post.

Also, you should now that what you're experiencing is the way your browser handles HTML, or just problem with speed with your computer.

For example, in my browser collapsing on and off is instant. Try it with different browser, or on different computer.

From code perspective, there's nothing that can be done to speed it up (and it is fast). It collapses as speedy as any other collapsing object within vB.
Very sorry, but not sure why I'm not following.
Reply With Quote
  #17  
Old 04 Feb 2016, 16:08
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
I noticed an error, it shows on the WOL that rather than saying you are Viewing User Profile, it now says Viewing User Note.
Reply With Quote
  #18  
Old 05 Feb 2016, 12:52
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Probably because you call both pages, and somehow user notes gets precedence.
Reply With Quote
  #19  
Old 05 Feb 2016, 15:53
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Originally Posted by Alan_SP View Post
Probably because you call both pages, and somehow user notes gets precedence.
How can I fix this?
Reply With Quote
  #20  
Old 07 Feb 2016, 11:44
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
I don't know. I guess you should find php code in user notes script that makes user visible in WOL. What code is that, I don't know.
Reply With Quote
  #21  
Old 07 Feb 2016, 16:42
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Originally Posted by Alan_SP View Post
I don't know. I guess you should find php code in user notes script that makes user visible in WOL. What code is that, I don't know.
Ah darn, hopefully someone knows. :P
Reply With Quote
  #22  
Old 08 Feb 2016, 11:29
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Just an idea, you can test and see if it will work or not.

Every file has something like this on beginning:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This one is from usernote.php. Try to edit usernote and put profile instead. It can affect how vBulletin works, so be prepared to put things back and if it would work, test other things as well before you start thinking that it solved your problem.
Reply With Quote
  #23  
Old 08 Feb 2016, 19:27
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Originally Posted by Alan_SP View Post
Just an idea, you can test and see if it will work or not.

Every file has something like this on beginning:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This one is from usernote.php. Try to edit usernote and put profile instead. It can affect how vBulletin works, so be prepared to put things back and if it would work, test other things as well before you start thinking that it solved your problem.

Mark said it would involve editing core files, so I went ahead and just removed this from the themes. Thanks though.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 01:11.

Layout Options | Width: Wide Color: