SimplePortal
Support => English Support => Topic started by: msab on August 11, 2018, 09:44:22 AM
-
as an admin i added a score column in the smf_members table in the smf databse and now i want to show every user's score from the database in their profile page under their user info section using SMF forum and simpleportal portal so how can i do this?
-
Please do not post multiple topics regarding the same question.
One topic with the proper question, your example attachment and in the proper board will suffice.
I removed your 2 other duplicate topics and added the attachment to this thread that is in the correct board.
-
okay thanks and i hope somebody answer me cause i am new to the simpleportal and i really need help
-
okay till now i was able to do like the screenshot below ...so my next question, how to merge between the points block and the user info block??
-
If you are going to add them manually, it would probably be easier to set up a custom field that can be edited only by admins.
If it is populated some other way, then you have to edit the template code.
I'm not sure which one is used by the user info box... But it should be in Block.php (IIRC, it's been a while since I touched SP code... sadly).
-
If you are going to add them manually, it would probably be easier to set up a custom field that can be edited only by admins.
If it is populated some other way, then you have to edit the template code.
I'm not sure which one is used by the user info box... But it should be in Block.php (IIRC, it's been a while since I touched SP code... sadly).
The file is ./Sources/PortalBlocks.php and it should be under the sp_userInfo() function.
-
thank you so so much it works fine now :thumbsup:
-
Considering you sent me a PM, did you still need help with this?