![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||||||||||||||||||
User notes visibile immediately on user's profile
![]() Developer Last Online: Jul 2020 ![]() ![]() ![]()
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:
To place it below user's profile tabs find:
In both cases below add this:
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:
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:
In template usernote you also need to find:
Add below two </BR> so you have:
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 Show Your Support
The following members like this post: BlueCheri, ProFifaLeagues
|
![]() |
||||
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 |
Comments |
#2
|
||||
|
||||
Thanks Alan Superb Work mate
No members have liked this post.
|
#3
|
||||
|
||||
Worked Superb Just what was needed for us!
The following members like this post: Alan_SP
|
#4
|
||||
|
||||
Tagged.
Looks useful, waiting for some feedback from other members. G! No members have liked this post.
|
#5
|
||||
|
||||
Originally Posted by BlueCheri
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 No members have liked this post.
|
#6
|
||||
|
||||
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. No members have liked this post.
|
#7
|
||||
|
||||
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 No members have liked this post.
|
#8
|
||||
|
||||
I'm not sure how to do that.
No members have liked this post.
|
#9
|
||||
|
||||
No probs mate thanks so much for the help in bringing this mod alive
No members have liked this post.
|
#10
|
||||
|
||||
Just a Quick update that this works the same for 4.2 all edits 100%
The following members like this post: Alan_SP, Toorak Times
|
#11
|
||||
|
||||
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? No members have liked this post.
|
#12
|
||||
|
||||
How can you make it appear in a collapsable menu?
No members have liked this post.
|
#13
|
||||||||
|
||||||||
For making some part collapsible (if I understand your question), you need to use this 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:
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. No members have liked this post.
Last edited by Alan_SP; 29 Nov 2015 at 00:36. |
#14
|
||||
|
||||
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?
No members have liked this post.
Last edited by Elixar; 29 Nov 2015 at 07:09. |
#15
|
||||
|
||||
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. No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 10:48.