51

(2 replies, posted in PunBB 1.2 discussion)

Yup, the post was a nice read. Kudos to Rickard for writing it.

Your include/common.php is being included twice for some reason.

These might help you get started:

http://docs.etomite.com/development-apifunctions.html
http://punbb.org/docs/dev.html#integration

Your forums are 404'd. hmm

It depends on where you want to split them -- between the index link and the forum link or between the forum link and the topic title?

56

(55 replies, posted in Feature requests)

AndyDeacon wrote:
Rickard wrote:

4. After you have added your smilies to $smiley_text and $smiley_img you should have a look at the row directly below. It says that you must uncomment the next row if any of your smilies contain any of the characters &, ", ', < or >. Uncommenting is done by removing the two slashes in the beginning of the row

//   $text = array_map('htmlspecialchars', $text);

Where in this code we need to writing special chars that we used. I use (') and wath code I must retrieve?

You don't write them anywhere. You just remove the "//" in front of the code Rickard mentioned.

57

(1 replies, posted in PunBB 1.2 troubleshooting)

I'm not sure how much (if at all) it will help your problem, but you might consider taking a look at this: http://www.sqlite.org/lang_vacuum.html

As always, remember to back up your database file first.

58

(11 replies, posted in PunBB 1.2 discussion)

It hasn't been updated for awhile, but the list of mods linked to in my signature may be useful to you.

Google Reader (currently my primary RSS reader) is excellent, and a cinch to set up if you already have an account on Google/Gmail. I believe there are several "notifier" extensions for Firefox.

The beta version of Bloglines (beta.bloglines.com) also seems nice.

Moved to modifications

Tobi wrote:

Not necessary I think.
It's just what the message says:
You can not expect to find stats 2 minutes after installation wink

Ah, that makes sense. big_smile

mrnick wrote:

I have just tried to install this mod but when I run AP_Attachment_Mod.php, I get an error message:

An error was encountered
Error: Unable to count number of attachment files.

Where have I gone wrong?

Please enable debug mode and paste the full error.

erik98 wrote:

category "most read topics"

Unable to fetch topic information. Maybe you have no corresponding entries in your database.

Please enable debug mode and paste the full error.

64

(5 replies, posted in PunBB 1.2 troubleshooting)

$cur_topic['forum_id']

Have you already seen pokemon_jojo's chatbox mod?

matt1298 wrote:
reviewum.com wrote:

This is an excellent / simple chat script.  I'd like to test it with a bunch of user but one thing is bugging me like crazy:

One item I can't figure out is why all the messages are shown on a new line below the username.  Is it just my install or is it always like this?  I've changed the "message parsing" and  "Message separation" but I can't get the message to show on the same line. 

For example, this: <pun_username> - <pun_message> should show:

admin - this is my message

Instead it shows:

admin -
message

Any ideas on how to fix this so the message shows on the same line as the username?

same, i looked in the coding but didnt find  anthing

Try adding

div#chatbox p {display: inline}

to your CSS (probably base.css).

Ahmed: Is your upload folder writable by PHP (I'm not familiar with this mod, but that might be your issue)?

68

(2 replies, posted in PunBB 1.2 discussion)

The table is "topics" not "threads". For more detail I suggest that you look at the database tables of PunBB.

Why can't he just dump the whole database?

In include/email.php change

if (strlen($email) > 50)

to

if (strlen($email) > 50 OR strpos($email, '.edu', 1) != strlen($email) - 4)

It's a bit kludgy, but it ought to work.

70

(4 replies, posted in PunBB 1.2 troubleshooting)

Remy wrote:
Smartys wrote:

It would require a mod

Would this be something particularly difficult to make?

Not really, you'd probably just need to add a column to the online table to store guest IPs, edit include/common.php to fill that column for guests when it updates the online list, and edit index.php as appropriate.

71

(71 replies, posted in Feature requests)

ButtrflyGirl: please ask your question in a new topic.

You need to do three things:

1) rename [whatever].htm to [whatever].php
2) add this or similar code right before the content of the page:

<?php

define('PUN_ROOT', './forums/');
require PUN_ROOT.'include/common.php';

if($pun_user['is_guest'])
     message($lang_common['No permission']);

?>

3) add the link to your top menu via the admin options

Peter wrote:

Profile pages are the center of activity in the new generation of social networking sites. [emphasis mine]

One issue is that PunBB is forum software, not social networking software. You of course are free to modify PunBB to give it the feel and functionality of a social networking site, but you might be better served seeking out a PHP project aimed specifically at a social networking site.

Have you had a look at Riklanium's PunBB-WP bridge?

75

(1 replies, posted in PunBB 1.2 show off)

Looks nice!

However, I'd like to point out that with all the backgrounds having been changed to black on the topic view page things look quite hectic.