Here you go: http://wiki.punres.org/Default_avatar

elbekko wrote:

Yes, but I think he was doing it somewhere else...

Ah, I see what you're saying. Ooops.

Though IMO it might be easier just to put whatever the links are in a PHP file in include/user, then use <pun_include=file.php> in main.tpl (no messing with header.php)

elbekko, why not just edit functions.php? Sounds simpler to me (busy now though so I can't post anything in terms of code at the moment).

There is already a multigroup mod at Punres, although I'm not sure how it works, if at all, or if it fits your needs.

Jeef wrote:

Group Foo can moderate forums 1, 2, and 3.

Currently, there is only one moderator group, and that's it, but 1.3 is supposed to include the ability to specify multiple moderator groups.

Widell wrote:

Where can i find the users online today mod?

Users Online Today

1,081

(2 replies, posted in PunBB 1.2 troubleshooting)

In the case of spam, you can just delete individual posts in a thread, but otherwise, try the Move Post mod.

Open footer.php and look for Rickard Andersson.

Open include/template/main.tpl and remove <pun_title>.

1,084

(5 replies, posted in PunBB 1.2 discussion)

pedrotuga wrote:

mmm...

PM has not been included and hopefully never will be

whats so bad with it?

It's not really essential to a forum. In many cases it just serves to add bloat.

For people who do think it is necessary, well, that's why there's the PM mod.

Minimum Number Of Posts To Enter A Forum?...

Skip step 1 of the tutorial, replace the code in step 2 with:

if ($cur_post['num_posts'] >= 100) {$rank_icon = 'senior_member.png'; $rank_alt = 'Senior Member';}
elseif ($cur_post['num_posts'] > 10 && $cur_post['num_posts'] < 100) {$rank_icon = 'member.png'; $rank_alt = 'Member';}
else {$rank_icon = 'new_member.png'; $rank_alt = 'New Member';}

(change as necessary for your rankings)

Then change the code in step 3 to:

<dd class="usertitle"><img src="<?php echo $rank_icon; ?>" alt="<?php echo $rank_alt; ?>" /></dd>

Please try it out and let me know how it works, then I'll probably add it to the wiki or something.

EDIT: FYI, I'm not sure what step one is supposed to do, so I just skipped it. I dunno, it might be necessary. Someone smart want to fill me in?

1,087

(1 replies, posted in PunBB 1.2 show off)

As has been said before, this is not the place to show off forums hosted on MyPunBB.com. The purpose of this forum is mainly to show work you've done yourself on your own server such as modifications or integration.

1,088

(3 replies, posted in PunBB 1.2 troubleshooting)

This appears to be an issue with the converter rather than PunBB itself, so I've moved to troubleshooting rather than bug reports.

Anyway, can't those users just click "Forgot your password?" on the login page?

1,089

(2 replies, posted in PunBB 1.2 troubleshooting)

1. I suggest you have a quick look at this first, and think it over: http://punbb.org/forums/viewtopic.php?id=2165

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

1,090

(5 replies, posted in Programming)

ameenullah wrote:

Do u suggest some good site for GD lib usage...

I can't say anything as to how good it is, but I found this on Stumbleupon yesterday:

http://phpgd.com/

1. Yes, open viewtopic.php and find:

$user_contacts[] = '<a href="'.pun_htmlspecialchars($cur_post['url']).'">'.$lang_topic['Website'].'</a>';

Replace with:

$user_contacts[] = '<a href="'.pun_htmlspecialchars($cur_post['url']).'" onclick="window.open(this.href); return false;">'.$lang_topic['Website'].'</a>';
Runar wrote:

And where do I get that file from?
I dont got it already, and it didnt come with the plugin.

It's contained in the zip archive (punonline 1.2.1.zip) in the file listing on Punres.

1,093

(8 replies, posted in PunBB 1.2 discussion)

Reines wrote:
pogenwurst wrote:

Hmm... how come the largest & fastest growing boards listings each have the same forum listed three times?

The bit in bold is what they are winning on, its just a coincidence the same one happens to win on all 3.

Ohhh.... silly me. big_smile

Thanks.

1,094

(8 replies, posted in PunBB 1.2 discussion)

Hmm... how come the largest & fastest growing boards listings each have the same forum listed three times?

Runar wrote:

Thanks, but I cant get it working.
I cant find where to see the status?

online.php? Never used the mod myself, but that's the filename of the now-nonexistent demo.

D9r wrote:

So the automated registrations would still happen, just not as much.

Yes, but if you are able to hinder their registrations by only allowing one registration per IP per hour, you obviously have their correct IP address, so you can just ban them.

Endre wrote:
Endre wrote:

How can I make the message "There are new messages" appear on the front-page of my site?

No one?
I've already got the Users online and forum activity on the front page.. would be nice to have PM-info too smile

Isn't that what this post is talking about?

It's not exactly what you're looking for (so don't come back saying, "No, that's not what I'm looking for," because I already know that - and yes, such a thing has happened to me before), but I believe PunOnline does something sort of like that.

Moved to modifications.

I would imagine that it can't be too hard, although I've never used either mod, so I wouldn't know.

1,100

(8 replies, posted in PunBB 1.2 discussion)

Awesome! I'll add mine once I complete all the improvements I'm hoping to make.