-
hnla posted on the forum topic Fatal Error with BP installation in the group Installing BuddyPress: 15 years, 6 months ago
Increase script execution time? or better still manually download the BP zip unzip it to the plugins folder and activate, that would be the more usual approach really.
-
hnla posted on the forum topic How to list content relevant to a logged-in member's interests (WAS: 1.2.6 upgrade – xprofile_get_fi in the group How-To and Troubleshooting: 15 years, 6 months ago
Playing around a little and added couple of little things:
if (is_user_logged_in() && xprofile_get_field_data('13' , bp_loggedin_user_id()) )Added the get_field in as a check to see if users had made any selections If not added a final ‘else’ to provide convenient link to the edit screen (hard coded values to be adjusted) ` Content of… -
hnla posted on the forum topic What necessary changes should be made to BP themes for BP 1.2.6 in the group How-To and Troubleshooting: 15 years, 6 months ago
thinking about it it does need to be ‘!’ not otherwise the add_action will only run when that function returns true and we don’t want it running if true
-
hnla posted on the forum topic What necessary changes should be made to BP themes for BP 1.2.6 in the group How-To and Troubleshooting: 15 years, 6 months ago
! == ‘Not’
and isn’t really needed the function is either true or false 1 or 0 on it’s own it answers it’s own question – remove the ‘!’ and test again that it works as expected.
Cool well done had a feeling it was better to simply not run function if user logged in
-
hnla posted on the forum topic How to list content relevant to a logged-in member's interests (WAS: 1.2.6 upgrade – xprofile_get_fi in the group How-To and Troubleshooting: 15 years, 6 months ago
Looks good, going to give that play with later 🙂
Wonder how well browsers work now with display:run-in; on that heading as the property was made for something like this.
-
hnla posted on the forum topic What necessary changes should be made to BP themes for BP 1.2.6 in the group How-To and Troubleshooting: 15 years, 6 months ago
You had it almost correct earlier a little more testing and playing around and you would have got there. add back in the outer ‘if’ parent to check first whether the user is logged in so that is as I have shown before: !is_user_logged_in() Then follow with the other ‘if’ as done before but make […]
-
hnla posted on the forum topic How to list content relevant to a logged-in member's interests (WAS: 1.2.6 upgrade – xprofile_get_fi in the group How-To and Troubleshooting: 15 years, 6 months ago
@rogercoathup hmm yes like the sound of personalised content, in fact like the sound of that a great deal. think I was struggling to fit the profile checkboxes in to the equation despite having played around with using profile fields to, in some manner, confer extra meta data on members but penny finally dropped, and I’m […]
-
hnla posted on the forum topic How to list content relevant to a logged-in member's interests (WAS: 1.2.6 upgrade – xprofile_get_fi in the group How-To and Troubleshooting: 15 years, 6 months ago
This may seem to be nit picking but I noted the print_r on the array to actually render browser output and within a heading tag. The heading tag use is debatable but as a heading probably ought not have list items in that manner I would have probably thought to output a floated ul li […]
-
hnla posted on the forum topic How to list content relevant to a logged-in member's interests (WAS: 1.2.6 upgrade – xprofile_get_fi in the group How-To and Troubleshooting: 15 years, 6 months ago
Sounds rather interesting although I’m struggling slightly to mentally envision this in a page but that’s my slow brain 🙂 need to study what you’ve written above in more detail.
-
hnla posted on the forum topic 1.2.6 upgrade – xprofile_get_field_data with checkboxes no longer working correctly in the group How-To and Troubleshooting: 15 years, 6 months ago
Probably need to look up your php functions, what about implode() ?
-
hnla posted on the forum topic What necessary changes should be made to BP themes for BP 1.2.6 in the group How-To and Troubleshooting: 15 years, 6 months ago
No you’re over complicating you don’t need to add whatever is already stated i.e padding-top: 25px just remove it if certain conditions are met.
As Roger pointed out the single ‘=’ needs to become the correct ‘is equal to’ operator ‘==’
-
hnla posted on the forum topic What necessary changes should be made to BP themes for BP 1.2.6 in the group How-To and Troubleshooting: 15 years, 6 months ago
There you go that was my bad as I wrote that incorrectly in the original and then completely overlooked it when testing it earlier, time to give up this coding game!
Good spot Roger
-
hnla posted on the forum topic What necessary changes should be made to BP themes for BP 1.2.6 in the group How-To and Troubleshooting: 15 years, 6 months ago
Nope can’t make it work tried many variances and approaches – sorry can’t really spend longer ion it I would now suggest you take this to the theme authors for support.
-
hnla posted on the forum topic What necessary changes should be made to BP themes for BP 1.2.6 in the group How-To and Troubleshooting: 15 years, 6 months ago
Erm have you actually tried to add the above snippet adjustment, it’s really not hugely more difficult than the stage you must have already completed in copying my function to your functions.php file. Take what I have shown above and add it to the end of the statements that live inside if ( ) so […]
-
hnla posted on the forum topic Upgraded to 1.2.6 and it threw it all off…White Screen, No Admin…I'm stuck. in the group Installing BuddyPress: 15 years, 6 months ago
@svenson
Your comment has no bearing on this thread, so not sure why you posted it here.if you wish to contact Boone please use appropriate methods, either an update directly using the @mention system or post your comment in the appropriate group for the plugin you refer to.
-
hnla posted on the forum topic On BuddyPress 1.2.6, the member page has two add friend buttons… in the group How-To and Troubleshooting: 15 years, 6 months ago
@twinfinity I am support for two web hosting forums, I understand very well to search first Thanks for trying, and apologies on behalf of the site search for not returning you any useful results – site search does need a bit of tuning 🙂 I tend to search on more general broad terms due to this, I […]
-
hnla posted on the forum topic On BuddyPress 1.2.6, the member page has two add friend buttons… in the group How-To and Troubleshooting: 15 years, 6 months ago
No you removed the wrong one! The reason 1.2.5.2 didn’t show the issue was that it didn’t change until 1.2.6. The button is rendered via the do_action now but both still will work thus the duplicates. There were a few threads on this in the last couple of days so please check the forum posts […]
-
hnla posted on the forum topic WordPress or Buddypress folder size dramatically increased in short period of time in the group How-To and Troubleshooting: 15 years, 6 months ago
Good point if your logs aren’t being rotated you’ll end up running out of disk space completely, I forgot about rotating a log tried to open it in my editor to scan through, it editor wasn’t happy at all.
-
hnla posted on the forum topic Just Installed – links aren't working in the group Installing BuddyPress: 15 years, 6 months ago
Not familiar with Zeus.
Can it not be asked to use mod_rewrite
A lot of threads on this issue:
-
hnla posted on the forum topic Just Installed – links aren't working in the group Installing BuddyPress: 15 years, 6 months ago
The permalinks screen would say if it could write if it couldn’t it would present you with what needs to be copy/pasted to the file manually.
What server? IIS?
There are threads on the forum that deal with this pathinfo situation iirc but granted sometimes they can be hard to track down.
- Load More
@hnla
Active 7 years, 9 months ago