101

(13 replies, posted in General discussion)

"BUGS" requires a webserver (we recommend Apache) with PHP installed (PHP 5 not supported), and MySQL

(Emphasis mine)

Yuck.

102

(47 replies, posted in PunBB 1.2 troubleshooting)

http://punbb.org/docs/dev.html#syndication

There are several PunBB support forums in languages other than English; perhaps one of those might be more helpful to you than this one?

I don't know of any existing mod for that purpose, sorry.

However, a similar process you might try would be to have new registrants to your forum enter a special usergroup by default, which would only have permission to post in an "Applications" forum.

104

(47 replies, posted in PunBB 1.2 troubleshooting)

PunBB's documentation explains how to use it.

Well, according to X7's developer documentation on AuthMods:

AuthMod files are stored in /lib/auth/. The file config.php (in the root directory) controls which AuthMod file the chat room is using. The variable $X7CHAT_CONFIG['AUTH_MODE'] defines which AuthMod the chat room should load. This variable is simply the name of the AuthMod file without the .php extention.

So, I suppose you would:

1) Save E-Oreo's code as punbb.php in X7's /lib/auth/
2) Open X7's config.php
3) Add the following to the end (before the ?>, if it's there)

$X7CHAT_CONFIG['AUTH_MODE'] = 'punbb';

I believe the most recent version I tried this mod with was 1.2.13; the changes between the various 1.2.x versions are minor enough that it should probably work perfectly on 1.2.15.

107

(4 replies, posted in PunBB 1.2 discussion)

[SD]MasterWong wrote:

also is there sites that provide punbb templates

Punres.org has free PunBB styles available.

Does this fit your needs: http://www.punres.org/desc.php?pid=95 ?

109

(2 replies, posted in PunBB 1.2 troubleshooting)

cache and img/avatars

Right click the folder in Filezilla, click "File Attributes", and change the "Numeric Value" to 777.

111

(3 replies, posted in PunBB 1.2 troubleshooting)

Yes, it should be 777.

112

(5 replies, posted in PunBB 1.2 troubleshooting)

Also, please enable debug mode (there are instructions in a sticky topic in this part of the forum) and paste the full error.

113

(10 replies, posted in PunBB 1.2 discussion)

Suprisingly enough, Netfirms supports SQLite versions 2 and 3 through PDO.

Unsurprisingly, they're too braindead to support MySQL through PDO.

bingiman wrote:

Sorry about that. The forum description is misleading.

Post your mod release announcements in here.

It's quite alright -- there's been confusion about that in the past from other users as well. The description might need updating.

Moved to modifications

116

(5 replies, posted in PunBB 1.2 troubleshooting)

Chronotrigga wrote:

It's alright, It's not that urgent anyway, I can do without.

As I said (or tried to say, I think I may have been unclear), my second link points to instructions to do something very similar to what you requested. The only difference is while you only wanted to add the topic subject to the last post column, the linked instructions also make the username in the last post column point to the appropriate user profile page.

raptrex wrote:

<pun_online> and <pun_sidelinks> work within a php file

Cool, I'm glad it worked then.

raptrex wrote:

can you include an external stylesheet in a tpl file?
or would it be better to put it in the header.php file

It doesn't really matter either way; adding it into the template would be easier however.

118

(114 replies, posted in Programming)

MattF wrote:

And just incase that page tickled your fancy, big_smile the full vi manpage on the FreeBSD site:

http://www.freebsd.org/cgi/man.cgi?quer … ormat=html

Yup, manpages are always fun. wink

119

(5 replies, posted in PunBB 1.2 troubleshooting)

There are directions on the Punres wiki, but they are a tad bit confusing in my opinion.

There are similar instructions that serve a slightly different purpose at the following URL: http://punbb.org/forums/viewtopic.php?id=15910

The site you mentioned, Punres, is the best place to find styles for PunBB.

If you'd like to contract a custom style, you might try posting a topic here or on Punres.

Oops, I left out a period. I should have written

if(basename($_SERVER['PHP_SELF'], '.php') == 'index')
{
     ...
}

By the way, the empty else {} is unnecessary and I'm not sure if template tags (like <pun_sidelinks> and <pun_online>) will work within a PHP.

Yes, see: http://punbb.org/docs/faq.html#faq3_4 (edit: darnit Smartys tongue)

To discern whether or not a user is on the index, use something like

if(basename($_SERVER['PHP_SELF'], 'php') == 'index')
{
     ...
}

In viewtopic.php, change

<div id="p<?php echo $cur_post['id'] ?>" class="blockpost<?php echo $vtbg ?><?php if (($post_count + $start_from) == 1) echo ' firstpost'; ?>">

to

<div id="p<?php echo $cur_post['id'] ?>" class="<?php echo $cur_post['g_id'] ?> blockpost<?php echo $vtbg ?><?php if (($post_count + $start_from) == 1) echo ' firstpost'; ?>">

Then use CSS like

#punviewtopic DIV.1 DIV.postright {BACKGROUND-COLOR: color}

for administrators, for example.

asd9991 wrote:

I don't know how to execute an SQL query...

You can use the DB management plugin.

This is not a support forum for MyPunBB (a 3rd-party forum host that happens to use PunBB); MyPunBB has its own support forum. Please ask there.