2008-01-19, 02:08 PM
I want to make a custom page, I name it test.php. I need the page to be able to read and change the value of custom profile page no. 4.
Here's what I have currently:
Here's what I have currently:
<?php
define('IN_MYBB', 1);
require_once './global.php';
?>
<head>
<title><? echo $mybb->settings['bbname']; ?> - Test Page</title>
<? echo $headerinclude; ?>
</head>
<body>
<? echo $header; ?>
<table border="0" cellspacing="<? echo $theme['borderwidth']; ?>" cellpadding="
<? echo $theme['tablespace']; ?>" class="tborder" style="clear: both;">
<tr>
<td class="thead"><strong><? echo $mybb->settings['bbname']; ?> Test Page</strong></td>
</tr>
<tr>
<td class="trow1">Content Here</td>
</tr>
</table>
<? echo $footer; ?>
</body>
</html>
- I want to replace "Content Here" with the value of custom profile field no. 4.
- Is there any code that can change the value of custom profile field no. 4?
- Is there any way to add the breadcrumb?