Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 12 Dec 2017, 13:26
Jaggee Jaggee is offline
 
Join Date: Dec 2011
Need help with loading fields

Hello, I'm using vBulletin 5 and attempting to create portal that loads custom information in lists that are submitted by different users. To do this, I got idea of using profile fields to create small fields of information and for bigger description use post thread to have bbcode etc. enabled.

To make all this simple for website user to reach, I'd like to have edit for all of these in one custom page, so they can edit the information they give. I'm open for other ideas, like if there is some kind of modifications available to use it would be even better.

The problem I have is that I haven't found out how to load these forms. Hope that someone could help me with this, thanks in advance.

--------------- Added 12 Dec 2017 at 17:50 ---------------

I could really use the database to do this, but I have no clue how to do the queries correctly with vBulletin. I'd like to use fields to submit data in several fields and saved in same row with user's id. That data would be horizontally displayed in my portal page.

If anyone could help me with insert and fetch with vBulletin from the database, I'd really appreciate it.
Reply With Quote
  #2  
Old 14 Dec 2017, 06:23
noypiscripter's Avatar
noypiscripter noypiscripter is offline
 
Join Date: Aug 2013
If you create custom profile fields, then they would show up in the User Settings page (/settings/profile). No need to create a separate page and code for saving, updating and querying the database.
__________________
Glenn Vergara - Former vB Developer
Looking for vB mods? Even for vBCloud?
vB Mods That Rock!

Reply With Quote
  #3  
Old 15 Dec 2017, 12:28
Jaggee Jaggee is offline
 
Join Date: Dec 2011
Originally Posted by noypiscripter View Post
If you create custom profile fields, then they would show up in the User Settings page (/settings/profile). No need to create a separate page and code for saving, updating and querying the database.
Thanks for the heads up. Do you know is there any modification to allow use of BBcode in these userfields? I think there was one for vB4.
Reply With Quote
  #4  
Old 16 Dec 2017, 01:52
noypiscripter's Avatar
noypiscripter noypiscripter is offline
 
Join Date: Aug 2013
Where do you want to display the custom fields?
__________________
Glenn Vergara - Former vB Developer
Looking for vB mods? Even for vBCloud?
vB Mods That Rock!

Reply With Quote
  #5  
Old 17 Dec 2017, 11:12
Jaggee Jaggee is offline
 
Join Date: Dec 2011
Originally Posted by noypiscripter View Post
Where do you want to display the custom fields?
In a custom page, PHP module.
Reply With Quote
  #6  
Old 21 Dec 2017, 03:26
noypiscripter's Avatar
noypiscripter noypiscripter is offline
 
Join Date: Aug 2013
You can call User or Profile API from PHP Module to fetch the custom fields. I don't have it handy but if you know how to read the php code, you can take a look at the source code.
__________________
Glenn Vergara - Former vB Developer
Looking for vB mods? Even for vBCloud?
vB Mods That Rock!

Reply With Quote
Reply



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

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 05:23.

Layout Options | Width: Wide Color: