Hi
thanks for the quick reply.
Yes the IP, userid, pass is correct.
The domain string is where i may be having trouble as i am not sure wat to put in there. I have tried multiple domain strings but no success.
Have tried both TLS on/off.
I am fairly certain that the firewall is set ok.
We have other applications using the ldap server successfully, however from different servers.
I have successfully used the following code example to produce a connection and return a result from the LDAP server. maybe this can help you debug the issue?
<?php
// basic sequence with LDAP is connect, bind, search, interpret search
// result, close connection
echo "<h3>LDAP query test 2</h3>";
echo "Connecting ...";
$ds=ldap_connect("192.168.1.73"); // must be a valid LDAP server!
echo "connect result is " . $ds . "";
if ($ds) {
echo "Binding ...";
$r=ldap_bind($ds); // this is an "anonymous" bind, typically
// read-only access
echo "Bind result is " . $r . "";
echo "Searching for (sn=S*) ...";
// Search surname entry
$sr=ldap_search($ds, "o=Lions", "sn=S*");
echo "Search result is " . $sr . "";
echo "Number of entires returned is " . ldap_count_entries($ds, $sr) . "";
echo "Getting entries ...";
$info = ldap_get_entries($ds, $sr);
echo "Data for " . $info["count"] . " items returned:";
for ($i=0; $i<$info["count"]; $i++) {
echo "dn is: " . $info[$i]["dn"] . "";
echo "first cn entry is: " . $info[$i]["cn"][0] . "";
echo "first email entry is: " . $info[$i]["mail"][0] . "<hr />";
}
echo "Closing connection";
ldap_close($ds);
} else {
echo "<h4>Unable to connect to LDAP server</h4>";
}
?
If it’s for a demo, wouldn’t an ad hoc patch be enough? I have not delved into the code, but I guess that adding the name of the chosen theme to the user cookie and changing the function that tells what template is in use to look there first (if necessary) would do. Well, and the dropdown box to select theme, of course.
I think template is simple enough, it’s just different 
I also personally feel “template” is more ‘correct’ than “theme”. Unlearning “template” when starting with WordPress was hard.
http://en.wikipedia.org/wiki/Template
http://en.wikipedia.org/wiki/Theme
I think bbPress is correct, and WordPress is wrong.
Also, if you’ve ever used K2 with WordPress, you know that they have something called schemes which are pure CSS modifications to change the look. To confuse things even more, the “schemes” in K2 are in a folder called “styles.”
sorry for all the edits …
The following is the encypted version of the password “test”
098f6bcd4621d373cade4e832627b4f6
If you go into the database and put that in, your new password will be “test”. That will get you going!
Trent
Ah ok can you tell me what attributes it contains? (so how the table is build) Does it have: set, item, page etc etc?
Some suggested using set and item isn’t smart and could cause problems. But if these excist in your table, then it isn’t a problem. I think there is something “wrong” with the insert but to be sure. I am gonna make a version where I change the set and item into other values. Perhaps you can test that version for me when it’s done?
Still funny, it works on my own 2 test servers
Why not put an hidden special key in it? We all hate spam, now we have to sign up to get a key, edit the config file etc etc…
I say, put in a special bbpress askimetkey in it so we dont have to bother about spam
When registering on a bbPress forum, this is displayed after you submit your registration:
Make sure to whitelist our domain (http://www.mywebsite.com) so the confirmation email doesn’t get caught by any filters.
That’s not really how whitelists work. Normally, you whitelist a domain or an email address, so wouldn’t it be better to say this in register.php on line 11:
<?php printf(__("A password will be mailed to the email address you provide. Make sure to whitelist our email address (%s) so the confirmation email doesn't get caught by any filters."), bb_get_option( 'admin_email' )) ?>
Make sense?
Hi,
I wanted to have tags separated by commas instead of spaces, to allow users to write tags with more than word.
I did two very small changes to the function add_topic_tags() in the file functions.php and it works, here it goes in case someone is interested:
function add_topic_tags( $topic_id, $tags ) {
global $bbdb;
$tags = trim( $tags );
$words = preg_split(“/[,]+/”, $tags); // removed s
if ( !is_array( $words ) )
return false;
foreach ( $words as $tag ) :
add_topic_tag( $topic_id, trim($tag) ); // added trim()
endforeach;
return true;
}
yeah, this forum is still online, feel free to play, I’ve been testing in this thread, but my css needs updating as not all effects are visiable (i.e. quotes are marked up in html, but css show’s white on white – doh !)
I agree with this all. This is also one of the reasons I’ve started the bbPortal project (bbportal.org) The idea is to use bbPress as the basic and build some nice stuff around it. It’s not much yet, I’ve just started it).
WordPress is great for BLOGGING and some people forget this. It’s designed for a personal blog not for a whole community. Sure you can extend it with plugins etc, but still.
bbPortal is/will be more for communities like clans/guilds that use the forum heavily. (so forum driven and not blog driven.)
You can also take a look at wordpressMU (multiuser), That can give every user a own wordpressblog that you can administrate. If I may be so bold I see it like this:
Personal/blog………….>>…………Community driven
..wordpress
……………………….wordpressMU
………………………………………………………. bbPortal
(ignore the dots, they where needed for outlining)
Joomla and Drupal are way bigger, but to my oppinion, needs some more understanding about php and coding aswell.
Though choise huh
Hi,
Did you use the beta aswell? Then delete the bb_menu first with phpmyadmin.
If not, then the table didn’t fill during installation of the plugin. Still don’t know why it doesn’t do that on certain servers.
Fill the table using this information:
mysql_query ("INSERT INTO
$bbdb->menu
VALUES ('active', 'Forums', 'index.php', 'front-page', 0)");
mysql_query ("INSERT INTO
$bbdb->menu
VALUES ('active', 'Search', 'search.php', 'search-page', 1)");
mysql_query ("INSERT INTO
$bbdb->menu
VALUES ('inactive', 'Statistics', 'statistics.php', 'stats-page', 0)");
I also found another bug. Somewhere I hardcoded bb_menu instead of using the prefix variable. As long as your prefix is bb_ (like most have) there is no problem. This will be fixed in the next release.
Also the ‘doubleclick-and-edit-the-menu-items’ function in the new release is getting along very well!
Greetz
Alright I’m wondering if someone is willing to do me an extra-special favor and write a plugin that puts a little drop-down box at the top of your bbPress installation allowing people to choose a different theme. I’m interested in allowing people to demo out all the themes available for bbPress over at Pro Forums.
Accidentally put this in install, can someone move it to plugins?
Sometime ago I adapted a script that imports data from phpBB. Some of the changes are probably a Bad Thing, but it worked for me (about 40 users, 15 forums, 150 topics and 800 posts).
Among the changes:
- Keeps current users, forums, etc. in bbPress. The new forum had started, so I wanted that, even though most new messages were just for testing.
- When an SMF username is found in the bbPress DB, the bbPress user is assigned to the SMF one. Otherwise, a new user is created.
- Imports tags that can’t be used in bbPress, such as table, flash and some stupid formatting stuff.
- Probably other things I don’t remember.
Jump to the CONFIGURATION SECTION and change to match your setup and liking. Wherever you see phpbb it really means smf, of course. One of the things I didn’t do was that type of cleanup. Also, despite the comments saying that you need a fresh new install of bbPress, that’s not true anymore.
Keep in mind that data reuse only happens with users. If a forum or a topic exists in bbPress with the same name that one from SMF, you’ll probably get two topics with the same name (different ID number, though). I haven’t tested this, and I don’t know if that means problems.
Also, subforums become forums on their own, as bbPress uses a flat one-level system. If you are using the plugin that allows for subforums, you may be able to correct this afterwards, or even add the code to the script so that it is done.
If you don’t want any of the probably Bad Things I introduced, get the original one and look compare the
$export_sql
lines to have a feeling of what to change.
Now, if there’s any interest, where do I send it?
I haven’t had a chance to try it out yet, but it looks interesting! Do you have a forum with a post that this is working at for a demo linickx?
Trent
ah ok, i see there is not so much support going on in here.
so i ask again, is there a way to add for each tag parameter (size) also in addition some colors , and if yes would be somebody so nice to post me the code in here?
thanks in advice
cheerio
We do not have a special key hidden,
It has to be added to your config.php! Example:
// 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'
Still requires getting a key from wordpress.com to work!
With the recent re-works of the admin, this might be a great option to store in the database through a core plugin!
Trent
I’ve seen lots of posts requesting this functionality, but couldn’t find any plugins. Well I’ve had a go at porting Jeff Moore wordpress plugin, not all bbcode tags work as the markup isn’t allowed by default within bbpress, but it’s a start !
Download Here.
Blog Post.
well im not a coder, more a general enduser. with only some basic coding & editing abilities.
but thanks
It doesn’t have to know the difference. You set
$special
to be a special class before the loop, then the last thing you do in the loop is set
$special
to be something else. So the first time round the loop
$special
has it’s original value, then at the end of the first loop it’s value is changed (so it’s no longer the initial value).
The fact that the value is repeatedly reset to the other value is irrelevant (there is overhead in this, but it’s comparable to calling a function each time round the loop to check for “is this the first item” and it has the advantage that it’s not API specific.
So far, this is the only thing I’ve seen posted about customizing the hottags:
https://bbpress.org/forums/topic/67?replies=5#post-295
It doesn’t specifically address the colors, just the size, of the tags. I imagine, since the style tag is with a font-size in it, like this:
style="font-size: 9pt;"
that you could make a plugin that did something where if the font size is between a and b, add “font-color: #whatever;” and if it’s between b and c, add “font-color: #whatever2;” etc.
I think this would be pretty interesting. I can see where this code would need to be added in bb-includes/template-functions.php, but that’s a really bad idea (modifying core files) – so, a plugin is a much better idea.
mdawaffe,
sorry I just saw this post. I try it in this forum here, and it works perfect. However I knew it is not working in my personal forum. I will try it as in your tickets 585 and report to you the debugging code.
thanks, and happy chinese new year to everyone.
Franky
I like it too. I’ve been watching the evolution from the beginning. I think I would fix a few of the XHTML errors so that the theme validates. You can check it here:
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fopen-dialogue.com%2Fbbpress%2F
Basically, the <br> should all be self-closed
<br />
and all the <p> and <div> tags need to be properly nested and closed.
In the CSS there are just a couple problems. Line 304 & 305 need to have units after the number for the absolute positioning:
top: 25;
left: 225;
should be
top: 25px;
left: 225px;
Other than that I think it looks really good. Nice job. Very nice.
A lazy short circuit solution which makes the first displayed entry in a loop appear different:
$special="specialClass normalClass";
for {
echo ... class="$special" ...
$special="normalClass";
}