1

(0 replies, posted in PunBB show off)

The Link

Good idea. I noticed your mention of iPhone, this would be perfect for that!

Could be very useful if someone has many categories on their board.

4

(5 replies, posted in PunBB 1.3 additions)

Would be a nice addition to 1.3.5, great suggestion KeyDog smile

5

(5 replies, posted in PunBB 1.3 additions)

That's one of the problems i was having. I found no way of being able to style with CSS the property "clear: both;".

That's why i decided to do a simple fix where both can be done by the user. If there were a way to edit the source and change <p style="clear: both; ">Currently installed etc etc etc.</p> and replace it with a new piece of code> <div id="#">Currently installed etc etc etc.</div>

Then i think that would be the only way to do it. But I'm not 100% sure bro..  hmm

6

(5 replies, posted in PunBB 1.3 additions)

Simple new copyright for PunBB 1.3.

So, i was getting annoyed with the default PunBB footer looking through this forum to try and find a solution to solve my problem and that search was not successful. So i was trying to hide "Currently installed 5 official extensions. Copyright © 2003–2009 PunBB." Because i couldn't hide this HTML code in the CSS, which is where that part of the footer is located

<p style="clear: both; ">Currently installed <span id="extensions-used">5 official extensions</span>. Copyright &copy; 2003&ndash;2009 <a href="http://punbb.informer.com/">PunBB</a>.</p>

I decided to do a quick and simple fix myself, and create my own copyright, still including that its powered by PunBB. Follow these steps and you'll get the perfect simple footer/copyright.

In style.css find line 707:

/*----REPLACE

#brd-about #copyright {
    text-align: right;
    margin: 0;
    }


/*----WITH

#copy {
    text-align: right;
    float: right;
    margin: 0 2px 30px 0;
    }

#brd-about {
    display: none;
    }

Then open /include/template/main.tpl, find line 52:

/*----UNDER

<div id="brd-about" class="gen-content">
    <!-- forum_about -->
</div>


/*----PASTE 

<p id="copy"><b><a href="http://punbb.informer.com/">PunBB</a> 1.3.4</b></p>

This should give you a result like below, all nice and simple. Minus- The Oxygen v1.1  tongue
http://i45.tinypic.com/qyba55.png

That's pretty handy if you want to keep guests from reading a certain section of the board.

I can now view the extensions page. Thanks octavian_3009. I got this on the extensions page though:

Warning: array_pop() [function.array-pop]: The argument should be an array in /***/***/***/*/*/***/public_html/include/xml.php on line 200
Warning: array_pop() [function.array-pop]: The argument should be an array in /***/***/***/*/*/***/public_html/include/xml.php on line 200
Warning: array_pop() [function.array-pop]: The argument should be an array in /***/***/***/*/*/***/public_html/include/xml.php on line 200
Warning: array_pop() [function.array-pop]: The argument should be an array in /***/***/***/*/*/***/public_html/include/xml.php on line 200
Warning: array_pop() [function.array-pop]: The argument should be an array in /***/***/***/*/*/***/public_html/include/xml.php on line 200
Warning: array_pop() [function.array-pop]: The argument should be an array in /***/***/***/*/*/***/public_html/include/xml.php on line 200

So i just removed (on line 200):

$last_element = array_pop($tokenized_hook);

Hopefully it wont prove to be a bad move and be fatal on my part.. I checked /admin/index.php?action=phpinfo and --disable-tokenizer wasn't there so not sure of the overall problem. But all seems to be good now and working fine, unless i run into problems later. I'll let you guys know!

That is exactly like what i am getting.
Do you get a message like this with it too:

Fatal error: Call to undefined function token_get_all() in /hosted/subs/ulmb.com/g/f/gfxplague/public_html/include/xml.php  on line 199

Didn't know if to post this here or in bug reports, and i couldn't find anything on this in the search.
Every time i am in admin panel and try to go to extensions, i get this message:

Extensions available for install

Fatal error: Call to undefined function token_get_all() in /hosted/subs/ulmb.com/g/f/gfxplague/public_html/include/xml.php on line 199

Nothing will load, it only appears when i have an extension in the extensions folder. I just cannot work out why its happening, hopefully someone here will be able to help me so i can have some extensions installed..