Search Results for 'code'
-
AuthorSearch Results
-
August 15, 2009 at 6:36 am #78069
In 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
-moz
thing 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.
August 13, 2009 at 7:33 pm #27931Marius-
MemberI use a code in my theme in many places. This is to make the corners on boxes round. It’s this one here:
-moz-border-radius-bottomleft:6px;
-moz-border-radius-bottomright:6px;
-moz-border-radius-topleft:6px;
-moz-border-radius-topright:6px;IE don’t read it at all. So everything is square and sharp. Strange thing is, Safari on my Mac, only applies it for my Postwindow, but nowhere else. So one box is round, and the rest is square.
Mozilla Firefox however, reads this code perfectly, and applies it to everything I’ve assigned this code to. So the forum looks best in Firefox, but is there a way I can make it look as good in the other browsers too?
August 13, 2009 at 5:40 pm #77988In reply to: Can I remove features from BBCODE BUTTONS?
Marius-
MemberAh, I have one simple wish too. Maybe you could give me the code to put in right here
A youtube button! Is this possible?
August 13, 2009 at 5:28 pm #76962Ipstenu (Mika Epstein)
ModeratorTry
define( 'BBDB_HOST', '0.0.0.0' );
August 13, 2009 at 5:24 pm #78003In reply to: Limit width of images in ALLOW IMAGES plugin?
Ipstenu (Mika Epstein)
ModeratorDoy! Max-Width is correct, and it will NOT resize your images and make them larger
Moar Coffee, Less Meetings, Plz.
August 13, 2009 at 4:35 pm #78002In reply to: Limit width of images in ALLOW IMAGES plugin?
Marius-
MemberIs it then possible to click the image, and enlarge it? or is it just plain and simply resized with no other options?
I read somewhere that if a user posts a small image, this will be enlarged to that size, when using CSS, is this true?
–
edit:
Ipstenu, I tried your CSS code, and that did not work either. But this did:
#thread .post img {max-width:580px;
August 13, 2009 at 3:35 pm #76862Ipstenu (Mika Epstein)
ModeratorI only used Vanilla for a couple hours. I have a knee-jerk reaction to most code and if I don’t enjoy using it right away, or have issues setting it up/themeing it how I want, it gets dumped.
And I’m not comfortable telling you strengths and weaknesses because they’re subjective. Seriously, I say it a lot but it’s true.
Me? I don’t like PMs and reporting posts, membership ‘levels’ and all that hoopla. So for me, bbPress is great because it’s small, simple and I can write plugins for it since I’m familiar with WordPress. But see how subjective that is? You may want those things and see it as a weakness that bbPress doesn’t have them.
Knowing what each products strengths and weakness will help determine if it fits needs.
I think you’re doing it backwards. Start with a list of your needs and your wants. Then go ask each place ‘Can you do this and if so, how hard is it?’
August 13, 2009 at 3:02 pm #78020In reply to: Login-form including register-form?
Ipstenu (Mika Epstein)
ModeratorSure, just go edit your theme
August 13, 2009 at 2:59 pm #77987In reply to: Can I remove features from BBCODE BUTTONS?
Marius-
MemberAh you’re the author huh. Yeah well, it’s good you took initiative. Would really appreciate an admin panel for it. Like “what color do you want as background, what features do you want to include” etc. Had a hardass time styling the css in this one. The result turned out good though, so it wasn’t impossible.
However, more importantly, I wish for the option to select text, and one click on button will automatically at a start and end-tag. Instead of clicking twice. This is the number one wish! All the other stuff I can live with.
August 13, 2009 at 2:43 pm #76821In reply to: BBPress and BuddyPress all working without logins
Ipstenu (Mika Epstein)
ModeratorPratik, those BB_ definitions should be in your BB-CONFIG file, not your WP-CONFIG file
Move ’em over and try again.
August 13, 2009 at 2:42 pm #76860Ipstenu (Mika Epstein)
ModeratorMy original post is simply trying to understand *what* makes one of these forums systems better than another (pro/cons).
I’ve said this many times before: It all depends on your needs in a forum.
I’m not trying to avoid the subject, I just think it’s SO subjective that there is no answer. _ck_’s needs are different from mine, mine are different from yours. We may all have some things in common, but not all. Make a list of what’s important to you and then go find a forum that fits the bill. There is no one answer that forum A is better than B and they’re both better than C but worse than D except if you want to do foo and bar … You see how that gets weird?
I didn’t like Vanilla when I tested it, and I certainly didn’t find it easy to integrate with WordPress. In fact, their Single Sign On page says it’s still in Beta.
Also most apps talk like their competitors don’t exist not to be mean, but because it quickly turns into bashing and no one likes that. The beauty of open-source is that anyone can do anything with everything
August 13, 2009 at 2:35 pm #77998In reply to: Limit width of images in ALLOW IMAGES plugin?
Ipstenu (Mika Epstein)
ModeratorDid you try it with CSS? You shouldn’t need a plugin with this.
This should cover it, it’s what I’m using and I’ve had no more page borking:
post.img { width: 600px; overflow: hidden; cursor: pointer; }
You may need to adjust width as needed.
August 13, 2009 at 1:57 pm #31491Topic: "Deep" integration with theme only
in forum Themesnickf1195
MemberHi.
I am in the process of integrating bbPress with only my WordPress theme, not login or cookies. I have placed this in bb-config.php:
<br />
if ( !defined( 'ABSPATH' ) ) {<br />
include_once( '../wp-config.php' );<br />
}<br />and this in bbpressbb-templateskakumeiheader.php:
<br />
get_header();<br />
echo_css(); // function from WP theme's functions.php<br />The WordPress header loads, but some of the CSS isn’t present from the WordPress theme when I don’t have echo_css(); in the code. The CSS is produced by the WordPress theme’s functions.php, which doesn’t appear to be loading. I can call functions from functions.php inside bbPress, including the one that outputs the CSS, but it is placed at the wrong point in the code (inside the body tag instead of head,) even though I run it immediately after get_header();. I would also like it to be flexible in the event I change the theme.
So my question is: Is there a function inside WordPress to process the functions.php? Should I be in the WordPress forum?
Thanks a lot for your time and help!
Nick
-
AuthorSearch Results