There's no "best" or "one-size-fits-all" solution for spam. Different forums deal with their spam problems in different ways, and rightly so.
326 2007-02-12 01:54
Re: Simple way to stop spam signups (38 replies, posted in PunBB 1.2 modifications, plugins and integrations)
327 2007-02-11 14:20
Re: Wikipedia markup...? (12 replies, posted in PunBB 1.2 modifications, plugins and integrations)
In include/parser.php, change
// Do the more complex BBCodes (also strip excessive whitespace and useless quotes)
$a = array( '#\[url=("|\'|)(.*?)\\1\]\s*#i',
'#\[url\]\s*#i',
'#\s*\[/url\]#i',
'#\[email=("|\'|)(.*?)\\1\]\s*#i',
'#\[email\]\s*#i',
'#\s*\[/email\]#i',
'#\[img\]\s*(.*?)\s*\[/img\]#is',
'#\[colou?r=("|\'|)(.*?)\\1\](.*?)\[/colou?r\]#is');
$b = array( '[url=$2]',
'[url]',
'[/url]',
'[email=$2]',
'[email]',
'[/email]',
'[img]$1[/img]',
'[color=$2]$3[/color]');
to
// Do the more complex BBCodes (also strip excessive whitespace and useless quotes)
$a = array( '#\[url=("|\'|)(.*?)\\1\]\s*#i',
'#\[url\]\s*#i',
'#\s*\[/url\]#i',
'#\[email=("|\'|)(.*?)\\1\]\s*#i',
'#\[email\]\s*#i',
'#\s*\[/email\]#i',
'#\[img\]\s*(.*?)\s*\[/img\]#is',
'#\[wiki\](.*?)\[/wiki\]#',
'#\[colou?r=("|\'|)(.*?)\\1\](.*?)\[/colou?r\]#is');
$b = array( '[url=$2]',
'[url]',
'[/url]',
'[email=$2]',
'[email]',
'[/email]',
'[img]$1[/img]',
'<a href="http://en.wikipedia.org/wiki/$1" alt="Wiki" target="_blank">$1</a><img src=http://en.wikipedia.org/wiki/external.png />',
'[color=$2]$3[/color]');
@mystic (and thesaint if you use the above code): target="_blank" is invalid XHTML, I'm not sure if alt is a valid attribute for links but in any case using a title attribute instead of alt would make more sense, and you shouldn't direct link Wikipedia's image.
328 2007-02-10 18:02
Re: Problem with pun_include and extern.php (21 replies, posted in PunBB 1.2 troubleshooting)
Thank you very much!
Could you tell me if it works with allow_include_url = off?
It ought to, that solution was posted to address that issue.
329 2007-02-09 04:20
Re: Flashchat (5 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Apparently, there's a Flashchat-PunBB integration class out there already.
330 2007-02-08 03:43
Re: Threaded threads? (1 replies, posted in Feature requests)
Nope, this feature has come up several times before, and no one has implemented it.
331 2007-02-08 03:39
Re: Importing a DCForum install... (5 replies, posted in PunBB 1.2 troubleshooting)
His script is on this forum.
332 2007-02-08 03:30
Re: Change css (1 replies, posted in PunBB 1.2 troubleshooting)
You just want to use a style of your own? Create it, upload it to the style directory, make it default through the admin interface, and delete the other styles if you do not wish your users to use them.
Please note that as far as I can remember, changing the default style does not change the style picked by users, so if any of your users have chosen styles through their profile display options and you delete said styles, they will have problems. You can fix this issue through the languages & styles plugin.
333 2007-02-08 03:21
Re: news and stuff (3 replies, posted in PunBB 1.2 modifications, plugins and integrations)
4. "Truncate" simply means to shorten a string (in this case, the topic subject and/or first message) if it exceeds a certain length. It would only affect display on the news page, not actually change the contents of the topic.
334 2007-02-06 20:28
Re: How export e-mails (1 replies, posted in General discussion)
Run an SQL query (through phpMyAdmin or similar) like "SELECT email FROM users".
335 2007-02-05 20:25
Re: Private message problem (20 replies, posted in PunBB 1.2 troubleshooting)
Create a PHP file (say, phpinfo.php) that contains simply the following:
<?php
phpinfo();
?>
Then, upload it to your server and open it in your browser.
336 2007-01-30 04:10
Re: This are the arrors i get Warning: Cannot modify header information (7 replies, posted in PunBB 1.2 troubleshooting)
Hello, you guys have been so helpful so far. Is it possible for me to get the database structure for Punbb forum that i downloaded? Thank you
337 2007-01-28 03:41
Re: installed miniportal - how to move Show new posts since last visit? (3 replies, posted in PunBB 1.2 troubleshooting)
Edit this code in header.php to reflect what files you want the links shown on:
if (in_array(basename($_SERVER['PHP_SELF']), array('index.php', 'search.php')))
$tpl_temp .= "\n\t\t\t".'</ul>'."\n\t\t\t".'<ul class="conr">'."\n\t\t\t\t".'<li><a href="search.php?action=show_new">'.$lang_common['Show new posts'].'</a></li>'."\n\t\t\t\t".'<li><a href="misc.php?action=markread">'.$lang_common['Mark all as read'].'</a></li>'."\n\t\t\t".'</ul>'."\n\t\t\t".'<div class="clearer"></div>'."\n\t\t".'</div>';
else
$tpl_temp .= "\n\t\t\t".'</ul>'."\n\t\t\t".'<div class="clearer"></div>'."\n\t\t".'</div>';
338 2007-01-23 02:38
Re: Calendar 2.0 (296 replies, posted in PunBB 1.2 modifications, plugins and integrations)
Well I meant the next Calendar release... since we're in thread Calendar 2.0 I figured out the next release would be 3.0... aaaanyway...
Ah, I see. My bad
339 2007-01-22 02:23
Re: Calendar 2.0 (296 replies, posted in PunBB 1.2 modifications, plugins and integrations)
So I guess there's no more support for this mod until 3.0 (if any) gets released, right?
Thing is I'd like to try to implement it on my board, knowing that someone over here is available for help if needed...
1.3
Anyway, if you decide to install this mod and you have trouble, post here and I'm sure that if someone reads it and knows how to help, he or she will.
340 2007-01-22 02:17
Re: Where to place social bookmarking icons (2 replies, posted in PunBB 1.2 modifications, plugins and integrations)
It might look nice if you put a horizontal bar a bit in between the first and second posts of each topic.
341 2007-01-21 20:30
Re: Display problem ! (6 replies, posted in PunBB 1.2 troubleshooting)
If you have access to something like phpMyAdmin, manually edit the config value for the announcement in the database. Then, delete the files in your cache folder.
342 2007-01-21 20:26
Re: Good hosting? (35 replies, posted in General discussion)
no i mean in a magazine i subscribe to. actually it's MaximumPC not a gaming mag. they have a 10-12 page ad in most every month. get's annoying. i'm actually kinda half kidding really. i've researched them and they seem to be one of the more reliable hosts.
I agree completely, those ads are atrocious.
343 2007-01-21 20:24
Re: Mediawiki intergration (14 replies, posted in PunBB 1.2 modifications, plugins and integrations)
There's been some discussion about MediaWiki integration at Punres, although I'm not quite sure whether that topic contains a workable solution.
344 2007-01-21 20:22
Re: Expanding Images? (1 replies, posted in PunBB 1.2 modifications, plugins and integrations)
A simple way might be to use Lightbox JS or similar, editing parser.php to make the [img] BBCode output an image tag wrapped with a hyperlink to the image with the "rel" attribute having the value "lightbox".
345 2007-01-21 04:13
Re: Private Message Mod, monitoring messages (66 replies, posted in PunBB 1.2 discussion)
^ Lol, I forgot about the ever important step of adding the index.
346 2007-01-21 04:12
Re: border and images (13 replies, posted in PunBB 1.2 troubleshooting)
1. Your site's styling must be conflicting with the post status indicators' styling.
2. I see a border and I'm using Fx.
347 2007-01-21 01:42
Re: Private Message Mod, monitoring messages (66 replies, posted in PunBB 1.2 discussion)
BTW, Smarty I noticed after installing this script, that I have a harder time moving around on my site. Does this plugin put a 'heavy load' on the server / database?
Just wondering....
Plugins are only run when you view them through the admin panel and I don't think that adding an index to the messages table has much affect on the speed of normal forum operations, so I doubt it's the plugin that's slowing things down.
348 2007-01-21 01:38
Re: PunBB JumpBox (11 replies, posted in PunBB 1.2 discussion)
If KDE is on there, I never saw it. The machine just boots to an informational text screen.
At *only* 127 MB, I imagine that it's Ubuntu Server Edition or something. However I haven't used the image so I don't know.
349 2007-01-15 23:48
Re: Where can i download lighttpd? (66 replies, posted in General discussion)
quaker wrote:about 64 usb stick will work...
I think at least a 128mb stick would be needed.
Looking at my WinXP stack:
Apache: 15,298kb - minus the manual
MySQL: 28,157kb
PHP: 21,821kb
Total: 65,276kbThat'll leave plenty of room for your apps and database growth.
Looking at the prices, 128mb sticks are going for anywhere from $12 to $15 dollars.
Add in our time and effort, $49.95 out the door plus shipping and handling.
I'll get the ZedFiles division working on it right away
Using SQLite would lighten that load significantly.
350 2007-01-15 13:15
Re: Problem with "New Window Link" mod and New registrations. Help! (10 replies, posted in PunBB 1.2 troubleshooting)
If you have access to phpMyAdmin or similar, you can assign a default value to new_window_link (it's probably in the users table).