Search Results for 'code'
-
Search Results
-
Topic: Plugin – Member List
Here’s one I hope you all enjoy.
This plugin and helper files allows you to link to a member list page, which by default displays the username, user title, home page, join date (with some easier-to-read formatting), and I left in some commented out code for post count if you have my post count plugin installed (if not, you might want to delete those lines from memberlist.php).
Additionally, you can click the colum title for Username and Join Date and get the list sorted by that column. Furthermore, if you click the same column again, it sorts it by the column in descending order.
Lastly (and the coolest part in my opinion), admins will see an extra part to the table that will allow you to delete users (as many or few at one time as you want). Users without the ability to delete users will not even be able to see the added cells or submit button.
To see the member list in action, visit http://www.rayd.org/forums/ (the link is at the top). You won’t be able to see the cool admin parts of the table, of course
To download the plugin, visit http://faq.rayd.org/memberlist/
I thought the secret to making a new page that is included into the bbpress fileset is to add the
require_once('./bb-load.php');
However, this must not be the secret because it doesn’t let me do stuff like get_header(). On the other hand, it sees my plugin file and gets the information I want from it.
What am I doing wrong? I have a file dropped into the http root with the require_once and then requiring the work page in my-templates, but nothing inside the my-templates file works (ie. no bbpress functions in the file work).
Topic: oh another cookie bake off
A clean install of .73 with it’s own mysql NO wordpress integration
After installing everything went fine till after logging in to do anything! The main screen is displaying just fine, but any links clicked after give the cookie issue below… and yes I have looked at the other postings but the all incorporate WP which I’m not. Regardless, I’m not refusing cookies so I’m at a loss as to why it would say this and refuse every other page but the dashboard…
Thank you for your help, the error is displayed below
Wonderliver.com/bbpress
The page isn’t redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete
* This problem can sometimes be caused by disabling or refusing to accept cookies.
<?php
define(‘BBDB_NAME’, ‘bbpress’); // The name of the database
define(‘BBDB_USER’, ‘*******’); // Your MySQL username
define(‘BBDB_PASSWORD’, ‘*******); // …and password
define(‘BBDB_HOST’, ‘************’); // 99% chance you won’t need to change this value
$bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!
$bb->domain = ‘http://www.wonderliver.com/bbpress’; // Example: ‘http://bbpress.example.com’
$bb->path = ‘/’; // Example: ‘/forums/’
$bb->name = ‘WonderLiver’;
$bb->admin_email = ‘admin@gmail.com’;
$bb->mod_rewrite = false;
$bb->page_topics = 30;
$bb->edit_lock = 60;
$bb->gmt_offset = 0;
define(‘BBLANG’, ”);
$bb->akismet_key = false;
$bb->wp_table_prefix = false; // WordPress table prefix. Example: ‘wp_’;
$bb->wp_home = false; // WordPress – Options->General: Blog address (URL) // No trailing slash
$bb->wp_siteurl = false; // WordPress – Options->General: WordPress address (URL) // No trailing slash
/* Stop editing */
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );
?>