Check "include/template/main.tpl"

2

(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?

4

(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

6

(2 replies, posted in PunBB discussions)

use exern.php

7

(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!

9

(1 replies, posted in PunBB 1.3 troubleshooting)

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

10

(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?

11

(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.

12

(5 replies, posted in PunBB 1.3 additions)

search for forum_navlinks

13

(5 replies, posted in PunBB 1.3 additions)

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

14

(4 replies, posted in PunBB 1.3 troubleshooting)

That is because oxygen_cs.css is also almost empty.

15

(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.

16

(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.

17

(9 replies, posted in Programming)

RTaulbee wrote:

Secondly, I modified the cache_hooks.php file to do the "if statement" and perform the swap.

        if(pun_pm_unread_messages_integer() > 0)
            {
                $visit_elements['<!-- forum_visit -->'] = preg_replace('#(<p id="visit-links" class="options">.*?)(</p>)#', '$1 <span><a href="'.forum_link($forum_url['pun_pm_inbox']).'"><img src="myimage.gif"></a></span>$2', $visit_elements['<!-- forum_visit -->']);            
            }
        else
            {
                $visit_elements['<!-- forum_visit -->'] = preg_replace('#(<p id="visit-links" class="options">.*?)(</p>)#', '$1 <span><a href="'.forum_link($forum_url['pun_pm_inbox']).'">'.pun_pm_unread_messages().'</a></span>$2', $visit_elements['<!-- forum_visit -->']);    
            }

I realize there are always many ways to solve a problem and this is just one.  I also realize that it's another database query that needs to happen, but performance isn't an issue.  This is for a small forum with maybe 15-20 active posters and only 3-4 online at a time.  It may not be the best or what you think is the best, but I understand it and like it.  Mission accomplished!

Thanks for the input again Garcia/Sirena.

If you do this then when you then install a new extension or regenerate new cache files the cache_hooks.php gets overwritten with a new one and you will lose the code I think.

Best is to do is some other way.
What way I do not know.
Just a hint so you know.

Not Found

Sorry, you are looking for something that isn't here.

19

(9 replies, posted in PunBB 1.3 troubleshooting)

If you use the folder based fancy you got almost the same but without the .html

20

(39 replies, posted in PunBB 1.3 extensions)

Wuu wrote:

Not working!

that helps hmm

21

(9 replies, posted in PunBB 1.3 troubleshooting)

Did you use the fancy scheme re-write?

22

(3 replies, posted in PunBB 1.3 troubleshooting)

And clearing you cache files?

23

(33 replies, posted in PunBB 1.3 extensions)

thanks, but it is still not ready to use in a production forum.

24

(33 replies, posted in PunBB 1.3 extensions)

http://www.mediafire.com/?sharekey=48ab … f6e8ebb871

I think that you should use hook "ft_about_pre_copyright" or hook "ft_about_pre_quickjump".
to get the line higher.