Search Results for 'theme'
-
AuthorSearch Results
-
August 24, 2010 at 8:57 pm #90230
In reply to: Why is it a bad idea to copy “bp-default” theme?
Boone Gorges
KeymasterWhen BuddyPress is updated, changes are often made to bp-default, either to fix bugs, make styling tweaks, or support new features. If you are not inheriting the version of bp-default that is bundled with BuddyPress (in other words, if you copy the entire theme into wp-content/themes and use that instead), then you either won’t get these updates, or you’ll have to manually apply them.
Using a child theme is great in this way. If you use a child theme, you are only supplying the files that you plan on changing, while the rest of the necessary template files are automatically inherited from the parent (in this case, bp-default). This is an especially good idea if you’re only going to make small, CSS-ish changes to bp-default.
August 24, 2010 at 7:34 pm #90225In reply to: BuddyPress Spam
Roger Coathup
ParticipantAugust 24, 2010 at 7:24 pm #90222In reply to: Problems overriding default templates
Roger Coathup
Participant@lordsnake – At the risk of sounding patronising: –
1. are you sure it’s the single.php template that is being used to render your page? Give it a little tweak in the bp-default theme (you can change it back afterwards) and let us know if it’s being picked up.
2. are you sure your new single.php (child theme) has been published to your server?
3. what happens if you try to override your index.php, does that get picked up?
Failing that: post your folder structure, header from your style.css, and your single.php file for us to check.
Oh, and which version of WP and BP
August 24, 2010 at 4:53 pm #90207Paul Wong-Gibbs
KeymasterAh hah, nicework @tryggvib! Depending on how (well-) written the WordPress plugin is, sometimes you can get conflicts when things load in areas of BuddyPress where they don’t need to, and conflicts happen. I run into this quite often with plugins that load Javascript.
August 24, 2010 at 3:32 pm #90190In reply to: Which PHP-files are used to render a page?
Lupin
ParticipantI know how to edit the sidebar, header, footer aso. But the programmers left me many files that all contain “get_header()” and “get_footer()”. I tried to break some of them on purpose, just to find out which are used, but nothing happened (while editing header.php changed the page, so I’m in the right theme directory). The problem is, I have to change something that’s in one of these files. But I have found 66 files, some of which may not even be in use, that contain the tag I need to change. Is there no other possibility than to guess?
August 24, 2010 at 2:14 pm #90182In reply to: Strange redirection
footybible
ParticipantSounds like you have switched something in ‘theme options’. In theme options under ‘blog hompeage settings’ there is an option ‘Do you want to enable privacy for all members profile’. Make sure this is set to disable.
August 24, 2010 at 1:06 pm #90176Tryggvi Björgvinsson
ParticipantMore info. This has already been pointed out at the qTranslate plugin’s page:
https://wordpress.org/support/topic/plugin-qtranslate-qtranslate-bp-not-workingAugust 24, 2010 at 12:55 pm #90175Tryggvi Björgvinsson
Participant@djpaul You are a genius!
I figured out what was wrong. I wanted to be sure I had your assumed setup and after deactivating my plugins everything worked. I had at some time activated a plugin called qTranslate (https://wordpress.org/extend/plugins/qtranslate/) which broke BuddyPress.
So if anybody else runs into my problem, try deactivating all plugins to see if anyone of them is causing the weird behavior.
Should a plugin like that be able to break another plugin? Do we need some sort of a plugin interoperability page to inform users what works together and what does not work together?
August 24, 2010 at 12:42 pm #90174Paul Wong-Gibbs
KeymasterWell, it’s not an easy thing to do fullstop. You have to know a certain amount of PHP and HTML to create or edit a WordPress theme, and it is no different here. Have you, via BP Template Pack, copied the templates / css / js into your theme? Does the CSS get loaded when you visit the front of the site?
August 24, 2010 at 12:28 pm #90169Paul Wong-Gibbs
KeymasterIf I get time after work I’ll write up the URI handling process, it’s not something I can knock out in 5 minutes. So, I’m assuming you’re using stock BP 1.2.5.2, and the BP-Default theme (which you do not need to move into /themes/)? And only the BuddyPress plugin active?
August 24, 2010 at 10:30 am #90158Tryggvi Björgvinsson
ParticipantHmm… I now tried removing .htaccess just to see what would happen. My first page (where I need Activity, Members, Groups, etc. to work) was unaffected. I could visit blog posts and whatnot. Then I went to some blogs on the network and all of their appearance was missing. So .htaccess only affected them and not the first page (I pressed Ctrl+R to clear the cache but nothing happened).
I am stumped.
August 24, 2010 at 9:36 am #90150Tryggvi Björgvinsson
ParticipantThat’s precisely the thing, I don’t think I modified any other files. I only uploaded themes into the theme folder and activated them. Once I tried the BP theme pack which created a conflict between two files so I removed one of them but that’s all I can remember doing.
Still, there is quite a large possibility that I made some changes I can’t remember (since I’ve been playing around a lot), which is the reason I wanted to know how the flow for URI handling in BP is. Then I could trace myself through the files and methods and see where things are going wrong (and see if I changed something).
I have tried to delete and reinstall BuddyPress but still no positive results.
August 24, 2010 at 1:27 am #90110In reply to: Global forum problem.
@mercime
ParticipantCarrying over from other thread, @markhahnel these things come to mind:
1. Global Forums 1.0.2 is compatible with BP 1.2.5+ above.
There were same errors on mysql_get_server_info() when someone installed Global Forums with WP 3.0.1 and BP 1.2.3 and errors went away when they upgraded to 1.2.5.22. Reupload plugin’s /gf/ theme folder to your active theme and reupload global forums plugin to wp-content/plugins
3. Backup database and re-install bbPress via dashboard > BuddyPress > Forums Settings – you shouldn’t lose previous topics but it’s better to backup DB. Might
4. Upload /gf/ folder to bp-default theme, then change your theme to bp-default theme and see if the same behavior continues with the Global Forums single topic page.
@markhahnel although @sbrajesh is not at the BuddyDev forums at times because of health issues, you should post there because there are other devs who might be able to help you.
August 23, 2010 at 11:24 pm #90104In reply to: Which PHP-files are used to render a page?
r-a-y
KeymasterEverything should be available for customization in your theme’s folder:
/wp-content/themes/YOUR_THEME/Like Roger stated, it depends on what you want to edit.
August 23, 2010 at 10:47 pm #90102In reply to: Which PHP-files are used to render a page?
Roger Coathup
Participant@lupin3 – I don’t know any off the shelf function that prints the filename. Depending on your browser, tools like firebug on firefox and developer tools on Safari may help you.
Location of the files really depends which part of your theme you mean: the main blog / news ones or the social network specific ones such as profile, groups, etc.
For the blog specific pages – this page gives you an overview of all the WP files: https://codex.wordpress.org/Theme_Development
I don’t know what documentation is still around on 1.1.3 theme files. However, most of the files were typically in fairly explanatory-named subfolders of your member theme (e.g. in folders such as friends, members, wire, activity, profile)
August 23, 2010 at 9:33 pm #90100In reply to: Issue with Member Profiles Redirecting to Homepage
eyg1
Participanti NEED HELP! CANT SEE MEMBERERS PROFILE PAGE, NOR WRITE ON THEIR WIRE. I HAVE A CUSTOM THEME MADE BY SOMEONE CAN ANYONE PLS PROVIDE ME WITH SOME ASSISTACE PLS.
August 23, 2010 at 8:56 pm #90096In reply to: Displaying the WordPress default bio or description
r-a-y
Keymastermember-header.php is located in /bp-default/members/single/.
If you’re making modifications to the bp-default theme, build a child theme so your changes will not be wiped out:
https://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/Roger Coathup
Participant@mercime – returning the favour: I’ve also advised twice on this problem (via personal message and a status update). I gave the same advice as you: try the default theme, and let us know what happens.
Additionally: I don’t know if there are any known problems using BP1.1.3 on WP3.0+
@mercime
Participant“I have a custom theme that was built for me “
Change theme to bp-default theme, the custom theme might be causing the errors so contact theme author.“update my bp to the current version”
Go to dashboard – Plugins > Installed. Look for BuddyPress link in list – you will see link to update the plugin automatically.
EDIT- backup database plus server files before upgrading BP. Just checked your site and noticed that your theme is using BP 1.1.3 theme … unless the theme author made it work with BP 1.2+ but forgot to change the info in style.css which is kind far-fetched.August 23, 2010 at 7:04 pm #90073In reply to: “Join Group” link does nothing on my site
kaspr007
MemberI heard back from the author of Early Morning and he said I should contact the author who edited his theme to work with buddypress, http://freebpthemes.com/themes/early-morning/ . The only problem is that the last time an admin offered support at this link, was in January. I would most appreciate a hand from someone out here. Here is a recap of the problem:
If I click on the “join group” link on this page: http://www.durhamdigs.ca/groups/ the link disappears and nothing happens.
If I right click the link, copy the link and paste it directly into the address bar, it works.Does anyone have an idea of why a copied link would work when directly clicking on it wouldn’t?
August 23, 2010 at 5:28 pm #90066Paul Wong-Gibbs
KeymasterChanging the themes does not, in itself, break BuddyPress. What else did you do?
August 23, 2010 at 5:27 pm #90064In reply to: Date shown in Default BP theme
Pisanojm
ParticipantOk, New ticket is here:
https://trac.buddypress.org/ticket/2601August 23, 2010 at 5:20 pm #90063In reply to: Date shown in Default BP theme
Pisanojm
Participant@newrambler this is in the index.php of the buddypress theme… you have to go into the buddypress plugin –> then theme….
August 23, 2010 at 4:59 pm #90062Tryggvi Björgvinsson
ParticipantThe site I get when I try to access the BuddyPress sites is my theme’s (twenty-ten’s) 404.php. So somewhere along the way the url points at the wrong place.
My .htaccess looks like this:
RewriteEngine On
RewriteBase /
#uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]
# add a trailing slash to /wp-admin
RewriteCond %{REQUEST_URI} ^.*/wp-admin$
RewriteRule ^(.+)$ $1/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule . - [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
RewriteRule . index.php [L]
<IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>
August 23, 2010 at 4:43 pm #90061Tryggvi Björgvinsson
ParticipantAn explanation of how the slug lookup works would help a lot. I am kind of lost in the code and how it’s structured.
-
AuthorSearch Results