[MODDB] Simple profile comments 1.6.1

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Scam Warning
User avatar
phreakwars
Registered User
Posts: 239
Joined: Thu Feb 22, 2007 4:57 am
Location: Polaris Industries

Re: [BETA] Simple profile comments 1.5.0

Post by phreakwars »

Just an FYI, it's not a big deal or anything, on line 677 of your install XML, it says

Code: Select all

Browse to www.yoursite.com/simple_comment_intall.php and follow the steps!
You mis-spelled install. :lol:
.
.
MODS by me: Default Topic Icon
platinum_2007
Registered User
Posts: 1101
Joined: Tue Jul 22, 2008 2:47 am
Location: Nova Scotia, Canada

Re: [BETA] Simple profile comments 1.5.0

Post by platinum_2007 »

phreakwars wrote:Just an FYI, it's not a big deal or anything, on line 677 of your install XML, it says

Code: Select all

Browse to www.yoursite.com/simple_comment_intall.php and follow the steps!
You mis-spelled install. :lol:
.
.

Thanks that will be fixed :D
User avatar
[o0]
Registered User
Posts: 23
Joined: Sat Apr 25, 2009 10:04 am
Location: Germany
Contact:

Re: [BETA] Simple profile comments 1.5.0

Post by [o0] »

I really like this Mod.. but there's imho one very important feature missing: If you get a new comment you dont' get informed about this, so getting an Email or a private Message would be very useful.
platinum_2007
Registered User
Posts: 1101
Joined: Tue Jul 22, 2008 2:47 am
Location: Nova Scotia, Canada

Re: [BETA] Simple profile comments 1.5.0

Post by platinum_2007 »

[o0] wrote:I really like this Mod.. but there's imho one very important feature missing: If you get a new comment you dont' get informed about this, so getting an Email or a private Message would be very useful.
1.5.0 has this feature :) it has to be enabled in your User Control Panel and you will be notified by email.
User avatar
[o0]
Registered User
Posts: 23
Joined: Sat Apr 25, 2009 10:04 am
Location: Germany
Contact:

Re: [BETA] Simple profile comments 1.5.0

Post by [o0] »

Oh, sorry, I just looked in the ACP for that option =/

But if that option is set to "no" by default, is it possible to change that? So that new registered users already have this option switched to "yes". And for already registered users: Is it possible to change their settings to "yes"? Perhabs somehow directly in the database with phpMyAdmin oder sth like that.. sorry I'm not good at all in mySQL.


(By the way, great mod, thanks for developing it ;])
platinum_2007
Registered User
Posts: 1101
Joined: Tue Jul 22, 2008 2:47 am
Location: Nova Scotia, Canada

Re: [BETA] Simple profile comments 1.5.0

Post by platinum_2007 »

[o0] wrote:Oh, sorry, I just looked in the ACP for that option =/

But if that option is set to "no" by default, is it possible to change that? So that new registered users already have this option switched to "yes". And for already registered users: Is it possible to change their settings to "yes"? Perhabs somehow directly in the database with phpMyAdmin oder sth like that.. sorry I'm not good at all in mySQL.


(By the way, great mod, thanks for developing it ;])
Yes in the Database under the users table you could set the default value to 1 as its at 0 rite now, that way new registrants will have the setting on by default. This will be default in the final version.

you could run a query to change all the settings rite now if you want.

Code: Select all

UPDATE phpbb_users set allow_comment_email = 1 WHERE allow_comment_email = 0
Should do the trick
User avatar
[o0]
Registered User
Posts: 23
Joined: Sat Apr 25, 2009 10:04 am
Location: Germany
Contact:

Re: [BETA] Simple profile comments 1.5.0

Post by [o0] »

Thanks, seems like it works.. ;]
40kforums
Registered User
Posts: 9
Joined: Tue Feb 14, 2006 5:32 pm

Re: [BETA] Simple profile comments 1.5.0

Post by 40kforums »

Installed all this fine, and works well - great mod, thanks!

However, despite guests and bots not being able to physically see the comments (the comments themselves, the form, etc.) - I am still getting 1-2 bots commenting on users profiles per day (as "Anonymous" users). I have tested myself and guests do not see the comments system on the profile pages - is there somewhere else, or somehow that they could be submitting a comment regardless?
User avatar
Ashley.S.
Registered User
Posts: 469
Joined: Mon Aug 04, 2008 6:01 pm
Location: Falmouth, Cornwall, UK
Name: Ashley .S.
Contact:

Re: [BETA] Simple profile comments 1.5.0

Post by Ashley.S. »

40kforums wrote:Installed all this fine, and works well - great mod, thanks!

However, despite guests and bots not being able to physically see the comments (the comments themselves, the form, etc.) - I am still getting 1-2 bots commenting on users profiles per day (as "Anonymous" users). I have tested myself and guests do not see the comments system on the profile pages - is there somewhere else, or somehow that they could be submitting a comment regardless?
I just had the same problem, I had to set the permission role to "never" I hope it stops it, but originally it was set to no anyway, so how the heck did they bypass it anyway :? I hope it's not a bug in phpbb 3.0.5
Regards,
-Ashley.S. [ PurephpBB Founder ]
thesilmister
Registered User
Posts: 5
Joined: Tue Jun 16, 2009 10:50 am

Re: [BETA] Simple profile comments 1.5.0

Post by thesilmister »

I have installed the mod and almost everything is working perfectly. The only problem is that whenever I make a comment (no matter from who or to who - admin or no admin) the list of comments come up twice. Basically it duplicates all the comments.

In the ACP log they are all individual comments as is the actual table in the Mysql database. It seems to only be the output on the comments page that is duplicated. I have checked the code in memberlist_view.html and it only shows the comments list ONCE.. I'll attach the code in memberlist_view.html here:

Code: Select all

	<!-- IF SIGNATURE -->
		<tr>
			<td class="cat" colspan="2" align="center"><h4>{L_SIGNATURE}</h4></td>
		</tr>
		<tr>
			<td class="row1" colspan="2"><div class="postbody" style="padding: 10px;">{SIGNATURE}</div></td>
		</tr>
	<!-- ENDIF -->
	</table>

	</form>

</div>

<br clear="all" />

<!-- IF SIMPLE_COMMENT_ENABLED -->
<!-- IF ALLOW_ALL_COMMENT -->
<!-- IF ALLOW_FRIEND_VIEW && not FRIEND -->
<!-- ELSE -->
	<ul class="linklist">
    <li class="rightside pagination">{TOTAL_COMMENT} &bull; <!-- IF PAGINATION --><a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> &bull; <span>{PAGINATION}</span><!-- ELSE -->{PAGE_NUMBER}<!-- ENDIF --></li>
</ul>

    <div class="navbar">
			<div class="inner"><span class="corners-top"><span></span></span>

<table class="tablebg" width="100%" cellspacing="0">
			<th colspan="2"> {L_PROFILE_COMMENTS}  </th>
	<!-- BEGIN comment -->
	<tr>
		<td rowspan="3" width="23%" align="center">{comment.COMMENT_AUTHOR}<br /><a href="{comment.USER_URL}">{comment.COMMENT_AVATAR_THUMB}</a><br />{comment.COMMENT_DATE}
		</td>
	</tr>

	<tr align="right">
		<td colspan="2">
		{comment.COMMENT_DATE_TIME}&nbsp;
		</td>
	</tr>
	<tr align="center">
		<td width="85%" rowspan="2"> <p align="right" >&nbsp;</p>
  		<p>{comment.COMMENT_TEXT}</p>
  		</td>
	</tr>
	
	<tr>
	<!-- IF comment.CAN_DELETE or (U_MCP or U_ACP) -->
		<td width="23%" colspan="2"><a href="{comment.DELETE_URL}"><span>{DELETE_IMG}</span></a>&nbsp;&nbsp;
		</td>
	<!-- ENDIF -->
	</tr>
	<tr>
		<td colspan="2">
		<hr style="border-top-style : dashed;" />
		</td>
	</tr>
<!-- END comment -->
</table>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->
<p>&nbsp;</p>
<!-- IF S_USER_LOGGED_IN -->
<!-- IF ALLOW_FRIEND_ONLY && not FRIEND  -->
<!-- ELSE  -->


<table class="tablebg" width="100%" cellspacing="0">
<th> {L_PROFILE_COMMENT_SUB} </th>
<form action="{NEW_COMMENT}" method="post" id="postform" name="comment">
<tr align="center">
	<td>
		<textarea name="comment_text" id="message" cols="100" rows="5"></textarea>
		<input name="comment_to_id" type="hidden" value="{COMMENT_TO_ID}" />
	</td>
</tr>
<tr align="center">
	<td>
		<input name="submit" type="submit" id="submit" value="{L_SUBMIT}" />
	</td>
</tr>
</form>
</table>

<!-- ENDIF -->
<!-- ENDIF -->
<!-- ENDIF -->
<!-- ENDIF -->

<!-- INCLUDE breadcrumbs.html -->

<br clear="all" />

<div style="float: {S_CONTENT_FLOW_END};"><!-- INCLUDE jumpbox.html --></div>

<!-- INCLUDE overall_footer.html -->
Here's a screenshot: http://img151.imageshack.us/img151/1/screenshotxbi.png

I really can't work out why it would be doing this. I've cleared cache. I've re-checked the html code. The only thing might be in some of the function files but I don't know what to do.

Any help would be greatly appreciated.
platinum_2007
Registered User
Posts: 1101
Joined: Tue Jul 22, 2008 2:47 am
Location: Nova Scotia, Canada

Re: [BETA] Simple profile comments 1.5.0

Post by platinum_2007 »

None of the comments in that screenshot look duplicated. Do you have a test users and site URL i could check it out on?
thesilmister
Registered User
Posts: 5
Joined: Tue Jun 16, 2009 10:50 am

Re: [BETA] Simple profile comments 1.5.0

Post by thesilmister »

http://img199.yfrog.com/img199/8149/screenshotidw.png

here I uploaded it bigger than before.. I didn't realise it was so small, sorry.

And you'll notice that the # of comments says only 6, but there are clearly 12.

Demo URL: XXX
Demo User: XXX

* Edit: Removed the Demo URL and User details. Fixed a self-made problem.
Last edited by thesilmister on Tue Jun 16, 2009 1:28 pm, edited 1 time in total.
thesilmister
Registered User
Posts: 5
Joined: Tue Jun 16, 2009 10:50 am

Re: [BETA] Simple profile comments 1.5.0

Post by thesilmister »

Can you see the problem now?
thesilmister
Registered User
Posts: 5
Joined: Tue Jun 16, 2009 10:50 am

Re: [BETA] Simple profile comments 1.5.0

Post by thesilmister »

Okay, I have to apologise profusely (i'm sorry i'm sorry i'm sorry ... etc.) as I actually had copied the code in memberlist.php twice, therefore gathering the data two times instead of just once. It's my fault and not the Mod's.

Thanks, though.
platinum_2007
Registered User
Posts: 1101
Joined: Tue Jul 22, 2008 2:47 am
Location: Nova Scotia, Canada

Re: [BETA] Simple profile comments 1.5.0

Post by platinum_2007 »

thesilmister wrote:Okay, I have to apologise profusely (i'm sorry i'm sorry i'm sorry ... etc.) as I actually had copied the code in memberlist.php twice, therefore gathering the data two times instead of just once. It's my fault and not the Mod's.

Thanks, though.

Thanks for letting me know :lol: I thought i made a mistake in the subsilver2 edits so i was testing with no luck.
Locked

Return to “[3.0.x] MODs in Development”