Search Results for 'code'
-
Search Results
-
Topic: how can i verify the login ?
I’m trying this code but doesn’t work
<?php if ( bb_is_profile() )
echo "hi";
?>i’d
How can i show the forums in the sidebar ?
I’m trying this code but doesn’t work
<ul>
<?php while ( bb_forum() ) : ?>
<li>
<a href="<?php forum_link(); ?>"><?php forum_name(); ?></a>
(<?php forum_topics(); ?>) (<?php forum_posts(); ?>)
<?php endwhile; ?>
</ul>Hi,
I just recently installed bbpress 1.0 rc3 and today upgraded to 1.0.
I believe I have either set something up wrong or there is something wrong with my database and I’m hoping someone help point me to a solution.
First, the forum is at http://www.oktearoom.com/forum
Ok…problems:
1. bbPM – When I hit send on a PM I get:
Forbidden
You don’t have permission to access /forum/my-plugins/bbpm/pm.php on this server.
2. BBcode Buttons Toolbar
Not showing up at all and and there is no change if this plugin is activated or deactivated.
3. bbPress Smilies
All of the smilies appear as ?’s even though I believe i installed this plugin correctly.
I just thought I’d give you all the details of the problems I’m having since they are all plugin related and thank you in advance if there is any advice you can give me.
Happy 4th of July to the American and to everyone else I hope you’re having a great weekend!
Thanks for taking the time to read my newb post.
bbPress 1.0 Simplified Chinese Translation.
You can download it in URL below.
http://wpcn.googlecode.com/files/bbPress.1.0.Simp.Chinese.pack.only.v1-wpcng.zip
There maybe still have some translation bugs. So please let me know and I will fix it.
Topic: Putting a border on images
I’ve just added the Allow-Images plugin to a forum to bring a little life to some topics. There’s a post you can see at http://mbforum.letsdoo.org/topic/visitors-who-arent-registered#post-17.
I’m trying to figure out a way to put a 1 pixel grey border around images, like the avatar image on the left has. The avatar has its own CSS formatter, but I’m not so hot with CSS and can’t work out how to do it for the image in a post. I’ve used the usual bbcode [ img ] xyz [ /img ], but putting a CSS format tag in the [ img ] part stops the image from being displayed.
I guess I could hard code it into the plugin, but any better ideas..?
Edit:
Duh. I answered my own question. I just changed the stylesheet
img.avatar { display: block; border: 1px solid #ddd; border-width: 3px; border-style: double; }
to
img, img.avatar { display: block; border: 1px solid #ddd; border-width: 3px; border-style: double; }