Search Results for '\"wordpress\"'
-
AuthorSearch Results
-
September 5, 2007 at 4:53 am #54696
In reply to: Display latest post from WP
burtton
MemberWhich edition of WP do you use? 2.0.4 or 2.1? The newest edition allows you to display latest post from wordpress.Just update your WP However, I have a problem too.How could I make a pluging of Audio Player into my blog? I’ve tried several times,but it said: fail to link!
September 4, 2007 at 9:37 pm #60492In reply to: Unread Topics
fel64
MemberErr, no.
I read your description here. I thought about that approach before but I like the time-based implementation, especially as my hosting is a bit creaky (and edit: having come to the finish of this post, I realise that it’s actually not that bad at all! Maybe it is a good idea, especially as it’s a lot more convenient). It’s good that you’ve done it though, and cool that you’re sharing it (in the face of adversity
). I hope you don’t mind; here’s some suggested changes that could speed things up a lot.For installing the table, you may want to use
bb_dbDelta()(should work exactly as wp’s implementation: https://codex.wordpress.org/Creating_Tables_with_Plugins ).There are also a lot of queries made that you could probably avoid. For example, in the topic listing the current topic will be in the global $topic, and you can get its last_post_id by this:
$last_post_in_topic = $topic->topic_last_post;You can do the same for the number of posts.
Every column in the table will be available as a member variable (don’t know how familiar you are with PHP? Member variables are just like above, $member->!!!member_variable!!!) – that’s true for users, posts, topics and forums alike. (Meta entries are too, if there’s an entry topic_colour in the topicmeta table you can call it by $topic->topic_colour.)
Right now you’re making at least three additional queries per topic:
if ( utplugin_is_topic_unread($topic, $user) || utplugin_is_topic_new($topic, $user) )utplugin_is_topic_unread() makes three queries. If it’s not unread, it’ll check if it’s new, too, which is another two. For the default 30 topics, that’s 90 – 150 additional database queries per single view of a page. Since db queries are usually the bottlenecks in website speed that could be a problem. (_ck_ would probably blow an artery.)
By using the already-queried stuff from
global $topicyou can cut that down to one or two topics per query. Also, in utplugin_is_topic_new() you’re using exactly the same value again, but making a new query for it, if I see that right. You could either move the check to utplugin_is_topic_unread() (which would return true for unread and for new) or make that a global itself.That would make it at most one query per topic.
Finally, IIRC data for all topics on the page is being called in a single query. If you can find the right filter or hook, you may find that you can get all the relevant topic_ids at once, at the start, then do a _single_ query on your table that gets data for all of them, make that a static (so it’s preserved every time the function is called) and use that data every time. Then the overhead generated by your plugin wouldn’t even be so bad.
September 4, 2007 at 7:32 pm #60491In reply to: Unread Topics
henrybb
MemberWell I’m allowed atleast one misconception aren’t I?

WordPress has the same weird approval stage. But what I don’t get is that I wasn’t given a chance to upload either the plugin or the readme, I just input the name of the plugin and the whole process hinges on that one name.
Started wondering if I was at all comfortable with “Unread Topics” as a name

Anyway, did you look at the plugin fel?
September 4, 2007 at 4:27 am #2353Topic: Installation problem
in forum Installationimnakoya
MemberWarning: constant() [function.constant]: Couldn’t find constant BBDB_HOST in /home/africao2/public_html/forum/bbpress/bb-includes/db-mysqli.php on line 54
Could someone help interpret this please?
I have installed bb on my wordpress site but it shows the above warning and no theme in visible. Thanks.
September 4, 2007 at 12:25 am #52916In reply to: MediaWiki, bbPress, and WordPress integration..
Heliotropen
MemberWell i just tried it out, and the plugin dont work with the newest mediawiki; i got: “Wiki has a problem
Sorry! This site is experiencing technical difficulties.
Try waiting a few minutes and reloading.
(Can’t contact the database server: Unknown error)”
September 4, 2007 at 12:18 am #52915In reply to: MediaWiki, bbPress, and WordPress integration..
Heliotropen
MemberThat is my logik too, but have you tried it? ; on the web-site they write:
“This extension is tested with Mediawiki 1.6.9 (the latest release for PHP4) and wordpress 2.1. It will not work (yet) for Mediawiki > 1.6.9 (because of PHP5) but the next version will be PHP5 ready.”
September 4, 2007 at 12:16 am #60039In reply to: alike theme for (bbpress + wordpress + mediawiki)
Heliotropen
MemberI ended up making my own themes from scratch..
September 3, 2007 at 9:11 pm #52914In reply to: MediaWiki, bbPress, and WordPress integration..
fel64
MemberI don’t understand. PHP5 runs PHP4 code just fine; if it runs on 4, it will run on 5. (Other way around may be a problem, but that doesn’t seem to be it?) The plugin might not use features of 5, but it will run under 5.
September 3, 2007 at 8:48 pm #52913In reply to: MediaWiki, bbPress, and WordPress integration..
Heliotropen
MemberWhat a cool guide, – huge shoulder claps from me to you!
There is one HUGE problem though;
1.this plugin is no longer avaible?
https://codex.wordpress.org/User:RobLa/bbPress_Auth_for_MediaWiki
2. this IS, BUT, it is wrtiten that it dosn’t suport php5 (therefor any useable media wiki installations right now.)
http://hery.blaogy.org/2007/02/21/mediawiki-wordpress-integration/
Is there any plugin or way out there, to make the step nr. 4 in the guide possible. – The mix is not soo cool, with wordpress & bbpress intigration only.
In advance thnx.
/Helio
September 3, 2007 at 8:20 pm #60475In reply to: I can’t install bbPress.
llabrealityblog
MemberHere it is.
// ** MySQL settings **
//define(‘BBDB_NAME’, ‘xxxx’);
// The name of the databasedefine(‘BBDB_USER’, xxxx);
// Your MySQL usernamedefine(‘BBDB_PASSWORD’, ‘xxx’);
// …and passworddefine(‘BBDB_HOST’, ‘localhost’);
// 99% chance you won’t need to change this value
// Change the prefix if you want to have multiple forums in a single database.
$bb_table_prefix = ‘bb_’;
// Only letters, numbers and underscores please!
// The full URL of your bbPress install
$bb->uri = ‘http://llabrealityblog.x10hosting.com/wordpress/bbpress’;
// What are you going to call me?
$bb->name = ‘LLAB`s Reality Board’;
// This must be set before you run the install script.
$bb->admin_email = ‘worldostuff@gmail.com’;
// Set to true if you want pretty permalinks, set to ‘slugs’ if you want to use slug based pretty permalinks.$bb->mod_rewrite = slugs;
// The number of topics that show on each page.
$bb->page_topics = 30;
// A user can edit a post for this many minutes after submitting.
$bb->edit_lock = 60;
// Your timezone offset.
Example: -7 for Pacific Daylight Time.
$bb->gmt_offset = 0;
// Change this to localize bbPress. A corresponding MO file for the
// chosen language must be installed to bb-includes/languages.
// For example, install de.mo to bb-includes/languages and set BBLANG to ‘de’
// to enable German language support.define
(‘BBLANG’, ‘English’);
// Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage
// of Akismet’s powerful spam blocking, you’ll need one. You can get an Akismet key at
// http://wordpress.com/api-keys/$bb->akismet_key = ”;
// Example: ‘0123456789ab’
// The rest is only useful if you are integrating bbPress with WordPress.
// If you’re not, just leave it as it is.
$bb->wp_table_prefix = ”;
// WordPress table prefix. Example: ‘wp_’;$bb->wp_home = ”;
// WordPress – Options->General: Blog address (URL)
// Example: ‘http://example.com’
$bb->wp_siteurl = ”;
// WordPress – Options->General: WordPress address (URL)
// Example: ‘http://example.com’
/* Stop editing *
/if ( !defined(‘BBPATH’) ) define(‘BBPATH’, dirname(__FILE__) . ‘/’ );require_once( BBPATH . ‘bb-settings.php’ );
September 3, 2007 at 7:24 pm #60473In reply to: I can’t install bbPress.
llabrealityblog
MemberOkay, I moved the config.php file, and the same error keeps coming up.
I’ve also deleted the forums folder and moved the bbPress folder to /wordpress.
September 3, 2007 at 7:07 pm #60190In reply to: Images, a pain in my side…
neyoung
MemberI’m using wordpress mu so I’m sure that there is a big discrepancy
Is there a way that I can trace which functions are called when a post is made? That why I can follow the execution with and without the wordpress functions loaded and find out what the difference is?
September 3, 2007 at 6:55 pm #60471In reply to: I can’t install bbPress.
chrishajer
ParticipantThis is accessible:
http://llabrealityblog.x10hosting.com/wordpress/forums/bbpress/bb-templates/kakumei/screenshot.png
So, my guess is that extra directory “forums” is causing trouble, and that you have the config.php in that directory instead of the proper bbpress directory.
You can eliminate that forums directory if you want, unless you’re planning on running multiple forum software. If you eliminate that forum directory, make sure you update the config.php so the paths there match your webserver paths.
The big problem I think is that your config.php is in the forums folder instead of the bbpress folder where it belongs.
And I don’t think it has anything to do with phpMyAdmin (I thought it did since that’s when you said you couldn’t log in, after the talk of phpMyAdmin – maybe you never installed that?)
September 3, 2007 at 6:45 pm #60470In reply to: I can’t install bbPress.
chrishajer
Participantregarding your setup
1. did you install phpMyAdmin yourself, or is it part of a control panel?
2. did you edit any config files by hand?
3. what do your installation directories look like (i.e. where did you install phpMyAdmin in relation to the other directories you have for your WP and bbPress installations?)
is it something like
/home/llab/public_html/wordpress/
/home/llab/public_html/wordpress/forums/bbpress/
(why the extra directory here ^?)/home/llab/public_html/phpMyAdmin/
Is your config file for bbpress in the forums directory or the bbpress directory? (IMPORTANT)
I think the forums directory is extra, and maybe that’s causing problems?
September 3, 2007 at 12:37 pm #60188In reply to: Images, a pain in my side…
neyoung
Memberok. I’ve figured out whats causing the problem. It comes down to the Default Role Plugin. There is nothing wrong with the plugin itself other than the fact that it relies on wordpress functions. Thus you need to load wp along with bbpress. To do so I have the following added to the top of my config.php file.
require_once('../wp-blog-header.php');
define('WP_BB', true);With the two lines in the config.php file the allow images plugin does no work. I even tried disabling the Default Roles plugin and leaving the 2 lines in config.php to make sure the plugin wasn’t the culprit. If I remove the two lines the Allow Images plugin works as expected.
I don’t know much, but I could take a stab at whats happening. Is it possible that when a reply/topic is made, bbpress is calling wordpress functions instead of bbpress functions?
September 3, 2007 at 4:16 am #60446Trent Adams
MemberI reported it Chris. Just one of those things. I think bbPress is on the same server as WordPress MU, but I can’t confirm that. It just seems they are both slow at the same time…..
Trent
September 3, 2007 at 2:29 am #60463In reply to: I can’t install bbPress.
chrishajer
ParticipantI registered, and could not log in with my username and password. Also, I never received a welcome email. So, something is screwy, for sure. Can you look in the database and be sure the users were added? Are you integrated with your WordPress install?
September 3, 2007 at 1:23 am #60462In reply to: I can’t install bbPress.
llabrealityblog
MemberI have it installed, now I can’t log in. I know I have the right username and password.
Here’s my forum.
http://llabrealityblog.x10hosting.com/wordpress/forums/bbpress/
September 2, 2007 at 10:30 pm #60461In reply to: I can’t install bbPress.
Trent Adams
MemberbbPress is not a plugin for wordpress. You are better having it as a subdirectory, such as wordpress/forums/, but don’t have it in /wordpress/wp-content/plugins/.
Try it’s own directory with nothing to do with wordpress.
Trent
September 2, 2007 at 9:47 pm #2352Topic: RMI Forums
in forum Showcasesagetips
Memberhttp://www.reverse-mortgage-information.org/bbpress/
My first use of bbpress for my niche site. Plugins in use (so far):
bbPress signatures 0.14
allows users to add signatures to their forum posts, including an optional per-post toggle
By _ck_.
Comment Quicktags for bbPress 1.1
Inserts a quicktag toolbar on the post topic form. js_quicktags is slightly modified version of Alex King’s newer Quicktag.js plugin modified from original found here.
By Stefano Aglietti.
bbPress Integration 0.74
Synchronizes registrations on your bbPress installation with your WordPress blog.
By Michael Adams.
Simple bbPress Adsense 0.1
An plugin that includes an adsense advert just above the content on the topic page.
By Rich Boakes.
BBPress Private Messaging 0.80
Integrates Private Messages into BBPress
By Joshua Hutchins.
bbpress tweaks 0.04
misc tweaks for bbpress behaviour
By .
And, Refresh theme with some tweaks.
Thanks
September 2, 2007 at 9:15 pm #60460In reply to: I can’t install bbPress.
llabrealityblog
MemberNow I’m getting this error:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/llab/public_html/wordpress/wp-content/plugins/config.php on line 14
It won’t let me move the config.php file.
September 2, 2007 at 2:20 pm #60434In reply to: login-form.php template doesn’t work
wpitn2shape
MemberIf when I put my WP log in form into bb-login.php and when that redirects to wp-login.php but shows a 404 (when the file is there), should I go to WordPress MU forums to ask for help?
>>>>
OK It also happens when I put bb-login.php into the code instead of wp-login.php, but I’m sure it’s still a WP/MU thing.
Putting my WP login box on the sidebar of the main page of the forum works however, so what I really need is to be able to change the log in message at the bottom of those pages.
September 2, 2007 at 3:30 am #60084In reply to: top 100 bbPress sites
Trent Adams
MemberI think that wordpress.com should also be in there as it is a large site!
http://en.forums.wordpress.com/
Trent
September 1, 2007 at 10:24 am #60183In reply to: Images, a pain in my side…
neyoung
Memberhummm… now all of a sudden posting images doesn’t work again…
I’ve installed the following plugins
Use Display Names
Defualt Role
WordPress Integration
Allow Images
I haven’t modified any of the core files. I’d like to avoid another fresh install, but that may be my only option. If thats the case I’ll reinstall the plugins one by one to find out if thats the culprit.
August 30, 2007 at 4:05 pm #60365In reply to: WordPress MU Integration Not Working for Log In
wpitn2shape
MemberHere is my solution!
I hadn’t read that before since the title didn’t seem to suggest it was my problem. I went through all those steps, too. I need to skip down to the good stuff. Heh heh.
-
AuthorSearch Results