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: Jul 2016 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (1 vote - 5.00 average) Installs: 7
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

above.gif  

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 00:47

Comments
  #2  
Old 20 Feb 2012, 18:43
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Real name: Rob
Thanks Alan Superb Work mate
Reply With Quote
  #3  
Old 20 Feb 2012, 18:52
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Real name: Rob
Worked Superb Just what was needed for us!
Reply With Quote
  #4  
Old 21 Feb 2012, 05:02
BlueCheri's Avatar
BlueCheri BlueCheri is offline
 
Join Date: Jul 2009
Tagged.

Looks useful, waiting for some feedback from other members.

G!
Reply With Quote
  #5  
Old 21 Feb 2012, 06:21
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Real name: Rob
Originally Posted by BlueCheri View Post
Tagged.

Looks useful, waiting for some feedback from other members.

G!
Confirmed working fine on 4.1.3 and 4.1.5
Looks just the same as the screenshots above and you can easy alter the sizes etc
Reply With Quote
  #6  
Old 21 Feb 2012, 11:29
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Originally Posted by BlueCheri View Post
Looks useful, waiting for some feedback from other members.
Usernotes are separate page and IFRAME is used to load pages inside page.

Only thing this modification does is creates iframe page of user's notes if user who looks at member's profile is in allowed usergroup. There's nothing that would prevent this modification to work. If it doesn't work, you have problems with usernotes themselves.
Reply With Quote
  #7  
Old 21 Feb 2012, 14:08
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Real name: Rob
Alan would there be any way I can include a user profile Field to be shown on the notes system.Would be handy if every member who uses a certain Profile field on our Forums could also be shown on there user notes.


Cheers for any help
Reply With Quote
  #8  
Old 22 Feb 2012, 10:54
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
I'm not sure how to do that.
Reply With Quote
  #9  
Old 22 Feb 2012, 19:00
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Real name: Rob
No probs mate thanks so much for the help in bringing this mod alive
Reply With Quote
  #10  
Old 13 Jun 2012, 22:09
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Real name: Rob
Just a Quick update that this works the same for 4.2 all edits 100%
Reply With Quote
  #11  
Old 06 Oct 2012, 17:22
Toorak Times's Avatar
Toorak Times Toorak Times is offline
 
Join Date: Jan 2011
Hi guys,

Works as said on my 4.2.

Been following, downloaded and implemented the basic model. I see this as an important attribute to the Profile page, I really want to pump it up there.

I don't know why but I can't get bbcode to work, does it work in the frame?
Reply With Quote
  #12  
Old 27 Nov 2015, 21:01
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
How can you make it appear in a collapsable menu?
Reply With Quote
  #13  
Old 28 Nov 2015, 23:17
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
For making some part collapsible (if I understand your question), you need to use this code:


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

In upper example I used CODE BBtag so I can use color BBcode, so you can see in red what are variables you can (and have to) change to suit your needs. The two unique names in green must be the same that collapsing work.

For this particular example you can use this code:


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

In above example you have for title of collapsible block first image (you can easily remove it), phrase for user_notes and total number of usernotes for that user.

Info about collapse status of the block is kept in cookies, so if you change browser, this info isn't remembered.

I'll also add this info in first post, and I also change location where you need to add this code to have user notes bellow navbar.

Last edited by Alan_SP; 28 Nov 2015 at 23:36.
Reply With Quote
  #14  
Old 29 Nov 2015, 06:03
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
When it closes, it seems to close really choppy and moves the page. How can you make it to close with Ajax like a clean effect?

Last edited by Elixar; 29 Nov 2015 at 06:09.
Reply With Quote
  #15  
Old 29 Nov 2015, 20:44
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
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.
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
Forum Jump


New To Site? Need Help?

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

Layout Options | Width: Wide Color: