I can't see the point in having this feature unless the extension is being used on Flux. I was thinking yesterday, why not just make it a version check thing. If it see's Flux, then display the "Currently used extensions" thing, if version ='s pun, then leave it blank.

Pun is already being promoted if the version check ='s pun anyway.

If it bothers anyone that much, then you could probably edit the manifest.xml for the extension and remove anything that looks like this. I am not sure if it will screw anything up, I haven't tried.

    <hook id="co_common"><![CDATA[
$pun_extensions_used = array_merge(isset($pun_extensions_used) ? $pun_extensions_used : array(), array($ext_info['id']));
        ]]></hook>
        <hook id="ft_about_end" priority="10"><![CDATA[
if (!defined('PUN_EXTENSIONS_USED') && !empty($pun_extensions_used))
{
    define('PUN_EXTENSIONS_USED', 1);
    echo '<p id="extensions-used">Currently used extensions: '.implode(', ', $pun_extensions_used).'. Copyright &copy; 2008 <a href="http://punbb.informer.com/">PunBB</a></p>';
}
        ]]></hook>

27

(154 replies, posted in Supported extensions)

parpalak wrote:

Please, post the link to the mod you are using. We'll add the migration tool to the task list.

It is the Private Message System that Connorhd did. It is on Punres,here is the link to it http://www.punres.org/desc.php?pid=52

28

(154 replies, posted in Supported extensions)

I want to upgrade the forum I run to 1.3. I use the private message system in 1.2. I want to know how do you upgrade to the pm extension in 1.3 from 1.2.

29

(7 replies, posted in PunBB 1.2 discussion)

I will add to this thread if it's OK as I have a question regarding the PUN_ROOT, sorta. I have Punbb setup to be a frontend sorta to my domain, so when you go to http://www.mydomain.com your in Puns hands so to spreak smile. I have the pun files, bar index.php, behind the domain root, so my PUN_ROOT is:

('PUN_ROOT', '../punfiles/');

It works fine etc when you go to http://www.mydomain.com. It's when you are trying to click on links, that exist behind the root, which they all will and do, bar index.php. I was wondering, if anyone has any idea's. I DON'T want to move the needed files forward of the root, but rather be left behind the root.

In answer also to the persons question, which appears your going forward of the root, of the domain so it would be:

('PUN_ROOT', './folder/');

It will also be dependant on the http://www.whatever.com/forum is in the board config as well.


But anyway one dot and a slash and folder name is forward, 2 dots and a slash is backwards

eg:

1: ../../../folder is = to going back a folder, back a folder,  back a folder and into folder.

2: ./folder/folder/folder/folderlast is = to going forward a folder, forward a folder, forward a folder and into folderlast

I probably lost ya, but I am sure someone can explain the lost bits to ya.

30

(16 replies, posted in General discussion)

Hey does this work for Firefox /Mozilla /Netscape. It doesn't need javascript to remove it from IE. I am guessing because your using javascript to remove the scrollbars. It must be what removes it also from Mozilla etc, but in a universal way.

If that works, then thanx to whoever. I wouldn't mind, not having to rely on javascript though, like you don't when removing it for IE viewing.

I just used the wiki in the link to use Pun as a CMS for my domain. I noticed it had a couple of errors

// START SUBST - <pun_online>
$tpl_main = str_replace('<pun_online>','<div class="inbox">'."nttt". generate_whosonline()."ntt".'</div>', $tpl_main);
// END SUBST - <pun_online>

Should be

// START SUBST - <pun_online>
$tpl_main = str_replace('<pun_online>','<div class="inbox">'."\n\t\t\t". generate_whosonline()."\n\t\t\".'</div>', $tpl_main);
// END SUBST - <pun_online>

There are a few more, but I figured it didn't need them all posted as its just the  ntt bits need \ inserted.