- 
	
	mariochampion posted on the forum topic First stable release & Docs in the group BuddyPress Moderation: 15 years, 1 month ago @footybible i dont ftp access to the serevr from my home laptop, but there is a php file in the plugin dir and i think its called bpModAbstractDBObj.php (see aaron’s post) do a search for “function __construct($id = false) {” or just scan the code and you ll see the place to paste in aaron’s line. […] 
- 
	
	mariochampion posted on the forum topic First stable release & Docs in the group BuddyPress Moderation: 15 years, 1 month ago @aaronfrerichs 
 NICE FIND! worked for me.
 bp moderation 0.1.1
 bp 1.2.5.2
 wp3.0.1
- 
	
	mariochampion joined the group BuddyPress Moderation 15 years, 1 month ago 
- 
	
	mariochampion posted on the forum topic How to Remove and Add Items in "bp_get_displayed_user_nav" in the group How-To and Troubleshooting: 15 years, 1 month ago one quick update: the double add_action is actually taken from an example at bp-core-settings.php (in the bp_core_add_settings_nav() function) NOT bp-xprofile.php, which does in fact use bp_setup_nav to hook into for setting up profile nav/sub-nav items. my guess is bp_core_new_subnav_item adds to an array, and includes a dupe check to the array…[Read more] 
- 
	
	mariochampion posted on the forum topic How to Remove and Add Items in "bp_get_displayed_user_nav" in the group How-To and Troubleshooting: 15 years, 1 month ago just to add to this discussion, concerning what hook to link it to…this is what works for me. i didnt have luck with bp_setup_nav for some reason. i dont recall where i got this example, but think its bp-xprofile.php itself. this worked in both theme>functions.php and in my own mmc_functions.php which i “require()” in functions.php […] 
- 
	
	mariochampion posted an update 15 years, 2 months ago @nebril hey nevermind… i had a typo in my add_action! dah, always the OTHER place i should have been looking. 
- 
	
	mariochampion posted an update 15 years, 2 months ago @nebril hey mack: i’m trying the same thing, and failing… since you say you got it to work would you mind sharing. here is what i am trying, with some hardcoded IDs/content just for testing: //TODO: check usermeta for having sent already, replace 1==1 with that check 
 if(1==1){
 echo ““;
 messages_new_message(
 array(
 ‘thread_id’…[Read more]
- 
	
	mariochampion posted on the forum topic XPROFILE textbox input not santized, so i added this… in the group How-To and Troubleshooting: 15 years, 2 months ago woohoo, and happy to help where i could! and, ya know, reading the tracticket i see a comment about making it conditional to textbox types only. i actually spent a bit of time trying to figure that out, but, i didnt know how to pass the right $this->type value from the object in the BP_XPROFILE_somethingortheother […] 
- 
	
	mariochampion started the forum topic XPROFILE textbox input not santized, so i added this… in the group How-To and Troubleshooting: 15 years, 2 months ago hey all: been setting up a client using wp3.0.1 and bp 1.2.5, and doing a little testing and i noted that if you created a textbox xprofile field (say to collect zipcode) and put something in it like: (script)bad stuff here;(/script) –obviously using brackets, tho — the database would, lo and behold, not sanitize the […] 
- 
	
	mariochampion joined the group How-To and Troubleshooting 15 years, 2 months ago 
	@mariochampion
	Not recently active