Search Results for 'theme'
-
AuthorSearch Results
-
August 15, 2010 at 6:00 pm #89190
In reply to: New plugin: Add All Nav Links to BP Adminbar
Hugo Ashmore
ParticipantAccessing the menu names is sadly as difficult as I had first thought, I have two arrays that respectively hold the menu regions and menu object parts but finding a method to check one against the other is proving allusive. What I have established is that the menu name attached to a particular menu region does not belong to the nav-menu.php functions but more to the theme functions and makes things problematic, as a new method needs to be written to check a menu region for an explicit but unknown menu name and that isn’t proving simple to theorise let alone start writing.
At this moment it is something that will have to, sadly, go on the back burner as the cost in time so far outweighs the end result, I’ll revisit as and when I get any inspiration on an approach to try but it may require someone far more familiar in the WordPress API than I am.
August 15, 2010 at 4:31 pm #89181In reply to: No Title of Each Posts and Pages
@mikey3d
Participant“Don’t just cut and paste my comment and edit in the word “NOT” – it will confuse people.”
Not true, I edit words “the post”, “BUT” and “NOT.”
I’m sorry that you thought it will confuse people. I didn’t cut and paste your comment so therefore I altered your comment to my comment without quote. The quote means it’s your comment. Without quote it means my comment.
“On my default installation post titles DO work correctly, but page title don’t work.”
My post titles DO NOT work correctly. The post title is “My blog | Home”
My page title DO NOT work correctly. The page title is “My blog | Home”
“If they don’t work on your installation, please make this clear in your reply. I’ll have to leave you to figure out why that is giving a problem on your install, or someone else to step in with thoughts.”
There is no problem in my installation. The WordPress is fine and after install BuddyPress is fine too but the title tag is incorrectly. So that means it is BuddyPress problem. You just admitted:
“You are right about pages though: pages such as About are not getting the correct title tag set. I’ll report this as a separate thread.”
I use:
WordPress 3.0.1
BuddyPress: Version 1.2.5.2
Theme: BuddyPress Default 1.2.5.2Thanks, Mikey3D
PS: There is some confusing with words “post title” and “page title.”
My thought of “post title” is after you click the headline link on the FrontPage to see the page and the title tag is the post title tag.
My thought of “page title” is after you click the “About” navigation link to see the page and the title tag is the page title tag because it‘s a static page.
I’m not talking about H1, H2 for title.
August 15, 2010 at 2:45 pm #89176In reply to: Need to check if bp_profile_field_data() has data
Roger Coathup
Participantin your child theme, wherever you want to hide fields that have no data, you can put a simple if statement, something like:
if (bp_get_profile_field_data(‘field=your-field-id’) === “”) :
// don’t display code
else:
// display code
endif;Which file to edit, all depends where it is you are wanting to display / hide the profile field. The most likely file for displaying profile fields is profile-loop.php in members/single/profile, but that already skips blank fields (using a call to bp_field_has_data(); that function has to be used inside the profile field loop).
August 15, 2010 at 1:46 pm #89171In reply to: Page Title doesn’t change on sub-pages
Roger Coathup
Participant@djpaul – I think this might be a wider problem – I investigated this for another user.
I’ve installed the default BuddyPress installation, and using the default theme. If I click on the “about” page, the title tag still displays “home”
August 15, 2010 at 12:50 pm #89165In reply to: No Title of Each Posts and Pages
Roger Coathup
ParticipantI don’t know what you mean by “headline post and pages”? You’ll have to explain further.
Do you mean meta title = “..” ? In which case, I recommend installing “all in one seo” in your blog.
If you mean the h1, h2 tags, etc. on a page … then that will all be in your theme’s template files (header.php, single.php, page.php)
August 15, 2010 at 12:00 pm #89159In reply to: No Title of Each Posts and Pages
Roger Coathup
ParticipantYou’ll have to give your function a different name, e.g. mikey_page_title(), and change the call in header.php (in your child theme) to call mikey_page_title() instead of bp_page_title.
If you are not using your own child theme, you will have to use the filter approach, or edit the parent theme (which will lead to upgrade problems in the future)
August 15, 2010 at 8:28 am #89151In reply to: Adding the default sidebar to another theme
Matthew Hui
ParticipantMy other theme is buddypress-widget-theme and I need to add the sidebar to the third column of my widgets
Look at the column here http://glumbo.com
August 15, 2010 at 6:20 am #89149In reply to: Upgrade from 1.1.3 broke a lot
John James Jacoby
KeymasterSounds to me like the theme needs to be upgraded too, as it’s trying to use the old news functions.
August 15, 2010 at 5:43 am #89148@mercime
ParticipantInstallation – https://codex.buddypress.org/how-to-guides/install-buddypress-on-a-secondary-blog/
Theme – themes at rocketthemes look good and if you have HTML/CSS mojo, you can make it work with https://wordpress.org/extend/plugins/bp-template-pack/. If not, a BP compatible theme or a BP child theme would be the way to go.
August 15, 2010 at 3:13 am #89145In reply to: Upgrade from 1.1.3 broke a lot
Jeff Sayre
ParticipantBefore performing such a major upgrade (both WordPress and BuddyPress), you should backup your database. Next, it is always best to be safe than sorry. Deactivate all plugins. This means BuddyPress too, as it is a WordPress plugin. Once WP is up and running, it is time to upgrade BuddyPress. You should read the additional details here: https://codex.buddypress.org/getting-started/upgrading-from-10x/ See the “Upgrading from 1.1.x to 1.2.5” section, paying special attention to the notes on the theme files.
Finally, you need to upgrade any BP-dependent plugins before reactivating them. If any of these have not been upgraded to work with at least BP 1.2.5, then they should not be reactivated. Nicola’s plugins are very outdated and will not work with the current version of BP.
August 15, 2010 at 2:14 am #89138In reply to: No admin bar even when it’s turned on in settings?
Matthew Hui
Participanti’m using the buddypress widget theme which is based on the default theme.
August 15, 2010 at 1:56 am #89137In reply to: BP Admin Bar just not displaying.
Matthew Hui
ParticipantI have the same problem except that my theme has wp_footer() on footer.php
August 15, 2010 at 1:11 am #89135In reply to: search-login-bar
@mercime
Participant@balkanpeople
1. create a child theme of bp-default theme
2. copy header.php and sidebar.php from bp-default theme to your child theme folder
3. Copy line 84 through line 102 of header.php to your sidebar.php wherever you want it to appear and save sidebar.php
https://trac.buddypress.org/browser/tags/1.2.5.2/bp-themes/bp-default/header.php#L84
4. Delete search code you copied to sidebar from header.phpAugust 14, 2010 at 10:41 pm #89128In reply to: No Title of Each Posts and Pages
Roger Coathup
ParticipantYou should have signed up for the 24 hour priority support plan – drop @apeatling a line and ask him to upgrade you.
You can change the structure of the page title by implementing your own version of the function: bp_page_title(), or by implementing a filter on bp_page_title. ( You’ll find these functions in bp-core-templatetags.php)
Put your modified function (or filter) in your bp_custom.php file
If you go the modified function route, remember to update your header.php in your bespoke theme to call the modified function instead of the core bp_page_title().
You might also want to suggest a change request for a future version of BuddyPress to output title in a more SEO friendly way by default.
If you have any problems with filters, bp_custom.php, or writing your own bespoke theme, you will find plenty of support threads in these forums
August 14, 2010 at 9:43 pm #89122Thorsten
ParticipantOk Guys! I found the solution for IIS Server! There is a problem with the ‘mod_rewrite’ function, it does not work. Here is the solution and I tried it and it works. Please take a look at http://www.kylecaulfield.com/permalink-for-wordpress-iis-6-mod_rewrite-fixed-free
The result of my new Buddpress can be viewed here http://www.unitedcasting.de/
Sorry for the try above, but it’s no really good solution, so I switched into the original theme file of Buddypress theme.
Many hours today for this result and nobody knewed that. Maybe a problem of Windows worker like me
August 14, 2010 at 8:55 pm #89118In reply to: Adding title to activity stream in blog posts
Roger Coathup
ParticipantThe activity content is written out by the function bp_activity_content_body() called from activity/entry.php in your bespoke BuddyPress theme.
You could try implementing your own version of bp_activity_content_body(), and changing your entry.php to call the new function. Or you could try implementing a filter on bp_get_activity_content_body. Either way you’ll want them to output the link to the blog and blog title. Have a look at these in bp-activity-templatetags.php.
I’m not sure quite how (you’ll have to dig in the activities_template structure), but you should be able to pull out the blog_id and query for blog link and title as well. Any core gurus got a pointer or two here?
To make it a bit more efficient, and restrict it just to blog post activity updates, you can check whether the activity is a blog post in your loop in entry.php with:
If (bp_get_activity_type() == ‘new_blog_post’) :
Good luck… let me know how you get on.
August 14, 2010 at 4:24 pm #89092In reply to: Favourite Posts in WPMU / BuddyPress
Roger Coathup
Participant@jamieea – you might want to check this one out:
http://www.dnxpert.com/2010/06/11/mark-blog-post-as-favorite-in-buddypress/
For it to work, you’ll need to have control over the themes being used for the member blogs (as it requires some code adding to single.php to create the favourite / unfavourite button.
Possible thoughts on enhancing this into something really special, borrowing ideas from del.icio.us: creating and sharing lists of favourites, annotating them with notes, and perhaps even allowing for links from outside the site to be added.
August 14, 2010 at 3:26 pm #89081umberrella
Memberhmm I noticed… the urls point to: the-url.com/members/admin/activity/ while that plugin have moved the members folder into my theme folder. I think this moving did not go as it should be?
August 14, 2010 at 3:08 pm #89080umberrella
MemberYes, I run into this problem too. I used the plugin to make my theme compatible with bp. and step 1 was succeeded, files were moved. Then I could go to step three. There it tells me to check links under “my account”. nothing works.
August 14, 2010 at 12:32 am #89034In reply to: Date shown in Default BP theme
Chris O’Brien
Participant@r-a-y Thanks. Do you mean I need to do the same thing I did to /pages and /posts? I did make the change in posts, but not pages. I didn’t see any reference to time in on pages.php or index.php. Any suggestion where I put it?
August 13, 2010 at 9:35 pm #89024In reply to: No Title of Each Posts and Pages
Builder
ParticipantIn BP function reference list I have just found bp_group_description and bp_group_description_excerpt , maybe there is even more useful stuff (does anyone know more about this?). I’ll play with these two today.
*Edit: Does anyone know; HOW could this be used in a function, and are there any more of such useful for adding SEO mainly in head title and meta description (for example taking first 160 characters from a first paragraph of a forum post and adding these to meta description in head template in the theme)?:
function my_bp_title_tag( $title )August 13, 2010 at 9:19 pm #89023In reply to: No Title of Each Posts and Pages
Builder
ParticipantYes it would be great if title and meta description were possible to tweak in BP just like in WP, so many options there. E.g. in WP there’s no need for All in one seo plugin in WP for adding meta description in posts because excerpt for feeds can be used in the head of a theme. If it’s not in the BP core, who knows what a plugin developer will do tomorrow, upgrade the plugin or not it’s entirely up to them. The “SEO buddypress plugin” wasn’t upgraded a while back and it didn’t work 100%, people needed to use it together with the WP plugin so the installation worked also with pages in this title/description sense. I think if this was only a little more friendlier in BP it would become such a huge help. Maybe all this is in the BP code and can be simply placed in the head of any BP theme file like in WP installations (I wouldn’t be surprised if it was already there if the plugin exists) … but where to look? This is the major why I might not install in the root due to main pages and posts can not be nicely SEOed.
August 13, 2010 at 5:09 pm #88990In reply to: Banning users from groups
Mark
ParticipantI’m also getting “There was an error when banning that user, please try again” when removing a member from a group. The member does get banned from the group.
WP 3.0.1, subdomain, upgraded from 2.9, functioning prior to upgrade
BP 1.2.5.2, upgraded from prior version, BuddyPress Widget Theme 1.2, no modified core files,
Custom Functions = custom_adminbar_dashboard_button, bp_ga_analytics
bbPress built in, NO errors in logs related to removing group member
host = TMD Hosting on Apache
Plugins=
Bad Behavior
BP Groupblog
BP Group Documents
BP Group Management
BP MPO Activity Filter
BuddyPress Group Email Subscription
External Group Blogs
Invite Anyone
Kimili Flash Embed
Webmast Tools Verification
wordTubeAugust 13, 2010 at 5:06 pm #88989In reply to: inside group subnav ?
modemlooper
ModeratorI’ll add some more options. I’ll have to look at the code for adding to subnav. Id this for tweeting a group home page? One of the challenges of doing a plugin like this is accommodating various themes and making the placement fit in.
August 13, 2010 at 4:08 pm #88984Beck B
ParticipantTechnically, you should probably be creating a directory named activity in your active theme’s folder (i.e., Unplugged) and copying the original bp-default’s index.php file (that you finally located) into that folder, then modifying the copy. I think.
Or, arguably, I guess you could even make a…grandchild theme? EDIT: Actually, I don’t think making a child of a child is really an option, but I don’t know for sure.
-
AuthorSearch Results