Search Results for 'code'
-
Search Results
-
Topic: collapsible spoiler tag?
Is there a collapsible spoiler tag (bbcode) available?
I see there’s the spoiler tag that will show texts on hover over, but I’d like to have a collapsible one so I can use it to shorten long posts as well.
Hello,
Currently, the name-based forum permalinks must have a trailing ‘/’ – this is fair enough, but it gets seriously bad when one is typing in forum URLs and forgets the trailing ‘/’, only to be slapped down with an unhelpful 404 error. Ouch.
I modified the .htaccess, moving the section commented ‘forums’ down under the ‘topics’ section (so the catch-some rewrite rule I added doesn’t wipe that out), then added a rule that redirects URLs that address a path within the forum root, sans a trailing slash and not corresponding to an actual file, to the same path with a trailing ‘/’.
Like so:
# forums
RewriteRule ^([^/]+)/page/([0-9]+)/?$ forum.php?id=$1&page=$2 [L,QSA]
RewriteRule ^([^/]+)/$ forum.php?id=$1 [L,QSA] # tailed '/' is mandatory for forum URIs! Props: Mohta
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)$ $1/ [L,R=301] # redirect to forum URL if trailing / skipped
I’m not 100% sure why this isn’t already in place – I may have missed some of the rationale. But it seems to work for me.
I need something like «bbPress post» plugin. But only for «Discuss» link on every post in my wordpress blog. Link must create topic for discuss. First post in bbpress topic must be content from post in wordpress blog where link was clicked.
Looks like «bbPress post» is not available by now – http://bbpress.org/forums/topic/bbpress-post-003
Sorry for my bad english
I just installed mod_pagespeed, which Google developed.
http://code.google.com/speed/page-speed/docs/module.html
However, it seems to be dynamically changing my template CSS file.
Has anyone else had problems with mod_pagespeed and bbPress?
I’m running v0.9.0.6 but I assume this applies to all versions of bbPress.
Thanks a lot!
