inherit
193282
0
Jun 20, 2015 10:43:55 GMT -8
Echokipz
5
April 2013
echokipz
|
Post by Echokipz on Apr 24, 2013 8:52:27 GMT -8
Long story short, I'm running a roleplay website where we have a one account per character policies. The characters names get quite long and many members have more than one account.
I've put a custom field into the profile called "Played By", which a member can put their alias as. Is there any way to make this custom field the "Shouting As" name?
EDIT:
I managed to create something like that but the template is buggy for some reason.
This is the code that I've edited it to:
{foreach $[shoutbox_post]} <div class="$[shoutbox_post.content_class] content-box"{if $[shoutbox_post.edited]} title="$[shoutbox_post.edited]"{/if}> {foreach $[shoutbox_post.created_by.custom_field]} {if $[shoutbox_post.created_by.custom_field.name] == 'Played By'} <font color="#dedede">$[shoutbox_post.created_by.custom_field.value]</font> {else} $[shoutbox_post.created_by]{/if}{/foreach}: <span class="message">$[shoutbox_post.message]</span> <span class="details"> $[shoutbox_post.edit_button] $[shoutbox_post.date] {if $[shoutbox_post.edited]}<span class="edited">*</span>{/if} </span> $[shoutbox_post.delete_button] </div> {/foreach}
The problem is that every time a new shout comes up, the name isn't shown so the message is there but the poster's name isn't.
Can someone please help with this?
|
|
inherit
193282
0
Jun 20, 2015 10:43:55 GMT -8
Echokipz
5
April 2013
echokipz
|
Post by Echokipz on May 3, 2013 9:41:03 GMT -8
Anyone?
|
|
inherit
The Dream Crusher (Ret.)
164921
0
Apr 1, 2014 11:00:25 GMT -8
Tim Camara
Teach a man to fish, etc., etc.
1,721
March 2011
tcamara
|
Post by Tim Camara on May 3, 2013 10:18:25 GMT -8
Can you link the forum in question?
|
|
inherit
193282
0
Jun 20, 2015 10:43:55 GMT -8
Echokipz
5
April 2013
echokipz
|
Post by Echokipz on May 3, 2013 11:39:43 GMT -8
|
|