I don't really get your post pogewurst... he's just removing the line echoing the postcount in viewtopic.php

Won't fix the problem why you did it, because it shows in the profile, user list, ...

add url(path-to-img/bullet1.gif); to it.

In your style_cs.css find DIV.icon wink

Now THAT is an unneeded feature and it increases DB load on big forums like hell tongue

2,506

(2 replies, posted in PunBB 1.2 discussion)

Try recreating the project, there were some issues with dir permissions.

I was able to create one successfully now. I guess something was wrong with your dir permissions.

Hrmm, it seems they were created... it was something about a directory not being created.

This mods gives you the possibility to assign groups to subscribe to a forum. Whenever a new topic is posted, all members in the groups subscribed to this forum will get an email with a link to this new topic. Groups are assigned to the forums through an admin plugin.

##
##
##        Mod title:  Group Forum Subscribe
##
##      Mod version:  1.4
##   Works on PunBB:  Should work on every version
##     Release date:  2006-03-20
##           Author:  El Bekko (elbekko@gmail.com)
##
##      Description:  Mails users in a group whenever
##                      a new topic is posted.
##
##     Difference with  
## previous version:  Now sends plain text mail through pun_mail().
##
##   Affected files:  functions.php
##                      post.php
##                      AP_Subscribe_Groups.php
##                      viewforum.php (optional)
##                    
##       Affects DB:  Yes
##
##            Notes:  None
##
##       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 v1.4

Ehm, seems I can't create a new project :'(

Well, it seems everything is finished. Just sent him a last fix of the admin plugin and it should be ready for public distributing.

2,512

(20 replies, posted in PunBB 1.2 troubleshooting)

Ah, like that tongue

2,513

(6 replies, posted in Feature requests)

I can give you a solution that's a bit harder smile

Find function do_bbcode($text) and replace it with function do_bbcode($text, $nolinks = false)

Then, a bit further in that function, find this:

$pattern = array('#\[b\](.*?)\[/b\]#s',
                         '#\[i\](.*?)\[/i\]#s',
                         '#\[u\](.*?)\[/u\]#s',
                         '#\[url\]([^\[]*?)\[/url\]#e',
                         '#\[url=([^\[]*?)\](.*?)\[/url\]#e',
                         '#\[email\]([^\[]*?)\[/email\]#',
                         '#\[email=([^\[]*?)\](.*?)\[/email\]#',
                         '#\[color=([a-zA-Z]*|\#?[0-9a-fA-F]{6})](.*?)\[/color\]#s');
    
        $replace = array('<strong>$1</strong>',
                         '<em>$1</em>',
                         '<span class="bbu">$1</span>',
                         'handle_url_tag(\'$1\')',
                         'handle_url_tag(\'$1\', \'$2\')',
                         '<a href="mailto:$1">$1</a>',
                         '<a href="mailto:$1">$2</a>',
                         '<span style="color: $1">$2</span>');
    
        // This thing takes a while! :)
        $text = preg_replace($pattern, $replace, $text);

Replace it with this:

if($nolinks)
        {
        $pattern = array('#\[b\](.*?)\[/b\]#s',
                         '#\[i\](.*?)\[/i\]#s',
                         '#\[u\](.*?)\[/u\]#s',
                         '#\[color=([a-zA-Z]*|\#?[0-9a-fA-F]{6})](.*?)\[/color\]#s');
    
        $replace = array('<strong>$1</strong>',
                         '<em>$1</em>',
                         '<span class="bbu">$1</span>',
                         '<span style="color: $1">$2</span>');
    
        // This thing takes a while! :)
        $text = preg_replace($pattern, $replace, $text);
        }
    else
        {
        $pattern = array('#\[b\](.*?)\[/b\]#s',
                         '#\[i\](.*?)\[/i\]#s',
                         '#\[u\](.*?)\[/u\]#s',
                         '#\[url\]([^\[]*?)\[/url\]#e',
                         '#\[url=([^\[]*?)\](.*?)\[/url\]#e',
                         '#\[email\]([^\[]*?)\[/email\]#',
                         '#\[email=([^\[]*?)\](.*?)\[/email\]#',
                         '#\[color=([a-zA-Z]*|\#?[0-9a-fA-F]{6})](.*?)\[/color\]#s');
    
        $replace = array('<strong>$1</strong>',
                         '<em>$1</em>',
                         '<span class="bbu">$1</span>',
                         'handle_url_tag(\'$1\')',
                         'handle_url_tag(\'$1\', \'$2\')',
                         '<a href="mailto:$1">$1</a>',
                         '<a href="mailto:$1">$2</a>',
                         '<span style="color: $1">$2</span>');
    
        // This thing takes a while! :)
        $text = preg_replace($pattern, $replace, $text);
        }

Then, in the function parse_signature, find this line:

if ($pun_config['p_sig_bbcode'] == '1' && strpos($text, '[') !== false && strpos($text, ']') !== false)
    {
        $text = do_bbcode($text);

Replace it with:

if ($pun_config['p_sig_bbcode'] == '1' && strpos($text, '[') !== false && strpos($text, ']') !== false)
    {
        $text = do_bbcode($text, $nolinks = true);

This one should work smile

2,514

(20 replies, posted in PunBB 1.2 troubleshooting)

Well, that's odd, because there shouldn't be any includes in that file...

I'm on firefox. Could you give me a link to your forums?

I'd just put it in the announcements part.

Probably because you have an error somewhere that's blocking your layout to be fully loaded wink Scan the page for errors or validate your CSS if you changed anything.

Sent the mail smile

Ok, I'll create a readme and mail it to you smile

Ok, I think it's about ready smile Any extra features you'd like?

2,521

(6 replies, posted in Feature requests)

Hrmm, could be. Looks like it :S You'll have to modify the function do_bbcode to have the option (with a default to not mess stuff up) $is_signature and then in that function put a check around the links parsing. Harder, but still pretty doable smile

2,522

(5 replies, posted in PunBB 1.2 troubleshooting)

Hrmm, are you linking between two separate forums?

np, I'm bored anyways tongue

Ok, I'll get on it smile

Good news, it's working smile I've made two functions, one to check who needs to receive mails and one to send it smile Now, my question is, do you want an admin plugin to administer which groups are subscribed to which forum, or... ?