1

(1 replies, posted in PunBB 1.3 bug reports)

Option "online_full" doesn't work.

See code below from "extern.php":

    echo $lang_index['Guests online'].': '.forum_number_format($num_guests).'<br />'."\n";

    if ($_GET['action'] == 'online_full')
        echo $lang_index['Users online'].': '.implode(', ', $users).'<br />'."\n";

into "lang/English/index.php" I can't find rows:

'Users online'                    =>    'Users online',
'Guests online'                    =>    'Guests online',

Ok,
there is the solution:
for "Aruba" users: if you have an old MySQL version you MUST buy another DB on Aruba to have new MySQL 5 version. Now all works fine! big_smile

For Italian users:
ragazzi Aruba nei vecchi DB fornisce MySQL 4, prendendo un nuovo DB vi fornisce la versione 5 e tutto funziona! big_smile

Hi all,
unfortunately with my hosting service (www.aruba.it) use only standard "MySQL connection collation" and I cannot change it to UTF8 so I can't update my punbb forum to 1.3! roll
There's solution? Can I use other collation in punbb 1.3?

4

(3 replies, posted in PunBB 1.2 troubleshooting)

Try to change your "MySQL connection collation" into "UTF8_bin". wink

5

(5 replies, posted in PunBB 1.2 troubleshooting)

Thank you!!! wink

Et voilà! A little guide to resize columns in English and Italian language. smile


Open the files - Aprire il file: "style\imports\base.css".

Go to line (approximately) - Andate alla linea (più o meno): 134


First column size - dimensione della prima colonna: .tcl {TEXT-ALIGN: left; WIDTH: 60%}
Second and third column - seconda e terza colonna: .tc2, .tc3, .tcmod {WIDTH: 9%; TEXT-ALIGN: center}
Fourth column - quarta colonna: .tcr {WIDTH: 22%; TEXT-ALIGN: left}


I hope that help other user - Spero sia utile agli altri utenti
tongue


Bye!!!

6

(5 replies, posted in PunBB 1.2 troubleshooting)

Hy all.
It's possible to resize column width? I want to reduce last message column size and increase category column size.

bye

Please help me!
I try to integrate PunBB as module into my CMS.
Now I've integrate it into a IFRAME but login, logout and the "extern.php" function call doesn't work correctly.

It's possible to integrate PunBB in an easy way? If I recall the PunBB's "index.php" doesn't work and this message appear:
"The file 'config.php' doesn't exist or is corrupt. Please run install.php to install PunBB first."

Any suggestion?

Max

No, forums and the website running on the same domains...
uhm... I try to integrate punBB forum into my portal (entirely writen in PHP) as module. Now I put punBB into a frame:

<iframe width="100%" id="the_iframe" 
    onLoad="calcHeight();" 
    src="moduli/punbb/index.php" 
    scrolling="NO" 
    frameborder="0" 
    height="0">
An iframe capable browser is required to view this web site.
</iframe>

and I login with:

<form id="login" method="post" action="moduli/punbb/login.php?action=in">
    <input type="hidden" name="form_sent" value="1" />                    
    <input type="hidden" name="redirect_url" value="http://www.maxetere.it/index.php?mod=punbb" />    
    Utente
    <br>
    <input type="text" name="req_username" maxlength="25"  class="TestoLogin" />
    <br>
    Password
    <br>
    <input type="password" name="req_password" maxlength="16" class="TestoLogin"   />
    <br><br>
    <input type="submit" name="login" value="Login" />
        <br><br>        
    <a href="moduli/punbb/register.php">Registrati! E' gratis!</a>        
        <br>
    <a href="moduli/punbb/login.php?action=forget">Password persa?</a><br>
</form>

There is a better way to integrate login? And how I can integrate PunBB into my own portal similar to PhpBB with PhpNuke???

Thank you

This is the problem!!!
Unfortunately [group_id] value is always the same!!! I log in, log out, log in as user, log in as administrator and... nothing! [group_id] value doesn't change... is always equal to '3'! sad

I all.
I try to integrate PunBB into my site.
I use external.php to show general information about user and posts.
Now I must know when Administrator is logged or, generally, the user's level (Administrator, simple user and so on).
I try to read $pun_user variable whith this code:

    global $db;
    global $pun_user;
    $lang_common = 'English';
    define('PUN_ROOT', 'pubb/');
    require PUN_ROOT.'include/common.php';
    print_r($pun_user);

and show ALWAYS:

Array ( [id] => 1 [group_id] => 3 [username] => Guest [password] => Guest [email]=> Guest [title] => [realname] => [url]=> [jabber] => [icq] => [msn] => [aim] => [yahoo] => [location] => [use_avatar] => 0 [signature] => [disp_topics] => [disp_posts] => [email_setting] => 1 [save_pass] => 1 [notify_with_post] => 0 [show_smilies] => 1 [show_img] => 1 [show_img_sig] => 1 [show_avatars] => 1 [show_sig] => 1 [timezone] => [language] => [style] => [num_posts] => 0 [last_post] => [registered] => 0 [registration_ip] => 0.0.0.0 [last_visit] => 0 [admin_note] => [activate_string] => [activate_key] => [g_id] => 3 [g_title] => Guest [g_user_title] => [g_read_board] => 1 [g_post_replies] => 0 [g_post_topics] => 0 [g_post_polls] => 0 [g_edit_posts] => 0 [g_delete_posts] => 0 [g_delete_topics] => 0 [g_set_title] => 0 [g_search] => 1 [g_search_users] => 1 [g_edit_subjects_interval] => 0 [g_post_flood] => 0 [g_search_flood] => 0 [logged] => 1116516066 [is_guest] => 1 )


After login or logout say that I'm always "Guest". How it's possible? Where is my mistake?
Any suggestion?

sorry for my english... tongue

11

(11 replies, posted in Feature requests)

I know that isn't a good idea... sad
Unfortunately it is the only solution...

Tank you wink

I all, I'm an italian programmer and I've this error:
"Unable to write configuration cache file to cache directory. Please make sure PHP has write access to the directory 'cache'"

Unfortunately I can't change directory right to "777" 'cause is locked by provider/mantainer (www.aruba.it).
I've only one public directory called "public" into my site root dir.

Now PunBB work correctly because I've simply changed 10-12 code lines...

I've a suggestion for PunBB developer:
you could create a simple CONSTANT called, for example, CACHE_DIR:

define('CACHE_DIR', '../../public');

and use this constant into "functions.php", "footer.php", "cache.php", "common.php" where "cache" directory are called...

In Italy thousand people who use www.aruba.it as provider/mantainer can't use PunBB!!!

Max

Ok... now PunBB work correctly because I've simply changed 10-12 code lines...
I've a suggestion for PunBB developer:
you could create a simple CONSTANT called, for example, CACHE_DIR:

define('CACHE_DIR', '../../public');

and use this constant into "functions.php", "footer.php", "cache.php", "common.php" where "cache" directory are called...

In Italy thousand people who use www.aruba.it as provider/mantainer can't use PunBB!!!

Max

I all, I'm an italian programmer and I've this error:
"Unable to write configuration cache file to cache directory. Please make sure PHP has write access to the directory 'cache'"

Unfortunately I can't change directory right to "777" 'cause is locked by my host (www.aruba.it).
I've only one public directory called "public" into my site root dir. Can I change PunBB "cache" directory to my "public" dir? How? The're a configuration file?

Tanks!!! smile

Max