Find the .post rule and add overflow: auto; to it. That way there will be a scroll bar at the bottom if anything is too long. overflow: hidden; will simply hide it instead.
Also, if you didn’t know bb does let you search.
Hit up http://www.nyquistcapital.com/forums/search.php . You can also add a search form to your template but I’m not sure just how.
I have found if I post very long links they do not wrap. Any clue on how to prevent this?
Yea after i tried posting it in there a few times i figured that out. Will do boss!
If you’d be so kind as to take all that code out of your post and put it in http://pastebin.ca/ then link to it, that’d be nice. Also, bb doesn’t by default use bbCode. Code is delimited by ` backticks.
This is what i have for my wp login. I want my users to login/register from the wp side. So i have this snippet of code i gathered from various forum posts as well as some of it was in my current theme.
It says Welcome guest when you arent logged in or registered and it gives the link to register. If your signed in or sign in it says Welcome username and shows the forum avatar you have set. Based on your user level it shows you different links for each thing you can do. Like make a post in WP or your profile and favorites in the forum.
I have a redirect page setup that when you login from this form it just directs you back to the index page instead of going automatically to the dashboard as this confuses most people and the links are on there if your signed in to show you what you can do.
** I didnt write this i just gathered it up from various sources on the internet in different forum posts and edited it to suit my needs. Part of it was already wrote into the theme i bought for my wp. **
pastebin url to it: http://pastebin.ca/651318
The redirect part is a file i named redirect.php and placed in my wp main directory with a redirect link to the main page. You can see that bit here :
http://pastebin.ca/651326
If you have your bbpress intergrated well with wp you should be able to use the same form on your forum. That is what i use.
Looks pretty good in FF. You could push the google ad down a bit. It looks to cluttered there squashed upside your views and tags section.
Ah I know what it is after studying the code a bit.
They never planned on $topic_id being null or not set, so it’s being inserted into the query as blank.
mysql is getting something like
SELECT meta_value FROM $bbdb->topicmeta WHERE topic_id = AND meta_key='views'
see the blank before AND? It’s unacceptable to mysql, needs to be a value.
hack
function get_view_count ( $topic_id )
and
function initialize_view_count( $topic_id )
and make a new first line for each that says
if (!$topic_id) return;
Should be a dirty workaround until the author can take a look.
I haven’t seen the bb-topic-views author around, well ever, but apparently it’s been two months or so.
Unfortunately I can’t reproduce the error or I’d try to help.
Can this be used as a plugin? The real questions should be: Can you overide normal bbpress functions with a plugin? And if so, how would this plugin look like?
And can a function like this be added:
If user logged-in = false -> redirect to login.php (or register.php)
everything in front end is ok but in admin panel i have got that error for moderated post
bbPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘AND meta_key=’views” at line 1]
SELECT meta_value FROM bb_topicmeta WHERE topic_id = AND meta_key=’views
Hi!
I don’t use BBPress in that site, i’m installing it on another site, and there the code i posted works
Hey Detective, thanks for the code snipet. I checked out your site and I see it on your sidebar in the forums but not on your main WP sidebar? BTW, nice looking site.
I believe I have figured out how to trick the new trunk alpha version to handle non-query and special views thanks to Sam Bauers.
I look forward to releasing in a day or so a trunk compatible version of “my views” along with my experimental “list installed plugins” (a public view of your bbpress plugins in use) and “all available bbpress plugins” (based on Sam’s powerful plugin browser class).
I’m kinda surprised that they didn’t just port the wordpress plugin.
It has more features and given how Matt wanted to make bbpress so “light”, virtually everything should be optional.
I guess they figured forums would be a huge target without any kind of captcha or turing test for signup.
I’m still working on it when I have the time but what do you think of the 760px wide hybrid I made?
http://bbshowcase.org/forums/?bbtheme=the-hybrid
I find white/grey/green a bit bland so I will add some colour to it eventually but wanted a starting reference point that looked similar to both.
Because I’ve got about a dozen projects going at any given time and if it doesn’t popup in my email or IM I usually miss it.
(never have found an rss reader that I particularly liked either)
I guess I could write a program that periodically scans my favorites and emails me when there is an update… but that would be a 13th project so my head would then explode… LOL!
Ah, you know what?! Yahoo has an email-upon-rss-update notification feature that I can just plug the rss into, so I’ll just do that for now. I think it only scans once a day though.
Why don’t you just use the RSS feed with RSS reader?
Could they please consider using the favorites notification plugin?
People are posting bug reports on my plugins and I am completely missing them because I don’t know to check.
Maybe they can simply code the “extend” area to email the plugin author if there is a post on any of their plugin pages?
I kinda would like a page that loads all plugins made by me, so I can have a page on my website showing the plugins made by me with description and download button, just like ck’s page does.
Can you release it as a (stand alone) plugin perhaps? As far as I know, SamBauers is admin only…
Is there a way via config.php or similar to override the local path? I thought it was BBPATH but I tried forcing that to something different and it’s not working, it’s still looking at the old path for the templates?
UPDATE: ah, I see the problem now. Even if you are using the default template, if you have changed your template and then changed it back to default, bbpress rememebers it as a custom template selection, not the default
so in template-functions.php ~line 17
if ( file_exists( bb_get_active_theme_folder() . $file) ) {
it thinks there is a custom theme and tries to load it’s known path stored in the db, rather than looking at BBPATH
For now I just deleted “bb_active_theme” from the topic meta table and it reverted to the default path off BBPATH, yay!
A minor bug I can put into trac.
It’s just a proof of concept for play. I wanted a list and “borrowing” your dataset seemed like the fastest way.
If you changed how your class functions work it would break but I can make the source available to whomever wants.
This is what i do in my sidebar (in WP and BB):
<form action="<?php bloginfo('url') ?>/wp-login.php" method="post">
<label for="log">Usuario<br /><input type="text" name="log" id="log" value="" size="22" /></label>
<label for="pwd">Password<br /><input type="password" name="pwd" id="pwd" size="22" /></label>
<input type="submit" name="submit" value="Ingresar" class="button" />
<label for="rememberme"><small><input name="rememberme" id="rememberme" type="checkbox" checked="checked" value="forever" /> Recordarme</small></label><br />
<input type="hidden" name="redirect_to" value="<?php echo $_SERVER['REQUEST_URI']; ?>"/>
</form>
I just downloaded Firefox w/Firebug and looking at the message it appears to be related to another plug-in I am using. Otherwise I think it works fine, but it’s looking like more customization than I want to do right now for those behaviors I was talking about. I think I’ll just stick with what I have, but thanks to both for your help! I’ll provide a link to my site once it’s live, right now it’s kind of a mess.