Search Results for 'test'
-
AuthorSearch Results
-
May 11, 2007 at 12:55 pm #1833
Topic: 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?
May 7, 2007 at 12:09 pm #57194In reply to: Show exact date of post? (not freshness)
fel64
MemberOkay, I promise in future I’ll be all mature and responsible and test these things first. Sorry for the inconvenience. This works on my forum now; just copy and paste this into a new plugin file. Then put
<?php aposttime(); ?>
for default time output, or<?php aposttime( 'DATE FORMAT' ); ?>
for your own time formatting.<?php
/*
Plugin Name: Accurate Post Time
Plugin URI:
Description: Outputs an accurate post time in, optionally, your choice of formatting. Use <?php aposttime( 'DATE FORMAT' ); ?> in your template, <a href="http://uk3.php.net/date">date formatted according to PHP standards.</a>
Author: fel64
Version: Phi
Author URI: http://www.loinhead.net/
*/
function aposttime ( $dtformat = "jS F 'y" ) {
global $bb_post;
$aposttime = date( $dtformat, strtotime( $bb_post->post_time ) );
echo $aposttime;
}
?>May 6, 2007 at 11:21 pm #57507In reply to: Theme problem with new topic page from front page
fel64
MemberI really do
This Patrick Ehrlund? He’s great – even if he does have a flash website
I’d argue that the coolness of appearance is worth it, since the login form’s not exactly rocket science. I think it’s still pretty distinguishable anyway. Mockups:
http://img513.imageshack.us/img513/5090/ochreblackuf9.jpg
http://img338.imageshack.us/img338/5758/ochrewhiteyh4.jpg
That’s just suggestions if you’re interested, no need to give it further thought
Test account to see the problem with the HTML, didn’t realise Chris had already fixed it. My bad.
May 6, 2007 at 10:56 pm #57506In reply to: Theme problem with new topic page from front page
csl749
MemberAha – thanks very much chrishajer! I’ve just noticed that there’s a surplus /div in footer.php. I’ve removed it and all is now well, as far as I can tell. Though it’s strange how it only affected that one page (?!). Thanks for pointing me in the right direction.
Thanks fel64 – glad you like the design of the site!
The header pic was designed by a friend of mine, Patrick Ehrlund. I’m torn about the login background – it does look much better without the white background, but also more difficult to read. I might play with some font colours to get something that displays nicely over the header pic colours.
A test account? What do you mean? I’ll help if I can.
May 6, 2007 at 3:35 pm #57505In reply to: Theme problem with new topic page from front page
fel64
MemberIt’s a really nice site and I love the header. The login form would fit in more if you remove the
background: #FFFFFF
property in the CSS.Could you make a test account please, so we can see the HTML?
May 6, 2007 at 12:32 pm #1830Topic: Theme problem with new topic page from front page
in forum Troubleshootingcsl749
MemberHi folks,
Here’s my forum at the moment after some theme-tweakery to make it fit the general theme of my wordpress site. Everything’s more or less fine, but there’s just on little section that I can’t seem to solve – when using the ‘- ADD NEW’ topic link on the latest discussions section on the front page I get a gap between the footer and the new post div, yet this gap is nowhere to be found on any other of the pages. Looks a bit incongruous.
Here’s a pic of how the problem looks: http://img525.imageshack.us/img525/7683/bbpresspw3.jpg
Any help on how to solve this little problem would be great – thanks!
May 6, 2007 at 5:57 am #53429In reply to: Rss feed for latest topics
collegematesca
MemberI did add the avatar upload plugin to the post.php page, and add a few line breaks br / but thats about it?
May 6, 2007 at 4:24 am #53428In reply to: Rss feed for latest topics
Trent Adams
MemberI can’t get it to work with safari or firefox either on your site. Have you changed any of the files in your template that deal with the feed?
Trent
May 6, 2007 at 4:19 am #57497In reply to: WordPress and PHPBB
Trent Adams
MemberI used phpbb for about 4 years and once I created a test site of bbPress, I converted over all my forums to bbPress and continue to help support a great product. As far as I can tell, almost all the ‘bloated’ features of phpBB that people love have now become plugins for bbPress, so if you like all or most of those features, you will love bbPress.
Trent
May 5, 2007 at 8:51 pm #53427In reply to: Rss feed for latest topics
collegematesca
MemberXML Parsing Error: xml declaration not at start of external entity
Location: http://mysite/rss.php?profile=1
Line Number 2, Column 1:<?xml version=”1.0″?><!– generator=”bbPress” –>
This is the error I am getting when I try to load my rss feed from ie7? any idea how to fix this?
May 4, 2007 at 1:00 am #56564In reply to: limit forums included in latest discussions
atomastro
Memberworks perfectly.
May 3, 2007 at 4:36 pm #56563In reply to: limit forums included in latest discussions
fel64
MemberYup! Find this (or similar) codeblock in your theme’s
front-page.php
.<tr<?php topic_class(); ?>>
<td><a href="<?php topic_link(); ?>"><?php topic_title(); ?></a></td>
<td class="num"><?php topic_posts(); ?></td>
<td class="num"><?php topic_last_poster(); ?></td>
<td class="num"><small><?php topic_time(); ?></small></td>
</tr>Around it put
<?php if( $topic->forum_id != 666 ) { ?>
... that code block ...
<?php } ?>You will probably want to change
666
to whatever forum id you actually want to exclude. You can put any conditional logic you like inside those if( … ) brackets, so for example to filter for two forums you would putif( $topic->forum_id != 666 && $topic->forum_id != 999 )
. Hope that helps.May 3, 2007 at 2:59 am #1695Topic: limit forums included in latest discussions
in forum Themesatomastro
MemberI would like to limit the forums being included in the latest discussions section. More accurately, I wish to specifically exclude a forum. Anyone have any ideas on how to do this in the template?
May 2, 2007 at 7:05 pm #57345In reply to: Plugin: Say My Name
Trent Adams
MemberVery nice! I will test it out for you and report back if I see any problems!
Trent
May 2, 2007 at 2:02 pm #57326In reply to: 中文测试 chinese test
mathzqy
Memberyeah, you are wrong.
May 1, 2007 at 7:04 pm #56257In reply to: importing bb_users into wp_users
jessiebirks
MemberThanks Trent!
I tested the change on one user, and I was able to edit his ID number to match the number from the old PHPBB. As hoped, his posts in the transferred Forum are now correctly attributed.
However, I ran ino a quirk. When I change the ID in WordPress, the user gets bumped in the User Role list. He went from “Subscriber” to “No role for this blog.” I manually promoted him to Author from the wp-admin/users panel.
What field in the wp-db controls the user roles? Can I avoid this quirk on future ID edits?
-
AuthorSearch Results