I don't really get your post pogewurst... he's just removing the line echoing the postcount in viewtopic.php
2,501 2006-03-02 23:23
Re: Remove Post Count in viewtopic 1.0.1 (10 replies, posted in PunBB 1.2 modifications, plugins and integrations)
2,502 2006-03-02 23:15
Re: Remove Post Count in viewtopic 1.0.1 (10 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Won't fix the problem why you did it, because it shows in the profile, user list, ...
2,503 2006-03-02 21:29
Re: Forum Image -> How to change this? (4 replies, posted in PunBB 1.2 modifications, plugins and integrations)
add url(path-to-img/bullet1.gif); to it.
2,504 2006-03-02 21:00
Re: Forum Image -> How to change this? (4 replies, posted in PunBB 1.2 modifications, plugins and integrations)
In your style_cs.css find DIV.icon
2,505 2006-03-02 20:44
Re: How many people are viewing topic feature (3 replies, posted in Feature requests)
Now THAT is an unneeded feature and it increases DB load on big forums like hell
2,506 2006-03-02 18:17
Re: Download links wont work? (2 replies, posted in PunBB 1.2 discussion)
Try recreating the project, there were some issues with dir permissions.
2,507 2006-03-02 18:01
Re: punres.org died ? (30 replies, posted in PunBB 1.2 modifications, plugins and integrations)
I was able to create one successfully now. I guess something was wrong with your dir permissions.
2,508 2006-03-02 17:58
Re: punres.org died ? (30 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Hrmm, it seems they were created... it was something about a directory not being created.
2,509 2006-03-02 17:33
Topic: Group Forum Subscribe 1.4 (34 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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.
##
##
2,510 2006-03-02 17:29
Re: punres.org died ? (30 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Ehm, seems I can't create a new project :'(
2,511 2006-03-02 17:06
Re: I will pay someone to create an email post mod (21 replies, posted in PunBB 1.2 modifications, plugins and integrations)
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 2006-03-02 16:12
Re: Config.php?????!!!!?!?!?! (20 replies, posted in PunBB 1.2 troubleshooting)
Ah, like that
2,513 2006-03-02 15:36
Re: Signature without Links (6 replies, posted in Feature requests)
I can give you a solution that's a bit harder
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
2,514 2006-03-02 15:16
Re: Config.php?????!!!!?!?!?! (20 replies, posted in PunBB 1.2 troubleshooting)
Well, that's odd, because there shouldn't be any includes in that file...
2,515 2006-03-01 22:24
Re: Firefox problems..and a few other things.. (24 replies, posted in PunBB 1.2 troubleshooting)
I'm on firefox. Could you give me a link to your forums?
2,516 2006-03-01 22:03
Re: How do I insert a mini banner ad (sponsor of a forum)? (11 replies, posted in PunBB 1.2 modifications, plugins and integrations)
I'd just put it in the announcements part.
2,517 2006-03-01 22:00
Re: Firefox problems..and a few other things.. (24 replies, posted in PunBB 1.2 troubleshooting)
Probably because you have an error somewhere that's blocking your layout to be fully loaded Scan the page for errors or validate your CSS if you changed anything.
2,518 2006-03-01 21:57
Re: I will pay someone to create an email post mod (21 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Sent the mail
2,519 2006-03-01 21:33
Re: I will pay someone to create an email post mod (21 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Ok, I'll create a readme and mail it to you
2,520 2006-03-01 21:27
Re: I will pay someone to create an email post mod (21 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Ok, I think it's about ready Any extra features you'd like?
2,521 2006-03-01 20:42
Re: Signature without Links (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
2,522 2006-03-01 19:55
Re: nutty generated urls (5 replies, posted in PunBB 1.2 troubleshooting)
Hrmm, are you linking between two separate forums?
2,523 2006-03-01 19:53
Re: I will pay someone to create an email post mod (21 replies, posted in PunBB 1.2 modifications, plugins and integrations)
np, I'm bored anyways
2,524 2006-03-01 19:48
Re: I will pay someone to create an email post mod (21 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Ok, I'll get on it
2,525 2006-03-01 19:37
Re: I will pay someone to create an email post mod (21 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Good news, it's working I've made two functions, one to check who needs to receive mails and one to send it Now, my question is, do you want an admin plugin to administer which groups are subscribed to which forum, or... ?