Else how does the the cache folder should be chmodded ?
177 2005-03-07 20:34
Re: pb with Global topic (3 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Yes is better !!!
So fast ...
178 2005-03-07 20:24
Re: DB Management - not working - Time out ? (4 replies, posted in PunBB 1.2 modifications, plugins and integrations)
No error nothing happened when "Full" or "Data Only" are selected. tested with Mozilla
179 2005-03-07 16:43
Re: DB Management - not working - Time out ? (4 replies, posted in PunBB 1.2 modifications, plugins and integrations)
around 32 Mo
180 2005-03-06 15:58
Re: Search words are not indexed if a appostrophe is used l'éléphant (33 replies, posted in PunBB 1.2 bug reports)
"é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
181 2005-03-06 15:51
Topic: Search words are not indexed if a appostrophe is used l'éléphant (33 replies, posted in PunBB 1.2 bug reports)
For instance i'm pretty sure than l'éléphant is not indexed
let's try!
182 2005-03-06 15:23
Topic: DB Management - not working - Time out ? (4 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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 ?
183 2005-03-06 15:13
Topic: pb with Global topic (3 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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 2005-03-06 14:41
Re: Avoir la date en francais (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 2005-03-06 09:43
Re: Avoir la date en francais (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 2005-02-19 14:54
Topic: Explanation about punbb Code (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
187 2005-02-19 14:43
Re: How to transfert a big amount of data from one server to another one ? (16 replies, posted in General discussion)
MySQLDumper was the solution
tx
188 2005-02-12 18:32
Re: problem with the Rebuild search index (5 replies, posted in PunBB 1.2 troubleshooting)
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
189 2005-02-12 16:16
Re: problem with the Rebuild search index (5 replies, posted in PunBB 1.2 troubleshooting)
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 2005-02-12 11:06
Topic: punbb and m2f (mailing list) (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
191 2005-02-12 11:00
Topic: problem with the Rebuild search index (5 replies, posted in PunBB 1.2 troubleshooting)
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 ?
192 2005-01-25 23:27
Re: How to transfert a big amount of data from one server to another one ? (16 replies, posted in General discussion)
Thanks for your help. I will try MySQLDumper soon and i will let you know !
193 2005-01-24 22:54
Re: Help how to index word for punBB search engine ? (2 replies, posted in PunBB 1.2 discussion)
greatt !
Tx
194 2005-01-24 20:10
Re: How to transfert a big amount of data from one server to another one ? (16 replies, posted in General discussion)
Do you have shell access?
Infortunatly not !!!
Other way ? I which not to have split my data in 100 small file ...
195 2005-01-24 20:08
Topic: Help how to index word for punBB search engine ? (2 replies, posted in PunBB 1.2 discussion)
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
196 2005-01-24 20:01
Topic: How to transfert a big amount of data from one server to another one ? (16 replies, posted in General discussion)
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
197 2005-01-23 20:13
Re: How to display a translated format for the date ? (7 replies, posted in Feature requests)
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
198 2005-01-23 19:12
Re: How to display a translated format for the date ? (7 replies, posted in Feature requests)
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
199 2005-01-23 15:26
Topic: How to display a translated format for the date ? (7 replies, posted in Feature requests)
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