2021-08-15, 06:16 AM
Hello! I've searched the forums tying to find the solution to my problem, but can't seem to find what I'm looking for.
Essentially, what I am trying to do is to create separate member-profiles based on a custom profile selection (ooc/ic). How am I able to do that? I have touched javascript in a while, so I'm a little unsure on the details or if what I have done so far is correct. Any help would be greatly appreciated!
Heres a profile on my site:
https://vestige-rpg.com/member.php?action=profile&uid=3
Member-profile template:
Examples of what Im trying to do:
Member:
- http://www.amaryllis-lions.com/member.ph...le&uid=523
- https://khiyaal-rpg.com/member.php?action=profile&uid=3
Character:
- http://www.amaryllis-lions.com/member.ph...le&uid=938
- https://khiyaal-rpg.com/member.php?actio...ile&uid=37
Essentially, what I am trying to do is to create separate member-profiles based on a custom profile selection (ooc/ic). How am I able to do that? I have touched javascript in a while, so I'm a little unsure on the details or if what I have done so far is correct. Any help would be greatly appreciated!
Heres a profile on my site:
https://vestige-rpg.com/member.php?action=profile&uid=3
Member-profile template:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/report.js?ver=1820"></script>
</head>
<body>
<div id="member_profile">
{$header}
<div class="username">{$formattedname}</div>
<if {$post['fid9']} == 'OOC' then>
<div class="trow1">
{$avatar}
<div class="author_information">
member information
</div>
</div>
</if>
<else>
<div class="trow1">
{$avatar}
<div class="author_information">
character information
</div>
</div>
</else>
{$awaybit}
{$bannedbit}
{$modoptions}
{$adminoptions}
</div>
{$footer}
</body>
</html>
Examples of what Im trying to do:
Member:
- http://www.amaryllis-lions.com/member.ph...le&uid=523
- https://khiyaal-rpg.com/member.php?action=profile&uid=3
Character:
- http://www.amaryllis-lions.com/member.ph...le&uid=938
- https://khiyaal-rpg.com/member.php?actio...ile&uid=37