PunBB Resource

Your ultimate PunBB resource!

Keywords:

    (Extended)

You are not logged in.

#51 2009-07-06 23:04:39

Koos
Administrator
Registered: 2007-01-14
Posts: 524
Website

Re: User Diaries 1.1

Good idea. I'll see if I can add it in the next version.

Offline

 

#52 2009-07-09 07:50:09

jaason
Member
From: Poland
Registered: 2008-11-26
Posts: 29
Website

Re: User Diaries 1.1

one more idea:
user diary is able to add in one post as many pictures as we want ;]

what do You think?

Offline

 

#53 2009-07-09 22:19:46

Koos
Administrator
Registered: 2007-01-14
Posts: 524
Website

Re: User Diaries 1.1

As I mentioned here previously, the idea of the diary is to only show one image per entry - with its associated comments/text. Even its parser is modified not to parse image BBCode. Don't think I will change that.

Offline

 

#54 2009-08-18 10:16:29

jaason
Member
From: Poland
Registered: 2008-11-26
Posts: 29
Website

Re: User Diaries 1.1

Koos do You need any help with newest version?

Offline

 

#55 2009-08-19 22:06:35

Koos
Administrator
Registered: 2007-01-14
Posts: 524
Website

Re: User Diaries 1.1

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 22:16:18)

Offline

 

#56 2009-09-19 11:37:59

mcommunity
Member
Registered: 2009-08-26
Posts: 15

Re: User Diaries 1.1

^ 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 12:05:42)

Offline

 

#57 2009-09-20 18:38:12

Koos
Administrator
Registered: 2007-01-14
Posts: 524
Website

Re: User Diaries 1.1

User Diaries 1.1.4 now available.

Changes made:

(1) Made changes to the install script to work in PostgreSQL

(2) Fixed some style issues

(3) Other minor changes and improvements

Offline

 

#58 2009-09-20 19:02:12

Koos
Administrator
Registered: 2007-01-14
Posts: 524
Website

Re: User Diaries 1.1

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 22:06:51)

Offline

 

#59 2009-09-21 11:13:04

mcommunity
Member
Registered: 2009-08-26
Posts: 15

Re: User Diaries 1.1

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 11:13:28)

Offline

 

#60 2009-09-21 11:42:05

Koos
Administrator
Registered: 2007-01-14
Posts: 524
Website

Re: User Diaries 1.1

To show diary report alerts in the header (which only admin will be able to see), make the following modification:

Code:

#
#---------[ 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

 

#61 2009-09-21 11:43:38

mcommunity
Member
Registered: 2009-08-26
Posts: 15

Re: User Diaries 1.1

^ 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 15:53:27)

Offline

 

#62 2009-09-23 18:30:49

Koos
Administrator
Registered: 2007-01-14
Posts: 524
Website

Re: User Diaries 1.1

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

Code:

//============= START PARSER ===========
...........
...........

//============= END PARSER =============

Replace the first with one with:

Code:

$text = parse_message($text, 1);

and the second one with:

Code:

$text = parse_message($text, 1);
echo $text;

Offline

 

#63 2009-09-24 09:24:44

mcommunity
Member
Registered: 2009-08-26
Posts: 15

Re: User Diaries 1.1

thank you bro.

Offline

 

#64 2009-10-16 05:59:51

doki
Member
Registered: 2007-04-30
Posts: 225

Re: User Diaries 1.1

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

 

#65 2009-10-16 07:59:28

jaason
Member
From: Poland
Registered: 2008-11-26
Posts: 29
Website

Re: User Diaries 1.1

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

 

#66 2009-10-21 02:17:28

doki
Member
Registered: 2007-04-30
Posts: 225

Re: User Diaries 1.1

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-21 02:18:15)

Offline

 

#67 2009-11-24 08:35:49

jaason
Member
From: Poland
Registered: 2008-11-26
Posts: 29
Website

Re: User Diaries 1.1

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

 

#68 2010-01-05 09:09:44

jaason
Member
From: Poland
Registered: 2008-11-26
Posts: 29
Website

Re: User Diaries 1.1

Koos, new year new problems ;]
Is it possible to merge all the diaries to one page and not  creating new page for different each year? Some simple way?;p

Offline

 

#69 2010-05-14 08:02:55

jaason
Member
From: Poland
Registered: 2008-11-26
Posts: 29
Website

Re: User Diaries 1.1

Any Idea how to do that?

Offline

 

Board footer

Based on PunBB
© Copyright 2002–2005 Rickard Andersson

© Copyright 2004–2006 Kristoffer Jansson

User contributed files are property of their respective owners.