hello

A version without sql is it possible?

on my site is necessary no resources sql supplementary ...

In header_new_messages.php

Find :

$tpl_temp .= "\n\t\t\t\t".'<li class="pmlink"><strong><a href="message_list.php">'.$lang_pms['New messages'].'</a></strong></li>';

Add after :

<script language="JavaScript" type="text/javascript">
               window.open("message_popup.php","NewPM","width=500,height=250,resizable=yes,scrollbars=yes"); 
 </script>';

Thx smile
Merci smile

Hello

Is it possible to Select to unselect  checkbox in Mulptiple delete Message ??

Exemple :

http://img246.imageshack.us/img246/518/a9uh.jpg


i find this script .

<SCRIPT LANGUAGE="javascript">
function checkAll() {
    var i=0;

    while (document.folder_list.elements[i]) {
        if (document.folder_list.elements[i].name=='delete_messages[]') {
            document.folder_list.elements[i].checked=!document.folder_list.elements[i].checked;
        }

        i++;
    }
}
</SCRIPT>


<p><a HREF="javascript:checkAll();">Selectionner/Inv</a></p>

<form  name="folder_list" method="POST" >

    <p><input type="checkbox" name="delete_messages[]" value="ON"></p>
    <p><input type="checkbox" name="delete_messages[]" value="ON"></p>
    <p><input type="checkbox" name="delete_messages[]" value="ON"></p>
    <p><input type="checkbox" name="delete_messages[]" value="ON"></p>
</form>

Is it adaptable for punBB for integratd in message_list.php ??

Thx

Hello,

I want to know if it is possible to have an announcement/notification by email when the members receive a private message ?

6

(71 replies, posted in News)

For French :

   

// Check that someone from this IP didn't register a user within the last hour (DoS prevention)
     $result = $db->query('SELECT 1 FROM '.$db->prefix.'users WHERE registration_ip=\''.get_remote_address().'\' AND registered>'.(time() - 3600)) or error('Unable to fetch user info', __FILE__, __LINE__, $db->error());
      if ($db->num_rows($result))
     message('Un nouvel utilisateur a été enregistré avec la même adresse IP que vous dans la dernière heure. Pour empêcher l\'inondation d\'enregistrement, au moins 1 heure doit passer entre des enregistrements du même IP. Désolé de l\'inconvénient.');

7

(9 replies, posted in PunBB 1.2 show off)

Thanks all smile

Merry Christmas & Happy New year 2006 Everyone !!

H3LLo

I Want Add a Attribute "sex"  to user info.

in profile user, the user had choice between male or femele.

Can you explain me for do it ?

and i want this modification is showing il user pôst

exemple :

    Registered: 2005-02-19
    Posts: 45
    Sex : Male

Yes is Teka.

The problem Appear with Firefox or IE. I think that it is of has norton's certain regulation....

i use Ie & Firefox i don't have problem but a i haven't norton antivirus.

Hello smile

Members oF my forums have a bug , when try post a topic or reply with the button "Reply post" le textaera is hidden !!! there isn't the place for write the reply :-s ...

i think norton Blok this textaera who considered as Publicity popup ...

what the soluce ?

ThX.
N3T

up.

lol .... Voui mais sa marche pas.

up tongue

salut rod !

Non c'est pour se servir du BBcode !  mettre le code [size=14]texte[/size] et que la police dans les post apparaisse plus grande  ou plus petite .... comme sur phpbb.

Edit : i find for color text smile but not for the size text :-(

Hello

I modif my punbb  for have Bbcode size i don't run it .............

I do not arrive has to make the modification, that does not work. Somebody few you it to help me?

i use of mod_easy_bbcode.php

[size=8]the text BIG[/size]  <<<< :-(

N3twork

hello

I have a question

Punbb Support REGISTER GLOBAL TO "OFF" ?

Hello

The French Version for Calendar 2.0.

<?php

$lang_calendar = array(
'Calendar'        =>    'Calendrier',

// Month Names
'January'                    => 'Janvier',
'February'                    => 'Fevrier',
'March'        => 'Mars',
'April'        => 'Avril',
'May'        => 'Mai',
'June'        => 'Juin',
'July'        => 'Juillet',
'August'                    => 'Aout',
'September'    => 'Septembre',
'October'                    => 'Octobre',
'November'    => 'Novembre',
'December'    => 'Decembre',

// Days of the week name. Big Calendar
'Sunday'    =>    'Lundi',
'Monday'    =>    'Mardi',
'Tuesday'    =>    'Mercredi',
'Wednsday'    =>    'Jeudi',
'Thursday'    =>    'Vendredi',
'Friday'    =>    'Samedi',
'Saturday'    =>    'Dimanche',

// Days of the week name. Small Calendar
'Sun'    =>    'Lun',
'Mon'    =>    'Mar',
'Tue'    =>    'mer',
'Wed'    =>    'Jeu',
'Thu'    =>    'Ven',
'Fri'    =>    'Sam',
'Sat'    =>    'Dim',

// Links on main calendar
'Topics'    =>    'Sujets:',
'Posts'        =>    'Posts:',
'Birthdays'    =>    'Anniversaires:',

// Event links in main page
'Add_event'    =>    'Ajouter une soirée',
'Edit_event'    =>    'Editer une soirée',

// Other text on main page
'go_to'        =>    'Aller à',
'posts/topics'    =>    'Posts/Sujets',
'events'        =>    'Soirées',

// Wording for subpages
'Viewing_Topics'         =>    'Voir sujets',
'No_Topics'    =>    'Pas de sujets aujourd\?hui',
'Viewing_Posts'    =>    'Voir posts',
'No_Posts'        =>    'Pas de posts aujourd\?hui',
'Age'        =>    'Age',

// Viewing single Event
'Viewing_Event'    =>    'Voir la soirée',
'No_Events'    =>    'Pas de soirée aujourd\'hui',
'event_name'    =>    'Titre de la soirée:',
'Event_Date'    =>    'Date de la soirée:',
'Group'        =>    'Groupes:',
'Joined'        =>    'Joindre:',


// Nav links for navagation
'Navigation'    =>    'Navigation',
'Last Year'        =>    'Année Précèdente',
'Last Month'    =>    'Mois Précèdent',
'Last Day'        =>    'Jour Précèdent',
'Today'        =>    'Aujourd\'hui',
'Next Day'        =>    'Jour suivant',
'Next Month'    =>    'Mois suivant',
'Next Year'        =>    'Année suivante',
'Back'        =>    'Retour au calendrier',

// The Action Section (Add & Edit Events)
'warning'        =>    'Vous ne pouvez pas ajouter une soirée',
'need_title'                    =>    'Vous avez oublié le titre de la soirée',
'need_body'    =>    'Vous avez oublié la description de la soirée',
'need_date'    =>    'Vous devez définir une date pour la soirée',
'no_events'    =>    'Il y a pas de soirées a éditer',
'date_error'    =>    'Le jour ne correspond pas avec le Mois.',
'delete_confirm'         =>    'Etes vous sure de vouloir effacer ?',
'no_event'        =>    'Vous n\?avez pas sélectionné de soirée, Merci de revenir en arrière et dans sélectionner une.',

'event_added'    =>    'soirée ajoutée au calendrier',
'event_edited'    =>    'soirée éditée',
'event_deleted'    =>    'Soirée effacer du calendrier',

'add_event'        =>    'Ajouter une soirée',
'edit_event'    =>    'Editer une soirée',
'delete_event'    =>    'Effacer une soirée',
'add_info'        =>    'Entrer les informations de la soirée',
'edit_info'        =>    'Changer les informations de la soirée',

'Title'            =>    'Titre de la soirée',
'Date'            =>    'Date',
'Month'            =>    'Mois',
'Day'            =>    'Jour',
'Year'            =>    'Année',
'Body'            =>    'Description de la soirée',

);

20

(9 replies, posted in PunBB 1.2 show off)

thank

Ludo je te file le code bientot smile

my web site : http://www.tekalouest.org


n3tWork & Dogma

up.

Hello, 
I want to know if already exist a modification to limit the LOGIN of the members which join has one certain count of letter and number.

Exemple

"Your LOGIN is limited to 12 caracter"

If it exist not how to make it ??? 

Thank you for your answers

N3twork

up smile

Code of membre.php  :

>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
<head>
</head>
<body>


        
                
<?php
define('PUN_ROOT', './forums/');
require PUN_ROOT.'include/common.php';
$id = isset($_GET['id']) ? intval($_GET['id']) : 0;
if ($id < 2)
    message($lang_common['Bad request']);
    

require PUN_ROOT.'lang/'.$pun_user['language'].'/prof_reg.php';
require PUN_ROOT.'lang/'.$pun_user['language'].'/profile.php';
$pun_config['o_avatars_dir']="forums/img/avatar";

if ($pun_config['o_avatars'] == '1')
    {
        if ($user['use_avatar'] == '1')
        {
            if ($img_size = @getimagesize($pun_config['o_avatars_dir'].'/'.$id.'.gif'))
                $avatar_field = '<img src="'.$pun_config['o_avatars_dir'].'/'.$id.'.gif" '.$img_size[3].' alt="" />';
            else if ($img_size = @getimagesize($pun_config['o_avatars_dir'].'/'.$id.'.jpg'))
                $avatar_field = '<img src="'.$pun_config['o_avatars_dir'].'/'.$id.'.jpg" '.$img_size[3].' alt="" />';
            else if ($img_size = @getimagesize($pun_config['o_avatars_dir'].'/'.$id.'.png'))
                $avatar_field = '<img src="'.$pun_config['o_avatars_dir'].'/'.$id.'.png" '.$img_size[3].' alt="" />';
            else
                $avatar_field = $lang_profile['No avatar'];
        }
        else
            $avatar_field = $lang_profile['No avatar'];
    }

$result = $db->query('SELECT u.id, u.username, u.email, u.url, u.msn, u.signature, u.use_avatar, u.location FROM '.$db->prefix.'users AS u LEFT JOIN '.$db->prefix.'groups AS g ON g.g_id=u.group_id WHERE u.id='.$id) or error('Unable to fetch user info', __FILE__, __LINE__, $db->error());
if (!$db->num_rows($result))
    message($lang_common['Bad request']);

$user = $db->fetch_assoc($result);
if ($user['signature'] != '')
{
    require PUN_ROOT.'include/parser.php';
    $parsed_signature = parse_signature($user['signature']);
}
    
?>
<div class="box4">
<p align="center"><?php echo $avatar_field ?><br>
<td><b><?php echo $lang_common['Username'] ?></b>: <?php echo pun_htmlspecialchars($user['username']) ?></td></p>
<p align="left">
<td><b><?php echo $lang_profile['Location'] ?></b>: <?php echo ($user['location'] !='') ? pun_htmlspecialchars(($pun_config['o_censoring'] == '1') ? censor_words($user['location']) : $user['location']) : $lang_profile['Unknown']; ?></td><br>
<td><b><?php echo $lang_profile['Website'] ?></b>: <?php echo pun_htmlspecialchars($user['url']) ?></td><br>
<td><b><?php echo $lang_common['E-mail'] ?></b>: <?php echo pun_htmlspecialchars($user['email']) ?></td><br>
<td><b><?php echo $lang_profile['MSN'] ?></b>: <?php echo ($user['msn'] !='') ? pun_htmlspecialchars(($pun_config['o_censoring'] == '1') ? censor_words($user['msn']) : $user['msn']) : $lang_profile['Unknown']; ?></td>
</p>
<div align="left">
    <dt>------ <?php echo $lang_profile['Signature'] ?>: ------</dt>
<td><b><?php echo isset($parsed_signature) ? $parsed_signature : $lang_profile['No sig']; ?></td>
<p align="center">
<a href="forums/message_send.php?id=<?php echo pun_htmlspecialchars($user['id']) ?>">Envoyer un message privée à <?php echo pun_htmlspecialchars($user['username']) ?></a><br /></div>
</p></body></html>