I think the error might be in your use of php_self
<form name=”search” method=”post” action=”<?=$PHP_SELF?>”>
What does the html look like when you view the page? I have a feeling it might be putting the wrong url into the form?
Also…
<input type=”text” value=”bob” name=”s” id=”s” />
Change that name and id, because “s”, is caught by wordpress and shows you a search result page:
http://ex-brief.com/?s=bob
That is a wordpress page not found result, basically.
That is why you search isn’t working.
You may find this helpful:
https://codex.wordpress.org/Creating_a_Search_Page
Hope that helps,
Brad
There’s lots of different ways of doing this. You can create a plugin and then put your code in there. Call it from any wp page. You can also create a page template and put your code directly in the ‘search’ template. That’s probably what you are looking for.
Start here: https://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates
The general idea is that all pages are created with a specific template. You create your own, probably by copying an existing page template and modifying it, and then create a page called ‘Search’ that uses that template. You build whatever functionality you want into the template.
I have a php mySQL database search, etc and I want it to work in a wordpress page I will create called “Search”. How can I put PHP into a wordpress page?
I already asked this over at mu.wordpress.org no answer yet.
Having some issues getting plugins to initiatize on any BP generated link. Wondering if anyone has some clues! Recently Andy changed the priority on which bp_catch_uri comes up and it seems to be trumping my plugins now on any BP generated pages.
The plugin in question is a “members-only” plugin that checks if a user is logged in and if not, gives them the login page. The action that is loaded is:
add_action('init', 'members_only_init');
Since that loads after template_loaded, I tried that:
add_action('template_loaded', 'members_only_init');
Still didn’t work, so I even tried to go to the very first loaded action!
add_action('plugins_loaded', 'members_only_init');
Changing priority on any of these doesn’t help.
Afraid to say that it must be something else that is trumping my plugin from loading. It works on pages that bp_catch_uri isn’t loading including the main home page, any actual blog link (off the “news” page) and all blog pages on the network. Just not the BP pages.
Plugin in question if you want to look at it is:
http://wordpress.org/extend/plugins/members-only/
If anyone has a clue on this, let me know!
This WPMU changeset has broken things. Working on a fix.
https://trac.mu.wordpress.org/changeset/1620
PerS
Yes, I’ve looked at that exact plugin. Unfortunately, if you read the comments it appears the plugin is not working since Automattic acquired Gravatar.com. Does that make any sense? You would think Automattic would do everything it can to speed up the use of gravatars and to make it easier to signup within WordPress. Surely someone smarter than me can use that plugin as a base for what’s needed here?
Andy, can you chime in here?
Thx
@scotm I agreee 100%. Maybe this plugin could be adapted to BuddyPress: http://txfx.net/code/wordpress/gravatar-signup/
I am looking for someone to convert my existing customized wordpress installation to buddypress without losing data.
I am looking to see if anyone can help me to installed WordPress MU + Buddypress + BBpress for me.
I pay for the fee.
Thanks
WordPress has a group todo list for the blog but it is in the admin settings.
http://wordpress.byexamples.com/2007/01/29/our-todo-list-plugin/
Is there a way to widgetize this so it can be display and used on the main page(or others)?
check out this plugin:
https://wordpress.org/extend/plugins/tinymcecomments/
Why the need of a preview box if you have the What You See Is What You Get Editor in the same place as your visitors type in the comments?
This plugin turns the comment field from a primitive into a WYSIWYG editor, using the internal TinyMCE library bundled with WordPress 2.0 or up, without the need of another separate installation. Functions that only available to writers like adding images were removed and will not show up in the toolbar.
If you add to the mu-plugins and add this line to the end of the plugin file:
add_action(‘template_notices’, ‘mcecomment_init’);
This is only the concept, I have not tested it, and don’t have the time but wanted to point you in a direction.
Brad
http://gorgeosgamers.com/beta/
If it creates a user in WordPress then it will show up in BuddyPress. BuddyPress is using the wp_users table.
Two things i have noticed in Site Wide Activity.
Deleted posts from the sub domain blogs remain after being deleted.
And the alignment and caption code using wordpress media to insert an image shows up as part of the quote.
Otherwise. Sublime.
How would this work for BP? does it mean a user from FB can login and start using BP or what?
So if this sixjump works can it just enable it on wordpress and it should work for BP
http://www.sociable.es/facebook-connect/
Best look in the WPMU forums for things (plugins) to help. Off the top of my head, some of the better ones are WP-Hashcash, Signup Question and Admin confirm new blogs. Hashcash is available at https://wordpress.org/extend/plugins and the others are at http://wpmudev.org/plugins/
Loads of good ideas though in the WPMU forums and that is the best place to start looking.
Trent
Defiantly,
I have already skinned up a members theme, home theme and a host of blog themes for my users.
Its not hard at all, infact just like normal wordpress themes so expect to see a load available soon.
One thing i wish was easier was controlling the page names / urls buddy press assigns as default.
I have manually changed all references but when i upgrade my changes will be reversed
It would be helpful to add a more intuitive link between BuddyPress and the WordPress Dashboard and “Add a Post†functions.
A suggestion would for users own profiles on the “My Blogs†screen to provide an “Add a Post†link under each users blog.
Otherwise new users not familiar with Blogging tend to keep clicking on “Create a Blog†and creating multiple blogs. When what they want to do is add a post to their existing default blog created during registration. This is a real usability issue for new users.
Also, in the “My Blogs†vertical navigation bar there should be links to New Post and Dashboard for the initial default blog.
Hey, newbie here to the whole WordPress / BuddyPress world. I have an existing on-line portal/mag/social network at http://www.doorQ.com. We’re looking at moving the entire thing from its limited dotnet framework over to the open source BP. We know there will be a few issues with the data conversion, but I have some people comfortable enough with SQL to make that work.
What I was looking at is combining the social networking with the magazine features, to try to replicate what we have going now. I wanted to use a theme like this: “www.woothemes.com/demo/gazette/” as the main page for the site, have a few of the social networking aspects pop up on that page (like most recent or active members along with their icons) and then have a second page that aggregates all of the social network activity.
Make sense so far?
Here are my questions:
1) If I use the gazette or similar theme, make it the default theme for the BP install, and add the various components to the appropriate theme folders, I can then draw on the PHP script to add whatever buddy features I’d like to any of the pages created by that theme? Like having the currently on-line members appear on the page?
2) For what is now the BP home page — listing recent activity, users, etc — I can then hard code that as a page on the site, so that, from the main magazine page, there is a link that says something like “Social Network?”
I want everything to be interlinked, the way things are now, on my existing site. In theory, this should work, right?
Ok Great News, changed 4 lines of Code, and get ratings working at a simple level for users.
Foldio 2 – Portable Lightbox
I took the wp-postrating plugin, normally designed to allow vistors to rate posts, and feed in the custom id of the user id. I had to bypass the area where it try’s to validate the number as a post, but overall seems to work.
Now I can take the widget and modify that to show top users, instead of top posts.
Try it out here:
http://gorgeousgamers.com/beta/members/bradmkjr/
Let me know what you think,
Brad
http://gorgeousgamers.com/beta/
I’me getting this error when I try to upload any avatar:
“Upload Failed! Error was: The uploaded file could not be moved to the upload folder.”
Normal WordPress uploads are working fine.
Working on WPMU 2.7 “Bleeding Edge” and BuddyPress r832
Can you clarify…does this plug-in work with BuddyPress/WPMU? The installation instructions seem to be for WordPress in general, not MU. And I saw in another forum that this plug-in breaks WPMU.
Can you verify that it works with BuddyPress? If so, can you provide installation instructions?
Thanks.
I tried this script http://www.dagondesign.com/articles/import-users-plugin-for-wordpress/all-comments/ and it works great, but only creates WP users – I would like to know how to mod this easily to create BP users also. I just need pointers and I will get to work.
Thanks