Search Results for 'code'
-
AuthorSearch Results
-
January 21, 2009 at 7:35 am #71386
eclipsenow
MemberAnyone know if Lynda.com is about to do the latest WordPress, (let alone bbpress?) They covered using WordPress.com 2.6, but not 2.7 yet, and have about 3 courses on Joomla.
I’m there to learn Adobe CS4, and have ambitions of learning Dreamweaver, Photoshop, Indesign, etc and delusions of grandeur that I might one day understand my mac almost as well as my wife. (Who’s a VERY professional graphic designer, but a web-illiterate like I currently am). So I paid up for a year at Lynda.com (and will claim that on tax), and sat through 10 hours of CSS training and 3 hours of XHTML and am now starting on Dreamweaver. All this slowed down by Christmas, kids home for 6 weeks in the Australian summer break, and my messing about with Joomla! (There are some things I like about Joomla, but some bad experiences with trying to modify their templates left me a bit blech…. as well!

Yet I hear there is a state of the art Dreamweaver integration pack for $60 that will let me style up WordPress themes in DW! Woah! That almost won me over and gave me delusions of grandeur about one day donating a few state-of-the-art templates to the WordPress world as advertising for my own WordPress theme’s business.
And then the kids came in demanding ice-cream, and reality slapped me across my fantasising, drooling, delusional face.
So… in this vulnerable state of mind, I need a hug.
Cult like it is, this “choosing software before you know software” business and frame of mind!As a bit of an activist with other causes (and having had a little exposure to marketing, not a lot but enough) can I just comment that I think it would be better “press” if bbpress had some more features turned on in this forum? I personally really rely on email notification that someone has replied to a forum, and only check my RSS about once a day. (It’s all inconvenient). Instead of just clicking “Send post” I have to then click RSS, and then click Google Reader when that comes up, and then remember to check my RSS. I think the vast majority of bulletin board users like email notification of a reply. Is there a reason bbpress decided not to showcase some of their best plug-ins on their leading forum?
Anyway, so tired I’m nearly hallucinating. Night night, and no offence meant by any of the above.
January 21, 2009 at 3:34 am #69496In reply to: Themes for both WP and BBP?
Ipstenu (Mika Epstein)
ModeratorNot yet they haven’t. Be nice, but I still keep a backup of my site on a separate DB so I can play with things like ThemeHybrid
January 21, 2009 at 3:02 am #69525In reply to: Change Post Author?
John James Jacoby
KeymasterI think I may try to tackle this plugin when I have more time, because I find myself wanting it more and more.
I guess I come from the old school, where a webpage is basically just a snazzy interface for a database, so the interface should allow for any kind of manipulation of the database that you’d need, and only stop you from doing something silly.
January 21, 2009 at 1:48 am #71385John James Jacoby
KeymasterThe title of this post made me chuckle, so I had to chime in.
If worse really comes to worse, I am willing to assist on a more personal level. I can’t ethically advertise myself or my services here, but if you can google your way into contacting me outside of bbPress.org, I’d do my best to help you.
…And Joomla, blech…
January 21, 2009 at 12:57 am #71366In reply to: Link header image to WordPress
chrishajer
ParticipantJust edit the link in header.php in your template folder to point it to your WordPress home page, rather than the bbPress home page.
So instead of this:
<a href="<?php bb_uri(); ?>"><?php bb_option('name'); ?></a>You would have something like this:
<a href="http://www.example.com/home/">WordPress Home</a>January 21, 2009 at 12:13 am #71422In reply to: Adding a right sidebar to kakumei
chrishajer
ParticipantWhen you say “copy” do you mean “have the wordpress sidebar in bbPress” so it will be dynamic, just like it is in WordPress? Or, will you just copy and paste the code for a static sidebar into bbPress and it will never change?
If you want the former, you need integration, and you need to include WordPress inside bbPress so you have access to WordPress functions, like get_sidebar();.
If you want the latter, you just need to modify your template files to include the sidebar where you want it, and then modify the CSS to allow the space to exist in your forum.
January 20, 2009 at 11:53 pm #71388chrishajer
ParticipantDid you try any of the WordPress-style tricks?
<?php $topics = get_latest_topics('exclude=3' ); ?>
<?php $topics = get_latest_topics( -3 ); ?>January 20, 2009 at 2:17 pm #65375In reply to: Add event calendar to bbpress sidebar
tinkerer
MemberHi,
chrishajer ist right, the wp-blog-header is required in order to make it work.
But apparently this is still not enough; you’ll need to make sure bbpress accesses the event calendar’s CSS files as well; furthermore the events list from this plugin is designed in a way that it will display the details of an event by making use of javascript; this, however, fails. I couldn’t get this to work yet. So in my bbpress people see that there is an event on a certain day, but cant click on it.
Any ideas how to fix that?
Also I’d like to know whether there is a way of accessing the plugin via the bbpress dashboard instead/in addition to the wordpress dashboard. Or, skipping the bbpress dashboard altogether and have one dashboard for WP and bbpress.
January 20, 2009 at 2:04 pm #68238In reply to: Permanently deleting topics and posts
vertus
MemberI’m not a php-programmer… Where I can add the code from topic starter to make it work?
January 20, 2009 at 1:05 pm #71383eclipsenow
MemberThanks, that’s a really useful post.
Almost won over.

However, that installation + configuration video did freak me out a bit. I remember something about copying over cookies looked quite intimidating? How do I store the WP cookies the way the install video did, that didn’t seem clear?
Also, what’s your favourite theme been? I note that this thread alternates between grey and white, and that’s nice, but what happens when people just want it to be one colour and have quotes in some other colour? (So you can automatically tell, phpbb3 style, that someone is quoting someone else and replying to them specifically.)
January 20, 2009 at 12:26 pm #69358mousenator
MemberJust wanted to thank you for this post, you’re a genius
January 20, 2009 at 10:01 am #71382Malice
MemberSound interesting eclipsenow

You can backup bbpress using a wordpress backup tool. If integrated, bbpress and wordpress use the same databases anyway. The plugin I use sends a backup of the whole blog & forum to my mail every week, day, month or whatever you want).
I use this plugin: http://www.blogtrafficexchange.com/wordpress-backup/
Though this seems the most popular: https://wordpress.org/extend/plugins/wp-db-backup/
If you customize your template you should manually take a backup of that template as well, though. It’s just one folder you should get from your webserver whenever you change the template. If you don’t change the template (which I think is probably the case for you), then backing up your template folder is not of your concern yet.
More info & alternatives:
https://codex.wordpress.org/WordPress_Backups
(I’m sure the experts in this forum can tell you a lot more about general backup through cpanel and such. I’m just a guy learning through tutorials & trial and error just like you:p )
January 20, 2009 at 7:20 am #71380eclipsenow
MemberHi all,
thanks for your comments, some of you have had a lot of experience at this!
My site is probably more about the forum, but with blog/website article functionality leading to discussion in the forums. It’s a political reform agenda, with Phd level people recommending that we abolish the States in Australia and have a unified National legislation parliament with far more efficiency and streamlined structures than the mess we now have, and a strong Constitutionally recognised Local government responsible for the local implementation and management of the currently state run (and failing) public services (health care, etc). Sound controversial? YOU BET, so that’s why the BLOG comments will be “off” but the forum has to be absolutely state of the art, to handle all the quite long and technical posting.
So… while WP might have state of the art blogging, I’m really looking for forum functionality.
Also, as this topic is on databases, has anyone used Brinkster? I suck at even normal Cpanel phpmyadmin stuff, let alone Brinkster… they seem to want people to hand code stuff in php.
I don’t have to know php if I’m going to use bbpress do I?
Lastly, why doesn’t this forum have email replies turned on?
January 20, 2009 at 3:31 am #71270In reply to: [1.0-alpha6] Links with quotes breaks
Ipstenu (Mika Epstein)
ModeratorOkay, the fix (one file) did not work. What did work was re-uploading everything from the latest trunk build.
Leaving the stuff below to show I recognize I’m a tard
Sam, it’s really NOT fixed.
On a BRAND NEW post I get this
<a href="http://thisis.my/link"">This is my link</a>TWO quotes at the end. TWO. Not one. And I can’t edit ’em or they break worse. They ONLY work if I leave out quotes.
January 20, 2009 at 3:03 am #4700Topic: How to stop sessions being killed
in forum TroubleshootingRyan Hellyer
ParticipantHi,
I’m trying to setup a demo forum of bbPress (Version 1.0-alpha-6 ) to allow users to create their own bbPress themes. The template generator itself is powered by WordPress, and bar the occasional bug seems to work fine. The bbPress themes it exports seem to be working okay too bar a few code gremlins which I intend to iron out once I get the system up and running.
What should happen, is that you should be able to go to the following URL, make as many modifications as you want, click submit and bam! a new design for your bbPress forum should be shown. However for some reason, whenever the bbPress forum loads it kills the session variables which store all of the data relating to the current design

http://pixopoint.com/demo/bbpress/?generator=on
When you go back to the WordPress version (http://pixopoint.com/?generator=on) the original design is gone and it reverts back to the default

Any ideas?
As a temporary measure I plan to create a WordPress Page with the same HTML as would be in the bbPress forum so that users can see their design as they’re modifying it. But it would make a lot more sense if they could modify it within a real live bbPress forum.
January 20, 2009 at 2:33 am #4699Topic: Adding a right sidebar to kakumei
in forum Themesmzimmers
MemberHi, all –
I’d like to look into adding a right sidebar to my kakumei. My intent is to just copy the right sidebar code from my blog, but…it’s not clear where I should insert it. The taxonomy of kakumei appears somewhat different than the theme for my blog, in that there’s no “index.php” that does all the includes for the pieces of the page.
Can someone point me in the right direction? I don’t imagine that I’m the first one to tackle this.
Oh, and…thanks to all those who created and manage bbpress. This is quite a nice tool.
January 20, 2009 at 12:51 am #4698Topic: Why was the bbpress wikipedia page deleted?
in forum Requests & Feedbackeclipsenow
MemberDid something political happen? Why was the bbpress wiki deleted? That’s not fair! I use wikipedia all the time, and was hoping to get some user and community stats on bbpress. I’m thinking of converting, but am scared.
January 19, 2009 at 11:22 pm #71376eclipsenow
MemberYeah, point taken. And I have to say, I’m attracted to the design of WP and BBpress. But Malice, what didn’t you like about Joomla?
Honestly, I’m not here to troll but am keeping an eye on all developments across the Joomla / WordPress / Drupal divide. (But Drupal gives me the shudders because I don’t know php language).
Joomla has new extensions being developed all the time, and there’s a whole new 1 click blog installation coming out to. The “Agora” module is truly revolutionary with it’s 1 click installation into Joomla with complete integration. Also, the current “ugly” Agora forum templates are getting a total work over after version 3 is introduced. Agora is a complete package that does something like 70% or 80% of everything phpbb3 does, and so I don’t need to go hunting down 20 extensions.
So Malice, what’s not to like?
I’m almost beginning to think that it’s what one encounters the best community support with first. “First impressions” matter, much like joining a new community, church, or whatever. Good experience first time and some small measure of progress made = lifetime member, and all other competing opportunities screened out as “too hard, I’ve made my choice”. It’s just the way it seems I function and many others… newbies that is. Maybe long term professional web designers and developers have made their choices on more rational grounds.
January 19, 2009 at 7:57 pm #69357ganzua
Memberoops, you’re right, sorry
I just missed it because I was editing 4-5 files at the same time. Got it.
January 19, 2009 at 7:53 pm #69356_ck_
ParticipantI showed you the code to do the sum yesterday in the extend section.
https://bbpress.org/plugins/topic/bb-topic-views/page/3/#post-2638
January 19, 2009 at 7:46 pm #69355ganzua
MemberSuperb post!
I followed your guide and a have a last 10 posts query working in my worldwide famous 404 page.
Regarding your last code, if you are quering bbpress database, don’t you want a global $BBdb; instead of global $wpdb; and a $results=$BBdb instead of $results=$wpdb ?
BTW, how do you query all ‘views’ fields that bb topic views plugin adds to bb_meta table? If we sum up the value stored in all those field we have a hit counter.
January 19, 2009 at 12:23 pm #71374Malice
MemberI’ve done Joomla. Glad I got rid of that.

If you don’t understand something in a guide, just look up another guide for the thing you don’t understand. Also, there’s a huge topic somewhere around this forum _ck_ wrote with a lot of details about the installation. Would be surprised if it wasn’t a sticky.
January 19, 2009 at 10:48 am #71195In reply to: Using wp_head within bbPress
Ryan Hellyer
ParticipantThanks for input everyone
Sorry for the delay in replying, my web host decided to mess up my site and fixing it has taken up all my time recently.I guess I’ll have to find an alternative way to get the information out that I want then if wp_head isn’t going to work.
January 19, 2009 at 4:03 am #71361In reply to: Confused about filter bb_current_user_can
Burt Adsit
Memberk. Think I got this licked. Wasn’t working there for about 4 hrs though. I wanted to assign various mod caps to a user in specific forums. I did that and the template goodies for a mod popped up all over the place. Well this was easy. Wrong.
Deleting a post is an ajax maneuver. The ajax code calls bb_current_user_can() again. So what’s the prob? I’m still returning ‘ok’ as a cap for ‘delete_post’. Well I’m also checking for a forum_id as part of the validation process. ajax calls exist outside in the twilight zone where there are no valid forums. Poor things.
Had to check for DOING_AJAX, determine what forum the post was in and then say ‘ok’.
To think my mother wanted me to be a plumber. Plumbers don’t have this kind of fun.
January 18, 2009 at 7:59 pm #71360In reply to: Confused about filter bb_current_user_can
Burt Adsit
MemberThanks _ck_ i’ll study these.
Damn _ck_. I do believe that’s the longest compound ‘and’ statement I’ve seen in awhile.
Whatever works ‘eh?Thanks again.
-
AuthorSearch Results