![]() |
|
Mod Options |
![]() |
|||||||||||
[vBMods.rocks] Add Custom Profile Fields in Postbit
![]() Developer Last Online: Jan 2023 ![]() ![]() ![]()
![]() By default, vBulletin 5 only displays the Join Date and Post count in the postbit area (avatar and username section) in the thread view of a topic. There may be other tutorials out there to add custom fields in postbit but some require you to edit the existing postbit template. Editing existing templates is not good for maintenance reasons as you would have to resolve template merge conflicts every time you upgrade. Or some might require you to create a template hook and repeatedly copy/paste template code for adding multiple fields and change instances of profile field variable names. Another maintenance nightmare.
![]() Don't look any further, here's the mod that is simple but rocks! Simply download the zip file, uncompress it and upload the XML in AdminCP > Products & Hooks > Manage Products > [Add/Import Product] and you're good to go. By default, it adds Location and Occupation profile fields in Postbit. You can configure what profile fields to add in AdminCP > Settings > Options > Custom Profile Fields in Postbit Settings. As a bonus, the mod also adds "Send PM" link to the postbit to make it easier for users to send a private message to a user while reading a thread. You can also configure that in the Custom Profile Fields in Postbit Settings. Compatibility: vB 5.x.x Demo: See demo here. Download Now Only licensed members can download files, Click Here for more information. Show Your Support
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
New Posting Features [vBMods.rocks] Quote Selected Text | noypiscripter | vBulletin 5.x Products & Extensions | 8 | 02 Feb 2022 05:29 |
Show Thread Enhancements Showing Custom Profile Fields On Postbit And Postbit Legacy | Attila M. | vBulletin 3.6 Template Modifications | 21 | 21 Jan 2013 19:47 |
Comments |
#2
|
||||
|
||||
I added this and all seems to work except for the values showing in the postbit. See what is being shown vs what is expected in screenshots. Thank you!
No members have liked this post.
|
#3
|
||||
|
||||
Did you specify the field IDs of the fields you want to show in AdminCP > Settings > Options > Custom Profile Fields in Postbit Settings > Profile Fields to Add to Postbit?
Btw, you have a different User Profile Field Manager? Is this a mod and not the default one?
__________________
Glenn Vergara, an ex-vB Developer, now a vB Mod Developer ![]() GIPHY for vB5 | AutoLinker | Video Attachments Player | New Registered Users Module | Clear System Cache Cron | DragNDrop Upload | Topic AJAX AutoUpdate | Force Read Topic No members have liked this post.
|
#4
|
||||
|
||||
Running standard 5.2.6 Alpha
No mods and yes I added the field IDs correctly. It is just not picking up the correct value. No members have liked this post.
|
#5
|
||||
|
||||
Ok, I will install 5.2.6 RC1 and test this mod.
__________________
Glenn Vergara, an ex-vB Developer, now a vB Mod Developer ![]() GIPHY for vB5 | AutoLinker | Video Attachments Player | New Registered Users Module | Clear System Cache Cron | DragNDrop Upload | Topic AJAX AutoUpdate | Force Read Topic No members have liked this post.
|
#6
|
|||
|
|||
I'm currently working on a vb5 site now. This will come in handy. Is it possible to modify 'how' the fields display? I'd like to use this to display country flags on the postbit, among other info.
No members have liked this post.
|
#7
|
||||
|
||||
How to add country flag in postbit? Images not works
No members have liked this post.
|
#8
|
||||
|
||||
No members have liked this post.
|
#9
|
|||
|
|||
Display error with guest
I use it in a motorcycle forum and let the motorcycles of the members show. If a member leaves, he will be shown as a guest. Now when a member views a guest's post there his motorcycles are displayed. Can you confirm that and how can I change that?
No members have liked this post.
|
#10
|
||||
|
||||
The mod is getting the userid of the author of the post. If the author is deleted, I assume vB is passing userid=0, in which case, it shouldn't display any custom fields as obviously there's no associated profile fields for guests. I cannot confirm what vB is passing. This may be a cache issue. Try to clear system cache and/or Rebuild Topic Information in AdminCP.
__________________
Glenn Vergara, an ex-vB Developer, now a vB Mod Developer ![]() GIPHY for vB5 | AutoLinker | Video Attachments Player | New Registered Users Module | Clear System Cache Cron | DragNDrop Upload | Topic AJAX AutoUpdate | Force Read Topic No members have liked this post.
|
#11
|
|||
|
|||
Installed and working as it should on 5.45 many thanks
The following members like this post: noypiscripter
|
#12
|
|||
|
|||
Still works with vBulletin 5.5.2 (latest at the moment I post this)
No members have liked this post.
Last edited by Ninja04; 05 Jul 2019 at 04:11. Reason: Thanks! |
#13
|
||||
|
||||
Works fine on 5.5.3 - cheers
No members have liked this post.
|
#15
|
||||
|
||||
Check latest version at https://vbmods.rocks/forum/vbulletin...lds-in-postbit
__________________
Glenn Vergara, an ex-vB Developer, now a vB Mod Developer ![]() GIPHY for vB5 | AutoLinker | Video Attachments Player | New Registered Users Module | Clear System Cache Cron | DragNDrop Upload | Topic AJAX AutoUpdate | Force Read Topic 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 23:49.