1

(2 replies, posted in PunBB 1.3 troubleshooting)

If you go to the table users you can change the group id that you belong to.

You find the group id of the admin in the table groups

If you mean that the site is not centered then add the next code:

#brd-wrap {
    margin: 0 auto;
}

You should look under "users" and then select to edit the group.

Why not upload it in the wiki?!

Your welcome.

Maby you could put the link somewhere on the wiki so other people can easily find it.

http://punbb.informer.com/wiki/punbb13/extensions

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE extension SYSTEM "ext-1.0.dtd">

<!--
/**
 * Show real name extension in PunBB forum
 * Special thanks to Slava 
 * @author NeMe - http://www.neme.org
 * @license GPL - http://www.gnu.org/copyleft/gpl.html
 */
-->

<extension engine="1.0">
    <id>bbcode_realname</id>
    <title>Display real name</title>
    <version>0.1.2</version>
    <description>Displays real name under username in posts</description>
    <author>NeMe - http://www.neme.org</author>
    <minversion>1</minversion>
    <maxtestedon>1.3.4</maxtestedon>

    <hooks>
        <hook id="vt_row_pre_post_actions_merge">
            <![CDATA[

            // display real name

            if ($cur_post['poster_id'] > 1)
            {
                $forum_page['author_ident']['realname'] = '<li><span>Real name: '.forum_htmlencode($cur_post['realname']).'</span></li>';
            }
            ]]>
        </hook>
        <hook id="vt_qr_get_posts">
            <![CDATA[
                // Add the select to the query
                $query['SELECT'] .= ', u.realname';
            ]]>
        </hook>
</hooks>
</extension>

This should work.

You should add "u.realname" to the query at line 276 of viewtopic.php with the hook "vt_qr_get_posts".

I will look on how to do that.

8

(37 replies, posted in PunBB 1.3 extensions)

Not that I know, you could search the wiki or this forum.

9

(37 replies, posted in PunBB 1.3 extensions)

You should not use this extension. It is not maintained anymore.

Check "include/template/main.tpl"

11

(3 replies, posted in PunBB 1.3 extensions)

use $pun_user['is_guest']

if ($pun_user['is_guest'])
{
  here what a guest may do
}
else
{
  here what a member may do
}

maby you can rename it to htaccess.txt and after the upload you can change its name?

13

(13 replies, posted in PunBB 1.3 troubleshooting)

just add:

define('FORUM_DEBUG', 1);

to config.php and re-upload it again.

After that ty to login and it may tell you what is wrong.

If you do not understand it then, post it here.

Go te his or hers profile

15

(2 replies, posted in Discussions)

use exern.php

16

(1 replies, posted in PunBB 1.3 troubleshooting)

try editing the *.tpl files. "include/template"

I thought you could do that in the admin panel!

18

(1 replies, posted in PunBB 1.3 troubleshooting)

Use FORUM_ROOT/include/template/TEMPLATE_NAME.php to modify

19

(2 replies, posted in PunBB 1.3 troubleshooting)

Does PUN_ROOT/include/functions.php still exists? if not re-upload it.

And if it exists does the function pun_htmlspecialchars exists?

20

(5 replies, posted in PunBB 1.3 additions)

do not use an iframe please, just post your code of your file here.

I think that you include the file common.php twice in that file that is why you get that error.

21

(5 replies, posted in PunBB 1.3 additions)

search for forum_navlinks

22

(5 replies, posted in PunBB 1.3 additions)

Look here http://wiki.punres.org/Miniportal

23

(4 replies, posted in PunBB 1.3 troubleshooting)

That is because oxygen_cs.css is also almost empty.

24

(4 replies, posted in PunBB 1.3 troubleshooting)

the oxygen.css that you refer to in the source is almost empty

it has the following content:

/**
 * CSS-Styles for pun_attachment extension
 *
 * @copyright Copyright (C) 2008 PunBB
 * @license http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
 * @package pun_attachment
 */
div.attachments
{
    border-style:solid;
    border-width:1px;
    padding:2px 6px 3px 6px;
}
.attachments div
{
    padding:3px;
}
.attachments strong
{
    visibility: hidden;
    display:none;
}

There sould be more code in that file.

25

(9 replies, posted in Programming)

You can also change the manifest.xml to hold that script and then generate new cache files. then you would not have to worry about that.

If something ends up in the cache file then is has to come from the manifest.xml.