well, well... then it is better use the extension. see above.

302

(8 replies, posted in Feature requests)

Very good!

I use fancy_stopspam

303

(8 replies, posted in Feature requests)

What if you change the name of the file. Then, adjust the URL scheme.

Excemple:
Rename reg.php

Go to include/url/ ???/

Edite
forum_urls.php string

    'register'                        =>    'register.php',

replace to

    'register'                        =>    'reg.php',

Разберешься?

    $bquery = array(
        'SELECT'    => 'MIN(bt.id), bt.subject',
        'FROM'        => 'topics AS bt',
        'WHERE'        => 'bt.id>'.$id,
    );
    $bresult = $forum_db->query_build($bquery) or error(__FILE__, __LINE__);
    $back = $forum_db->fetch_assoc($bresult);
    
    if(isset($back['MIN(bt.id)']))
        $tback = '<a href="'.forum_link($forum_url['topic'], array($back['MIN(bt.id)'], sef_friendly($back['subject']))).'">'.$back['subject'].'</a>';
    
    $nquery = array(
        'SELECT'    => 'MAX(nt.id), nt.subject',
        'FROM'        => 'topics AS nt',
        'WHERE'        => 'nt.id<'.$id,
    );
    $nresult = $forum_db->query_build($nquery) or error(__FILE__, __LINE__);
    $next = $forum_db->fetch_assoc($nresult);
    
    if(isset($next['MAX(nt.id)']))
        $tnext = '<a href="'.forum_link($forum_url['topic'], array($next['MAX(nt.id)'], sef_friendly($next['subject']))).'">'.$next['subject'].'</a>';
        
    echo $tback;
    echo $tnext;

will you understand?

Or second embodiment:

    $query = array(
        'SELECT'    => 't.id, t.subject',
        'FROM'        => 'topics AS t',
        'WHERE'        => 't.forum_id='.$cur_topic['forum_id']
    );
    $result = $forum_db->query_build($query) or error(__FILE__, __LINE__);
    
    $back = array();
    $next = array();
    while($topics = $forum_db->fetch_assoc($result))
    {
        if($topics['id'] < $id)
            $back[$topics['id']] = $topics['subject'];
        else if ($topics['id'] > $id)
            $next[$topics['id']] = $topics['subject'];
    }
    
    $back_id = max(array_keys($back));
    $back_subject = $back[$back_id];
    
    $next_id = min(array_keys($next));
    $next_subject = $next[$next_id];
    
    $tback = !empty($back_id) ? '<a href="'.forum_link($forum_url['topic'], array($back_id, sef_friendly($back_subject))).'" title="Old topic">'.$back_subject.'&nbsp;&#9668;&#9668;&nbsp;</a>' : '';
    
    $tnext = !empty($next_id) ? '<a href="'.forum_link($forum_url['topic'], array($next_id, sef_friendly($next_subject))).'" title="Next topic">&nbsp;&#9658;&#9658;&nbsp;'.$next_subject.'</a>' : '';
    

After hook vf_row_pre_display
Add

if($forum_page['item_count'] == '5')
{
?>
        <div class="main-item<?php echo $forum_page['item_style'] ?>" >
                <span>Some Div Here</span>
        </div>
<?php
}

Updated to 0.3.6 version.

Added:
It allows you to send pictures and files with personal messages.

307

(22 replies, posted in Feature requests)

it is still on test. need help in refining. if you often visited here, I could collaborate with you. otherwise, I am afraid that only wasted time.

or you need to insert a div is editing the file itself viewforum.php ?

309

(4 replies, posted in Discussions)

at the bottom

310

(49 replies, posted in Supported extensions)

Hi... Aparat.com Get Support?

is requested in the ban list? or I do not understand something?

Look how it

Pan Output Info - вывод рекламных блоков на форуме

312

(3 replies, posted in PunBB 1.4 bug reports)

You found a hole in a forum? how dangerous it is?

313

(3 replies, posted in Programming)

I have an active punBB forum and I would like to use the login throughout the rest of the site.

On a system running the site? WordPress?

314

(11 replies, posted in Discussions)

Yes thank you. If you mean bread crumbs , then the variable is called crumbs.
Just add to the array another link:
In extension cPage open page.php and find code:

$forum_page['crumbs'] = array(
        array($forum_config['o_board_title'], forum_link($forum_url['index'])),
    $row['title']
);

Replace to:

$forum_page['crumbs'] = array(
array('Title', 'custom_url'),
        array($forum_config['o_board_title'], forum_link($forum_url['index'])),

    $row['title']
);

315

(11 replies, posted in Discussions)

I need help

What a question, this is the answer...

You find it hard to change the name of the theme?

Will find anyone or answer to your question among these names:
- help me!
- nothing works!
- Please help urgently!

How will people find for themselves something useful as a forum similar to the trash?

So many and can not find the answer to your question...

316

(11 replies, posted in Discussions)

here all need help . but users are properly called a theme.

http://punbb.informer.com/forums/topic/ … tom-pages/

file is uploaded with correct chmod, but still cannot use it immediately in the post

so the file or picture? for the file you want to paste to another area.

where can I watch it?

@chmod($dir_of_image.$base_name, 0644);

Find str 102 code

$new_image = $dir_of_image.$base_name;

add after str:

chmod($dir_of_image.$base_name, 0644);

Is it possible to grant a chmod 644 to new files via a php command ?

for files or folders?
Why do you need it?

321

(11 replies, posted in Discussions)

If you need help , rename your theme to start. Make the subject meaningful.

There is a theme with this extension. It could be the best out there to ask?

322

(22 replies, posted in Feature requests)

I like that I wrote one extension that displays the RSS on the forum.
Another I've got an extension that allows you to post topics on the scheduled time.

If they unite , it may turn out that you were looking for?

323

(3 replies, posted in PunBB 1.4 bug reports)

why do you need it? what do you get?

324

(4 replies, posted in PunBB 1.4 additions)

userlist.php file modification or the need to write an extension

Mod:
Open fileuserlist.php
In start after require common.php add code:

if($forum_user != FORUM_ADMIN)
    message('You are not allowed to view the list of users.');

You are in the settings to allow users to browse the profiles of other users.

325

(3 replies, posted in Feature requests)

michael.stadler wrote:

I mean i could not program in php. I asked for a extension for punbb as support request.

View your private messages