Announcement

Collapse
No announcement yet.

How to add a extra line ??

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to add a extra line ??

    friends,

    I want to add a extra line to my forum. Tht is below the member details .. Which can be used for any other purpose

    so lemme know how to do it.. here is the screen shot how i am asking for :



    advance thanks for the help

  • #2
    Admin CP -> Styles & Templates -> Style Manager -> « » -> Postbit Templates -> postbit

    Find this code and add the red code:

    Code:
    			</td>
    		</tr>
    		</table>
    		<!-- / user info -->
    	</td>
    </tr>
    [color=red]<tr>
    	<td class="alt2">
    		YOUR CONTENT HERE
    	</td>
    </tr>[/color]
    <tr>
    	<td class="alt1">
    	<!-- message, attachments, sig -->
    	
    		<if condition="$show['messageicon'] OR $post['title']">
    			<!-- icon and title -->
    			<div class="smallfont">
    That should work.

    Comment


    • #3
      thanks for the help jake it worked

      Comment


      • #4
        is it possible to do differnt messages for differnt usergroups ... i.e like for admins some image as admin can b kept in there & for mods we can keep as : Moderators on work ... similarly for other groups too..

        so lemme know if this is possible .. if it is.. lemme know how

        advance thanks for the help

        Comment


        • #5
          Originally posted by secret1980
          is it possible to do differnt messages for differnt usergroups
          ...usergroup of the author of the post? Or usergroup of the current logged in user?

          Comment


          • #6
            hmm .. i mean it in this way

            when we get an extra line... when a member replies there he will have the same usual message as others isn't it

            in the same way i would like tht for moderators to have a differnt text in tht extra bar if they reply there ..

            like for ex. regular members who replied would hav this on the extra line : We are regular members
            & when moderators reply in the thread their extra line should display : We are moderating so beware..

            hope u understand wat i was meanin to

            **sorry for my english

            Comment


            • #7
              That sounds like the post author. You can use code like this in the postbit templates:

              Code:
              <if condition="is_member_of($post, [color=red]X[/color])">
              
              </if>
              Where X is the usergroupid you want to check for. The stuff inside will only show for authors belonging to that group.

              Comment


              • #8
                Originally posted by Jake Bunce
                That sounds like the post author. You can use code like this in the postbit templates:

                Code:
                <if condition="is_member_of($post, [color=red]X[/color])">
                
                </if>
                Where X is the usergroupid you want to check for. The stuff inside will only show for authors belonging to that group.

                i think u got me wrong :s I wanted the message to be displayed to all of them but differnt text for differnt groups is wat i wanted for..

                here is a example :


                I want tht display to be visible to all the users who are even watching the thread & as usually as we reply each member will hav a appropriate reply of his usergroup

                hope u understood it


                **sorry for my english

                Comment


                • #9
                  Yeah, my code should work. At more instances of that code for multiple groups.

                  Comment


                  • #10
                    oki thanks for the help jake It worked

                    Comment

                    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                    Working...
                    X