176

(4 replies, posted in PunBB 1.2 discussion)

Over at PunRes:

// Afficher le titre du dernier topic
    $queryid = $db->query('SELECT topic_id FROM '.$db->prefix.'posts WHERE id='.$cur_forum['last_post_id']);
    $idm = $db->result($queryid);
    $queryid = $db->query('SELECT subject FROM '.$db->prefix.'topics WHERE id='.$idm);
    $idm = $db->result($queryid);

Can this be made into one query?

177

(9 replies, posted in PunBB 1.2 discussion)

http://www.yoursite.com/extern.php?acti … amp;fid=XX

Where XX is the forum ID.

search
verb

1 {I or T} to look somewhere carefully in order to find something:
2 {I} to try to find the answer to a problem:

http://punbb.org/forums/viewtopic.php?id=2295

179

(38 replies, posted in General discussion)

Is the British version going to be that different from the US one...

180

(8 replies, posted in PunBB 1.2 troubleshooting)

It goes in the /plugin folder. There is a readme in the download.

If you want to use a flash file you will have to add in main.tpl

Pictures can be done via altering the stylesheets.

You must be using an old version, there is no 'notes' folder in the latest PunBB...

183

(6 replies, posted in PunBB 1.2 troubleshooting)

Do you have access to phpmyadmin viayour hosts control panel?

184

(6 replies, posted in PunBB 1.2 troubleshooting)

See if any tables need repairing in the database.

185

(15 replies, posted in Feature requests)

Hmm.

I just find it crazy that people remove any mention of PunBB and then come on here for help. I can understand them removing Rickard's name, and that probably leads to the removal of the link.

You could add a meta tag like WordPress does:

<meta name="generator" content="PunBB 1.2.10" />

EasyPoll : http://www.punres.org/files.php?pid=60

186

(15 replies, posted in Feature requests)

Do you think we should do what the phpBB community does and not help those who remove the PunBB link on their forums ?

When do you get a blank page ?

Yes but it would be silly to have a config option when all you have to do is swap a few words in viewforum/topic.

189

(12 replies, posted in General discussion)

'no-BS online discussions'

That should be PunBB's slogan.

190

(2 replies, posted in Feature requests)

There is a style designer dowload on PunRes, although bit's of the CSS are from older versions.

191

(5 replies, posted in PunBB 1.2 troubleshooting)

yourstyle_cs.css

/****************************************************************/
/* 5. POST STATUS INDICATORS */
/****************************************************************/

/* These are the post status indicators which appear at the left of some tables. 
.inew = new posts, .iredirect = redirect forums, .iclosed = closed topics and
.isticky = sticky topics. The default is "icon". By default only .inew is different.*/

DIV.icon {BORDER-COLOR: #E6E6E6 #DEDEDE #DADADA #E2E2E2}
TR.iredirect DIV.icon {BORDER-COLOR: #F1F1F1 #F1F1F1 #F1F1F1 #F1F1F1}
DIV.inew {BORDER-COLOR: #0080D7 #0065C0 #0058B3 #0072CA}

192

(7 replies, posted in Feature requests)

I think the idea is that you can subscribe to seperate topics, but use the RSS generated by extern.php for forums...

LOLOWNIA wrote:

and does not add clutter to Pun

Well it does in a way, lots of people are asking for a thousand options and permissions for the smallest things.

193

(2 replies, posted in Programming)

S1r_Wiggles wrote:

Can they be made by using punbb? If so, how? Can I only start working on these sections once my site is hosted, or can I work on it right now, just like site layout?

There is a News Generator mod that can be found on the download page. That should suit your needs.

I imagine you would edit the .tpl file that it uses.

195

(15 replies, posted in PunBB 1.2 discussion)

So basically...

Bad:

How are you?

Good:

How are you ?

Why do you need/want to force that?

196

(7 replies, posted in PunBB 1.2 show off)

Careful Connor, Labour could have you locked up for that.

Very nice site, shame the forums colour scheme is a bit different to the rest.

Shine wrote:

IObviously I am doing something wrong but cannot figure out what.

Ask your host if they have blocked including remote files.


Shine wrote:

Where do I have to put the newpage.tpl file?
I know how to add a text within the navbar from the adminsettings. But how do I call the template page up? < a href=" ?????? ">   so it shows the page? How should the link look like?

What link?

If you want to use a different template (newpage.tpl) upload it to the /include/template folder.

Then alter header.php a bit:

// Load the template
if (defined('PUN_ADMIN_CONSOLE'))
    $tpl_main = file_get_contents(PUN_ROOT.'include/template/admin.tpl');
else if (defined('PUN_HELP'))
    $tpl_main = file_get_contents(PUN_ROOT.'include/template/help.tpl');
else if (defined('PUN_NEWPAGE'))
    $tpl_main = file_get_contents(PUN_ROOT.'include/template/newpage.tpl');
else
    $tpl_main = file_get_contents(PUN_ROOT.'include/template/main.tpl');

Then in your newpage.php add:

define('PUN_NEWPAGE', 1);
ma_smith wrote:

Would I do it in function.php where the menu is?.

Yes.

I suppose it depends on what images you want to use.

Create a demo of how you would want it to look, and then go about including it in PunBB.

Upload the turn_off_maintenance_mode.php file that's in the /extras folder.

200

(11 replies, posted in PunBB 1.2 troubleshooting)

Look in the CSS

/* board stats icon */
#punindex #brdstats div.box div.inbox dl.conl,
#punforum #brdstats div.box div.inbox dl.conl
{
background: url('../../img/Invision-board/stats.gif') no-repeat 0% 50%;
padding-left: 32px
}