<?php

// Language definitions used in profile.php
$lang_profile = array(

// Miscellaneous
'Profile'                    =>    'Profile',

// Password stuff
'Pass key bad'                =>    'The specified password activation key was incorrect or has expired. Please re-request a new password. If that fails, contact the forum administrator at',
'Pass updated'                =>    'Your password has been updated. You can now login with your new password.',
'Pass updated redirect'        =>    'Password updated. Redirecting ...',
'Wrong pass'                =>    'Wrong old password.',
'Change pass'                =>    'Change password',
'Old pass'                    =>    'Old password',
'New pass'                    =>    'New password',

// E-mail stuff
'E-mail key bad'            =>    'The specified e-mail activation key was incorrect or has expired. Please re-request change of e-mail adress. If that fails, contact the forum administrator at',
'E-mail updated'            =>    'Your e-mail address has been updated.',
'Activate e-mail sent'        =>    'An email has been sent to the specified address with instructions on how to activate the new e-mail address. If it doesn\'t arrive you can contact the forum administrator at',
'E-mail instructions'        =>    'Enter the new e-mail address and an e-mail will be sent to that address with an activation link. You must click the link in the e-mail you recieve to activate the new address.',
'Change e-mail'                =>    'Change e-mail address',
'New e-mail'                =>    'New e-mail',

// Avatar upload stuff
'Avatars disabled'            =>    'The administrator has disabled avatar support.',
'Too large ini'                =>    'The selected file was too large to upload. The server didn\'t allow the upload.',
'Partial upload'            =>    'The selected file was only partially uploaded. Please try again.',
'No file'                    =>    'You did not select a file for upload.',
'Bad type'                    =>    'The file you tried to upload is not of an allowed type. Allowed types are gif, jpeg and png.',
'Too wide'                    =>    'The file you tried to upload is wider than the maximum allowed',
'Too high'                    =>    'The file you tried to upload is higher than the maximum allowed',
'Too large'                    =>    'The file you tried to upload is larger than the maximum allowed',
'pixels'                    =>    'pixels',
'bytes'                        =>    'bytes',
'Move failed'                =>    'The server was unable to save the uploaded file. Please contact the forum administrator at',
'Unknown failure'            =>    'An unknown error occured. Please try again.',
'Avatar upload redirect'    =>    'Avatar uploaded. Redirecting ...',
'Avatar deleted redirect'    =>    'Avatar deleted. Redirecting ...',
'Avatar desc'                =>    'An avatar is a small image that will be displayed under your username in your posts. It must not be any bigger than',
'Upload avatar'                =>    'Upload avatar',
'Delete avatar'                =>    'Delete avatar',    // only for admins
'File'                        =>    'File',
'Upload'                    =>    'Upload',    // submit button

// Form validation stuff
'Dupe username'                =>    'Someone else has already registered with that username. Please go back and try a different username.',
'Forbidden title'            =>    'The title you entered contains a forbidden word. You must choose a different title.',
'Profile redirect'            =>    'Profile updated. Redirecting ...',

// Profile display stuff
'Not activated'                =>    'This user hasn\'t activated his/her account yet. The account is activated when he/she logs in the first time.',
'Private'                    =>    'Private',    // This is displayed when a user does not want to receive e-mails
'No avatar'                    =>    'No avatar',
'Show posts'                =>    'Show all posts',
'Realname'                    =>    'Real name',
'Website'                    =>    'Website',
'ICQ'                        =>    'ICQ',
'MSN'                        =>    'MSN Messenger',
'AOL IM'                    =>    'AOL IM',
'Yahoo'                        =>    'Yahoo! Messenger',
'Location'                    =>    'Location',
'Sig max length'            =>    'Max length',
'Sig max lines'                =>    'Max lines',
'Avatar'                    =>    'Avatar',
'Avatar info'                =>    'An avatar is a small image that will be displayed with all your posts. You can upload an avatar by clicking the link below. The checkbox \'Use avatar\' below must be checked in order for the avatar to be visible in your posts.',
'Change avatar'                =>    'Change avatar',
'Use avatar'                =>    'Use avatar.',
'Signature'                    =>    'Signature',
'Signature info'            =>    'A signature is a small piece of text that is attached to your posts. In it, you can enter just about anything you like. Perhaps you would like to enter your favorite quote or your star sign. It\'s up to you! In your signature you can use BBCode if it is allowed in this particular forum. You can tell what features are allowed/enabled out in the left margin whenever you edit your signature.',
'Sig preview'                =>    'Current signature preview:',
'No sig'                    =>    'No signature currently stored in profile.',
'Topics per page'            =>    'Topics per page',
'Topics per page info'        =>    'This setting controls how many topics are displayed per page when you view a forum. If you are uncertain about what to use, you can just leave it blank and the forum default will be used.',
'Posts per page'            =>    'Posts per page',
'Posts per page info'        =>    'This setting controls how many posts are displayed per page when you view a topic. If you are uncertain about what to use, you can just leave it blank and the forum default will be used.',
'Leave blank'                =>    'Leave blank to use forum default.',
'Notify full'                =>    'Include post in subscription e-mails.',
'Notify full info'            =>    'With this enabled, a plain text version of the new post will be included in subscription notification e-mails.',
'Use smilies'                =>    'Convert smilies to images by default.',
'Use smilies info'            =>    'If you enable this option, small images instead of text smilies will be displayed in your posts by default. You can still disable this by unchecking the checkbox on a post per post basis.',
'Show images'                =>    'Show images.',
'Show images info'            =>    'Disable this if you don\'t want to see images and icons in posts (this includes smilies and images displayed with the [img]-tag).',
'Show avatars'                =>    'Show avatars.',
'Show avatars info'            =>    'This option toggles whether user avatar images will be displayed in posts or not.',
'Show sigs'                    =>    'Show user signatures.',
'Show sigs info'            =>    'Enable if you would like to see user signatures.',
'Open links new win'        =>    'Open links in new window.',
'Open links new win info'    =>    'This option sets whether you want links in posts to open in new windows or not.',
'Style'                        =>    'Style',
'Style info'                =>    'If you like you can use a different visual style for this forum.',
'Admin note'                =>    'Admin note',
'Instructions'                =>    'When you update your profile, you will be redirected back to this page.',

// Administration stuff
'User admin'                =>    'User administration',
'Choose status'                =>    'Status',
'Choose status info'        =>    'Choose what status this user should have.',
'Update status'                =>    'Update status',
'Moderator in'                =>    'Moderator in',
'Moderator in info'            =>    'Choose what forums this user should be allowed to moderate. Note: This only applies to moderators. Administrators always have full permissions in all forums.',
'Update forums'                =>    'Update forums',
'Delete user'                =>    'Delete user',
'Ban user'                    =>    'Ban user',
'Confirm delete user'        =>    'Confirm delete user',
'Are you sure'                =>    'Are you sure that you want to delete the user',    // the username will be appended to this string
'Warning'                    =>    'Warning! Deleted users cannot be restored.',
'Delete'                    =>    'Delete',        // submit button (confirm user delete)
'User delete redirect'        =>    'User deleted. Redirecting ...',
'Update status redirect'    =>    'User status updated. Redirecting ...',
'Update forums redirect'    =>    'Forum moderator rights updated. Redirecting ...',
'Ban redirect'                =>    'Redirecting ...'

'Birthday'                =>    'Birthday',
'Birthday info'                =>    'If you want you birthday to show on the calendar, than slected the month, day and year, of your birthdate. If You do not want it to show than Selected "Month", "Day", and Leave Year Blank',
);

ok, i've edited the en_profile.php then this appear
Parse error: parse error, expecting `')'' in /home/www/alulum.freelinuxhost.com/forums/lang/en/en_profile.php on line 115

28

(37 replies, posted in PunBB 1.2 troubleshooting)

what? invinsible word! smile

29

(9 replies, posted in General discussion)

yeah...i just came back from my relatives house yesterday...we talk,forgive each others,eat and drink together..i have 8 siblings so we all visiting our aunts and uncle house.The best part is I got pocket money from them.Usually the young one or the one that still studying get it.

Here is some of my family picture captured 2 days ago.There is also my aunt and uncle wearing green clothes. family picture

There is no need to say sorry Gizzmo.It is common that human always make a mistakes.Anyway just remind me if you have updated the mod smile

31

(37 replies, posted in PunBB 1.2 troubleshooting)

hmm it's easy to be done....use should make the trick work wink

32

(37 replies, posted in PunBB 1.2 troubleshooting)

33

(9 replies, posted in General discussion)

hmm...i thought Zaher was talking about a celebration after fasting for a month...

Great, it's workin now. smile But one small prob here..It's appears in the profile and index section...there is no statement. Example in the profile  it only show the option but no no instruction what is it for....
while in index.php  it show a blank table and not displaying anything...it's look weird you know..perhaps a statement like No Birthdays This Month would be nice..

35

(9 replies, posted in General discussion)

In Malaysia we say it Aidilfitri.

I got this Error: Unable to fetch birtday list. I've editted the file that you ask twice but still can't get it work.

hmm...some manual here please....what should i do with it?replace this with the one in version 1.6?

ok, i'll try it first smile

Sorry for asking...but can someone share the code, please. I really wanted to put a calendar on the frontpage.

p/s: I also hope Gizzmo has done with his birthday stuff smile

40

(10 replies, posted in PunBB 1.2 discussion)

Why do YOu MeSs Up the LInk to ThiS WeBSiTE? RickArd deserves a link back to his Website smile

Yes, that's it.Looking nice and simple too.

No....your calendar alone just nice but would be better if added with the user birthday reminder function.Would be more better if the calendar could be showed on the frontpage like extern.php...but the appearence should be resized to a smaller size like 150 x 150px .I hope you understand me.

thanks for your support:)

Great idea for the birthday stuff and is there a way i show the calendar on the frontpage?

Great!! but what do you mean by 2 styles and how i gonna change the word commentarii

Nevermind, i got it now smile

zaher wrote:

OK i can make it  as internal and external include, in next version soon.

great!

Alhamdulillah, it's work now. Thanks for your help Zaher.

and one more question here.Now i have the favorite function that's mean only the post that selected will be showed right? The problem is how can i select a specific post to be displayed. As example i have 10 favourite post and i want 3 from it  to go to the main section and other 7 to  the other section.It will be great if you can make the function like that.Like in extern function example

<?php include('http://host.com/forums/extern.php?action=new&show=3&fid=9');

This is the home.php code

<?php
  define('PUN_TURN_OFF_MAINT', 1);    // We don't want a maintenance message to appear on the front page
  define('PUN_QUIET_VISIT', 1);        // We don't want to update peoples cookies on the front page
  $pun_root = './forums/';    // The path to the forum root directory relative to this script
  include $pun_root.'include/common.php';

  // If PUN isn't defined, config.php is missing or corrupt
  if (!defined('PUN'))
      exit('config.php doesn\'t exist or is corrupt. Please run install.php to install PunBB first.');

  // Now we determine what style we should use
  $style = (isset($cur_user)) ? $cur_user['style'] : $pun_config['o_default_style'];
?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; <? echo 'charset='.$lang_common['lang_encoding'] ?>">
<meta name="abstract" content="">
<meta name="description" content="">
<meta name="keywords" content="">
<title>domain.com</title>
<link rel="shortcut icon" HREF="favicon.ico">
<link rel="stylesheet" type="text/css" href="http://fadered.hollosite.com/forums/style/<?php echo $style ?>.css">
</head>
  <body>
    <table dir="ltr" class="punplain" style="width: 100%; margin: auto" cellspacing="0" cellpadding="0">
      <tr>
        <td style="text-align: left; width: 120px">
          <div style="border-style: double; border-width: 3">
<?php if($cookie['is_guest'])
    echo 'Not logged in <br><a href="http://fadered.hollosite.com/forums/register.php">register?</a>
<a href="http://fadered.hollosite.com/forums/login.php">login?</a>';
else
    echo 'Logged in as: '.$cur_user['username'].'<br>Last visit: '.format_time($cur_user['last_visit']); ?></div></td>
        <td>
           
        </td>
      </tr>
    </table>

    <table class="punplain" style="width: 100%; margin: auto" cellspacing="0" cellpadding="0">
      <tr>
        <td class="puntop" width="120px">
          <table class="punmain" cellspacing="1" cellpadding="4">
            <tr class="punhead">
              <td class="punhead">
                Navigation
              </td>
            </tr>
            <tr>
              <td class="puncon2">
                <div class="item" style="width: 90%">
                  <b>· </b><a href="/"> Home </a><br>
                  <br>
                  <b>· </b><a href="/forums"> Forum </a><br>
                  <b>· </b><a href="/downloads"> Downloads </a><br>
                </div>
              </td>
            </tr>
          </table>

          <table class="punspacer" cellspacing="1" cellpadding="4"><tr><td> </td></tr></table>

          <table class="punmain" cellspacing="1" cellpadding="4">
            <tr class="punhead">
              <td class="punhead">
                Links
              </td>
            </tr>
            <tr>
              <td dir="ltr" class="puncon2">
                <div class="item" style="width: 65px">
                  <a href="http://punbb.org" target="_blank">punbb.org</a><br>
                  <a href="http://www.punres.org" target="_blank">punres.org</a><br>
                  <a href="http://www.sourceforge.net" target="_blank">sourceforge.net</a><br>
                </div>
              </td>
            </tr>
          </table>

          <table width="100%" cellspacing="1" cellpadding="4">
            <tr>
              <td align="center">
                <br>
                <b><a href="http://validator.w3.org/check/referer" target="_blank">Valid HTML 4.01</a></b>
                <br>
                <br>
                <b><a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank">Valid CSS</a></b>
                <br>
              </td>
            </tr>
          </table>
        </td>

        <td style="width: 20px"> </td>
        <td class="puntop">

          <table class="punplain" style="width: 100%; margin: auto" cellspacing="0" cellpadding="0">
            <tr>
              <td class="puntop">
                <?php
                  include('http://fadered.hollosite.com/forums/favorites.php');
                ?>
              </td>
              <td style="width: 10px"> </td>
              <td class="puntop" style="width: 180px">
                <!-- Recent discussions table-->
                <table class="punmain" cellspacing="1" cellpadding="4">
                  <tr class="punhead">
                    <td class="punhead">
                      Recent discussions
                    </td>
                  </tr>
                  <tr>
                    <td class="puncon2">
                      <div class="item">
                      <?php
                        include('http://fadered.hollosite.com/forums/active_topics.php');
                      ?>
                      </div>
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>
          <table class="punspacer" cellspacing="1" cellpadding="4"><tr><td> </td></tr></table>
        </td>
      </tr>
    </table>
  </body>
</html>

and the link result http://fadered.hollosite.com/home.php i don't know what is wrong becouse if my $pun_root = './forums/' dir is wrong the function that show you're logged in or not will not display.

How can i limit the page being that displayed on the frontpage? I've tried to limit it to only showing one latest post by using this

<? php include('http://host.com/forums/extern.php?action=new&show=1&fid=9'); ?>

but it doesn't work...is there a way to fix it? Help will be appreciated.

Does the code above need to end with this tag ?>