Didn't I update that... :S

##
##
##        Mod title:  Random Bash Quote
##
##      Mod version:  1.0
##   Works on PunBB:  Should work on every version
##     Release date:  2006-03-09
##           Author:  El Bekko (elbekko@gmail.com)
##
##      Description:  Adds a random bash quote to your forum.
##
##     Difference with  
## previous version:  /
##
##   Affected files:  main.tpl
##                      header.php
##                    
##       Affects DB:  No
##
##            Notes:  May cause a slight lag to your site (due to the slow bash.org)
##
##       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.
##
##

Download

2,453

(12 replies, posted in PunBB 1.2 troubleshooting)

No, but I guess it'll be easily modified to do that smile

2,454

(12 replies, posted in PunBB 1.2 troubleshooting)

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

Then it should work... I have no clue why it doesn't, as it works fine for me and the guy I made it for, so yah...

Well, as PunBB doesn't generate your avatar but just puts it on the page with an img tag, I suppose it must be a) something in your style or b) IE

I see... can't really be a PunBB problem tho.

Loads fine for me...

Well, find the right place in index.php (search for some keywords) and paste that code there.

Well, make sure you have access to the mail() function.

Well, there are some CMS systems specifically designed for PunBB, like PunTal

2,462

(7 replies, posted in Feature requests)

3. Recently made a mod for it smile

2,463

(3 replies, posted in PunBB 1.2 troubleshooting)

Try, when creating functions, using a test page with function_exists() wink So you can easily check if that certain function has already been defined before. What you could do too is create a class with your own functions in it smile

2,464

(1 replies, posted in PunBB 1.2 bug reports)

I have had many problems with integration before when I had the testing site in another folder. I had to modify about each link to include PUN_ROOT. One hell of a job, and this is one of those things smile

2,465

(6 replies, posted in PunBB 1.2 discussion)

You have to give in some parameters for extern.php to work wink

extern.php wrote:

INSTRUCTIONS

  This script is used to include information about your board from
  pages outside the forums and to syndicate news about recent
  discussions via RSS. The script can display a list of recent
  discussions (sorted by post time or last post time), a list of
  active users or a collection of general board statistics. The
  script can be called directly via an URL (for RSS), from a PHP
  include command or through the use of Server Side Includes (SSI).

  The scripts behaviour is controlled via variables supplied in the
  URL to the script. The different variables are: action (what to
  output), show (how many topics to display), fid (the ID or ID's of
  the forum(s) to poll for topics), nfid (the ID or ID's of forums
  that should be excluded) and type (output as HTML or RSS). The
  only mandatory variable is action. Possible/default values are:

    action: active (show most recently active topics) (HTML or RSS)
            new (show newest topics) (HTML or RSS)
            online (show users online) (HTML)
            online_full (as above, but includes a full list) (HTML)
            stats (show board statistics) (HTML)

    show:   Any integer value between 1 and 50. This variables is
            ignored for RSS output. The default is 15.

    fid:    One or more forum ID's (comma-separated). If ignored,
            topics from all guest-readable forums will be polled.

    nfid:   One or more forum ID's (comma-separated) that are to be
            excluded. E.g. the ID of a a test forum.

    type:   RSS. Anything else means HTML output.

  Here are some examples using PHP include().

    Show the 15 most recently active topics from all forums:
    include('http://host.com/forums/extern.php?action=active');

    Show the 10 newest topics from forums with ID 5, 6 and 7:
    include('http://host.com/forums/extern.php?action=new&show=10&fid=5,6,7');

    Show users online:
    include('http://host.com/forums/extern.php?action=online');

    Show users online with full listing of users:
    include('http://host.com/forums/extern.php?action=online_full');

    Show board statistics:
    include('http://host.com/forums/extern.php?action=stats');

  Here are some examples using SSI.

    Show the 5 newest topics from forums with ID 11 and 22:
    <!--#include virtual="forums/extern.php?action=new&show=5&fid=11,22" -->

    Show board statistics:
    <!--#include virtual="forums/extern.php?action=stats" -->

  And finally some examples using extern.php to output an RSS 0.91
  feed.

    Output the 15 most recently active topics:
    http://host.com/extern.php?action=active&type=RSS

    Output the 15 newest topics from forum with ID=2:
    http://host.com/extern.php?action=activ … &fid=2

  Below you will find some variables you can edit to tailor the
  scripts behaviour to your needs.

:S parse_message() converts the smiley_text entry to the full image links, which should be stored in the smilies array... And so you code is very, very odd tongue As it shouldn't work at all. I'll run some checks, but yah...

EDIT: As it should work, but it doesn't with you, I developed a new way that should do the trick even better smile I'll release 0.5 now.

EDIT2: You can download at http://www.punres.org/viewtopic.php?id=1184

2,467

(2 replies, posted in General discussion)

Why not just post them in Programming?

By using enough ../-es in your path I guess so.

In the language files smile

On the wiki. But I don't really get the syntax of the DokuWiki tho sad

Try uploading the images...

Ok, I'll put it on soonish smile

Only the login part smile

Well, I'm trying to get Lynx working, but the compiling is a bit of a problem, since the gcc commands doesn't seem to exist in XP... X(

It looks pretty nice =o Any chance in you telling me how to open a connection to a server with that tool? tongue