| Author |
Message |
BatSk8
MD user level 1


Joined: Feb 05, 2006
Posts: 17
Member
|
 Posted:
Feb 05, 2006 - 03:33 AM |
|
| Post subject: New comments module based on Ns-Comments |
Hi there,
First I'm sorry for my English, because I'm from Poland
I write comment module based on Ns-Comments.
Now I rename this module for Comments Ex. Instalation is very easy - only replace files in modules/Ns-Comments or modules/Comments.
New functions:
Template engine for modyfication comment design
Reply to comments now is not a link, but now is comment with blockquote
Better permission system
Quick reply form on bottom comments
Avatars with nick and other info in comment (compatible with Avatar 1.0 module)
I deleted not important inputs in top (sort, moderating etc)
Only admin can write comment with HTML, user cant usign tags (but I will add BBcode hack)
Instalation is very easy (replace files) and this module is fully compatible with table "comments"
And much more
Newest version is RC2 (beta), but I ended finally version and later I will write version 2.0 with more new functions
This is demo in my site:
www.underflip.pl/Bag-Of-Suck-nowy-film- ... id176.html
This is support topic:
www.post-nuke.pl/index.php?module=pnFor ... opic=10426
I will make a support page (www.ex.bilsoftware.com) in english language.
I'm waiting for tests and comments  |
_________________ www.underflip.pl
Last edited by BatSk8 on Feb 09, 2006 - 03:58 AM; edited 1 time in total |
|
|
 |
PeteBest
MD user level 5


Joined: Oct 06, 2003
Posts: 4845
bannato
|
 Posted:
Feb 05, 2006 - 04:10 AM |
|
|
Sounds interesting, I'll check it out later. Thanks for posting it here |
_________________ Retired from official MAXdev duties |
|
|
 |
BatSk8
MD user level 1


Joined: Feb 05, 2006
Posts: 17
bannato
|
 Posted:
Feb 07, 2006 - 01:10 AM |
|
|
I forgot translate Polish lang to English
Please add this to lang/eng/global.php
| Code:
|
define('_EXAUTHOR','Nick:');
define('_EXSUBJECT','Topic:');
define('_EXHTML','HTML IS BLOCKED');
define('_EXTXT','Comments wrote authors, We ...'); // this will be warning, but my English is bad and I can't write this :D
define('_EXLOGOUT','Logout');
define('_EXLOG','If you want post a comment, you must will be logged in.');
|
|
_________________ www.underflip.pl |
|
|
 |
BatSk8
MD user level 1


Joined: Feb 05, 2006
Posts: 17
bannato
|
 Posted:
Feb 08, 2006 - 02:58 AM |
|
|
|
|
 |
Peter
MDBooster


Joined: Aug 04, 2003
Posts: 58
Location: Paris / French
bannato
|
 Posted:
Feb 08, 2006 - 04:02 AM |
|
|
BatSk8,
Very very very good job!
Afflicted, I do not have them it courage to test it on my site!
But being that a simple user, I find it thousand times better than the initial version, the tien, it is more convivial and simpler.
A small suggestion!
Can you make the same thing for the module "NS-poll", because the comment part is really rotted?
And still cheer!
Peter |
_________________ Webmaster of Invention - Europe |
|
|
 |
BatSk8
MD user level 1


Joined: Feb 05, 2006
Posts: 17
bannato
|
 Posted:
Feb 08, 2006 - 07:18 AM |
|
|
Thanks
| Quote: |
Can you make the same thing for the module "NS-poll", because the comment part is really rotted?
|
Yes, in free time and I will add this to final version this module. |
_________________ www.underflip.pl |
|
|
 |
Peter
MDBooster


Joined: Aug 04, 2003
Posts: 58
Location: Paris / French
bannato
|
 Posted:
Feb 08, 2006 - 10:22 AM |
|
|
BatSk8,
Highly the final version!
Here translation to be added for French:
| Code:
|
define("_EXAUTHOR","Auteur :");
define("_EXSUBJECT","Sujet :");
define("_EXHTML","HTML EST BLOQUÉ");
define("_EXTXT","Les commentaires sont la propriété de leurs auteurs. Nous ne sommes pas responsable de leur contenu !"); // this will be warning, but my English is bad and I can't write this :D
define("_EXLOGOUT","Déconnexion");
define("_EXLOG","Si vous voulez poster un commentaire, vous devez avoir un compte de membre.");
|
Another suggestion!
To have the possibility of being able to print the comment alone or with their answers!
Thanks
Peter |
_________________ Webmaster of Invention - Europe |
|
|
 |
NateM
MD user level 5


Joined: June 19, 2005
Posts: 165
bannato
|
 Posted:
Feb 08, 2006 - 10:48 AM |
|
|
What do you mean by "with their answers"? You mean like quoting them? |
|
|
|
|
 |
Peter
MDBooster


Joined: Aug 04, 2003
Posts: 58
Location: Paris / French
bannato
|
 Posted:
Feb 08, 2006 - 11:31 AM |
|
|
NateM,
It is to make it possible to have a page to make it possible to print the comment and also, in option, to be able to add the answers of the comment.
Peter |
_________________ Webmaster of Invention - Europe |
|
|
 |
Seb
MD Staff


Joined: Nov 24, 2003
Posts: 283
Location: Birmingham, UK
bannato
|
 Posted:
Feb 08, 2006 - 12:15 PM |
|
|
What Peter means is if it would be possible to print the comment and the ability to include or not the replies to the initial comment.
Nice work BatSk8 and thanks for sharing it here. I'll give it a go as soon as I have time,
Seb |
_________________ French Support Manager
http://www.maxdevfrance.com |
|
|
 |
Peter
MDBooster


Joined: Aug 04, 2003
Posts: 58
Location: Paris / French
bannato
|
 Posted:
Feb 08, 2006 - 12:36 PM |
|
|
Seb,
It was right a suggestion, I do not know if that is possible, it has that BatSk8 which can say it!
Peter |
_________________ Webmaster of Invention - Europe |
|
|
 |
BatSk8
MD user level 1


Joined: Feb 05, 2006
Posts: 17
bannato
|
 Posted:
Feb 08, 2006 - 11:37 PM |
|
|
Thanks all.
I forgot write here small template edit tutorial here. In RC2 template have only for quick reply, but in final version comments will have template too. And now template is in index file, but I will add include for this.
In line 60 we see this:
and under this is my test template:
| Code:
|
<br />
<div class="pn-normal">Szybki komentarz</div>
<div class="pn-sub"><small> HTML jest zablokowany.</small></div>
<br />
<div class="pn-normal">
%formastart% %temat%
<div style="text-align:justify">%komentuj%</div>
%inputy% %formaend%</div>
<div>
%fullbutton%
</div>
<br />
|
This is easy for edit. See this:
Important vars:
%formastart% - open a form tag
%temat% - topic input
%komentuj% - comment textarea
%inputy% - other inputs
%formaend% - form end tag
Other var:
%fullbutton% - button for full reply (the same of this in top)
Edit:
Sorry, but I forgot change function pnusergetidfromname() from PostNuke to MdPro. I will add new file with new lang. I'm so sorry for my inattention
Edit:
Ok, now all is ok. You can download this.
Official site: www.ex.bilsoftware.com  |
| Description: |
|
 Download |
| Filename: |
mdcomments.rar |
| Filesize: |
33.67 KB |
| Downloaded: |
646 Time(s) |
_________________ www.underflip.pl
Last edited by BatSk8 on Feb 10, 2006 - 12:51 AM; edited 1 time in total |
|
|
 |
BatSk8
MD user level 1


Joined: Feb 05, 2006
Posts: 17
bannato
|
 Posted:
Feb 10, 2006 - 12:28 AM |
|
|
I made this module for PostNuke and it works, but beta for MdPro does not fully work.
This is demo on MdPro site:
http://www.underflip.pl/mdpro/modules.p ... mp;thold=0
Please waiting for final version
In final version:
- all must work
- comments for Ns-Polls
- new comments block
I will post here, when I repair bugs.
Thank's all and best regards |
_________________ www.underflip.pl |
|
|
 |
Peter
MDBooster


Joined: Aug 04, 2003
Posts: 58
Location: Paris / French
bannato
|
 Posted:
Feb 10, 2006 - 01:37 AM |
|
|
BatSk8,
Very good idea to have to add a bond in the block news.
I think who must have a problem with the avatar!
Very good job!
Peter |
_________________ Webmaster of Invention - Europe |
|
|
 |
BatSk8
MD user level 1


Joined: Feb 05, 2006
Posts: 17
bannato
|
 Posted:
Feb 10, 2006 - 03:41 AM |
|
|
| Quote: |
I think who must have a problem with the avatar!
|
Hehe. This is now only compatible with Avatar 1.0 module and my avatars hack have bugs (guest have [img src=""]). Don't worry - in final version all will be good  |
_________________ www.underflip.pl |
|
|
 |
|
|