Search Results for 'code'
-
AuthorSearch Results
-
August 16, 2009 at 7:26 pm #78124
In reply to: BB Smileys doesn't work… either :(
Marius-
MemberI’ve disabled all non-working plugins, but I can’t disable working ones. I’ve actually launched the forum for public use now, so I can’t mess around too much.
–
I’m depressed now
August 16, 2009 at 7:21 pm #78106In reply to: Bavatars doesn't work!
Marius-
MemberAgain, I have no clue about permissions and codes and stuff. I just upload files to my server. And no, that directory does not exist. Atleast not as I can see.
August 16, 2009 at 7:15 pm #78105In reply to: Bavatars doesn't work!
chrishajer
ParticipantDoes this directory exist and is it writable (0755 permissions on the directory)
/home/michael/public_html/forum//avatars/c/c4/c4c/Also, the double forward slash there doesn’t need to be there. This is not causing your problem, but it is unnecessary. Something has a leading slash or trailing slash that’s unnecessary.
August 16, 2009 at 7:12 pm #31506Topic: Bavatars doesn't work!
in forum PluginsMarius-
MemberIt gives me this error when uploading an avatar image:
Warning: imagepng() [function.imagepng]: Unable to open '/home/michael/public_html/forum//avatars/c/c4/c4c/c4ca4238a0b923820dcc509a6f75849b.png' for writing: No such file or directory in /home/michael/public_html/forum/bb-plugins/bavatars/bavatars-profile.php on line 42What do I do?
August 16, 2009 at 6:56 pm #77184In reply to: Comment on a post ala Facebook style
Ben L.
MemberTechnically, this would be threaded posts, and yes, avatars are resizable with basic code.
post_author_avatar( 48 );makes 48×48 pixel avatars,post_author_avatar( 80 );makes 80×80 pixel avatars, etc.August 16, 2009 at 2:47 pm #77182In reply to: cannot install plugins
johnhiler
MemberYah, a lot of plugins don’t have admin menus… they either:
* Have no settings at all, or
* Have the settings at the top of their code, and require you to edt them using a text editing program
Hopefully that’s the case! If you’re not sure, let us know which plugins you’re using…
August 16, 2009 at 12:11 pm #60374In reply to: Smilies aka Emoticons Plugin (in English)?
chandersbs
MemberThis is not working either on 1.0.1
August 16, 2009 at 10:19 am #76995Ashish Kumar (Ashfame)
ParticipantI didn’t get what are you trying to do? Can you explain further?
August 16, 2009 at 4:26 am #76994chandersbs
MemberI haven’t been here for a while. Will try it for sure and give feedback.
August 15, 2009 at 4:38 pm #77608In reply to: Display random (or online) member avatars
Ashish Kumar (Ashfame)
ParticipantThere is a direct function for your need but I can’t recall it at the moment.
How about the following?
<?php $avatar = bb_get_avatar( $user->ID ) ;
echo $avatar; ?>I took it from the
profile.phpAugust 15, 2009 at 4:25 pm #78090In reply to: Show post Author next to Last poster?
Ashish Kumar (Ashfame)
ParticipantTry hardcoding
<?php topic_author(); ?>in your template at the place where do you want the Author name to appear.August 15, 2009 at 6:44 am #78063In reply to: Topic Icons Default Icon (Advanced request)
Olaf Lederer
ParticipantHi,
you mean like on my frontpage (check the link from my profile)
I use this code:
<?php while ( bb_forum() ) :
if (get_forum_parent_id() == 0) : ?>
<?php if (bb_get_forum_is_category()) : ?>
<tr<?php bb_forum_class('bb-category'); ?>>
<td colspan="3"><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td>
</tr>
<?php continue; endif; ?>
<tr<?php bb_forum_class(); ?>>
<td><?php bb_forum_pad( '<div class="nest">' ); ?><a href="<?php forum_link(); ?>"><?php forum_name(); ?></a><?php forum_description( array( 'before' => '<small> – ', 'after' => '</small>' ) ); ?><?php bb_forum_pad( '</div>' ); ?></td>
<td class="num"><?php forum_topics(); ?></td>
<td class="num"><?php forum_posts(); ?></td>
</tr>
<?php
endif;
endwhile; ?>The function get_forum_parent_id() is located in my personal plugin file:
function get_forum_parent_id( $forum_id = 0 ) {
$forum = get_forum( get_forum_id( $forum_id ) );
return apply_filters( 'get_forum_parent_id', $forum->forum_parent, $forum->forum_id );
}August 15, 2009 at 6:36 am #78069In reply to: How to sort on column heads?
Olaf Lederer
ParticipantI know this function from many type of websites but never used on a forum

don’t think that it will be easy to develop inside bbpress, check the plugin list I thought I saw some old extension there
ps. Pimp is a word young people like to say (pimp a car)
August 14, 2009 at 4:38 pm #77060In reply to: bbpress and memcache?
johnhiler
MemberRuby on Rails has some stuff to allow memcached storage of user sessions:
http://awesomerails.wordpress.com/2008/06/26/memcache-sessions-in-rails/
@finalwebsite – _ck_ is a female developer.
I was referring to her statements that “the performance boost will be trivial, almost non-existent for a single server setup” and ” Memcache is only beneficial for multi-server systems, it’s why it was invented in the first place.” But ymmv!
August 14, 2009 at 2:31 pm #77781In reply to: Sometimes Less Is Just Less
DennisH
Member@johnhiler Thanks for the links. I’ve decided it only makes sense for us to use BB if it was deeply integrated. I’m willing to take the server hit, it can’t be any worse than what phpbb is doing.
@mark-k I think you would be everyones hero if you pulled it off. Instead of one big plugin, maybe you could do several smaller ones.
The one thing I can’t wrap my head around is login pages and profile pages. Having 2 different pages (integrated or not) is not only confusing to users it’s confusing to administrators. In a perfect world BB would handle all of this, but we know that’s not the case. So what to do? You can’t have a BB “login box” in WP, but BB should be their only profile page (that’s where they will be uploading avatars, checking PMs, etc.). So could you redirect WP login page to BB? If so how would you automatically redirect them back to the last visited blog page? I’m so confused I don’t even know how to write these questions intelligently. How do you have just one login page and just one profile page?
PS
I got the avatars working.
August 14, 2009 at 2:19 pm #76989Olaf Lederer
ParticipantI thought the multi CSS border has covered IE browsers too

…looks good in chrome and FF on Linux
August 14, 2009 at 2:15 pm #77159In reply to: tranfer posts from another forum
Olaf Lederer
ParticipantHi,
you need to check the old and the new table structure (use phpmyadmin) for this.
next you need to convert the old tables to the format of the new tables.
Learn from how bbpress will create the records inside the tables and import your old data this way.
I don’t think that there is a tutorial on how to do that (didn’t know that Joomla has a forum module)
August 14, 2009 at 10:36 am #67349In reply to: All setting use cache
Tomcraft1980
MemberIs setting up this code in bb-config.php still important fpr bb 1.02 as it became part of bb-settings-php?
$bb->load_options = true;kind regards
Tom
August 14, 2009 at 3:40 am #77054In reply to: bbpress and memcache?
frooyo
MemberInstead of memcache, output caching might be a better option for non-logged in user. Something like WordPress’ SuperCache plugin.
More information can be found about this discussion here:
https://bbpress.org/forums/topic/covert-wp-super-cache-plug-in-for-bbpress#post-37072
Essentially, a lot of people would love the SuperCache plugin to be converted for use with bbPress … but no one has yet committed to performing the work needed to convert the plugin
August 13, 2009 at 11:40 pm #76864johnhiler
MemberHehe, most people talk as though bbPress doesn’t exist.

I personally talk as if bbPress 1.0 doesn’t exist… 0.9 or bust!
I haven’t used Vanilla, so I can’t comment on them… I wish there was more benchmarking across boards platforms for speed. But I haven’t seen much on that front…
August 13, 2009 at 11:03 pm #77935In reply to: Matsuri.maoi.se – WPMU>BP>BbPress integrated
anandasama
MemberIt’s not a deep integration: But that’s something I will try later.
August 13, 2009 at 8:40 pm #76988johnhiler
MemberYou might want to try the new CSS Q&A site that’s affiliated with stackoverflow… http://doctype.com
I have nothing to do with it – but it’s designed for CSS Q&A!
August 13, 2009 at 8:35 pm #76987Marius-
MemberThanks man. Can I post both codes without them conflicting each other?
Both border radius and mozilla codes?
And using border-radius, do you have input each of the four corners, like in the Moz-code? Or can you just specify one line like the one you gave me?
August 13, 2009 at 8:26 pm #76986Ivaylo Draganov
MemberHi, do you notice the little
-mozthing in front of the CSS property? That is an internal Firefox only CSS property. IE does not support rounded borders at all (and maybe will not soon). Safari on the other hand and all other webkit based browsers (Chrome, Konqueror) do support it via their own special CSS properties.So for Safari(and Chrome) the code will be:
-webkit-border-radius: 6px;for Konqueror (not very widespread but anyway):
-khtml-border-radius: 6px;and since rounded borders are a property from the upcoming CSS3, here you have the standard definition (which you should also include for the bright moment in the future when all browsers will natively support it):
border-radius: 6px;Of course using these properties will render your CSS invalid in the W3C validator.
Extended info on CSS3 border-radius:
http://www.css3.info/preview/rounded-border/
Cheers

Pssst! But hey – is that a bbPress issue? And why post in “Installation” subforum?
August 13, 2009 at 7:42 pm #78022In reply to: Login-form including register-form?
Ipstenu (Mika Epstein)
ModeratorI was hoping someone could do it for me.
Well there’s your problem right there

Making a theme is easy AND it won’t break the source code or become beyond repair. A theme is all HTML and CSS, with a little PHP tossed in, and not the coding kind of PHP where you have to make SQL calls. Unless you want to, of course.
Go to https://bbpress.org/documentation/themes/ for the basics. You’ll need this under your belt if you ever hope to maintain a forum without going nuts.
-
AuthorSearch Results