1

(28 replies, posted in PunBB 1.3 additions)

anyone can help with a rtl one?

Weeww!! thank you very much big_smile

main.tpl

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" dir="<pun_content_direction>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<pun_char_encoding>" />
<pun_head>
</head>
<body>

<div id="punwrap">
<div id="pun<pun_page>" class="pun">

<div id="brdheader" class="block">
    <div class="box">
        <div id="brdtitle" class="inbox">
            <pun_title>
            <pun_desc>
        </div>
        <pun_navlinks>
        <pun_status>
    </div>
</div>



<div align="center"><script type="text/javascript"><!--
google_ad_client = "pub-3806911217709370";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
google_color_border = "000000";
google_color_bg = "FFFF66";
google_color_link = "CC0000";
google_color_text = "0066CC";
google_color_url = "80FF00";
google_ui_features = "rc:10";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div><br>

<pun_include "attention.php">

<pun_announcement>

<pun_main>
<pun_footer>

</div>
</div>

</body>
</html>

attention.php

<?php

// Show login if not logged in
if($pun_user['is_guest'])
{
    if(!isset($focus_element) || (isset($focus_element) && !in_array('login', $focus_element)))
    {

    // Load the language files
    require PUN_ROOT.'lang/'.$pun_user['language'].'/common.php';
    require PUN_ROOT.'lang/'.$pun_user['language'].'/login.php';
?>
<div id="announce" class="block">
    <h2><span style="font-size:1.5em; color: #FF0000; font-weight: bold;">Attention</span></h2>
    <div class="box">

        <div class="inbox">
            <div><span style="font-size: 1.3em; color: #FF0000; font-weight: bold;">You have not registered yet and have limited access! Register now to be able to view the entire forum!</span></div>
        </div>
    </div>
</div>
<?php
    }
}
?>

Before this mod i've installed quite few which didn't give me any kind of this error, only after installing this mod I got this.. and I'm using notepad as an editor, which i'm using for years like that and it never gave me an error like that...

I'm using FlashFXP...
from youre code, my main.tpl looks fine, but I have a google syndicate ad, but that can cause the problem?

Well my will not qualify with the rules here tongue so I don't know if I should put an adress

here the link to the mod:
http://www.punres.org/desc.php?pid=387

I did exactly what the install readme said..

After almost a week that my post wasn't answered @ punres I hope here I can get some help..
I've setted the mod correctly, checked it couple of times, but I get this "" before the table of the attention, I mean it shows this letters for some reason..

http://img396.imageshack.us/img396/1228/attentionuw6.th.jpghttp://img396.imageshack.us/images/thpix.gif

hope you can help me,
thank you wink

btw, I see punbb develops greatly i'm very happy with that, I will upgrade soon... now i'm with 1.2.20