Search Results for 'test'
-
AuthorSearch Results
-
May 24, 2007 at 2:49 pm #57709
In reply to: Post count-based titles
Sam Bauers
ParticipantHere’s a plugin for this.
http://www.network.net.au/bbpress/plugins/post-count-titles/post-count-titles.latest.zip
However, my hosts DNS servers are having some issues so it may timeout on some people. It should be added to the official plugin browser soon.
May 24, 2007 at 12:49 pm #1889Topic: Posting New Topics Problem
in forum Troubleshootingigos
MemberI have 2 bbpress instalation.
First is public and use akismet.
Second is for testing and doesn’t use akismet.
I don’t know if it is a bug, but on public forum every my post treaten like a spam even when i’m logged in.
On second forum, it doesn’t post unless I press “Undelete entire topic”.
What I need:
If someone post topic or reply it automaticaly show to public, and if akismet says it could be a spam it should only warn on special page, not block post.
May 24, 2007 at 4:36 am #1888Topic: Forum works….links don’t
in forum Troubleshootingomarvelous
MemberHey Guys.
I got the forum installed and all. Added the blurb above the config, added a .htaccess to bbpress/ root, and all the other steps suggested….
But can’t seem to get the links to work on the main page?
Was using firefox, switched to IE and the theme appears to work in IE not firefox…. that was one thing I noticed… not as important…
When I click to start a post, i get the forum, and when i post I get “The page isn’t redirecting properly” in Firefox, and in IE it tries to load forever.
Then wehn I go back to the main forum page…. there the new post is…
When I click on the post title or forum title, it tries to access in firefox, then i get the same error.
Now i’m testing all this on my local pc, using Xampp which is basically Apache as it’s server. I recently created a .htaccess file for my wordpress root, but it’s currently blank, does it need something? I’d like to get pretty permalinks working, but at the moment, that is the least of my worries.
Any assistance for this?
It is greatly appreciated!
Thank you!
Omar
May 20, 2007 at 7:04 am #57702In reply to: Post count-based titles
M
MemberWow, so much hate… I’m not trying to insult anyone’s sense of intelligence by making this appear easier than it is. It’s just dead simple. I see no great complexity in it. It’s still a “basic MySQL query.”
Why muck around in the usermeta? That’s far too much work if you ask me.
Perhaps I’m wrong.
function get_user_title( $id ) {
global $bbdb;
$pc_query = "SELECT COUNT(post_id)
FROM $bbdb->posts
WHERE poster_id = $id
AND post_status = 0";
$post_count = $bbdb->query( $pc_query );
if( $post_count <= 10 ) {
$title = "Noob";
} elseif( $post_count <= 20 ) {
$title = "Might stick around";
} elseif( $post_count <= 30 ) {
$title = "Title for 30";
} elseif( $post_count <= 40 ) {
$title = "Over the hill";
.
.
.
} elseif( $post_count <= 90 ) {
$title = "Post whore";
} elseif( $post_count > 100 ) {
$title = "Regular";
} else {
$title = "Error";
}
return $title;
}This way you don’t have to mess around with updating anything… it’s generated on the fly.
Do take note that I haven’t tested the code. I wrote it in about 5 minutes, so I didn’t get around to testing. It’s the concept I’m talking about though.
May 18, 2007 at 12:20 pm #57666In reply to: Tags not separating
Arlo
MemberI am running the latest alpha…it was switched to commas? Can it be switched back? Spaces I think are much more common a tag method than commas (or can it be hacked to acccept both?)
May 18, 2007 at 7:26 am #57665In reply to: Tags not separating
fel64
MemberYes, that’s an interesting oversight; it seems that the tag-adding field when making a new post is comma-delimited in version 1.0-alpha. If of course you’re still running 0.81, I have no idea but it might be worth to test the comma delimiting.
May 17, 2007 at 8:38 pm #55077In reply to: Fix bbPress Plugin 0.8.1-1
delete
MemberI just downloaded this plugin and used with the current version 0.8.1 and it seems to work for me. At first I was marked with 1 but after using this plugin and saving myself as 0 and creating some test accounts no new accounts seem to be marked as “1” anymore. So, It seems to have work for me. Thanks for releasing this.
May 17, 2007 at 3:48 pm #56697In reply to: Plugin: Avatar Upload
fel64
MemberAnaon, delete the old files from this plugin, download the plugin again and put the files back where they belong. Hopefully that will work. If not, download the latest version of bb and replaces the files on your server with new ones. It’s a strange error which seems to indicate to me that loading
bb-load.php
did not succeed fully.If a required file requires another file and that fails, does the original requirement also fail or generate a warning/error?
May 15, 2007 at 7:53 am #56213In reply to: Initial install, first login, no joy.
klaussterz
MemberThe crazy thing about it is: If i synchronize XAMPP with my Laptop and test bbPress on it with Firefox, it works fine. Back on my PC. I have the same trouble as before.
May 14, 2007 at 1:36 am #57616In reply to: Blank page after login or registration
Trent Adams
MemberNothing off the top of my head. Do you have a URL to test on?
Trent
May 13, 2007 at 10:16 pm #57611In reply to: How do you add moderators?
fel64
MemberActually, when I just try to add a new identity for testing, it seems to have automatically been set as a moderator.
That’s a bit worrying! What happens if every user becomes a mod?
Also remember WP is in version 2.1, while bb is still before official release at version 0.8.
May 13, 2007 at 9:14 pm #57609In reply to: How do you add moderators?
brucewhittignton
MemberActually, when I just try to add a new identity for testing, it seems to have automatically been set as a moderator.
May 13, 2007 at 3:45 pm #57516In reply to: Users display page with avatar
tecfre
Memberohhh i really wish i could do that . I am no where close to programming in php . Is it not possible for me to request such kind of plugin as normally if you see its a feature in most of the sites as they show the lastest joined users and also online users with avatars
May 13, 2007 at 2:10 am #57580In reply to: Hide a Topic?
citizenkeith
Participantfel64 – Thanks for the rundown. Unfortunately, I know very little about coding, so I’ll leave it up to somebody else. And that somebody may be dyaddydad!
dyaddydad, I’d love to check out the plugin. Can you send it over to me so I can test it? kamera at gmail dot com. Thanks!
May 11, 2007 at 3:57 pm #57515In reply to: Users display page with avatar
fel64
MemberIt is possible but I don’t know of any plugins to do it. You can probably do it yourself fairly easily though
. You need to make a WordPress plugin that will call the data and display it. You can get the data by using something like
global $wpdb;
$latestusers = $wpdb->get_results("MySQL query");but the wordpress wpdb reference and plugin writing reference will be of more help.
May 11, 2007 at 12:55 pm #1833Topic: Users display page with avatar
in forum Requests & Feedbacktecfre
MemberHi .
I am not sure whether any plugin is available for this .
I have integrated wordpress and BBpress and in my wordpress blog i want to have a page which should show the lastest users who have registered in my forum along with their avatar if available. Is it possible .
More or less like we have contact me plugin for wordpress , is there any plugin to display the users ..
Thanks and regards
blog : http://www.tecfre.com
forum ( under testing) : http://www.tecfre.com/forum
May 11, 2007 at 9:50 am #57559In reply to: At a loss…….Problems with FULLTEXT and missing files
pensandpencils
MemberThanks for the reply.
I’m running the latest stable MySql and PHP on a Mac apache local testing server if this helps at all.
Cheers
May 10, 2007 at 9:02 pm #57234In reply to: Hack: bb replies as wp comments; using bb API?
fel64
MemberGot a problem on my hands. I’m trying to simplify a lot of things by require’ing bb-load.php and then using the bb API. However bbdb loads with a fatal error if I do this when wordpress has fully loaded, but it works perfectly fine if I require bb-load when the plugin is run.
What I mean is
require( 'path/to/bb-load.php' )
works fine if placed anywhere inside the main code of the plugin. If I call it using the wp hookinit
it no longer works, nor does calling it by other hooks (that I’ve tried) or through function calls in templates and the like.I went through
wp-settings.php
and require’d bb-load systematically until I found that it only worked once wordpress had loadedgeneral-template.php
(line 153). It worked from any point onwards, including afterdo_action('init');
(which I don’t understand at all). Using theinit
hook in my plugin to require it does not work.I suspect this means that the
init
hook in wordpress maybe does something or other, then loads plugins, then does something else that stops bb being included, then runs any other funtions registered with the init hook – but my wp mojo is not impressive. I tested this with all other plugins deactivated.The output if bb-load is required too late in the code:
Fatal error: Call to a member function get_row() on a non-object in
xampphtdocsforumsbb-includesfunctions.php on line 1224
That makes me think bbdb is not created, but I can’t see why it wouldn’t be.
Can someone help me with this please? I’d much rather use the API than duplicate functions.
May 9, 2007 at 3:24 am #57395In reply to: Trying to integrate bbpress with my wordpress
bozzy
MemberI’m not sure I get it… here is what my css file looks like:
/*
Theme Name: K2 for bbPress
Theme URI: http://www.linickx.com/blog/archives/253/k2-for-bbpress/
Description: A port of the famous k2 to bbpress
Version: 0.01 theta-beta
Author: Nick [LINICKX] Bettison
Author URI: http://www.linickx.com
*/
/*
Derrived from Bryan Veloso orriginal style sheet that ships with bbpress, added a little style from the sheet availble from http://getk2.com, copyright of that to the people at http://binarybonsai.com !
*/
/* Globals
=================================== */
* { margin: 0; padding: 0; }
body {
font: 62.5% ‘Lucida Grande’, Verdana, Arial, Sans-Serif; /* 62.5% sets 1em to about 10px */
background: #EDEDED;
color: #444;
text-align: center;
margin-bottom: 30px;
}
a { color: #27d; text-decoration: none; }
a:hover { color: #27d; text-decoration: underline; }
.alt { background: #fff; }
code { font: 1.0em Monaco, ‘Courier New’, monospace; }
p { margin-bottom: 1.0em; }
.left { float: left; }
.right { float: right; }
.delete:hover {
background: #c00;
color: #fff;
}
h1 { font-size: 2em; }
h2 { font-size: 1.5em; }
/* Structure
=================================== */
#wrapper {
width: 780px; /* controls the main width of the page, if changed also change #content and .sidebar */
margin: 0 auto;
background: white;
text-align: left;
}
#header {
padding: 0;
margin: 0;
position: relative;
height: 200px;
background: #3371A3; /* header color default is #3371A3, for images – background-image: url(example.jpg); */
}
h1, h2, h3, h4 {
font-family: ‘Trebuchet MS’, Verdana, Sans-Serif;
}
#header h1 {
font-size: 3em;
font-weight: bold;
letter-spacing: -1px;
margin: 0;
padding: 75px 0 0 40px;
}
#header p { margin-bottom: 0; }
#header h1 a, #header h1 a:visited { color: #fff; text-decoration: none; }
#header h1 a:hover, #header h1 a:active{ text-decoration: underline; }
#main {
font-size: 1.2em;
width: 760px;
margin: 10px auto 25px;
position: relative;
}
.bbcrumb {
text-transform: uppercase;
font-size: 0.9em;
letter-spacing: 1px;
}
#footer {
margin: auto;
color: #666;
font-size: 1.0em;
letter-spacing: 2px;
text-transform: uppercase;
padding-top: 10px;
clear: both;
text-align: center;
width: 760px;
}
#footer a:link, #footer a:visited { /* more link link color fixes for nav & admin stuff */
color: #777;
text-decoration: none;
font-weight: bold;
}
#footer a:hover, #footer a:active {
color: #000;
text-decoration: underline;
font-weight: bold;
}
.notice {
border: 2px solid #4c9545;
background: #abd8a2;
color: #4c9545;
font-size: 1.1em;
font-weight: bold;
padding: 10px 15px;
margin: 0 0 1.1em;
}
.notice p { margin-bottom: 0; }
/* Login Form
=================================== */
.login {
color: #000;
margin: 10px 40px;
}
.login a, .login a:visited { color: #000; text-decoration: none; }
.login a:hover, .login h1 a:active{ text-decoration: underline; }
.login p { padding: 0 0 5px; }
.login label {
display: block;
float: left;
padding-right: 10px;
}
.login #submit {
font-size: 1.2em;
margin-top: 13px;
float: left;
}
p.login {
font-weight: normal;
font-size: 1.2em;
}
form.login input {
margin-top: 3px;
border: 1px solid #999;
}
/* Front Page
=================================== */
#front-page #hottags {
position: absolute;
top: 0;
left: 0;
width: 150px;
overflow: hidden;
}
#front-page #discussions {
margin-left: 0px;
width: 500px;
float: left;
}
.frontpageheatmap {
font-weight: normal;
line-height: 30px;
padding-bottom: 10px;
}
#front-page #main h2, h2.post-form, #userlogin, #currentfavorites, #register {
color: #333;
border-bottom: 1px solid #ddd;
margin: 0 0 10px;
padding: 0 0 5px;
}
#front-page #discussions ul { padding: 0 0 0 14px; }
.sticky {
background: #EDEDED;
}
/* Topic Page
=================================== */
.infobox {
border: 1px solid #ccc;
border-width: 1px 0;
padding: 1em;
width: 500px;
}
.infobox ul {
margin: 10px 0 10px 12px;
padding: 0;
}
.infobox ul li { padding-bottom: 3px; }
#topic-tags {
border-left: 1px solid #ccc;
float: right;
margin-top: -2em;
padding: 0 1em 1em;
}
.nav {
margin: 15px 0;
padding: 12px 0;
}
.nav span { font-weight: bold; }
.nav span, .nav a { padding: 6px; }
#thread {
background: #eee;
list-style: none;
margin: 0 0 0 100px;
padding: 0;
width: 500px;
}
#thread li {
padding: 1.5em 1.0em;
line-height: 1.5em;
}
#thread li ol, #thread li ul { margin-left: 40px; }
#thread li ol li, #thread li ul li { padding: 0; }
.threadauthor {
margin-left: -110px;
overflow: hidden;
position: absolute;
width: 95px;
}
.threadauthor small { font: 11px Verdana, Arial, Helvetica, sans-serif; }
.poststuff {
border-top: 1px dotted #ccc;
margin: 10px 0 0;
padding: 5px 0 0;
font: 10px Verdana, Arial, Helvetica, sans-serif;
text-transform: uppercase;
width: 500px;
}
.num, #forumlist small {
font: 11px Verdana,Arial,Helvetica,sans-serif;
text-align: center;
}
.postform {
background: #fff;
padding: 1em;
width: 500px;
}
.postform textarea {
height: 12em;
margin: 5px 0;
padding: 5px;
width: 500px;
display: block;
}
.postform label { display: block; width: 500px;}
.admin { padding: 10px 0 0; }
#manage-tags {
margin: 10px 0;
list-style: none;
}
#manage-tags li {
float: left;
width: 200px;
padding-bottom: 10px;
}
.submit { text-align: right; }
.topiclink { display: block; }
.topictitle {
font-size: 26px;
font-weight: normal;
display: inline;
}
/* Other
=================================== */
#content .frontpageheatmap a {
font-weight: normal;
text-decoration: none;
}
#content .infobox li { margin-bottom: 2px; }
#content .nav a {
border: 1px solid #ccc;
font-weight: normal;
}
#content .nav a:hover {
border: 1px solid #999;
}
#content a:visited {
font-weight: normal;
}
#front-search {
float: right;
margin-top: -8px;
}
#latest td, #forumlist td, #favorites td { padding: 5px 10px; }
#latest tr:hover, #forumlist tr:hover, #favorites tr:hover { background: #cbd9e4; }
#latest th, #forumlist th, #favorites th {
/* border-bottom: 1px solid #aaa; */
background: #3371A3;
color: #fff;
padding: 5px 10px;
text-transform: uppercase;
font-weight: bold;
}
#latest th a:link, #latest th a:visited, #latest th a:active {
color:#fff;
}
#latest, #forumlist, #favorites {
background: #f7f7f7;
margin-bottom: 2em;
width: 100%;
}
.bozo { background: #eeee88; }
.alt.bozo { background: #ffff99; }
.deleted { background: #ee8888; }
.alt.deleted { background: #ff9999; }
/* Profile Page
=================================== */
#profile-menu {
margin: -35px 0px;
padding: 0 0 30px 0;
float:right;
}
#profile-menu ul {
margin: 0;
padding: 0;
position: absolute;
bottom: 0;
left: 20px;
width: 90%;
}
#profile-menu li {
display: inline;
margin: 0;
}
#profile-menu,
#profile-menu li a {
padding: 5px 15px 6px;
}
#profile-menu li a {
font-size: 1em;
color: white;
margin: 0;
}
#profile-menu li a:hover {
background: #333;
color: #eee !important;
text-decoration: none;
}
#profile-menu li.current a,
ul.menu li.current a:hover {
color: #333 !important;
background: white;
text-decoration: none;
}
#userinfo { margin-top: 10px; }
#userinfo dt { font-weight: bold; }
#userinfo dd { margin: 0 0 5px; }
#useractivity { margin: 15px 0 5px; }
.user-recent { margin: 0 0 10px; }
.user-recent ol { margin: 5px 0 0 28px; }
.user-recent ol li { margin: 0 0 3px; }
/* Profile Edit
=================================== */
fieldset {
border-top: 3px double #ccc;
border-bottom: 1px solid #ccc;
border-left: none;
border-right: none;
padding: 10px 0 10px 10px;
margin-bottom: 15px;
width: 500px;
}
legend {
font-weight: bold;
padding: 0 15px;
}
fieldset table {
text-align: left;
margin: 0 15px;
}
fieldset table td { padding: 2px 0; }
fieldset p {
font-size: 11px;
margin: 10px 16px;
}
/* further additions by Nick */
/* this is for my 48 x 48 avatars */
.post {
min-height: 60px;
}
Can you tell me if it’s right?
May 8, 2007 at 12:28 pm #51905In reply to: BBPress & LDAP Plug-in?
Sam Bauers
ParticipantActive Directory can be interrogated using the PHP LDAP functions, but it may need to do different things to what this plugin does. I don’t have an AD server to test against, so I won’t be building the functionality into this plugin any time soon. You still need to configure PHP with ldap to bind to active directory.
May 8, 2007 at 4:15 am #53434In reply to: Rss feed for latest topics
Trent Adams
MemberTag them all if they are different authors. Same author, I usually do a search and get them anyways. I see that you did Tag it and we stopped another 15 messages of spam past akismet! Thanks
Trent
May 7, 2007 at 2:42 pm #53433In reply to: Rss feed for latest topics
fel64
MemberI did
Should every affected topic be tagged modlook or is it better to tag just one?
May 7, 2007 at 2:02 pm #53432In reply to: Rss feed for latest topics
Trent Adams
MemberWhen you see those, tag it “modlook” so I don’t miss it! Sometimes it happens….
Trent
May 7, 2007 at 1:36 pm #1829Topic: My dream theme.
in forum InstallationNola1974
ParticipantAnyone see the CLI theme for WordPress?
testing here: http://fearandloathingbbs.com/wordpress/
My dream would be a theme like this for bbpress that would turn it into an old school BBS a la WWIV, VBBS or teleguard. I’ve been trying, but I suck.
No really. how cool could that be?
May 7, 2007 at 12:59 pm #53431In reply to: Rss feed for latest topics
gtim
MemberCan anyone explain just how that got past Akismet?
-
AuthorSearch Results