Search Results for 'code'
-
AuthorSearch Results
-
March 29, 2007 at 11:27 pm #53816
In reply to: Latest Disscussions Plugin
Atsutane
MemberSorry my bad
Forgot to update the readme file.
March 29, 2007 at 11:03 pm #56278In reply to: bb_get_user needs a numeric ID
boomanfloral
MemberOk. I deleted all the plugins and then when I try to post I don’t get the error… but a blank page
Any ideas?
March 29, 2007 at 8:48 pm #49578In reply to: No .htaccess file for “pretty” URLS?
motiongraphics01
Memberok chrishajer I post now my code
.HTACCES:
<ifmodule mod_rewrite.c>
RewriteEngine On
RewriteBase /forum/
RewriteRule ^forum/([0-9]+)/page/([0-9]+)$ /forum/forum.php?id=$1&page=$2 [L,QSA]
RewriteRule ^forum/([0-9]+)$ /forum/forum.php?id=$1 [L,QSA]
RewriteRule ^topic/([0-9]+)/page/([0-9]+)$ /forum/topic.php?id=$1&page=$2 [L,QSA]
RewriteRule ^topic/([0-9]+)$ /forum/topic.php?id=$1 [L,QSA]
RewriteRule ^tags/(.+)/page/([0-9]+)$ /forum/tags.php?tag=$1&page=$2 [L,QSA]
RewriteRule ^tags/(.+)/?$ /forum/tags.php?tag=$1 [L,QSA]
RewriteRule ^tags/?$ /forum/tags.php [L,QSA]
RewriteRule ^profile/([0-9]+)/page/([0-9]+)$ /forum/profile.php?id=$1&page=$2 [L,QSA]
RewriteRule ^profile/([0-9]+)/([a-z]+)$ /forum/profile.php?id=$1&tab=$2 [L,QSA]
RewriteRule ^profile/([0-9]+)/([a-z]+)/page/([0-9]+)$ /forum/profile.php?id=$1&tab=$2&page=$3 [L,QSA]
RewriteRule ^profile/([0-9]+)$ /forum/profile.php?id=$1 [L,QSA]
RewriteRule ^view/([a-z-]+)/page/([0-9]+)$ /forum/view.php?view=$1&page=$2 [L,QSA]
RewriteRule ^view/([a-z-]+)$ /forum/view.php?view=$1 [L,QSA]
RewriteRule ^rss/$ /forum/rss.php [L,QSA]
RewriteRule ^rss/forum/([0-9]+)$ /forum/rss.php?forum=$1 [L,QSA]
RewriteRule ^rss/topic/([0-9]+)$ /forum/rss.php?topic=$1 [L,QSA]
RewriteRule ^rss/tags/([a-z]+)$ /forum/rss.php?tag=$1 [L,QSA]
RewriteRule ^rss/profile/([0-9]+)$ /forum/rss.php?profile=$1 [L,QSA]
</ifmodule>
CONFIG.PHP:
<?php
define(‘BBDB_NAME’, ‘Sql*****_4’);
define(‘BBDB_USER’, ‘Sql*****’);
define(‘BBDB_PASSWORD’, ‘********’);
define(‘BBDB_HOST’, ‘62.149.***.**’);
$bb_table_prefix = ‘bb_’;
$bb->domain = ‘http://www.motiongraphics.it’;
$bb->path = ‘/forum/’;
$bb->name = ‘Motiongraphics Forum’;
$bb->admin_email = ‘info@motiongraphics.it’;
$bb->mod_rewrite = true;
$bb->page_topics = 30;
$bb->edit_lock = 60;
$bb->gmt_offset = +2;
define(‘BBLANG’, ”);
$bb->akismet_key = ‘*********3c’;
$bb->wp_table_prefix = ‘wp_’;
$bb->wp_home = ‘http://motiongraphics.it’;
$bb->wp_siteurl = ‘http://motiongraphics.it’;
if ( !defined(‘BBPATH’) )
define(‘BBPATH’, dirname(__FILE__) . ‘/’ );
require_once( BBPATH . ‘bb-settings.php’ );
?>
Many Thanks!
March 29, 2007 at 8:03 pm #1658Topic: Where and how are the favourites saved in the db?
in forum Requests & FeedbackNull
MemberWell title says it al, can’t seem to find them in the db
March 29, 2007 at 7:19 pm #56275In reply to: bb_get_user needs a numeric ID
boomanfloral
MemberIn my plugin directory I have the following
allow-images.php
bb-avatar.php
comment_QT_4_bbpress.php
fix-bbpress.php
js_quicktags.js
Where else should I look for something wrong? I don’t know php or all that stuff. I know basic HTML and how to modify css but I’m not a programmer or anything like that… I’m only a plant grower (horticulturist)

HELP!
March 29, 2007 at 6:30 pm #53815In reply to: Latest Disscussions Plugin
drcmanx
Memberdoh, thx i was thinking it was going to be added into the plugin (like Akismet) and not the options tab.
and the part you didn’t know was me thinking that it might be interfering with my other forum topic reader for another board.
Thx for the plugin support!
add an updated install readme
March 29, 2007 at 5:52 pm #56281In reply to: config.php
chrishajer
ParticipantLooking through the source for https://trac.bbpress.org/browser/trunk/bb-includes/db-mysqli.php I don’t see the provision for setting a port number (someone correct me if it is actually accounted for somewhere else.)
MySQL normally operates on port 3306, not 1337, so I don’t know if you are making up that port or if your host actually runs MySQL on that port. If he does run MySQL on that port, then I don’t know what to do.
If it’s actually port 3306, everything will work fine if you set this in config.php:
define('BBDB_HOST', 'blabla.bla.pl');with no http and no colon and no port.HTH
March 29, 2007 at 5:45 pm #56262In reply to: change “admin” name
chrishajer
ParticipantIn bb-includes/capabilities.php I changed line 27 (I am using 1.0 Alpha) to the following:
#26 return array( 'keymaster' => array(
#27 'name' => __('Admin'),You could change “Admin” there to Scott or Chris.
I have been doing this since .75 with no ill effect. I hated the “Keymaster” name under admin.
March 29, 2007 at 4:41 pm #1656Topic: bb_get_user needs a numeric ID
in forum Troubleshootingboomanfloral
MemberHi,
I get this message when I try to post or reply to a post.
I did search this forum for help, but most topics relate to a notification plugin which I don’t have. I can also see my profile fine. No errors there. Is just when I try to post. And is a new error, because I already posted several times before.
Is there another reason for this error? How can I fix it?
HELP!
March 29, 2007 at 4:13 pm #56189In reply to: Numbered Posts
citizenkeith
ParticipantThanks… that is indeed where I made the change.
March 29, 2007 at 4:08 pm #51445In reply to: Plugin: Simple Onlinelist
citizenkeith
ParticipantI just followed your directions. Every time I delete bb_online, it shows that I’m online but soon switches to “no users.” It’s still showing that I am online, but I’m waiting for other members to show up.

In the meantime, here’s my plugin list:
Allow Images 0.7.1
Avatar 0.73a
bbEmoticons 0.72
Show Post Count 0.73a
BBPress Private Messaging 0.73
BBCode for bbPress 0.1
Comment Quicktags for bbPress 1.1
Fix bbPress 0.8.1-1
JS QuickTags for bbPress version 1.0
Online List 1.4
Quote 0.2
March 29, 2007 at 3:57 pm #56188In reply to: Numbered Posts
fel64
MemberBetter yet, find the entry
#threadin your style.css file and change thelist-styleentry there. It makes for nicer code.
March 29, 2007 at 3:44 pm #56187In reply to: Numbered Posts
fel64
MemberYou can in fact replace decimal with many funky things.
From w3 schools:
- none
- disc
- circle
- square
- decimal
- decimal-leading-zero
- lower-roman
- upper-roman
- lower-alpha
- upper-alpha
- lower-greek
- lower-latin
- upper-latin
- hebrew
- armenian
- georgian
- cjk-ideographic
- hiragana
- katakana
- hiragana-iroha
- katakana-iroha
Still haven’t tried it myself, just about to
March 29, 2007 at 3:00 pm #51444In reply to: Plugin: Simple Onlinelist
thomasklaiber
MemberVery strange!
Maybe do the following:
- Delete Plugin File & bb_online table in your database
- Download newest Version here:
- Set
$mysql41to false - Upload the file…
Have you installed any other plugins?
March 29, 2007 at 12:44 pm #49575In reply to: No .htaccess file for “pretty” URLS?
motiongraphics
Memberyes! in config.php
March 29, 2007 at 12:03 pm #56185In reply to: Numbered Posts
fel64
MemberI believe that if you attach this to your CSS file:
ol#thread li {
list-style-type: decimal;
}you would see the post numbers without any extra code, certainly the most elegant method. There is likely already a definition for ol#thread, so you could simply add this property to that one. Bear in mind that this is entirely untested (will try it when I get home).
March 29, 2007 at 11:51 am #56237In reply to: No ajax on replies
Null
MemberThey used to be ajaxed… or was that wordpress?? well ajexing this would be great to have as default!!
Any bbpress programmer who wants to comment this?
Also editing could be made ajaxed…
March 29, 2007 at 11:22 am #49573In reply to: No .htaccess file for “pretty” URLS?
motiongraphics
MemberI put the code of thomasw98 but…
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
why?? I put in my folder a new .htaccess file..
March 29, 2007 at 10:58 am #56184In reply to: Numbered Posts
mshutch
MemberThe
post_positionin thebb_posttable has the correct number for each post. I don’t know much about php, but I made a little plugin for my forum, which seems to work.function get_post_num() {
global $bb_post;
return$bb_post->post_position;
function post_num() {
global $bb_post;
echo $bb_post->post_position;
}?>I just place
post_num()where I wanted it to show. Hope this helps?March 29, 2007 at 7:31 am #56094In reply to: bbMenu 1.1 BETA need help fixing a (ajax)bug
Null
MemberNo 1?
March 29, 2007 at 7:30 am #53814In reply to: Latest Disscussions Plugin
Atsutane
MemberWith new version of plugin, u dont need to edit the file directly anymore. U can always get the new version from https://bbpress.org/plugins/topic/39
From what i can see.
SELECT * FROM topics WHEREIt seem the bb table prefix is missing. Maybe u miss the setting.I dont know what u mean by “i still have the SMF forum that reads the forum topics” but u can find the option page inside wordpress option under “BbLD Option”
March 29, 2007 at 6:30 am #1653Topic: Login unsuccessful
in forum Troubleshootingdavidzollo
MemberI have my forum installed on my localhost and it works, but when i upload it and try to login appears the following error:
Warning: Cannot modify header information – headers already sent by (output started at
Inetpubwebsllibreviuorgtestforoconfig.php:1) in
Inetpubwebsllibreviuorgtestforobb-includespluggable.php on line 37Warning: Cannot modify header information – headers already sent by (output started at
Inetpubwebsllibreviuorgtestforoconfig.php:1) in
Inetpubwebsllibreviuorgtestforobb-includespluggable.php on line 37Warning: Cannot modify header information – headers already sent by (output started at
Inetpubwebsllibreviuorgtestforoconfig.php:1) in
Inetpubwebsllibreviuorgtestforobb-includespluggable.php on line 162What i have to do?
March 29, 2007 at 5:59 am #53813In reply to: Latest Disscussions Plugin
drcmanx
MemberI’m just going to add onto this post with my error about the plugin.
I edited the php at these two lines:
Code:$bbpath = ‘/forum’; // Adjust the path to suit your bbpress
$forum_slimit = ’10’; // Adjust the limit to showuploaded the plugin into wp-content/plugin and then added
Code:<?php wp_bb_get_discuss_sidebar(); ?>to my sidebar. activated the plugin to get the following error:
Code:WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1]
SELECT * FROM topics WHERE topic_status = 0 ORDER BY topic_time DESC LIMITi still have the SMF forum that reads the forum topics with the line code:
Code:<?php include (‘/forum1/extern.php?action=active’);?>so i have no clue what I did wrong… i’m thinking maybe its something I didn’t edit. Also i keep hearing about a option page for the plugin and can’t seem to find it.
March 28, 2007 at 10:21 pm #56254In reply to: importing bb_users into wp_users
wittmania
MemberAs somewhat of a novice in the mysql world, all I really know is what works for me. However, I do think that your suggestion would work.
One concern would be that some wp-specific data would be missing from the bbp-only users. Again, I don’t exactly know what that would be.
I don’t know if there is a quick and easy way to modify the user IDs in WP, since they are going to be associated with posts, comments, and so on. That might be more trouble than it is worth. It might be easier to just create new users in WP and change their ID numbers before they are associated with anything else. Then, delete the “old” users one by one in WP, and each time make sure you set the “Attribute posts and links to:” option to the new, highly-numbered user it should correspond to. At least that way you could add the bbp users in without conflicts.
There may be a fancy, streamlined way to do this, but I don’t know what it is.
March 28, 2007 at 9:59 pm #56253In reply to: importing bb_users into wp_users
cweb
MemberThank you very much for the detailed response. I’m sure this will help out many folks who have this issue. Let me ponder a lazy man’s approach. That lazy man being me, since I already have said bye to phpbb and have bbpress up and running. Couldn’t I run mysqldump to extract the bb_users table, then go in and modify the first few user ID’s (across the data I know
) and then just import that table into wp_users?Or since my WP install is still fresh with only a couple users, it might be easier to change their ID’s in the database, then import bb_users into wp_users?
-
AuthorSearch Results