Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

[SOLVED] BFA Recent Comments


  #1  
Old Jul 21, 2009, 06:01 PM
Tammy
 
14 posts · Jul 2009
Is it possible to exclude your own comments with this widget? Maybe something that could be edited in the theme editor?

Thanks.
Tammy
  #2  
Old Jul 21, 2009, 07:31 PM
juggledad's Avatar
juggledad
 
23,684 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
When you say your own comments, do you mean 'Admin' or are you asking is there a way to exclude comments made by a particular user or group of users?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jul 21, 2009, 11:05 PM
Tammy
 
14 posts · Jul 2009
Hi Juggledad,

I mean admin comments. This way it will show everyone's comments but mine. I didn't see a way to do this in the widget and was wondering if it was something that could be done in the editor.

Thanks.
Tammy
  #4  
Old Jul 22, 2009, 06:28 AM
juggledad's Avatar
juggledad
 
23,684 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Well you can do this. In Atahualpa 3.4.2 edit bfa_recent_comments.php line 120 should be
HTML Code:
	    foreach ($comments as $comment) {
put the following code right after that line. You must change juggledad to the name you want to skip. This may be 'Admin' or your full name depending on the settings for the user at dashboard->Users
HTML Code:
if ($comment->comment_author == 'juggledad') continue;
you could add multiple copies of this line with different names in it, if there was any need to do that.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Jul 22, 2009, 09:43 AM
Tammy
 
14 posts · Jul 2009
Thank you! That worked!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
BFA Roundabs Header JulioMedina Other BFA WordPress Themes 3 Sep 18, 2009 11:45 AM
[SOLVED] Gravatar not showing on Recent Comments widget jankph Comments, trackbacks & pings 2 Jul 13, 2009 05:59 AM
using Visual Recent Posts with Atahualpa viewdesigninc Plugins & Atahualpa 1 May 19, 2009 09:27 PM
BFA Popular Posts Widget coaxkid Sidebars & Widgets 3 Apr 14, 2009 04:52 PM
More! I want more! (recent posts in sidebar) paulae Sidebars & Widgets 0 Apr 9, 2009 09:43 PM


All times are GMT -6. The time now is 04:26 AM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.