Center Text

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jason2
    Senior Member
    • Dec 2007
    • 693
    • 3.6.x

    Center Text



    How do I center that text and remove the folder I've circled?

    ==============

    Also I have the groups on the index - [Administrator] [Site Moderator] [Tech Team] [Newcomer] [Banned]

    How do I space them out more ?

    ===========

    Also, how do I make the UCP a drop down menu like the 'quick links' ?

    =======

    And finally - how do I add a small piece of text in each forum above all the sticky topics, Just above the 'New Thread' button?

    Regards Jason
    Last edited by Jason2; Fri 21 Dec '07, 10:49am.
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    Originally posted by Jason2


    How do I center that text and remove the folder I've circled?
    Edit this template:

    Admin CP -> Styles & Templates -> Style Manager -> « » -> Navigation / Breadcrumb Templates -> navbar

    Remove the red code, add the blue code:

    Code:
    	<td class="alt1" width="100%">
    		<if condition="is_array($navbits)">
    			<table cellpadding="0" cellspacing="0" border="0">
    			<tr valign="bottom">
    				<td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
    				<td>&nbsp;</td>
    				<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
    			</tr>
    			<tr>
    				<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td>
    			</tr>
    			</table>			
    		<else />
    			<div [color=blue]align="center"[/color] class="navbar" style="font-size:10pt">[color=red]<a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a>[/color] <strong>$vboptions[bbtitle]</strong></div>
    		</if>
    	</td>
    Originally posted by Jason2
    Also I have the groups on the index - [Administrator] [Site Moderator] [Tech Team] [Newcomer] [Banned]

    How do I space them out more ?


    You can insert any number of nonbreaking spaces to add space between them:

    Code:
    &nbsp;
    Originally posted by Jason2
    Also, how do I make the UCP a drop down menu like the 'quick links' ?
    You would have to build a popup menu using the code in the last post of this thread:



    Originally posted by Jason2
    And finally - how do I add a small piece of text in each forum above all the sticky topics, Just above the 'New Thread' button?

    Regards Jason
    Admin CP -> Styles & Templates -> Style Manager -> « » -> Forum Display Templates -> FORUMDISPLAY

    Code:
    </thead>
    $forumbits
    </table>
    <br />
    <!-- / sub-forum list  -->
    </if>
    
    [color=red]YOUR CODE HERE[/color]
    
    <if condition="$show['threadslist']">
    <!-- threads list  -->
    
    <form action="inlinemod.php?forumid=$forumid" method="post" id="inlinemodform">
    <input type="hidden" name="url" value="$url" />
    <input type="hidden" name="s" value="$session[sessionhash]" />
    <input type="hidden" name="forumid" value="$forumid" />
    
    <!-- controls above thread list -->
    <table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
    <tr valign="bottom">

    Comment

    • Jason2
      Senior Member
      • Dec 2007
      • 693
      • 3.6.x

      #3
      You can insert any number of nonbreaking spaces to add space between them:
      PHP Code:
      &nbsp
      Could you elaborate more... What exactly do I put?

      =================

      About displaying a piece of text above the 'New Thread' button... I don't want it too say the same thing for each forum.. I want it say a different piece of text for each forum.

      =================

      You would have to build a popup menu using the code in the last post of this thread:
      That's for creating one and not making my current User CP a drop down menu. What code do I use and where would I add it - to make my current User CP a drop down menu - so you don't have to click in to it.

      Thanks for all your help so far!

      Regards Jason

      Comment

      • Jake Bunce
        Senior Member
        • Dec 2000
        • 46598
        • 3.6.x

        #4
        Originally posted by Jason2
        PHP Code:
        &nbsp
        Could you elaborate more... What exactly do I put?
        For example:

        Code:
        [Administrator]&nbsp;&nbsp;&nbsp;[Site Moderator]
        Originally posted by Jason2
        About displaying a piece of text above the 'New Thread' button... I don't want it too say the same thing for each forum.. I want it say a different piece of text for each forum.
        You can use a conditional to display something for a specific forum:

        Code:
        <if condition="$forumid == [color=red]X[/color]">
        
        </if>
        Where X is the forumid you are checking for. Duplicate this code to check for multiple different forumids.

        Originally posted by Jason2
        That's for creating one and not making my current User CP a drop down menu. What code do I use and where would I add it - to make my current User CP a drop down menu - so you don't have to click in to it.

        Thanks for all your help so far!

        Regards Jason
        You can simply replace the existing link with your new popup menu. I don't have completed code to give you. You will need to manually add links for each and every link within the User CP.

        Comment

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