Thread Rating:
  • 8 Vote(s) - 2.88 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.6] Battlefield 3
AdminCP -> Templates and styles -> templates -> bf3 templates -> index templates -> index and find

<!--First block -->

<div class="tborder">
<div class="thead"><strong>Box title</strong></div>
<div class="trow1 cell-padding" align="center">

<img src="{$theme['imgdir']}/box_content.png" alt="content" />


</div>
</div>

<!--First block-->

Instead of box title add your desired title and for content replace

<img src="{$theme['imgdir']}/box_content.png" alt="content" />



with your desired content.
Reply
Thanks Johnny!
Play free online games @ degames.juplo.com
Reply
@johny s
How to make the box title or description clickable? Like if I wana make it Like this
Wt should i do?
Reply
Replace box title with <a href="http://yourlink.com/">Box title</a> and replace box title (in a tag) with your text.
Reply
Hey Johnny,

Can you tell me how to add the sidebox's to the portal page only, I found the directions you provided for the global change, but I only really want them on the portal page an I haven't found a successful way to modify it to be only on portal.

Thanks
Reply
AdminCP -> templates and styles -> BF3 templates -> portal templates -> portal and after {$latestthreads} paste box code


 <div class="tborder">
 <div class="thead"><strong>Box title</strong></div>
 <div class="tcat cell-padding">Box description</div>
 <div class="trow1 cell-padding" align="center">

 <img src="{$theme['imgdir']}/box_content.png" alt="content" />
</div>

 </div>


and save it.
Reply
Thanks for the reply, this isn't quite working how I would like.

I want to keep the box's on the right side as they appeared on the index page and for the toggle to hide/show still work, is this possible?

If so, can you help.. again. Smile

Basically, I want the exact same function you've implemented with the sidebox's on index, but I only want it to be applied on portal.


Thanks



EDIT
I got it working

Changed portal to:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
    lang.no_new_posts = "{$lang->no_new_posts}";
    lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>



{$header}

{myshoutbox_xxxxxxxx}

</br>

<table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center">


<tr>
<td valign="top" width="200">
{$cpmfetch_random}

{$welcome}
{$tsstatus}

{$pms}
{$latestthreads}


{$search}
{$stats}

{$whosonline}

</td>
<td>&nbsp;</td>
<td valign="top">
<div>

          

      <div class="forumoutline">

                 <div class="forum">

                
{$announcements}


<div align="center">

    <a href="{$mybb->settings['bburl']}/misc.php?action=markread&amp;my_post_key={$mybb->post_code}">{$lang->markread}</a> | <a href="{$mybb->settings['bburl']}/showteam.php">{$lang->forumteam}</a>

</div>
<br />
                              {$boardstats}

                 </div>

      </div>




<div id="sidebar">

   




<!--First block -->

<div class="tborder">
<div class="thead"><strong>Box title</strong></div>
<div class="tcat cell-padding">Box description</div>
<div class="trow1 cell-padding" align="center">

<img src="{$theme['imgdir']}/box_content.png" alt="content" />


</div>
</div>


<!--First block-->

<br />

<!--Second block -->
<div class="tborder">
<div class="thead"><strong>Box title</strong></div>
<div class="tcat cell-padding">Box description</div>
<div class="trow1 cell-padding" align="center">

<img src="{$theme['imgdir']}/box_content.png" alt="content" />

</div>
</div>

<!--Second block-->



</div>


</div>


	





<br class="clear" />


</td>
</tr>
</table>
{$footer}
</body>
</html>

and index to:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
    lang.no_new_posts = "{$lang->no_new_posts}";
    lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
                {$forums}


<div align="center">

    <a href="{$mybb->settings['bburl']}/misc.php?action=markread&amp;my_post_key={$mybb->post_code}">{$lang->markread}</a> | <a href="{$mybb->settings['bburl']}/showteam.php">{$lang->forumteam}</a>

</div>
<br />
                              {$cpmfetch}{$boardstats}

{$footer}
</body>
</html>
Reply
how can you change the horizontal layout to classic ?
Reply
UserCP -> Options -> display posts in classic postbit (for users)
Acp -> config > Showthread options -> and check Display posts using the classic post layout (Admin specifies default postbit, doesn't have any effects on postbit selection in UserCP)
As forcing postbit - http://mods.mybb.com/view/force-postbit-layout
Reply
thx jon
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)