MyBB Community Forums

Full Version: Validate boardsettings in usercp.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can I make the boardsettings validated in just usercp.php?
I made the field appear in Usercp.php but all options are filled blank.

How can I get validated settings?

Thanks in advance Smile
You'd need to move where the template is evaluated in usercp.php.
I tried searching for the val's in usercp.php,
But I can't figure it out, Since I'm just merely a beginner in php Sad

Edit: I assume this would be the same for usercp.php?action=options (thus usercp_options template)
Look for
if($mybb->input['action']=="editsig")

It will be in there somewhere. You could also use control F and search for usercp_editsig.
Allright, I've made it possible to edit and see a preview of the signature in usercp.php,

I also added a pane with settings, But somehow to users config doesn't load.
It shows up all the settings correctly, But there's no checkbox checked etc.
bump.