savas wrote:

File: /home/misak/public_html/savasweb/install_mod.php
Line: 117

PunBB reported: Unable to copy .htaccess file to new subfolder with name '/home/misak/public_html/savasweb/attachments/1f6c169793a42ccf104a9ddbe7c8902c'


run the install.php
please help!

Taur wrote:

Hello, I have a same problem as you discussed here...

File: /www/doc/www.vlci.org/www/install_mod.php
Line: 117

PunBB reported: Unable to copy .htaccess file to new subfolder with name '/www/doc/www.vlci.org/home/attachments/d9811d52c73e11f35e2f1e8659bc472a'

attach_func        if(!mkdir($pun_config['attach_basefolder'].$newfolder,0777))
install_mod        if(!mkdir($basepath.$newfolder,0777))

created folder chmod 0750 (still)

Can you help me?

Upload .htaccess file to => /home/misak/public_html/savasweb/attachments/
Upload .htaccess file to => /www/doc/www.vlci.org/home/attachments/

Blakeyrat wrote:

Hey Frank, thanks a ton for your MOD it's bound to be really helpful as soon as I can get it working.  smile

Here's the problem I have.  Per your instructions, I've filled in the full path to the files directory based on the path given by phpinfo(), which is:

/home/blakeyrat/domain.com/forum/files/

When I click "install", I get the following error:

File: /home/.servername/blakeyrat/domain.com/forum/install_mod.php
Line: 119

PunBB reported: Unable to copy index.html file to new subfolder with name '/home/.servername/blakeyrat/domain.com/forum/files/da3d9666984ab2938a8f4af1b24daa7f'

As you can see, the path given by phpinfo() and the path given by this error message are different... the error one contains an extra folder that I don't see otherwise.  The weird thing is that if I modify the path I enter to include that extra folder, I get the exact same error.  I'm assuming this is the result of some kind of redirection my host is doing?  Is there any way to use a relative path instead of an absolute path?

Edit:

Just noticed this.  It can create the folder successfully, but it can't write *inside* of the folder.  So it looks like it's a plain old permissions issue.  That said, I still don't know what's going on... the permissions of /files is correct, shouldn't the permissions of folders created inside of it be the same?

The folder created has permissions of 750

Is this a configuration error?  Can anybody help me out here?

Thanks.

Upload index.html file to => /home/.servername/blakeyrat/domain.com/forum/files/

Thanks Frank H!

Error with IE
on IE => http://yeucoi.tk/rum/errrr.jpg
on FF => http://yeucoi.tk/rum/errrrrrrrr.jpg  <= no error
Please help me!

My punbb => http://yeucoi.tk/rum/
test/test

reckless wrote:

work for me, meh
http://www.savefile.com/files/5775859 < new upload


faax's one is propably better anyways though XD

File not found. please post again.

Next edit it and put this code where you want (beetween require PUN_ROOT.'header.php'; and require PUN_ROOT.'footer.php';)

i don't know. please help me!

Error: => here =>http://chungminhlabannhe.com/error/er.jpg

http://chungminhlabannhe.com/error/er.jpg

please help me!

Error:
http://chungminhlabannhe.com/error/er.jpg

Please help me!

hemnf wrote:

hello all
i thnx for all in this forum to help me
i have any quation plz help me iam new in this forum
1-can i fix forum to open any link in forum opeded in any blank page??
2-can I change option of Moderated?? for example dot see IP?? or more ..
3-name of member of left can i change to right see the pic
http://www.c4kurd.com/yanatemp/yana1.gif
4-Have counter of this forum?? how?
thnx to help me

alike this?  http://chungminhlabannhe.com

8

(20 replies, posted in PunBB 1.2 troubleshooting)

no. i do'nt upload Avatars. i want user ULR of avatars.

oliversl wrote:

Hi,
I just downloaded it, but how do I install it?

Do I need another mod to install this mod? The .zip file only have 3 files and no install.txt

Many thanks!
Oliver

1 - Unzip the archive and keep the same structure. Upload the files in the root of your forum.


--------------------------------------------------------------------------------


2 - OPEN post.php

SEARCH (line 332)

$form = '<form id="post" method="post" action="post.php?action=post&tid='.$tid.'" onsubmit="this.submit.disabled=true;if(process_form(this)){return true;}else{this.submit.disabled=false;return false;}">';

REPLACE BY:

$form = '<form id="post" name="post" method="post" action="post.php?action=post&tid='.$tid.'" onsubmit="this.submit.disabled=true;if(process_form(this)){return true;}else{this.submit.disabled=false;return false;}">';

SEARCH (line 385):

$form = '<form id="post" method="post" action="post.php?action=post&fid='.$fid.'" onsubmit="return process_form(this)">';

REPLACE BY:
$form = '<form id="post" name="post" method="post" action="post.php?action=post&fid='.$fid.'" onsubmit="return process_form(this)">';

SEARCH (line 493):
<?php endif; ?>                        <label><strong><?php echo $lang_common['Message'] ?></strong><br />

REPLACE BY:

<?php endif; require PUN_ROOT.'mod_easy_bbcode.php'; ?>                        <label><strong><?php echo $lang_common['Message'] ?></strong><br />

SAVE AND UPLOAD


--------------------------------------------------------------------------------


3 - OPEN edit.php

SEARCH (line 202):

<form id="edit" method="post" action="edit.php?id=<?php echo $id ?>&action=edit" onsubmit="return process_form(this)">

REPLACE BY:

<form id="edit" name="edit" method="post" action="edit.php?id=<?php echo $id ?>&action=edit" onsubmit="return process_form(this)">

SEARCH (line 210):

<?php endif; ?>                        <label><?php echo $lang_common['Message'] ?><br />

REPLACE BY:

<?php endif; $bbcode_form = 'edit'; $bbcode_field = 'req_message'; require PUN_ROOT.'mod_easy_bbcode.php'; ?>                        <label><?php echo $lang_common['Message'] ?><br />

SAVE AND UPLOAD


--------------------------------------------------------------------------------


4 - OPEN include/parser.php

SEARCH (line 314)

                $pattern = array('#\[b\](.*?)\[/b\]#s',
                     '#\[i\](.*?)\[/i\]#s',
                     '#\[u\](.*?)\[/u\]#s',
                     '#\[url\]([^\[]*?)\[/url\]#e',
                     '#\[url=([^\[]*?)\](.*?)\[/url\]#e',
                     '#\[email\]([^\[]*?)\[/email\]#',
                     '#\[email=([^\[]*?)\](.*?)\[/email\]#',
                     '#\[color=([a-zA-Z]*|\#?[0-9a-fA-F]{6})](.*?)\[/color\]#s');


REPLACE BY:
                $pattern = array('#\[b\](.*?)\[/b\]#s',
                     '#\[i\](.*?)\[/i\]#s',
                     '#\[u\](.*?)\[/u\]#s',
                     '#\[url\]([^\[]*?)\[/url\]#e',
                     '#\[url=([^\[]*?)\](.*?)\[/url\]#e',
                     '#\[email\]([^\[]*?)\[/email\]#',
                     '#\[email=([^\[]*?)\](.*?)\[/email\]#',
                     '#\[ul\](.*?)\[/ul\]#',
                     '#\[ol\](.*?)\[/ol\]#',
                     '#\[uli\](.*?)\[/uli\]#',
                     '#\[oli\](.*?)\[/oli\]#',
                     '#\[color=([a-zA-Z]*|\#?[0-9a-fA-F]{6})](.*?)\[/color\]#s',
                     '#\(.*?)\[/font\]#',
                     '#\#',
                     '#\[/font\]#',
                     '#\[align=(.*?)\](.*?)\[/align\]#',
                     '#\[style="(.*?)"\](.*?)\[/style\]#',
                     '#\[hr /\]#',
                     '#\[hr\]#',
                     '#\[table\](.*?)\[/table\]#',
                     '#\[caption\](.*?)\[/caption\]#',
                     '#\[tr\](.*?)\[/tr\]#',
                     '#\[td\](.*?)\[/td\]#',
                     '#\[s\](.*?)\[/s\]#',
                     '#\[pre\](.*?)\[/pre\]#',
                     '#\[pre\]#',
                     '#\[/pre\]#',
                     '#\[sup\](.*?)\[/sup\]#',
                     '#\[sub\](.*?)\[/sub\]#',
                     '#\{1,2})](.*?)\[/size\]#s',
                     '#\#',
                     '#\[/size\]#',
                     '#\[h\](.*?)\[/h\]#');

SEARCH (line 323):

                $replace = array('<strong>$1</strong>',
                     '<em>$1</em>',
                     '<span class="bbu">$1</span>',
                     'handle_url_tag(\'$1\')',
                     'handle_url_tag(\'$1\', \'$2\')',
                     '<a href="mailto:$1">$1</a>',
                     '<a href="mailto:$1">$2</a>',
                     '<span style="color: $1">$2</span>');

REPLACE BY:

                $replace = array('<strong>$1</strong>',
                     '<em>$1</em>',
                     '<span class="bbu">$1</span>',
                     'handle_url_tag(\'$1\')',
                     'handle_url_tag(\'$1\', \'$2\')',
                     '<a href="mailto:$1">$1</a>',
                     '<a href="mailto:$1">$2</a>',
                     '<ul>$1</ul>',
                     '<ol>$1</ol>',
                     '<li>?  $1</li>',
                     '<li>$1</li>',
                     '<span style="color: $1">$2</span>',
                     '<span style="font-family: $1">$2</span>',
                     '<span style="font-family: $1">',
                     '</span>',
                     '<p align="$1">$2</p>',
                     '<span style="$1">$2</span>',
                     '<hr />',
                     '<hr />',
                     '<table>$1</table>',
                     '<div align="center">$1</div>',
                     '<tr>$1</tr>',
                     '<td>$1</td>',
                     '<del>$1</del>',
                     '<pre>$1</pre>',
                     '<pre>',
                     '</pre>',
                     '<sup>$1</sup>',
                     '<sub>$1</sub>',
                     '<span style="font-size: $1pt;">$2</span>',
                     '<span style="font-size: $1pt;">$2',
                     '</span>',
                     '<span style="background-color: #FFFF00; color: #000000">$1</span>');

SAVE AND UPLOAD

/***********************************************************************

  Copyright (C) 2002-2005  Rickard Andersson (rickard@punbb.org)

  This file is part of PunBB.

  PunBB is free software; you can redistribute it and/or modify it
  under the terms of the GNU General Public License as published
  by the Free Software Foundation; either version 2 of the License,
  or (at your option) any later version.

  PunBB is distributed in the hope that it will be useful, but
  WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  MA  02111-1307  USA

************************************************************************/

I want edit it. but i dont know.


http://chungminhlabannhe.com/uploads/bbcode&amp;smilies.JPG

Jasoco wrote:
elbekko wrote:

Yes, well, the reason I didn't make it a link because if your style is set to underline links, you'd have small lines under your smilies wink
Naturally, this works too, and I could eliminate the underlining with CSS, but if you have a bunch of smilies that would really increase page size =/

Not if you do this...

http://www.jasoco.net/data/files/images … xample.jpg

No, it's not an IFrame or a Frame of any sort.

It's all CSS, baby.

<fieldset style="margin-left:4px; line-height:1.5em; width:22%; float:right; margin-top:16px; text-align:left; text-decoration:none;BORDER-STYLE: solid;BORDER-WIDTH: 1px;padding: 0 0 0 10px;">
<legend>Smilies</legend><div style="overflow:auto; height:300px; padding: 2px;">

...

</div></fieldset>

An extra DIV can do wonders. And Overflow is just awesome.

Also, no pilfering my custom "character" smileys, please. Make your own.

I like it. i do'nt know your post. can you post again?

up load smiley in the host =>/img/smilies/

after you edit code in file parser.php

in the line 30

// Here you can add additional smilies if you like (please note that you must escape singlequote and backslash)
$smiley_text = array(':)', '=)', ':|', '=|', ':(', '=(', ':D', '=D', ':o', ':O', ';)', ':/', ':P', ':lol:', ':mad:', ':rolleyes:', ':cool:');
$smiley_img = array('smile.png', 'smile.png', 'neutral.png', 'neutral.png', 'sad.png', 'sad.png', 'big_smile.png', 'big_smile.png', 'yikes.png', 'yikes.png', 'wink.png', 'hmm.png', 'tongue.png', 'lol.png', 'mad.png', 'roll.png', 'cool.png');

13

(69 replies, posted in News)

I'm using version 1.2.12. it's very good. i do'nt know version 1.3. :-/

14

(5 replies, posted in PunBB 1.2 bug reports)

link die

##
##
##        Mod title:  YM Online Status
##
##      Mod version:  1.0.1
##   WOrks on PunBB:  1.2.*
##     Release date:  2005-12-21
##           Author:  Dedi Marhenda (adminacs@upi.edu)
##
##      Description:  Add yahoo! messenger online / offline status to
##                    user contact links in user info
##
##   Affected files:  viewtopic.php
##                    profile.php
##
##       Affects DB:  NO
##
##            Notes:  Please remember that there is no verification on registering
##                    yahoo id on PunBB basic script. It will accept any entered
##                    text as yahoo id. This modification doesn't change that
##                    condition.
##
##       DISCLAIMER:  Please note that "mods" are not officially supported by
##                    PunBB. Installation of this modification is done at your
##                    own risk. Backup your forum database and any and all
##                    applicable files before proceeding.
##
##

#
#---------[ 1. OPEN ]------------------------------------------------------------
#

viewtopic.php

#
#---------[ 2. FIND (line: 186) ]------------------------------------------------
#

$result = $db->query('SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM '.$db->prefix.'posts AS p INNER JOIN '.$db->prefix.'users AS u ON u.id=p.poster_id INNER JOIN '.$db->prefix.'groups AS g ON g.g_id=u.group_id LEFT JOIN '.$db->prefix.'online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id='.$id.' ORDER BY p.id LIMIT '.$start_from.','.$pun_user['disp_posts'], true) or error('Unable to fetch post info', __FILE__, __LINE__, $db->error());


#
#---------[ 3. REPLACE WITH ]----------------------------------------------------
#

$result = $db->query('SELECT u.email, u.title, u.url, u.yahoo, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM '.$db->prefix.'posts AS p INNER JOIN '.$db->prefix.'users AS u ON u.id=p.poster_id INNER JOIN '.$db->prefix.'groups AS g ON g.g_id=u.group_id LEFT JOIN '.$db->prefix.'online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id='.$id.' ORDER BY p.id LIMIT '.$start_from.','.$pun_user['disp_posts'], true) or error('Unable to fetch post info', __FILE__, __LINE__, $db->error());

#
#---------[ 4. FIND (line: 237) ]------------------------------------------------
#

            // Now let's deal with the contact links (E-mail and URL)

#
#---------[ 5. AFTER ADD ]-------------------------------------------------------
#

            if ($cur_post['yahoo'] != '' && !$pun_user['is_guest'])
                $user_contacts[] = '<a href="ymsgr:sendim?'.$cur_post['yahoo'].'"><img src="http://opi.yahoo.com/online?u='.$cur_post['yahoo'].'&m=g&t=3" border=0 alt="YM" title="Send '.$cur_post['username'].' instant message!"></a>';

#
#---------[ 6. OPEN ]------------------------------------------------------------
#

profile.php

#
#---------[ 7. FIND (line: 1004) ]-----------------------------------------------
#

                            <dd><?php echo ($user['yahoo'] !='') ? pun_htmlspecialchars(($pun_config['o_censoring'] == '1') ? censor_words($user['yahoo']) : $user['yahoo']) : $lang_profile['Unknown']; ?></dd>

#
#---------[ 8. REPLACE WITH ]----------------------------------------------------
#

                            <dd><?php echo ($user['yahoo'] !='') ? pun_htmlspecialchars(($pun_config['o_censoring'] == '1') ? censor_words($user['yahoo']) : $user['yahoo']) : $lang_profile['Unknown'];
                            if (($user['yahoo'] !='') && (!$pun_user['is_guest'])) echo ' <a href="ymsgr:sendim?'.$user['yahoo'].'"><img src="http://opi.yahoo.com/online?u='.$user['yahoo'].'&m=g&t=3" border=0 alt="YM" title="Send '.pun_htmlspecialchars($user['username']).' instant message!"></a>'; ?></dd>

#
#---------[ 9. SAVE/UPLOAD ]-----------------------------------------------------
#

see images

http://chungminhlabannhe.com/uploads/online2.JPG

i edit it.

http://chungminhlabannhe.com/uploads/online.JPG

you find code in the viewtopic.php

find

$user_contacts[] = '<a href="ymsgr:sendim?'.$cur_post['yahoo'].'"><img src="http://opi.yahoo.com/online?u='.$cur_post['yahoo'].'&m=g&t=3" border=0 alt="YM" title="Send '.$cur_post['username'].' instant message!"></a>';

replace with

$user_contacts[] = '<a href="ymsgr:sendim?'.$cur_post['yahoo'].'"><img src="http://opi.yahoo.com/online?u='.$cur_post['yahoo'].'&m=g&t=2" border=0 alt="YM" title="Send '.$cur_post['username'].' instant message!"></a></p>';

:d

i'm speak english very bad. i can not write that error in here.

17

(2 replies, posted in PunBB 1.2 troubleshooting)

hack mod is Problem => error.

add window media in bbcode. please help me!

you can see in topic =>http://puntal.foxmask.info/forums/viewtopic.php?id=351

you have mod Download module, please send me.

20

(2 replies, posted in PunBB 1.2 bug reports)

i want use ULR for avatars?

i want guest not see link download in my forum, please help me.

Compare images please!

fist

http://chungminhlabannhe.com/error/1.JPG


and

http://chungminhlabannhe.com/error/2.JPG



when i hack mod sub forum gb_11 => error

http://chungminhlabannhe.com/error/1.1.JPG


and

http://chungminhlabannhe.com/error/2.2.JPG

please help me!

24

(12 replies, posted in PunBB 1.2 discussion)

Yes!!!!!!!!

25

(12 replies, posted in PunBB 1.2 discussion)

In Vi?t Nam there are.....
Very worthless!!!!!!