1

(10 replies, posted in Feature requests)

Broken link, 404

2

(8 replies, posted in PunBB 1.4 troubleshooting)

Ok, I found a solution here

That topic will be moved because I wrong the section, so if link is broken, search the topic on Google

Ok lol before I removed a wrong thing.


To do what I need, you must go on line 70 of index.php and replace

// Print the categories and forums
$query = array(
    'SELECT'    => 'c.id AS cid, c.cat_name, f.id AS fid, f.forum_name, f.forum_desc, f.redirect_url, f.moderators, f.num_topics, f.num_posts, f.last_post, f.last_post_id, f.last_poster',
    'FROM'        => 'categories AS c',
    'JOINS'        => array(
        array(
            'INNER JOIN'    => 'forums AS f',
            'ON'            => 'c.id=f.cat_id'
        ),
        array(
            'LEFT JOIN'        => 'forum_perms AS fp',
            'ON'            => '(fp.forum_id=f.id AND fp.group_id='.$forum_user['g_id'].')'
        )
    ),
    'WHERE'        => 'fp.read_forum IS NULL OR fp.read_forum=1',
    'ORDER BY'    => 'c.disp_position, c.id, f.disp_position'
);

with

// Print the categories and forums
$query = array(
    'SELECT'    => 'c.id AS cid, c.cat_name, f.id AS fid, f.forum_name, f.forum_desc, f.redirect_url, f.moderators, f.num_topics, f.num_posts, f.last_post, f.last_post_id, f.last_poster',
    'FROM'        => 'categories AS c',
    'JOINS'        => array(
        array(
            'INNER JOIN'    => 'forums AS f',
            'ON'            => 'c.id=f.cat_id'
        )
    ),
    'ORDER BY'    => 'c.disp_position, c.id, f.disp_position'
);

to make the query for get all forums.



Then, open lang/your_language/common.php and search

'Bad request'

and edit the text.

This works for me on PunBB 1.4
Enjoy PunBB!

WRONG TOPIC, MOVE IT WHERE YOU WANT, MODERATORS

Hi, how can I set permissions to make guests able to see forums (in homepage) only for members, showing them "You must be registred to view this forum"?

I tried to edit index.php at line 26 removing

if (!$forum_user['is_guest']) { }

from the query but nothing appears

5

(8 replies, posted in PunBB 1.4 troubleshooting)

I need this thing too, ppl needs to view them, so they subscribe to the forum

6

(4 replies, posted in Discussions)

Please, share the petition to your forum users and ask them to sign up!

7

(4 replies, posted in Discussions)

I've edited the post, now it is in english

8

(2 replies, posted in Discussions)

In some forums, "Remove post" is disabled. I think they don't enable it here

9

(4 replies, posted in Discussions)

Subscribe this petition if you want Tapatalk for PunBB. Let's try

https://www.change.org/petizioni/tapata … -for-punbb

10

(0 replies, posted in PunBB 1.4 additions)

Where can I find this extension? I've found it only for PunBB 1.3

EDIT:
Ok, sitemap extension for 1.3 works well with 1.4, just change manifest.xml from "1.3" to "1.4".
For those who have problems, just download it from the following link (manifest.xml is already edited)

Sitemap PunBB 1.4 download

Then install and visit YOUR_SITE/sitemap.xml

Hi.
just edit profile.php in root, find "linkedin" and make a copy of a block source, then change all matches "linkedin" in "yourfield" (change only in the copied block of source).

Example

<?php ($hook = get_hook('pf_change_details_identity_pre_linkedin')) ? eval($hook) : null; ?>
                <div class="sf-set set<?php echo ++$forum_page['item_count'] ?>">
                    <div class="sf-box text">
                        <label for="fld<?php echo ++$forum_page['fld_count'] ?>"><span><?php echo $lang_profile['LinkedIn'] ?></span></label><br />
                        <span class="fld-input"><input type="url" id="fld<?php echo $forum_page['fld_count'] ?>" name="form[linkedin]" value="<?php echo(isset($form['linkedin']) ? forum_htmlencode($form['linkedin']) : forum_htmlencode($user['linkedin'])) ?>" size="35" maxlength="80" /></span>
                    </div>
                </div>

Copy, paste and edit like this:

<?php ($hook = get_hook('pf_change_details_identity_pre_yourfield')) ? eval($hook) : null; ?>
                <div class="sf-set set<?php echo ++$forum_page['item_count'] ?>">
                    <div class="sf-box text">
                        <label for="fld<?php echo ++$forum_page['fld_count'] ?>"><span>Your field/span></label><br />
                        <span class="fld-input"><input type="url" id="fld<?php echo $forum_page['fld_count'] ?>" name="form[yourfield]" value="<?php echo(isset($form['yourfield']) ? forum_htmlencode($form['yourfield']) : forum_htmlencode($user['yourfield'])) ?>" size="35" maxlength="80" /></span>
                    </div>
                </div>

You must do this for each "linkedin" matches