Search Results for 'code'
-
AuthorSearch Results
-
August 30, 2007 at 4:02 am #59879
In reply to: theme: hybrid kakumei+bbpress.org template
_ck_
ParticipantI need to go back and change the bottom into a table like I did with the FutureKind theme. That will solve both the border on the headers and the spacing is an easy fix with line-height. I haven’t released it because I still have to clean up some CSS laziness that I did and put in some conditional code for bb-topic-views (so it will still work right if people don’t have it installed)
The server load on dreamhost is always wrong (as with their microtime so the page render time is always wrong). Dreamhost uses a NFS filesystem where the files are remote from the server the code is executing on. So if there is a file queue, the load will be artificially high, it’s not CPU load, it’s disk load (which affects the overall load numbers).
I only paid $20 for that dreamhost (for a year promo) and will not be renewing. It’s mind-boggling that some people pay over $100 a year for that hosting.
August 30, 2007 at 3:41 am #57091In reply to: previous/next thread navigation
baptiste
MemberI put together a plugin that will allow you to include navigation links to flip forward or backward through forums and/or topics within a forum.
http://plugins.baptiste.us/plugins/nav-links-for-bbpress/
This is a first stab. No online config, etc. yet – just the main code to get the right links and forum/topic IDs. I hope to add some things to it and improve the API a bit to let templates get individual ‘next’ or ‘previous’ links.
I ended up having to do direct DB queries – I couldn’t find a way in the main bbPress code to get me the info I needed, but I’m not super familiar with the core code either so I may have missed something. But no functions or class methods jumped out at me.
I’ll post the bbPress plugin URL for it once it’s approved, but you can download it from the link above.
Here’s a look at what it does on a forum I’m still setting up/messing with.
Topic Nav – look in the meta section under the RSS link:
http://onthepitch.org/talk/topic/test-topic-2
Forum Nav – look under the list of topics:
http://onthepitch.org/talk/forum/soccer-parents
Yes – I know the forum navigation disappears in forums with no posts – side effect of the action hook I used to insert (it seems to return without applying filters when there are no posts – which I guess makes sense if you’re figuring there’s nothing to ‘filter’. But many filers append
)
This definitely makes navigation for my setup much easier.
August 29, 2007 at 7:47 pm #59878In reply to: theme: hybrid kakumei+bbpress.org template
neyoung
MemberWhen are you going to make kakumei too available _ck_ ? I’ve been drooling over it for a week or two now
August 29, 2007 at 7:45 pm #59877In reply to: theme: hybrid kakumei+bbpress.org template
benbeltran
MemberAha! It’s nice, I think it needs a small bottom border on the Views and Hot Tags headers, you know, like the other headers
.
Again, I think the list of views could use a bit more space between lines.
Seriously, what’s with your serverload O_O. Do you want some free hosting for that stuff? It’s not healthy to live in a server with 9+ server load.
August 29, 2007 at 5:12 pm #60301In reply to: Some general questions!
chrishajer
ParticipantDo you have a file called
/my-templates/ronjroy/screenshot.png
? AFAIK, it needs to be a png, it needs to be called screenshot.png and it needs to be in that directory. If it is, then I’m not sure what the problem is. That works for me. Mine is 300×225 also, not sure what happens when it’s smaller or larger than that.August 29, 2007 at 4:38 pm #60259In reply to: Post replies bring you to the second page
_ck_
ParticipantIt’s kinda offtopic for here but it’s such an easy fix.
The reason why the news doesn’t turn white is because the link does not have the class “current_page_item” set. It should be something like
<a class=current_page_item href=
but I am not familiar with your menu system, if it’s hard coded or if it’s part of some plugin.I am guessing it’s hard coded and then it would be just a matter of editing the template for the news page to add class=current_page_item
August 29, 2007 at 4:30 pm #57090In reply to: previous/next thread navigation
baptiste
MemberThis is definitely worth doing. bbPress needs to have template functions that allow you to get the ‘next’ or ‘previous’ forum and topic. This would allow themes to include nice navigation links like ‘Next Thread’, ‘Next Forum’ instead of always having to jump to the front. WordPress does this for posts.
I’ve looked all around and I’m just not seeing anything like this.
I’m going to mess around with some code – it looks like the BB_Walker has a stepping ability built in that SHOULD make this pretty trivial, but I’m still getting comfortable with the inner bbPress classes and such. I’ll post here if I come up with anything. If anyone else has tried this or knows of a plugin that exists already – let me know. I couldn’t find one. Again – this isn’t pagination when you have lots of posts/threads. This is when you are in a topic or post view, being able to navigate to the next post, thread, or forum – i.e. like flipping pages of a book.
August 29, 2007 at 5:05 am #58895_ck_
ParticipantNo I don’t mean a folder within a folder, that’s just fine and not a problem. I mean executing one within the other where they are both running at the same time on one page. That’s a huge amount of code and memory for any server, shared or dedicated.
The nice thing about the registration and login process is you can route back to any page you want as the wordpress system is much more developed. I have the code around here somewhere and posted it before…
see #5 on the list in this post:
August 29, 2007 at 4:36 am #58893_ck_
ParticipantAh apparently Detective’s method is for sites running WP at the same time as bbPress (not just integrated, running within each other – which I do not recommend). So this won’t work for most people.
I solved the problem by forcing all registration links to go through WordPress but obviously that’s not a perfect answer (and needs core hacks).
So this problem needs to be revisted again
August 29, 2007 at 12:02 am #60360In reply to: Install problem 0.8.2.1
chrishajer
ParticipantUsually that is from white space at the end of a file you edited. There should be no blank lines or whitespace after the closing ?> in the config.php. Is that the problem?
Also, in your pasted config, there is no <?php – in the real file there is?
And, when you edited out the password, you accidentally removed the closing quote, right? In the real config.php the password is enclosed in single quotes?
define('BBDB_PASSWORD', 'pwpw);
^August 28, 2007 at 10:37 pm #60073In reply to: top 100 bbPress sites
benbeltran
MemberSure … but i had to make some hacks to the template-functions *shame* to allow for color-changing tag-cloud.
I don’t know better.
August 28, 2007 at 4:47 pm #53362In reply to: Template: refresh modified for bbpress
baptiste
MemberI use this theme at:
http://plugins.baptiste.us/forums/
matching the site theme itself. Works great. I should put together a diff of the modifications I made to tweak things like removing the urchin code and fixing a few other quirks….
August 28, 2007 at 4:42 pm #60122In reply to: Certain users posts not showing up
airdrawndagger
Member1. The post only shows up for the user who posted
2. It’s not registered in the users postcount
3. It’s not registered as “last poster” in the topic list
4. The thread is not moved to the top in the topic list
5. It does not happen every time
6. It has happened to several users
I think I’m beginning to lose users over this
Anyone? Ideas?
August 28, 2007 at 4:39 pm #2321Topic: Theme / plugin for profile page?
in forum Installationairdrawndagger
MemberI’ve been thinking about a good way to display the profile page for some time now. I’d like the avatar to be a fixed size and an extra field for some personal text, kind of like myspace or other communities. Do you think I’ll just have to dig in there or has someone already made all the hard work for me?
August 28, 2007 at 4:26 pm #2320Topic: Cleaning up the tags page
in forum Installationairdrawndagger
Memberhttp://www.doublepeace.se/forum/tags.php
It’s quite a mess, I guess in both IE and Firefox
Any help with this? I’d like it sorted left-to-right by popularity (font-size) as well.
August 28, 2007 at 4:21 pm #60239In reply to: “.post { overflow: auto; }” IE problems
airdrawndagger
MemberThis seems to work on all versions:
.post { display: block; width: 100%; overflow-x: auto; }
Except! In older versions of IE the sidescrollbar is on top of the last line of text in the post. Any takers?
August 28, 2007 at 3:26 pm #53361In reply to: Template: refresh modified for bbpress
_ck_
ParticipantVery nice work. Extremely visually pleasing theme.
However you just might want to remove your google urchin tracking code from the template footer you distribute. Most bbPress newbies won’t catch that and it could get your Google account banned if they report it.
August 28, 2007 at 1:47 pm #60348In reply to: bbPress Theme Switcher (alternate)
_ck_
ParticipantActually, now that I look at theirs, mine uses a completely different technique and might be better in some ways…
Coming soon:
Theme List / Preview module for “My Views” plugin
August 28, 2007 at 1:08 pm #60237In reply to: “.post { overflow: auto; }” IE problems
airdrawndagger
MemberI’m sorry I don’t. It works on my version of IE, but not the ones at my job. Which also makes this quite tough for me to tackle. I was hoping now, with CSS being quite new and all, the different browsers would embrace using the same standards
Anyway, maybe the overflow-y: hidden is what hides the content below?
August 28, 2007 at 10:53 am #56757In reply to: Plugin: Avatar Upload
fabianzaf
MemberThank you louisedade! I really appreciate this!
August 28, 2007 at 5:18 am #56552In reply to: Strut Your bbPress!
thrawn
Memberhi,
this runs bbpress:
http://support.technorati.com/
as does this:
http://support.technorati.com/faq
i had to change a lot of bbpress auth/cookie code in order to integrate w/ technorati member authentication, member profiles, member profile pics, global templates and so on; but these bbpress installations have been up for six months or so without a hitch. thx!
August 28, 2007 at 3:47 am #60345In reply to: new bbPress Theme: Aardvark
_ck_
ParticipantNice! Looks cairoshell inspired.
(oh and yay Wales! Go Cardiff!
August 28, 2007 at 3:41 am #60333In reply to: new bbPress Theme: FutureKind
_ck_
ParticipantThe RSS icon is actually CSS
All you need to do is remove it from the stylesheet.
I guess I could move it to the bottom somewhere.
August 28, 2007 at 1:50 am #60308In reply to: Rewriting up one level
Sam Bauers
ParticipantMy advice is don’t try to change
bb_repermalink()
.Just to qualify myself, I rewrote
bb_repermalink()
a while back to implement slug-based permalinks. It’s a tricky beast, and the most complex part is the profile-page case.But if you must, then you should start by turning debugging on
$bb->debug = 1
in config.php should do it. Then when you hit your link you should get some readable debug info at the top of your page.The critical part of stopping the redirect is on line 1708 of bb-includes/functions.php, you have to make that condition happy to stop the redirect to it’s preferred permalink location. That may involve simply modifying the
get_user_profile_link()
and also theget_profile_tab_link()
functions, but I’m not 100% sure about that.August 27, 2007 at 11:40 pm #60307In reply to: Rewriting up one level
fabianzaf
MemberAwesome! I learnt something new ([^/]+) .. very cool.
Ok the rewrite worked.
Now just to figure out this repermalink…
Any ideas guys? I’ll go look around myself in the meantime
-
AuthorSearch Results