1

(3 replies, posted in PunBB 1.2 show off)

?? ????? ??? ????? ????????????))

2

(2 replies, posted in Archive)

??????, ????? ????????????? ???? ?????... ??.. ???? ?????

3

(2 replies, posted in Archive)

??... ??????? ???? ?????? ??? ?????????... ?? ?????... ? ???? ???????? ???... ???????? ????? ? ??????? ???? ??? ????... ?? ????? ??? ???? ????? ???... ???... ??? ?????? ???????... ? ?????? ????? ?????.. ??? ???... ????? ??????? ? ????????... ??? ??? ??????... ??????.. ?? smile

???????

? ?????????, ??? ?? ????? ?????????, ?? ?????????? ???????? ??????????. ???????, ???? ?? ??????? ? ????????? ?? ???????????, ?????????? ?? ?????)

<?php

// Language definitions used in gallery.php
$lang_gallery = array(

'Page_title'                =>  'Site\'s Gallery',
'Gallery'                =>  'Gallery',
'Pictures'                =>  'Images',
'Last post'                =>  'Last image',
'Empty gallery'            =>    'Gallery is empty.',

'Post img'    =>    'Add a new Image',
'Index'    =>    'Index Gallery',
'Picture'                =>  'Preview',
'Views'                =>  'Views',
'Date post'                =>  'Send it',
'Write message legend'    =>    'Add your title, description, image and send form',
'Title'    =>    'Title',
'Message'    =>    'Message',
'E-mail'    =>    'E-mail',
'Submit'    =>    'Submit',
'Post img redirect'    =>    'Your image has been uploaded successfully. Redirecting …',
'Announcement'    =>    'Annonce',
'Announcement_text'    =>    'The form below enables you to send an image in the gallery of the site. The image must be with format GIF or JPG, with a maximum size of <MAX_SIZE>. Do not forget to add a title and a small description of the image.<br /><br />The team of the site reserves the right to remove your image without notice. All images against the terms of use of the site will be removed. Any abuse will be immediately sanctioned.',

'Modo link'    =>    'Moderate images',
'Modo Select'    =>    'Select',
'Modo Del'    =>    'Delete',
'Modo Move'    =>    'Move',
'Modo No select'    =>    'You must select at least one image.',
'Modo Move legend'    =>    'Select destination of move',
'Modo Del legend'    =>    'Please confirm deletion',
'Modo Del confirm'    =>    'Are you sure you want to delete the selected images?',
'Modo Move to'    =>    'Move to',
'Modo Move redirect'    =>    'Image(s) moved. Redirecting …',
'Modo Del redirect'    =>    'Image(s) deleted. Redirecting …',

'Error Annonce'            =>    'ERROR :',
'Error No subject'            =>    'You must enter a title.',
'Error Too long subject'        =>    'Title cannot be longer than 70 characters.',
'Error No message'            =>    'You must enter a message.',
'Error Too long message'        =>    'Message cannot be longer than 70 characters.',
'Error Too large ini'                =>    'File too large.  The server refuses its remote loading.',
'Error Too large'                =>    'The size of the file exceeds the authorized maximum.',
'Error Partial upload'                =>    'Partially downloaded file.',
'Error No file'                =>    'You did not select a file to be downloaded.',
'Error No tmp directory'                =>    'PHP could not safeguard the file sent in a temporary repertory.',
'Error Move failed'                =>    'The server could not record the downloaded file. Contact the administrator',
'Error Unknown failure'                =>    'Unknown error.',
'Error No Img View'                =>    'No image.',

'Error FTP connect'                =>    'Connection FTP failed. Start again later !',
'Error FTP upload_picture'                =>    'Image FTP loading failed. Start again later !',
'Error FTP upload_thumbs'                =>    'Image miniature FTP loading failed. Start again later !',

);

6

(8 replies, posted in Programming)

Connorhd wrote:

well whats the problem?

when user is guest it's displayed:

WELCOME
Guest
YOU ARE NOT REGISTERED!
LOGIN | REGISRERED

I need:

YOU ARE NOT REGISTERED!
LOGIN | REGISRERED

____________________________

7

(8 replies, posted in Programming)

I want to... if user GUEST then displayed:

You are not registered!
LOGIN | REGISTRATION

8

(8 replies, posted in Programming)

if user is guest, it is displayed:

WELCOME
Guest
You are not registered!
LOGIN | REGISTRATION

here code:

<?php
define('PUN_ROOT', './forum/');
define('PUN_TURN_OFF_MAINT', 1);
define('PUN_QUIET_VISIT', 1);
require PUN_ROOT.'include/common.php';

if ($pun_user['username'])
      echo '<center>WELCOME<br><b><a href="forum/profile.php?id='.$pun_user['id'].'">'.$pun_user['username'].'</a></b></center>';

if ($pun_user['is_guest'])
      exit('<center>You are not registered!<br><a href="forum/login.php">LOGIN</a> | <a href="forum/register.php">REGISTRATION</a></center>');
?>

9

(8 replies, posted in Programming)

yep... if user registered... if not:

if ($pun_user['is_guest'])
      exit('<center>You are not registered!<br><a href="forum/login.php">LOGIN</a> | <a href="forum/register.php">REGISTRATION</a></center>');

sorry for bad english big_smile

10

(8 replies, posted in Programming)

I it is necessary to on main to page of my site menu for not autorithation or for not registered of the users here is this item, which already ready:

if ($pun_user['is_guest'])
      exit('<center>You are not registered!<br><a href="forum/login.php">LOGIN</a> | <a href="forum/register.php">REGISTRATION</a></center>');

for registered users "WELCOME [USER NICK WITH LINK TO USER PROFILE]" - I do not know. here is code:

if ($pun_user['username'])
      exit('<center>WELCOME...</center>');

script:

<?php
define('PUN_ROOT', './forum/');
define('PUN_TURN_OFF_MAINT', 1);
define('PUN_QUIET_VISIT', 1);
require PUN_ROOT.'include/common.php';

if ($pun_user['username'])
      exit('<center>WELCOME</center>');

if ($pun_user['is_guest'])
      exit('<center>You are not registered!<br><a href="forum/login.php">LOGIN</a> | <a href="forum/register.php">REGISTRATION</a></center>');
?>

Please, help me!
P.S.
I'm very bad speak english sad

????? ?? ????? ??? ??????? big_smile

??? ???? ????? ?? ??????? ???????? ????? ????? ???????????? ??? ?? ??????????????? ??? ??? ?? ????????????????? ????????????? ??? ??? ??????, ??????? ??? ??????:

if ($pun_user['is_guest'])
      exit('<center>?? ?? ??????????????!<br><a href="forum/login.php">????</a> | <a href="forum/register.php">???????????</a></center>');

? ??? ????????? ?????? ?????? ???? "????? ?????????? [??? ???????????? ? ??????? ?? ??????? ????????????]" - ??? ? ???? ? ???? ????????... ???????? ????... ??? ???:

if ($pun_user['username'])
      exit('<center>????? ??????????</center>');

??? ?????? ??? ???????:

<?php
define('PUN_ROOT', './forum/');
define('PUN_TURN_OFF_MAINT', 1);
define('PUN_QUIET_VISIT', 1);
require PUN_ROOT.'include/common.php';

if ($pun_user['username'])
      exit('<center>????? ??????????</center>');

if ($pun_user['is_guest'])
      exit('<center>?? ?? ??????????????!<br><a href="forum/login.php">????</a> | <a href="forum/register.php">???????????</a></center>');
?>

??????????, ????????, ? ???? ????? ???????????!

13

(13 replies, posted in Archive)

nyuk wrote:

?????? ????????? ??????????. ????? ?? ??????????, ?????? ???:
?. ????? ?????? ??????? ?? ?????? 1.0.1 ??????, ?????? ?????? ????????????????.
?. ?????? ???????? ? PostgreSQL, ? ??????????, ??? ? ????, ????? ??? MySQL.

?????????, ? ??? ??? ??? ??????????? smile

????? ????? ???? ????????, ????????? ? ???????, ?? ? ?? ?????????? ?????? ? ????????????????, ??? ??? ???... ????????? ???? ?????? ?? ????????????? ??????? ??????... http://forum.visp.ru/photoalbum/ ???? ???-?? ???? ????? ??? ?????? 1.2.1... ??? ? ????? ????????????? ?????? Coppermine Photo Gallery... ???????? ??????????, ??????? ???????!

plz help me...

An error was encountered
Error: Error getting file list.