Search Results for 'wordpress'
-
AuthorSearch Results
-
March 7, 2013 at 5:05 pm #155696
modemlooper
ModeratorI use this on my site to show a different single.php. I have a folder mobile in my theme folder with my mobile templates. I copied single.php, removed the get_sidebar and then added css when on mobile to style it better. This code works in functions.php.
`function mobile_filter_wp_template( $template ) {
$overridden_template = dirname( __FILE__ ) . ‘/mobile/mobile-single.php’ ;
if ( is_single() && wp_is_mobile() ) {
return load_template( $overridden_template );
} else {
return $template;
}
}
add_filter( ‘template_include’, ‘mobile_filter_wp_template’, 10, 2 );`
`function mobile_style() {
if ( is_single() && wp_is_mobile() ) {
echo ”
<style>
body {
width: 100%;
}
</style>”;
}
}
add_action(‘wp_head’, ‘mobile_style’);`
Use WP is_page to set conditions to specific pages https://codex.wordpress.org/Function_Reference/is_page
March 7, 2013 at 4:52 pm #155694Hugo Ashmore
ParticipantYou should set up WP fully first checking all aspects of a standard WP install work correctly, when that checks out proceed to activating BP and doing so with the default theme initially to establish BP is set up correctly and working fully only them move on to activating a third party theme.
March 7, 2013 at 4:47 pm #155693dachimaster
ParticipantHi,
Yes i am doing it on a live site. . Good point on compatibility , i just checked the theme, and it says its compatible with BuddyPress 1.6.1, BuddyPress 1.6, BuddyPress 1.5.3, BuddyPress 1.5.2. i’m downloaded the current version which is 1.6.4. .should that be a problem? (I’m using a theme from themeforest called detube)March 7, 2013 at 1:42 pm #155670Brajesh Singh
ParticipantAre you doing it on a live site? Is your Theme BuddyPress compatible. For BuddyPress 1.6.x, the BuddyPress features are only available to BuddyPress enabled theme. In BuddyPress 1.7, BuddyPress automatically supports all themes(but 1.7 is still in beta and not recommended for live site).
March 7, 2013 at 1:36 pm #155666dachimaster
ParticipantAre there any special network settings i need to authorise for buddypress to operate?
March 7, 2013 at 1:33 pm #155665dachimaster
ParticipantHi Thanks Brajesh,
found the settings buddypress tab and clicked through. but no configuration wizard to speak off
all i see are the tabs across saying – components (with 10 active, and 2 must use), pages, settings and forums (where i installed the configure site wide forums). . checked again in the wordpress site, and still buddy press hasn’t shown up. .Should i be installing buddypress 1.7 perhaps?
March 7, 2013 at 12:38 pm #155656Brajesh Singh
ParticipantYou will need to configure BuddyPress before it comes into action.
Look for the notice in the Network admin. If it is not there, just click Network Admin-> Settings->BuddyPress and you should see the configuration wizard.
Hope that helps.
March 7, 2013 at 11:45 am #155650In reply to: [Resolved] One works, one doesn't – BuddyPress
@mercime
Participant@p2ab BuddyPress does not work on installations where you give WordPress its own directory per your link above https://codex.buddypress.org/user/before-installing/#system-and-server-requirements
March 7, 2013 at 7:17 am #155328In reply to: Search not returning any results
jefigo
ParticipantHi,
for me it is the same. Searching just returns posts from wordpress but nothing from BP.
Is there a setting for BP that enables search through posts and comments from BP?March 7, 2013 at 1:56 am #155318@mercime
Participant@unsalkorkmaz please note that I have edited one of your posts above. No personal remarks/attacks are allowed in this forum.
I appreciate that you want to give users as many features as possible with your theme and I understand your frustration. Having said that, the WP Theme Review Team Admin already noted which he considered plugin territory starting here https://lists.wordpress.org/pipermail/theme-reviewers/2013-March/012183.html and more so for the TinyMCE buttons later on the thread.
I supported you in the Author URL in the same thread. While I don’t agree with the TRT Admins 100% of the time, I support them 100% in the above-mentioned plugin-territory discussion. My unsolicited suggestion is to remove the items listed above which are considered plugin territory from your theme and create a plugin specifically for the theme e.g. Firmalite Theme Booster or Firmalite Add-ons or whatever you want. Further suggest submitting a revised theme while your theme is still up in the review queue.
Firmalite is the 13th in theme review queue as I write this. We’ve cleared many of the backlogs the past week and there are reviewers doing some reviews this week. Know that all of the reviewers are volunteers and also know that way sometime ago the waiting time for a review was 3-4 months.
Thank you for your patience.
March 6, 2013 at 9:37 pm #155306imtrevormrose
ParticipantFixed. It was completely my fault. I had copied and pasted a short bit of code into my functions.php file to block access to the wordpress dashboard from anyone not an admin.
/*blocks access to the dashboard*/
function wpse_11244_restrict_admin() {
if (!current_user_can(‘update_core’)) {
wp_die(__(‘You are not allowed to access this part of the site’));
}
}
add_action(‘admin_init’, ‘wpse_11244_restrict_admin’, 1);
function include_jQuery() {
if (!is_admin()) {
wp_enqueue_script(‘jquery’);
}
}
add_action(‘init’, ‘include_jQuery’);March 6, 2013 at 8:17 pm #155296Laurent J.V. Dubois
ParticipantIt isn’t a people issue … it’s a key point to accept this dev. strategy. WordPress is a large framework, you have to accept the rules …
The current wp editor will be just a plugin too, that will be better, but that’s an other point 😉March 6, 2013 at 8:07 pm #155295Unsal Korkmaz
ParticipantNaa.. Themes are easy. Esspecially with theme customizer feature. Main problem is wp repo rules [EDITED ~~~ by Mercime. No personal attacks are allowed on this site]. If you have time, you can read this discussion: https://lists.wordpress.org/pipermail/theme-reviewers/2013-March/012167.html I can simplify the problem in that discussion: In FirmaSite 1.1.0 version, i added 2 custom tinymce button that makes easy to use special css classes. For example you can convert a link to bootstrap button with just 1 click. You can change a button’s color or size with just 1 click. You dont need to write css classes in tinymce for making your content more useful or better readability. What this tinymce plugin doing is actually simple. For example it adds “btn btn-primary” classes to <a> tag to make it a good looking button. They closed my theme because of it. What did i do? Made user’s content creation easy…
Btw an example of theme usage: http://resimlitarif.com/ This is a turkish food recipe website that my mom is writing 🙂 Just 1-2 little custom css code for header and custom background..
March 6, 2013 at 7:38 pm #155290Unsal Korkmaz
Participant@mercime well.. wp theme repo admins are interesting. I dont think i can get approved anytime soon. Check this: https://themes.trac.wordpress.org/ticket/11449
TinyMCE buttons are Plugin territory. Bam.. close theme as not approved. Now wait 1 more month. 1 month later: “XXX is plugin territory.” bam.. 1 more month again.. Where is full review? How can i be sure if they dont do that like 7-8 times more?
March 6, 2013 at 4:13 am #155225In reply to: [Resolved] Login shows wrong URL
TheSeoGuy
ParticipantSOLVED: the problem URL was located in the WordPress “Buddy” theme settings.
March 5, 2013 at 10:11 pm #155199In reply to: Profile as default subtab
wtravis
ParticipantAHA! Found the problem. I thought I had to put bp-custom.php in the root of the BuddyPress plugin folder, but it should go in the WordPress plugins folder instead! Now it’s working!
Somehow missed this tutorial on how to use bp-custom.php, was only guessing based on threads I’ve found here. https://codex.buddypress.org/developer/customizing/bp-custom-php/
March 5, 2013 at 3:36 pm #155156In reply to: Buddypress Pages Problem
eleudson
ParticipantHi, I resolve (ubuntu server 12.04, apache2) this problem as follow:
1) Execute the setup wizar of BuddyPress after the plugin activate
Tip from https://codex.buddypress.org/user/setting-up-a-new-installation/installation-wizard/
2) Move the plugins\buddypress\bp-themes to wp-content/themes and set the pretty permalink. I’am using the month + name.
Tip from http://wpmu.org/buddypress-now-supports-wordpress-single-user-no-wpmu-required/
3) Set the Apache2 mod_rewrite with
# sudo a2enmod rewrite
and change the option AllowOverride of None to all in the file /etc/apache2/sites-avaliable/default
…
`
Options Indexes FollowSymLinks MultiViews
AllowOverride all`
…Tip from http://www.lavluda.com/2007/07/15/how-to-enable-mod_rewrite-in-apache22-debian/
March 5, 2013 at 1:25 pm #155146In reply to: BP errors…
shanebp
ModeratorThat’s not a BuddyPress error.
It’s an error from the elvito-bp plugin.You might try asking the plugin author:
https://wordpress.org/support/plugin/elvito-bpI suggest you ask them to read this:
https://codex.buddypress.org/developer/plugin-development/checking-buddypress-is-active/Also – imo – that plugin is lacking basic security.
March 5, 2013 at 7:34 am #155127In reply to: Private group members cannot create forum topics
bruce-s
ParticipantI’ve also run into this… it’s not clear from the debugging page if a resolution has been found though?
March 5, 2013 at 4:11 am #155118In reply to: [Resolved] One works, one doesn't – BuddyPress
p2ab
ParticipantThe “live” one was a complete new install.
I’m not too worried, just puzzled mostly. I found this topic on moving WP https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory so figured I’d use that to move the “test” install to a different directory (don’t want the functioning directory to be “wptest2” lol) and run it off the root when I’m ready … most likely tomorrow.
If I hadn’t just spent 3 weeks upgrading a half dozen sites and their software for a MySQL upgrade then another week to upgrade the OS I’d puzzle it out. But I’m a little tired of staring at the ‘puter screen for a few hours after I get home from the office and 8-10 hours of staring two computer monitors.
March 5, 2013 at 3:58 am #155117Andres Felipe
ParticipantMaybe this could help:
https://wordpress.org/extend/plugins/buddymenu-buddylinks/screenshots/
March 5, 2013 at 1:58 am #155105In reply to: Edit Profile Link Leads to Blank Page
@mercime
ParticipantThis worries me, as I cannot do this every time there is an issue like this on my site. I still do not know what was wrong.
I empathize. Of course nobody’s expected to do that at all. Did you read the requirements before installing BuddyPress at https://codex.buddypress.org/user/before-installing/ ? Have you been installing WordPress via webhosts’ scripts?
March 5, 2013 at 1:52 am #155104@mercime
Participant@ronia Check out the Events Manager plugin by @netweblogic https://wordpress.org/extend/plugins/events-manager/ Has BuddyPress support!
As for Media plugins compatible with BP
1. free – BuddyPress Album – https://wordpress.org/extend/plugins/bp-album/
2. free – BuddyPress Media – https://wordpress.org/extend/plugins/buddypress-media/
3. premium – BP Gallery – http://buddydev.com/plugins/bp-gallery/March 5, 2013 at 1:23 am #155099@mercime
Participant>>users cannot communicate with, see each other, or even know other users exist). Only the admin will have the privilege of viewing profiles or commenting on users’ blog posts.
@bg01 As I see it, you don’t even need BuddyPress especially with the configuration you posted above.
– Just create a network (go multisite)
– allow students to create own blogs or create the blogs yourself and add student/user per blog
– make all sites private (Super Admin can see anything and everything)
– post comment on each student’s blog post.
If you have any issues with your multisite installation, please post at https://wordpress.org/support/forum/multisiteAlternatively, you can have one single WP site. Make it private, no feeds. Set access of all posts in front end and back end to Site Admin and respective post Author in custom WP theme. Only Site Admin can post comment in all posts.
If you have any issues, please post at https://wordpress.org/support/forum/how-to-and-troubleshootingMarch 4, 2013 at 9:51 pm #155084In reply to: Edit Profile Link Leads to Blank Page
asalvo1
ParticipantIn order to get this working, I had to reinstall WordPress entirely. This worries me, as I cannot do this every time there is an issue like this on my site. I still do not know what was wrong. I hope this issue, what ever it was, gets fixed in the future.
-
AuthorSearch Results