1
billyvision
x-IPB module invision board

for some reason i cant login to bbpixel.com which is the support website for this module.

I wanted to change the look of one of the builtin block for IPB. the block is : ipboard_block_new.html in templates

This block shows smiles with each post as post icons which i dont want. so kindly tell me how should i edit this file. since its my first time playing with template what precautions do i need to take?


xoops version: 2.0.13
ported invision board: x-IPB 14-H

<table class="outer" cellspacing="1" width="100%">
  <{if 
$block.full_view == true}>
  <
tr>
    <
th>th>
    <
th><{$block.lang_topic}>th>
    <
th align="center"><{$block.lang_replies}>th>
    <
th align="center"><{$block.lang_views}>th>
    <
th align="right"><{$block.lang_lastpost}>th>
  tr>
  <{foreach 
item=topic from=$block.topics}>
      <
tr>
        <
td class="even" width="6%"  align="center"><<{if $block.view_popup == true}>target="_blank"<{/if}> href="<{$topic.link_forum}>"><{$topic.img_smile}>a>td>
        <
td class="odd"  width="50%" onmouseout='this.className="odd";'  onmouseover='this.className="even";'><div class="bb_topic"><<{if $block.view_popup == true}>target="_blank"<{/if}> href="<{$topic.link_topic}>"><{$topic.title}>a> <{$topic.pages}>div><div align=right class="bb_forum"><<{if $block.view_popup == true}>target="_blank"<{/if}> href="<{$topic.link_forum}>"><{$topic.forum_name}>a>div>td>
        <
td class="even" width="12%" onmouseout='this.className="even";' onmouseover='this.className="odd";'  align="center"><{$topic.replies}>td>
        <
td class="odd"  width="12%" onmouseout='this.className="odd";'  onmouseover='this.className="even";' align="center"><{$topic.views}>td>
        <
td class="even" width="20%" onmouseout='this.className="even";' onmouseover='this.className="odd";'  align="right" nowrap><div class="bb_author"><{$topic.time}><br><{if $topic.last_post_id <> 0}><<{if $block.view_popup == true}>target="_blank"<{/if}> href="<{$topic.link_user}>"><{$block.lang_by}>:&nbsp;<{$topic.last_post_name}>a><{else}><{$block.lang_by}>:&nbsp;<{$topic.last_post_name}><{/if}>div>td>
     tr>
  <{/foreach}>
  <
tr>
    <
td class="foot" align="left" colspan="2"><a target="_blank" href="http://www.bbpixel.com">::BBpixel::a>td>
    <
td class="foot" align="right" colspan="3"><<{if $block.view_popup == true}>target="_blank"<{/if}> href="<{$xoops_url}>/modules/ipboard/"><{$block.lang_visitforums}>a>td>
  tr>
  <{else}>
  <
tr>
    <
td class="head">td>
    <
td class="head"><{$block.lang_topic}>td>
    <
td class="head" align="center"><{$block.lang_replies}>td>
    <
td class="head" align="right"><{$block.lang_lastpost}>td>
  tr>
   <{foreach 
item=topic from=$block.topics}>
      <
tr class="even" onmouseout='this.className="even";' onmouseover='this.className="odd";' >
        <
td width="6%" align="center"><<{if $block.view_popup == true}>target="_blank"<{/if}> href="<{$topic.link_forum}>"><{$topic.img_smile}>a>td>
        <
td><div class="bb_topic"><<{if $block.view_popup == true}>target="_blank"<{/if}> href="<{$topic.link_topic}>"><{$topic.title}>a> <{$topic.pages}>div><div align=right class="bb_forum"><<{if $block.view_popup == true}>target="_blank"<{/if}> href="<{$topic.link_forum}>"><{$topic.forum_name}>a>div>td>
        <
td align="center"><{$topic.replies}>td>
        <
td align="right"><div class="bb_author"><{$topic.time}><br><{if $topic.last_post_id <> 0}><<{if $block.view_popup == true}>target="_blank"<{/if}> href="<{$topic.link_user}>"><{$block.lang_by}>:&nbsp;<{$topic.last_post_name}>a><{else}><{$block.lang_by}>:&nbsp;<{$topic.last_post_name}><{/if}>div>td>
     tr>
  <{/foreach}>
  <
tr>
    <
td class="foot" align="left" colspan="2"><a target="_blank" href="http://www.bbpixel.com">::BBpixel::a>td>
    <
td class="foot" align="right" colspan="2"><<{if $block.view_popup == true}>target="_blank"<{/if}> href="<{$xoops_url}>/modules/ipboard/"><{$block.lang_visitforums}>a>td>
  tr>
  <{/if}>
table>


Demo website: http://www.ayubians.com/thesite

Regards,

2
pod
Re: x-IPB module invision board
  • 2005/9/4 12:05

  • pod

  • Quite a regular

  • Posts: 301

  • Since: 2003/4/19


Erase 2 instances of
<
<{if $block.view_popup == true}>target="_blank"<{/if}> href="<{$topic.link_forum}>"><{$topic.img_smile}>
a>


I suggest erasing 2 instances of
<a target="_blank" href="http://www.bbpixel.com">
::
BBpixel::
a>

as well, to omit the link back to BBPixel.

If you're new to editing templates, the best way is to open your favorite HTML editor, copy the template code to there & make your changes, then paste & submit to check out the results. If the results are less than desirable, you can hit "undo" & try again.

Hope this helps.
whttp://www.myxoops.com - MyXoops Is Your XOOPS!

Login

Who's Online

197 user(s) are online (159 user(s) are browsing Support Forums)


Members: 0


Guests: 197


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jan 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits