176

(6 replies, posted in PunBB 1.2 bug reports)

Else how does the the cache folder should be  chmodded ?

Yes is better !!!
So fast ...

No error nothing happened when  "Full"   or   "Data Only" are selected. tested with Mozilla

around 32 Mo

"éléphant" is not indexed but "l'éléphant" is ...

Is not so usefull.

By the way I found this "bug" when I met a problem with the global topic Plugin http://punbb.org/forums/viewtopic.php?id=6592

Could it be solved ?

Tx for your attention

For instance i'm pretty sure than l'éléphant is not indexed

let's try!

I tried to backup my punbb tables with DB Management and so far I could not retrieve a file when Backup type is on Full or Data Only.

When I check structure only is working fine.

Is it a Time out ?

I download today the plugin Global-topic.

But i got this warning

Warning: ob_start(): output handler 'ob_gzhandler' cannot be used twice in /.../www/punbb/include/functions.php on line 934
An error was encountered
Error: Unable to get topics.

Database reported: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'usage' AND posted=1022536800 ORDER BY sticky DESC, last_post DE (Errno: 1064)

Failed query: SELECT t.id, t.poster, t.subject, t.posted, t.last_post, t.last_post_id, t.last_poster, t.num_views, t.num_replies, t.closed, t.sticky, t.moved_to, t.forum_id, f.forum_name FROM punbbtopics as t LEFT JOIN punbbforums as f ON t.forum_id=f.id WHERE subject='Fichier Geofla - Droits d'usage' AND posted=1022536800 ORDER BY sticky DESC, last_post DESC LIMIT 0, 50

The problem is comming from the "  '  ": 'Fichier Geofla - Droits d'usage'. How can it be managed ?

Tx

184

(7 replies, posted in Archive)

Salut !

J'avais déjà un peu demandé il ya qqs temps : http://punbb.org/forums/viewtopic.php?id=6001

A deux on a peut être plus de chance d'y arriver lol

A+

185

(7 replies, posted in Archive)

Salut,

Pour avoir la date en français voici les modifs que j'ai faites

en fait il faut remplacer les date() pas des strftime() cette dernière utilise les setlocal

numéro de ligne approximatif
--> = remplacer par

bonne chance



admin_options.php

297    date($pun_config['o_date_format'])    -->    strftime($pun_config['o_date_format'])
297    <a href="http://www.php.net/manual/en/function.date.php">    -->    <a href="http://fr3.php.net/strftime">

viewtopic.php

232    date($pun_config['o_date_format'], $cur_post['registered'])     -->     strftime($pun_config['o_date_format'], $cur_post['registered'])

include/functions.php

592    
    $date = date($pun_config['o_date_format'], $timestamp);
    $today = date($pun_config['o_date_format'], $now+$diff);
    $yesterday = date($pun_config['o_date_format'], $now+$diff-86400);
-->
    $date = strftime($pun_config['o_date_format'], $timestamp);
    $today = strftime($pun_config['o_date_format'], $now+$diff);
    $yesterday = strftime($pun_config['o_date_format'], $now+$diff-86400);

186

(0 replies, posted in Programming)

Hi,

Does someone can explain me in human (comprehensive) language wha t do the followings lines extract from profile.php (punbb version 1.2.1 around line 550)

$cur_moderators = ($cur_forum['moderators'] != '') ? unserialize($cur_forum['moderators']) : array();
    // If the user should have moderator access (and he/she doesn't already have it)
    if (in_array($cur_forum['id'], $moderator_in) && !in_array($id, $cur_moderators))
        {
            $cur_moderators[$username] = $id;
            ksort($cur_moderators);

            $db->query('UPDATE '.$db->prefix.'forums SET moderators=\''.$db->escape(serialize($cur_moderators)).'\' WHERE id='.$cur_forum['id']) or error('Unable to update forum', __FILE__, __LINE__, $db->error());
        }

I would like to do something similar :

$cur_subscribers = ($cur_subscribe['subscribe']);
        // If the user should have moderator access (and he/she doesn't already have it)
        if (in_array($cur_subscribe['fid'], $subscribe_in)  && !in_array($id, $cur_subscribers))
        {
            $cur_subscribers[$username] = $id;
            ksort($cur_subscribers);

            $db->query('INSERT INTO '.$db->prefix.'subscribe VALUES ('.$id.','.$cur_subscribe['fid'].')') or error('Unable to insert subscribers', __FILE__, __LINE__, $db->error());
        }

from now is not working of course and i'm pretty sure than this line is the problem

$cur_subscribers = ($cur_subscribe['subscribe']);

Any assistance will be highly appreciated

MySQLDumper was the solution 

tx

Is look like beter with IE But I still got soms stop in the script.

Anyway the index is rebuild so , no need to launch it again

No message of error. I just see than the script is not any more running. So I go to the url (of the top of my browser) : http://www..........admin_maintenance.php?i_per_page=50&i_start_at=7300

and I press enter

I don't think is a javascript  pb because sometimes the scripts refresh the a dozen of pages before stop and sometimes it just do once.

Tx

190

(6 replies, posted in Feature requests)

I'm looking for a similar system for punBB mix between forum and mailing list. Does any one did something similar ?

If someone is ok to work on this project with me ....

Could be a feature fur punbb ?


Below a bit of literacy about m2f (for phpbb)
*************************************

Mail 2 Forum  joins two separate worlds of internet based communication together.
Until now, the phpBB web based bulletin board or forum systems existed completely separately and isolated from existing email based mailing list or list serve systems. Each system operated independently. Separately, each system has its own advantages and disadvantages.

    * Electronic mailing lists are very simple and convenient for the end user, no harder than using the email he or she already uses. The disadvantage is there is little history or organization of past discussions. Emails tend to get lost in time and an email?s content is only available to the original recipients. While some lists servers have the ability to keep a history or ?archive? the email messages, the archiving is usually non-intelligent and non-categorized leaving the user with a mess of unorganized messages. Additionally, ?archiving? is only uni-directional, meaning you may only go back and view the archives.

    * At the same time web based forums like phpBB are very well suited for organized bi-directional discussion. Users may view or contribute to a subject by posting to a new or existing ?thread? of information in any category now or in the future. Unfortunately, this requires the user to use the web based interface, for some this may be less convenient than email.

Although, web based forums and email list serves both have the common purpose of communication, each system achieves this very differently.

The purpose of Mail 2 Forum is to overlap the functionality of both forum systems and mailing list systems. Mail 2 Forum gives the user the best of both worlds.


See here http://www.mail2forum.com/ fo more details

I made a try to rebuild an index with around 9000 topics, the problem is that I have to press Enter several time to get the full process done. Sometime 2000 topics has don sometimes only 100.

admin_maintenance.php?i_per_page=50&i_start_at=7300

Punbb 1.2.1
Firefox 1.0

Any clue ?

Thanks  for your help. I will try MySQLDumper soon and i will let you know !

greatt !
Tx

Rickard wrote:

Do you have shell access?

Infortunatly not !!!

Other way ? I which not to have split my data in 100 small file ...

Hi,

I transfered my forums (own format) to punBB but I didn't think to index the word during the data entry. How can I do that ? Is it too late How can I used the function update_search_index() in search_idx.php ?

Any help will be really apprciated ;-)

Tx

Hi,

I 've something like 70 Mega in my actual mysql database. I plan to move soon to a new hoster. What is the best way to move it ? FTP ?

Thanks

The OS is Linux

The setlocale are installer I'm sure because with the following code is working properly :

setlocale (LC_TIME, "fr_FR");
echo strftime ("%d %B %Y");

--> 23 janvier 2005


I had the above code in footer.php

--> 23 janvier 2005

The problem is not coming from the function date() ? So far i understand than strftime() is the one to use in junction with setlocale  details here.

Am I right ? If yes could you explain how to modify the fonction format_time in include/functions.php in order to use strftime .

Many Tx

is still not working ... I still got '23-January-2005' !
with
setlocale(LC_ALL, $locale);
setlocale(LC_CTYPE, $locale);
setlocale(LC_TIME, $locale);


Any other idea ?

Tx

Hi,

I've choose as 'Date format' the  following options : j-F-Y is working perfectly in english --> 23-January-2005
But in french it displayed --> 23-January-2005 too instead of 23-Janvier-2005

I've checked the setlocale in punbb\lang\French\common.php it seems correct.

// Determine what locale to use
switch (PHP_OS)
{
    case 'WINNT':
    case 'WIN32':
        $locale = 'french';
        break;

    case 'FreeBSD':
    case 'NetBSD':
    case 'OpenBSD':
        $locale = 'fr_FR.ISO8859-1';
        break;

    default:
        $locale = 'fr_FR';
        break;
}

// Attempt to set the locale
setlocale(LC_CTYPE, $locale);

How can I manage to got the whiched format ?

Thanks