We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Forum | Forum

Michel
Michel Feb 2 '14
done that  but it gives my normal members this picture to
dave Leader
dave Feb 2 '14
can you do another screen shot for me please


Michel
Michel Feb 2 '14

Quote from dave right lets work on the placement first and then we will do it for only moderators 



oki! :-)
Michel
Michel Feb 2 '14
The Forum post is edited by Michel Feb 2 '14
dave Leader
dave Feb 2 '14
ok for right now until i can drop that down a bit put a comment around it so it does not show.. 


so like this 


<!-- <img  blah blah   />  -->


clear your cache  and ill get right back with you.. i hope its not what i think, but we will see

The Forum post is edited by dave Feb 2 '14
Michel
Michel Feb 2 '14
sorry can u explain that in a diff way with the img blabla?
dave Leader
dave Feb 2 '14
sure like this


<!-- <img src="http://www.tibiaevents.com/teamlogo.png" border="0" alt="" /> -->


that way it wont show till i get this for you in a few im working on it :) 

Michel
Michel Feb 2 '14
oww thats what i did haha xD so i was on a good way okiii ill wait! :D
dave Leader
dave Feb 2 '14
i think the best your gonna be able to do without changing some css is to put it right before their name  so it would look like this 


avatar  logo username 

           post text text text text .....................................................

           .............................................................

Michel
Michel Feb 2 '14
hmm okii but isnt it better to do it under the avatar?
The Forum post is edited by Michel Feb 2 '14
dave Leader
dave Feb 2 '14
yeah but honestly i dont have time to track down all the css and test it sorry bud that alittle too much time to do today for me.. 


But see how you like this.. 


remove what you have and then in that same area, move it up a bit so that it looks like this and tell me what you think 


{foreach from=$postList item=post name=postList}

{capture assign='tpl'}{capture name='info_string'}


<!-- added -->

{if $isModerator}

<img src="http://www.tibiaevents.com/teamlogo.png" border="0" alt="" /> 

{/if}

<!-- end add -->


<a href="{$avatars[$post.userId].url}">{$avatars[$post.userId].title}</a> 

<span class="ow_tiny ow_ipc_date ow_remark">{$post.createStamp}</span>

{/capture}



leave the notes in there so you can remember what you did and that you added that 


The Forum post is edited by dave Feb 2 '14
Michel
Michel Feb 2 '14
i need to remove this

{foreach from=$postList item=post name=postList}
{capture assign='tpl'}
    {capture name='info_string'}
        <a href="{$avatars[$post.userId].url}">{$avatars[$post.userId].title}</a>
        <span class="ow_tiny ow_ipc_date ow_remark">{$post.createStamp}</span>

    {/capture}
<!-- <img src="http://www.tibiaevents.com/teamlogo.png" border="0" alt="" /> -->

    {capture name='content'}


and replace it with this

{foreach from=$postList item=post name=postList}
{capture assign='tpl'}
    {capture name='info_string'}
        <a href="{$avatars[$post.userId].url}">{$avatars[$post.userId].title}</a>
        <span class="ow_tiny ow_ipc_date ow_remark">{$post.createStamp}</span>

    {/capture}
<!-- <img src="http://www.tibiaevents.com/teamlogo.png" border="0" alt="" /> -->

    {capture name='content'}
dave Leader
dave Feb 2 '14
also it might be that the avatar area is actually formed in the php file and that is what i was afraid of  because that would be a core change. 
dave Leader
dave Feb 2 '14
no no just use mine as a sample and make yours look like mine 
Michel
Michel Feb 2 '14
ah so like this


{foreach from=$postList item=post name=postList}
{capture assign='tpl'}

<!-- added -->
{if $isModerator}
<img src="http://www.tibiaevents.com/teamlogo.png" border="0" alt="" />
{/if}
<!-- end add -->

    {capture name='info_string'}
        <a href="{$avatars[$post.userId].url}">{$avatars[$post.userId].title}</a>
        <span class="ow_tiny ow_ipc_date ow_remark">{$post.createStamp}</span>
{/capture}

Michel
Michel Feb 2 '14
done that but my user still has this picture :P
dave Leader
dave Feb 2 '14
yes sir buddy now let me know what you think of that 
dave Leader
dave Feb 2 '14
are you sure they are not a moderator 


dave Leader
dave Feb 2 '14
did you remove your other code that you had 
Michel
Michel Feb 2 '14
ye i am sure haha some of them are users :P
Pages: « 1 2 3 4 5 6 »