is the user id in the posts the same as the guest account id?

simkin wrote:

You can use this special character ? , but I'm afraid iexplorer doesn't likes it hmm

works in my IE6 at least...

hmm ... I suppose we're taking "limited" in 2 ways (I take it as only 12 allowed, and you+smartys max 12 smile)

heh ...well we'll see what he is looking for I assume smile

still, "with knowledge" it's possible to have a name shorter than 12 wink

else if (pun_strlen($username) != 12)    // This usually doesn't happen since the form element only accepts 25 characters
        message($lang_common['Bad request']);

otoh only accepts 12 char long strings smile

I suppose ... you need to alter the install_mod.php to allow it to be installed ... and the query where posts are selected in viewtopic.php, just make sure that the column is selected (imgaward) ... (the replace might not be ok, so make sure you just add the column in the select sql query instead of replacing the whole row)

Othervise I think it's ok ... it's a really easy mod, not that much can fail wink

##
##
##        Mod title:  Image Award Mod
##
##      Mod version:  1.0.0
##   Works on PunBB:  1.2.5
##     Release date:  2005-05-16
##           Author:  Frank Hagstrom (email removed, read my sig)
##
##      Description:  This mod will add the ability to assign image awards for
##                    users. That is shown below their avatar.
##
##   Affected files:  viewtopic.php
##
##       Affects DB:  Yes
##
##            Notes:  Well, having these things might be handy, a good way to
##                    show that a user has been warned for his actions, or just
##                    that the user is in some way special. The addition of new
##                    awards is very easy. Just create an image, save it with
##                    correct naming, upload, and then assign to the user.
##                    Description on how to name the files is in the admin
##                    plugin interface.
##                    The plugin part might be improved later, but typing in id
##                    I think is better than generating a list of users. As the
##                    userlist might grow to several thousands, and that's a
##                    hard list to find names in...
##                    
##                    Written by Frank H
##                    on: 2005-05-16 17:47
##
##       DISCLAIMER:  Please note that "mods" are not officially supported by
##                    PunBB. Installation of this modification is done at your
##                    own risk. Backup your forum database and any and all
##                    applicable files before proceeding.
##
##

Did a small mod today, mainly to show warnings on users. But you can use it to make all sort of awards wink

Shows a small image under the avatar, if avatars is displayed, othervise shown as text.

To add more awards (Warning, Warning Red & Banned is in the zip), just create an image, and follow the naming scheme when saving it. Upload and assign to user. smile
(Didn't want to create an dropdown for the users, as with thousands of users the dropdown would be huge. So no need to ask about it wink)


Have fun smile

Download

482

(2 replies, posted in PunBB 1.2 troubleshooting)

On the users profile, "Personal" ... and then fill out the Title field

483

(8 replies, posted in General discussion)

heh, it was 4.79 ... and it doesn't support CSS by the look of it ... hehe ...

484

(8 replies, posted in General discussion)

I have some old ns4 on univ (on a solaris) ... but I can almost guarantee it'll look like shite in that one (as everything does wink)

485

(27 replies, posted in Feature requests)

http://forum.rscnet.org/ use select on their [spoiler][/spoiler] tag

yep ... I've got 148 if I count on all my accounts ... but ... I'm only using one account ... and the other ones are 'junkmails' where I get the mail through pop ... don't want to mess upp the saved password ... as I forget what I have on different places and need to pick up my note with a gazillion different passwords (and no reference to where they are used wink) ... so I say I have 48 atm big_smile

487

(27 replies, posted in Feature requests)

why not make is like in some vbulletin boards, to see the spoiler one have to select the text...instead of hoovering over it (hoover may also be done accidently, selecting is harder to do accidently)

(also, making a link is IMHO just a hack, just using something to do something it's not supposed to do .... i.e. such things are IMHO most likely to be things that will freak out at a later date, when new softwares/revisions come)

488

(26 replies, posted in PunBB 1.2 discussion)

http://warthog.campus.luth.se/Frank/div/smilies/mwahaha.gif
http://warthog.campus.luth.se/Frank/div/smilies/judge.gif
Though shall be condemned to have buglinks, one more than you shall solve, for all eternity wink

muhahaha ... it's not my plugin

>:)

I replaced that function in my 1.2.5 installation (and removed the cachefile), and it works like a charm smile

wouldn't this fit perfectly as a function in the User management plugin, rather than default in PunBB?

492

(15 replies, posted in PunBB 1.2 troubleshooting)

Gortan wrote:

I use dreamweaver MX

That's most probably the fault!

Use notepad and create a textfile, and paste the information in that, and then save it as config.php ... then upload that file

493

(15 replies, posted in PunBB 1.2 troubleshooting)

and force reload of index.php, could be your browser that has cached it ... (ctrl+refresh)

494

(9 replies, posted in Feature requests)

or just
$subscribe = 1;

wink

495

(63 replies, posted in Feature requests)

just remember to get some sleep aswell big_smile

496

(5 replies, posted in Feature requests)

throw a 'normal' error() with not lang specific stuff

QnD fix ... but I suppose it'll work wink

nice smile

hehe, a classic error on this mod, but I feel it's best to keep it that small so people will actually set the values to their server, not just use default values
I might as well write that in the first post aswell, that people should test with really small files smile

I finally converted my old forum with ~1400 attachments, and it went flawlessy (phew) ... but the conversion took a little while when I used the 10 attachments/update smile ... but it worked big_smile

499

(6 replies, posted in PunBB 1.2 show off)

This page is not Valid XHTML 1.0 Strict!

(you've got a validation link at the bottom ... and it fails)

and you should make sure the page is really valid when using the valid badges ...

This page is not Valid XHTML 1.0 Strict!

And CSS check fails due to the xhtml isn't correct ...