26

(29 replies, posted in PunBB 1.3 extensions)

It looks really good but I agree with the comments above, some smilies should be visible by default and not hidden away. Additional ones could of course be hidden. You are getting into the realms of having smilies categorised as popular and not though.

Is it custom javascript or something like jQuery?

I'm new to this too so I might be wrong, is this not what the forum admin page offers?

In Admin > Start > Forums
Select the forum then at the bottom is a number of check boxes next to each user group. Just deselect the option for users to post topics.

Simon

Slavok wrote:

An example of how to update a forum topic and posts count can be found in the function "sync_forum" (<FORUM_ROOT>/include/functions.php lines 2280-2331)

Excellent, out of interest is there an admin function to call this or is it just used when topics are posted etc.? It would be quite simple to make a plugin to run this though so it's not an issue.

29

(2 replies, posted in PunBB 1.3 additions)

Slavok wrote:

Forum updates don't overwrite templates, those can be overwritten if you update to a new Forum version. In this case you can manually rewrite templates.

Ok thanks, do I create a new directory and set the forum to use a particular template or do I just overwrite the ones in the templates directory and just run one set?

Simon

Hi, I am in the process of moving my custom built forum to punbb, the transfer works except for a couple of small bugs.

Firstly when transferring the old topics and posts how do I update the forum topic and posts counts? Is there a built in method or do I simply run a COUNT() on the tables for each forum?

Secondly I wanted to import the topics and posts, then force the members to transfer, primarily as a way to slim down my users table. I.e. non active users wouldn't make the move so would in turn delete themselves!

However this doesn't work as I see each post is inner joined on the user, therefore I would have to make the user id 0 or whatever the value punbb uses. Is there anyway round this? Should I simply import all the users then use the punbb tools to remove the old users? - If so what's the best bulk way to do this?

Thanks
Simon

31

(2 replies, posted in PunBB 1.3 additions)

I've just found pun and am impressed, just in the process of transferring my forum over to it (it was originally a custom build). I am looking through the forums but can't quite find the answer. I understand the styles, but is it possible to make custom templates, or changes that then don't get over written with an update?

I've read people talk about custom templates but there's no definition as to whether they are talking about CSS templates or actual template files. The directory structure doesn't seem to be setup to accommodate custom templates? Do I simply overwrite the files in include\template?

Thanks I look forward to becoming a more active member here and getting my site running.

Simon