Search Results for 'wordpress'
-
Search Results
-
Topic: Adding a “New Topic” button
Hi,
I’m new to Buddypress development and I’m looking to add a button on the page that displays a list of topics within a forum. Creating the markup to create the button that jumps to the form at the bottom of the page is no problem, but I am struggling to find where to modify the template to add the button.
From what I understand, the forum pages use the default ‘page.php’ template from the active wordpress theme. Is there a way to detect when you are on this type of page using some sort of method from buddypress i.e. is_forum_page()?
If this method is not available, can someone point me in the direction of the code within the buddypress plugin that outputs the content, so that I can modify the output?
Apologies if this has already been covered or if I’m missing the point, but I’ve struggled to find an answer to this problem through the forums.
Thanks v much in advance.
I have a site at ElliottAnalysis.com. When my site appears on other sites blog rolls, the rss of the site wide activity is displayed instead of the rss of the wordpress. I’m not sure why this is the case. I’ve been looking for a clue all over the place but no luck. Anyone can help on this. Much appreciated.
Topic: Buddypress breaks https
I added
`# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.mysite.com/$1 [R,L]# END WordPress`
To the .htaccess file and the entire site went https (I have a private SSL and dedicated IP).
I installed/activated BuddyPress and the entire site has a broken https with the following message:
Your connection to http://www.mysite.com is encrypted with 256-bit encryption. However, this page includes other resources which are not secure. These resources can be viewed by others while in transit, and can be modified by an attacker to change the behavior of the page.The connection uses TLS 1.0.
The connection is encrypted using AES_256_CBC, with SHA1 for message authentication and DHE_RSA as the key exchange mechanism.
The connection is not compressed.
Today the have released a sql injection for BP
I recently installed Buddypress plugin Version 1.5.5, And the WordPress version 3.3.1,
I created 2 user a) user 1 (admin). b) user 2 (Normal user).
User1(admin) will login and click on members tab it will take to the member page, i.e “http://localhost/projects/headstart/members/”
if admin try to click on user1(admin) view Link (view his profile page), it takes to this URL “http://localhost/projects/headstart/members/headstart/activity/4 “
Which is Error page,
![Error][1]
” Page not found We’re sorry, but we can’t find the page that you’re looking for. Perhaps searching will help.”
Similarly User2(Normal user)will login, and click on members tab it will take to the member page , i.e “http://localhost/projects/headstart/members/”
If Normal user try to click on user2(Normal user) view Link (view his profile page), it takes to this URL “http://localhost/projects/headstart/member/Normal user/”. which is working fine
Can anyone please answer why is it throwing an error when admin tries to login and view his profile page ?
I think I resolved the issue. The issue was that only users that are on GMAIL receive new user activation email upon joining my buddypress powered site. Users in other email domains were not receiving user activation emails. I am running my own VPS based host, essentailly I own the server with public IP that is running WP and BP, so I think this situation might apply to others, hence this post. I am hoping this could help others with similar email issues.
Here are the of my install:
1. WordPress version 3.3.1
2. WordPress installed as directory
3. WordPress installed in root
4. Fresh Install
5. Fresh install of BP version 1.5.4 define( ‘BP_ENABLE_MULTIBLOG’, true);
6. Running LEMP server (CentOS 5.8+Nginx +MySQL+PHP)7. Started troubleshooting by checking sendmail logs:
cat /var/spool/mail/nginx8. Observed following error messages:
The following addresses had permanent fatal errors
(reason: 554 Denied [SHXBL] – Denied by Spamhaus XBL – See http://www.spamhaus.org/query/bl?ip=my.host.ip.add (Mode: normal))9. Followed link provided to spamhaus which presented me with:
my.host.ip.add is listed in the XBL, because it appears in:
CBL (link to CBL)
10. Followed CBL Link to read:
“This IP address is HELO’ing as “localhost.localdomain” which violates the relevant standards (specifically: RFC5321)”11. Followed link provided to http://cbl.abuseat.org/namingproblems.html
the gist of which is:
“There are two basic types of detections that land an IP in this page. RFC2821 section 4.1.1.1 says that there are only two legal types of HELO/EHLO a mail server can issue – either a fully qualified domain name (eg: “mail.example.com”) or an “IP literal” (eg: “[1.2.3.4]”).”12. Followed instructions to fix link for UNIX system (also there is a link for Windows) to http://cbl.abuseat.org/sendmailhelp.html
13. completed fix to sendmail.cf file, I chose to respond to HELO as [my.host.ip.add] fashion and completed sendmail restart.
14. you will now need to delist your domain from CBL – go back to CBL link (it will complain about timestamp, so might have to do it through spamhaus link) and at the bottom of the page there should be link to request de-listing. Click and wait 1-2 hours
14. I tested again, by sending registration email from my BP install (signed up new user) to check how the email header is received now, here is a comparison for before and after. Then fix was confirmed working as registration email came through to another email domain
Before:
Received: from localhost.localdomain ([my.host.ip.add])
by mx.google.com with ESMTP id e70si6268183yhk.134.2012.03.30.09.16.56;
Fri, 30 Mar 2012 09:16:56 -0700 (PDT)After:
Received: from [my.host.ip.add] ([my.host.ip.add])
by mx.google.com with ESMTP id n5si4532434614yhm.135.2012.03.30.11.24.59;
Fri, 30 Mar 2012 11:24:59 -0700 (PDT)
