Your ultimate PunBB resource!
You are not logged in.
jaason wrote:
Koos do You need any help with newest version?
Sorry for the long delay. I'm not quite ready yet to support it as a new release, but for those interested, I've completed User Diaries 1.2.0 beta3, which includes the comments system done by jaason.
Download User Diaries 1.2-beta3
Thanks again jaason for your contributions.
Upgrade instructions is included in the archive.
-------
## USER DIARIES 1.2 (COMMENTS VERSION) CHANGELOG:
## v1.2 beta3 :
1. Included all the changes and fixed made in User Diaries 1.1.4
2. Rewrote the comment edit and comment delete scripts (no more pop-up window)
3. Better author name and email address validation for guest comments
4. Admin can now see comment poster ip addresses. Owner of diary can see partial ip addresses of all users/visitors who have posted comments in his diary
## v1.2 beta2 :
1. Fixed some compatibility issues with PostgreSQL
2. Some minor bug fixes
## v1.2 beta1 :
Initial beta release
Last edited by Koos (2009-09-20 14:16:18)
Offline
^ koos im using diaries 1.2.0 beta2.
if i delete comment or edit comment i got this warning
Warning: Cannot modify header information - headers already sent by (output started at /home/mal10023/public_html/diary_comments_delete.php:2) in /home/mal10023/public_html/header.php on line 31
Warning: Cannot modify header information - headers already sent by (output started at /home/mal10023/public_html/diary_comments_delete.php:2) in /home/mal10023/public_html/header.php on line 32
Warning: Cannot modify header information - headers already sent by (output started at /home/mal10023/public_html/diary_comments_delete.php:2) in /home/mal10023/public_html/header.php on line 33
Warning: Cannot modify header information - headers already sent by (output started at /home/mal10023/public_html/diary_comments_delete.php:2) in /home/mal10023/public_html/header.php on line 34
Warning: Cannot modify header information - headers already sent by (output started at /home/mal10023/public_html/diary_comments_delete.php:2) in /home/mal10023/public_html/diary_comments_delete.php on line 42
and one more thing, that diaries would be nice if user can edit his/her comment and the owner of the diary can delete spam or nonsense comment in their diary.
Last edited by mcommunity (2009-09-19 04:05:42)
Offline
mcommunity wrote:
^ koos im using diaries 1.2.0 beta2.
if i delete comment or edit comment i got this warning...
Yes, I also noticed that some browsers give warnings when trying to edit/delete comments in beta2. I'm not very fond of the method of using a pop-up window, so I've updated the comments version of this mod to User Diaries 1.2-beta3.
mcommunity wrote:
and one more thing, that diaries would be nice if user can edit his/her comment and the owner of the diary can delete spam or nonsense comment in their diary.
I'm not sure if that's such a good idea. A user can always report a diary entry, and let admin delete/edit a particular comment.
Last edited by Koos (2009-09-20 14:06:51)
Offline
Koos wrote:
Yes, I also noticed that some browsers give warnings when trying to edit/delete comments in beta2. I'm not very fond of the method of using a pop-up window, so I've updated the comments version of this mod to User Diaries 1.2-beta3.
thanks for updating. that is really nice..
Koos wrote:
I'm not sure if that's such a good idea. A user can always report a diary entry, and let admin delete/edit a particular comment.
yes i think so. btw do you know how to show report alert in forum index?. for example
There are new reports
There are new diary reports
so that its easy to admin notice.
Last edited by mcommunity (2009-09-21 03:13:28)
Offline
To show diary report alerts in the header (which only admin will be able to see), make the following modification:
#
#---------[ 1. OPEN ]---------------------------------------------------------
#
header.php
#
#---------[ 2. FIND (line: 182) ]---------------------------------------------
#
if ($pun_config['o_maintenance'] == '1')
#
#---------[ 3. BEFORE, ADD ]---------------------------------------------------
#
if ($pun_user['g_id'] == PUN_ADMIN)
{
$result_diary_header = $db->query('SELECT COUNT(id) FROM '.$db->prefix.'diary_reports WHERE zapped IS NULL') or error('Unable to fetch diary reports info', __FILE__, __LINE__, $db->error());
if ($db->result($result_diary_header))
$tpl_temp .= "\n\t\t\t\t".'<li class="reportlink"><strong><a href="admin_loader.php?plugin=AP_User_Diaries.php#reports">There are new diary reports</a></strong></li>';
}Offline
^ wow thanks you so much..
Edited :
some of bbcode does not support right? like center bbcode, youtube bbcode etc. do you know how to do if i wanna make its support all bbcode in my forum?
sorry for many question i ask hehehe.
Last edited by mcommunity (2009-09-22 07:53:27)
Offline
mcommunity wrote:
some of bbcode does not support right? like center bbcode, youtube bbcode etc. do you know how to do if i wanna make its support all bbcode in my forum?
That's right, as I mentioned here.
If you really want the user to use all BBCode, try the following:
In diary.php, find the two code blocks
//============= START PARSER =========== ........... ........... //============= END PARSER =============
Replace the first with one with:
$text = parse_message($text, 1);
and the second one with:
$text = parse_message($text, 1); echo $text;
Offline
Hi koos, How about adding a email alert (like on PM Mod) if somebody posted a comments on the diary entry? It would be nice to notify the poster when somebody commented on his post.
Thanks
Offline
Great work Koos!
Nice idea to make it without popup windows (I had some problems with that, I think...;p)
In my version I've added in main page of User Diaries (where You have got: Entries, Photo, New) the number of all comments ;]
I was thinking of some kind of system, that will inform some way a user that there is a new comment. E-mail is a good idea, but we need to let people to turn this option off if the want too. I think, that affect another user table... Maybe any other ideas? Maybe mark posts with new comments on the red?
Offline
Hi koos,
i notice that the cite.gif is missing on this part of css (diary_comments_main.css).
cite {
background:url(../images/cite.gif) no-repeat top left;
font-family:"Minion Pro", Constantia, Georgia, Times, "Times New Roman", serif;
font-style: italic;
padding:0 0 0 30px;
margin:0 0 0 20px;
display:
/* End Comments */
Last edited by doki (2009-10-20 18:18:15)
Offline
i notice that the cite.gif is missing on this part of css (diary_comments_main.css).
heh, I forgot to add this image when I was creating this pack. After all I lost it. But if You really want I can create one.
Offline