Forum Replies Created
-
In reply to: need help stretching background image in IE
alright well here, your code should look like this
function backstretch_script() { wp_register_script( 'backstretch', get_stylesheet_directory_uri() . '/_inc/js/backstretch.js', 'jquery', '1.8.3', true); wp_enqueue_script( 'backstretch' ); } add_action( 'wp_enqueue_scripts', 'backstretch)script' );the get_stylesheet_directory_uri refers to where you’ve put backstretch.js, so you may need to change that. Once you’ve added that code you can then use wp_footer(); to use the plugin like so
function backstretch_add() { ?> <script type="text/javascript"> jQuery.backstretch("<?php echo get_stylesheet_directory_uri()?>/_inc/images/background.jpg"); </script> <?php } add_action ('wp_footer', 'backstretch_add', 20);note – you’ll have to change the code between “” to use your image
hope that helps @diabolique65
In reply to: need help stretching background image in IEits quite easy,
wp_register_script wp_enqueue_scriptwill be what your looking forIn reply to: need help stretching background image in IEwhenever i use a static background that requires stretching i use http://srobbin.com/jquery-plugins/backstretch/ it works in ie, which versions im not sure
In reply to: Remove “All Members” tab in Activity?@monster1612 oh, it was my fault for misreading really – your going to want to look at bp_has_activities and specifically activity>activity-loop pretty sure buddypress.org has documentation on creating custom activity loops
In reply to: Remove “All Members” tab in Activity?@monster1612 I see, you said “remove” so I assumed you just wanted to hide it, you want all activity hidden from anyone who isn’t a friend?
In reply to: Remove “All Members” tab in Activity?check ur theme, should have activity>index.php delete the li with “all members”
In reply to: Delete Spam Userscheers, looking at that atm the problem isn’t the sign ups now though, they seem to have stopped. The problem is deleting the ones that exist, i can’t delete them in the wp_users table because they don’t have any common attributes whereas they do in other tables.
In reply to: remove admin-barIn reply to: @username ? why not @nickname !nicknames change, usernames don’t, (the best way?) would be to forget display names, and only use usernames thus making it more “user-friendly”
In reply to: [Resolved] Forum Issue@fptcom How have you set the forums up? Have you created new wordpress pages and used shortcodes? Also, If you’ve disabled all plugins minus bbPress have you posted/looked through http://www.bbpress.org for similar problems? A small note, I found setting up bbPress slightly annoying as well, have you messed with the basic settings etc?
In reply to: [Resolved] Forum Issue@fptcom you’re going to need to be more specific than that
In reply to: Getting the large avatar@applegateian, henries code should work, but as you’ve experienced it won’t change the current size of the avatars. I also believe bp has thumbnail avatars and “full” the smaller “thumbnail” the ones wordpress uses is 50px and the larger(which can be grabbed with bp_core_fetch_avatar) are 150px by 150px.
bp_core_fetch_avatar( array( 'item_id' => $userid, 'type' => 'full', 'width' => 150, 'height' => 150 ));That will display the “full” avatar.
In reply to: Getting the large avatar@applegatein my bad, here
$params = wp_parse_args( $args, array( 'item_id' => false, 'object' => $def_object, // user/group/blog/custom type (if you use filters) 'type' => $def_type, // thumb or full 'avatar_dir' => false, // Specify a custom avatar directory for your object 'width' => false, // Custom width (int) 'height' => false, // Custom height (int) 'class' => $def_class, // Custom <img> class (string) 'css_id' => false, // Custom <img> ID (string) 'alt' => '', // Custom <img> alt (string) 'email' => false, // Pass the user email (for gravatar) to prevent querying the DB for it 'no_grav' => false, // If there is no avatar found, return false instead of a grav? 'html' => true, // Wrap the return img URL in <img /> 'title' => '' // Custom <img> title (string)In reply to: Getting the large avatarYou’re using wordpress’s
get_avatar,bp_core_fetch_avataris what you’re looking forIn reply to: Notificationswp/bp versions? plugins? No one can help if they have no idea of what you’re running.
In reply to: Adding link in menu@ericarrache you need to look at
bp_core_new_nav_itemIn reply to: Buddypress a bit plain lookingTo make it look like the previous, use the previous? lol. Not to be blunt though, if you’re unable to apply the stylings yourself, hire someone to do so for you or if colorway is a premium theme, ask them for help.
@chase8705 you’re using a caching plugin so I probably can’t see any changes, as long as you wrapped it in php tags everything’s good.
having lots of plugins isn’t “bad” but the more you have, the more problems that can crop up, load times, compatibility etc etc etc
to locate your themes footer, go to your dashboard>appearance>editor and locate footer.php you’ll probably find wp_footer(); on its own, it needs to be <?php wp_footer(); ?> @chase8705
@chase8705 btw, your theme’s not including wp_footer by the looks of things and many plugins use it, go edit your footer and wrap wp_footer(); in php tags
@chase8705 disabling and enabling a plugin shouldn’t cause any problems, some save settings permanently however. Anyway, the fact you have “lots” of plugins, is probably the issue and the quickest solution is to disable them and check to see if the problems fixed.
@chase8705 disable plugins, default theme and check if it’s still greyed out
@bphelp, @cassius123 the code works fine, you’ll probably find you have no notifications, if thats the case @modemlooper’s code won’t display anything, you also need to style it, so it acts like it does in the admin bar but the code works fine, place it in your functions.php or bp-custom.php and call bp_notification_badge() from where ever you want the notifications to show up.
In reply to: disable auto embeds in activity streamthanks for the suggestion, I have found a way to fix the problem created and still have the embeds.
In reply to: Buddypress posts Paginationbump?