626

(1 replies, posted in PunBB 1.3 extensions)

The best place to add some checking of post is after 184 line of the "<FORUM_ROOT>/post.php", I think.

There is the "alt" attribute in the "img" tag in the latest version of pun_antispam in SVN.

Try to upload the Oxygen style again and replace old files with new ones.

629

(15 replies, posted in PunBB 1.3 extensions)

There is no functionality in PunBB core. But there is an extension called pun_admin_backup which allows to create backups of DB and forum files on *nix OS. But this extension is needed for testing. Could you please, help us test it out?

Amelotti wrote:

The forum is made entirely of php, it's not using html <> tags as normal forums do, as a result it seems to skrew up at every occasion, when something non-standard is done...

What do you mean by the "not using html"?

Amelotti wrote:

As far as I understand, you don't use PHP where you can do with the old-fashioned HTML -- that's bad programming, making thing more complex than they already are. PHP is the code inserted INSIDE html wherever you can't survive without it, but not any other way!

It will be more useful, if you describe how PHP should be used and what disadvantages PunBB code has, in your opinion.

631

(6 replies, posted in PunBB 1.3 troubleshooting)

You need to change value of the $base_url variable in the file "<FORUM_ROOT>/config.php".

Bibby wrote:

It seems i only need to public these CSS files and modified (CSS) files under the same license with PunBB (GPL), but other code in my program is not required.

Yes, you are right. You can use Oxygen style as you posted above.

633

(1 replies, posted in PunBB 1.3 troubleshooting)

What version of your PHP do you use?

634

(1 replies, posted in Discussions)

Try something like this:

#punviewtopic {BACKGROUND-COLOR: ...; }

Add this line after peace of the code you have posted.

635

(15 replies, posted in PunBB 1.3 extensions)

There is no such extension that implements the feature you've described. But there is an extension topic_online_users. It shows who reads or write answers to a topic viewed by a user. Perhaps, it will be useful for you.

No, it is not. If you copy a piece of code of a product published under GPL, you must publish your software under GPL as well.

As I can understand from your explanation, there are two possible reasons why the message could disappear: because of post's date or truncating message. Please, post more information about how your RSS is created.

638

(5 replies, posted in PunBB 1.3 discussion)

Both these links perform the query, which will return posts, that have been written in the last 24 hours. Sorry, I have misdirected you.

639

(4 replies, posted in PunBB 1.3 troubleshooting)

To show images in user signatures, the option "Show images in user signatures" should be enabled in user's profile.

640

(11 replies, posted in Feature requests)

pun_approval is ready for beta testing. You can get the latest revision from SVN.

641

(11 replies, posted in Feature requests)

appledai wrote:

Is it a way to allow me to set approval or not before people post?

There is an extension pun_approval. All posts and topics have to be approved by admin in this extension.
But this extension is not ready yet, it needs testing. Can you help us to test it out?

I have modified your code a little. Test it out. Add it after line 289 of "<FORUM_ROOT>/search.php":

         if ($color)
         {
            $result = $db->query('SELECT id FROM '.$db->prefix.'posts WHERE color = \''.$color.'\'') or error('Unable to fetch color', __FILE__, __LINE__, $db->error());

             if ($db->num_rows($result))
             {
                 $color_results = array();
                 while ($row = $db->fetch_row($result))
                      $color_results[] = $row[0];
                 $db->free_result($result);
             }
             $search_ids = array_intersect($search_ids, $color_results);
             unset($color_results);
          }

I think you should change only forum's colors, you don't need to change the template. The CSS file with the colors of the Oxygen theme is "<FORUM_ROOT>/style/Oxygen/Oxygen_cs.css".

644

(2 replies, posted in PunBB 1.3 extensions)

It works fine for me. Try to clear cache.

645

(1 replies, posted in PunBB 1.3 extensions)

Perhaps, some additional BBCodes will be in this extension. Post your requests there.

646

(4 replies, posted in PunBB 1.3 extensions)

Wolverines wrote:

It's works under 1.3.4?

I think, it should. Or it needs just minor updating.
We have developed pun_karma and planned to release it, but it was put off to unofficial extensions later because of work with other extensions and forum styles. If you have enough knowledge in PHP, you can adapt it for 1.3.4, it will not be too hard. If you need help, we are always ready to answer your questions smile

jma wrote:

Perhaps that would be a possibility too. However that would mean i'd have to hide certain forums for many users. Out of interest. How would one do that?

The forum is hidden for a user if he/she hasn't the permission to read that forum. Go to "<FORUM_URL>/admin/forums.php?edit_forum=<forum_id>" to edit forum permissions.

jma wrote:

Also, is there perhaps an extension available that can put a password on a forum or category?

No, there is not. Add an extension request, perhaps some member of our community will create it.

Try to debug the process of selecting rewrite rule in "<FORUM_ROOT>/rewrite.php" (lines 45-76).

I don't think it will be very hard. The forum's markup allows to make the changes you want in the style. But to do this, you need at least some basic knowledge of CSS.

650

(2 replies, posted in PunBB 1.3 bug reports)

We will investigate this problem, thank for reporting.