This line is the best place for the function call. If you use some kind of e-mail server emulators, e-mail letters should placed in some tmp directory.
476 2009-09-10 13:26
Re: i got some problem to find variables (5 replies, posted in PunBB 1.2 troubleshooting)
477 2009-09-10 13:01
Re: Attachments (pun_attachment) (118 replies, posted in Supported extensions)
Do any errors appear after uploading the files? Describe in more detail way, please.
478 2009-09-10 12:54
Re: [release] pun_antispam (56 replies, posted in PunBB 1.3 extensions)
Have you tried to directly run the script which generates the image? You can do this by copying the uri of the image. Perhaps, there are some errors there.
479 2009-09-10 12:29
Re: Bots? Theres is an website that spam your forums? (9 replies, posted in General discussion)
The pun_antispam extension was installed a week ago with the improvements suggested by StevenBullen in this topic.
480 2009-09-09 08:15
Re: post count after phpmyadmin post delete (1 replies, posted in PunBB 1.3 discussion)
It is better to use forum's Web interface for correction and deletion of posts/topics. User's post count is not updated upon removing the user's posts.
481 2009-09-09 07:53
Re: How show last message on the top of forum (PhpFreeChat) (1 replies, posted in PunBB 1.3 additions)
Get only one row for certain forum from the channel and output it.
Perhaps, I don't understand the problem. Please, write in more detail what problem is.
482 2009-09-09 07:46
Re: How to transfer PUNBB Forum to new Domain (2 replies, posted in General discussion)
If you want just to update url to the forum, change the $base_url variable in the file "<FORUM_ROOT>/config.php".
483 2009-09-09 07:40
Re: How to solve about An error was encountered / Error: Unable to insert? (3 replies, posted in PunBB 1.2 bug reports)
After what actions did this error appear? Maybe, you installed some mods or changed something in the DB?
484 2009-09-09 07:20
Re: i got some problem to find variables (5 replies, posted in PunBB 1.2 troubleshooting)
1 - post url ... maybe 'f.redirect_url'? to send the link by mail
This code generates link to the edited post:
viewtopic.php?pid=<?php echo $id.'#p'.$id ?>">
username that change the post ... maybe $pun_user['username']?
Yes, it is. All information about user stored in the $pun_user variable.
How can i add another function on "submit" event?
Message send php, not JavaScript, you don't need to add some other events. After post updating to send message you need to use PunBB function pun_mail($to, $subject, $message, $from = '').
485 2009-09-09 06:35
Re: Some modifications for online consultation (5 replies, posted in Feature requests)
Here is the short plan of extension.
Installation.
You should add new column to the table "forums". The code will look like:
<install><![CDATA[
$forum_db->add_field('forums', 'consult_url', 'VARCHAR(200)', true);
]]></install>
Viewforum page.
You need to get consult_url of forum. The best place to do it - hook "vf_qr_get_forum_info". The code of extensions will look like:
<hook id="vt_qr_get_topic_info"><![CDATA[
$query['SELECT'] .= ', f.consult_url';
]]></hook>
The consult_url stored in $cur_forum['consult_url'] now.
For output link you can use hook "vf_pre_topic_loop_start".
Forums page. Study out the code of "<FORUM_ROOT>/admin/forums.php" (lines 251-400). You can find here how to update forums parameters. If you have some questions, we will help you
486 2009-09-08 16:40
Re: [release] pun_repository (12 replies, posted in PunBB 1.3 extensions)
New version of pun_repository was released. The mechanism of extension updating was improved. This is the description of problem.
487 2009-09-08 09:03
Re: [release] pun_antispam (56 replies, posted in PunBB 1.3 extensions)
No word on re-captcha support?
Our site uses re-captcha more than once for various infos, and mixing solutions is not preferred.
Re-captcha is very popular and works well... why no PunBB plugin support?
It is planned for the next versions of the extension. But I can't say when exactly re-captcha support will be added.
488 2009-09-08 08:41
Re: Remove the Fun forum (3 replies, posted in Discussions)
I don't think so. There are also other forums which are not directly related to PunBB. Should we remove them too?
489 2009-09-08 08:30
Re: Karma (pun_karma) (23 replies, posted in Supported extensions)
Great...we were awaiting this release for quite a while.
Works perfectly.
Can i replace the + and - Karma buttons with images?
It is planned in the next pun_karma release.
I've had this in use for many many months. is this a new version or something?
It is the first official release of extension. I suppose you use the extension "user_karma". It was the base for pun_karma. The major changes from user_karma:
Table "user_karma" was renamed to "pun_karma"
Added a new field "karma" to table "posts"
Added SEF-support
Added posibility to disable the down mark to posts
Added posibility to set the number of minutes users have to wait before voting for a post (two options for down and up mark)
Added protection from CSRF attacks.
If you want to migrate to pun_karma extension, do the following:
Make a backup of table "<DB_PREFIX>user_karma"
Disable the extension "user_karma"
Rename the "user_karma" table to "pun_karma"
Run this script:
<?php
if (!defined('FORUM_ROOT'))
define('FORUM_ROOT', './');
require FORUM_ROOT.'include/common.php';
$forum_db->add_field('posts', 'karma', 'INT(10)', TRUE);
$pun_karma_query = array(
'SELECT' => 'post_id, SUM(mark) AS sum_mark',
'FROM' => 'pun_karma',
'GROUP BY' => 'post_id'
);
$pun_karma_res = $forum_db->query_build($pun_karma_query) or error(__FILE__, __LINE__);
while ($cur_karma = $forum_db->fetch_assoc($pun_karma_res))
{
$pun_karma_query = array(
'UPDATE' => 'posts',
'SET' => 'karma = '.$cur_karma['sum_mark'],
'WHERE' => 'id = '.$cur_karma['post_id']
);
$forum_db->query_build($pun_karma_query) or error(__FILE__, __LINE__);
}
echo 'Done.';
?>
490 2009-09-08 06:17
Re: HOWTO: Add more smilies (55 replies, posted in Feature requests)
First of all you should check:
The option "Show smilies as graphic icons" should be enabled in user profile
The option "Convert smilies to small icons in posts" should be enabled on the page "<FORUM_URL>/admin/settings.php?section=features".
491 2009-09-07 13:07
Re: [release] pun_antispam (56 replies, posted in PunBB 1.3 extensions)
The new version of pun_antispam 1.3.1 has been released. Changes from previous version:
Allow setting restrictions for adding url of users.
492 2009-09-07 08:22
Re: karma mod? (4 replies, posted in PunBB 1.3 extensions)
pun_karma extension was released.
493 2009-09-07 08:21
Re: Update on progress of pun_karma? (19 replies, posted in PunBB 1.3 extensions)
The extension was updated to the latest punbb version.
494 2009-09-07 08:20
Topic: Karma (pun_karma) (23 replies, posted in Supported extensions)
Here is description of the extension.
Download links:
Or you can download pun_karma with help of pun_repository extension.
Feel free to report any bugs.
495 2009-09-07 07:30
Re: Spam! (22 replies, posted in Discussions)
I think 3 posts are enough to detect spam.
Plus the website info for users needs to have the same restriction. Because if you check latest users since turning the 'pun_antispam' on they all add a website link instead of going for the signature. Spam is so annoying!
It will be implemented in a few days. Thanks for the suggestion.
496 2009-09-07 07:25
Re: Upgrading to 1.3.4 (3 replies, posted in PunBB 1.3 troubleshooting)
It would probably help if the download page was updated with the 1.3.4 files...
Sorry for this, fixed.
Note to people in charge: I posted three days ago about this but no one replied or even fixed the problem.
Who is in charge of PunBB?? and DO NOT say informer. I want the person who makes decisions.
Perhaps, I have missed your post.
497 2009-09-07 07:15
Re: PunBB 1.3.4 (30 replies, posted in News)
If you check out the download page it does not mention 1.3.4 only 1.3.3, you might want to fix that.
Thanks for reporting, fixed.
498 2009-09-07 07:06
Re: 2 Problmes 1st is afther installing the other is forum issus. (2 replies, posted in PunBB 1.3 troubleshooting)
Kind of confuzed.
There is no option to change Ecodeing on the forum files?
i have to take the change on the database tables?!
No, there is no special option for this. All files and DB should b in UTF-8.
499 2009-09-07 06:58
Re: Making a new Dutch language pack (9 replies, posted in PunBB 1.3 additions)
Ik ben er weer aan begonnen. Sorry dat er zo lang tussen heeft gezeten...
Deleted. Post in English, please.
500 2009-09-07 06:42
Re: I banned "X" and the messege is showed to me !! (3 replies, posted in PunBB 1.3 troubleshooting)
Perhaps, you banned yourself by IP-address.
Open the file "<FORUM_ROOT>/cache/cache_bans.php"
Find the corresponding record in the ban list and edit it
Than login to your forum, and edit the ban via the administration console.