Forum Replies Created
-
In reply to: 3 Issues: Page Title, Permalinks, Page Not Found
@cNc: the best thing would be to test the forum out of a WordPress page, so there would be no header/footer problems.
In reply to: 3 Issues: Page Title, Permalinks, Page Not Found@gerikg: that’s what I suspected too… bad integration?
In reply to: 3 Issues: Page Title, Permalinks, Page Not Found“First Forums” URI is
http://car-n-car.com/forums/first-forums//
and topics URIs look likehttp://car-n-car.com/forums/first-forums/topic-name/
: there is an/
in excess in every URI.Nicer Permalinks does not add slashes to topics URIs, so it’s coming from somewhere else…
Deactivate the plugin, restore your original
.htaccess
and turn off permalinks. Then re-do everything from the beginning as described in my Installation instructions, trying to see exactly when links do not work anymore.EDIT: I also noticed that Forum links in header and footer are different, but they work the same… 0_o”
In reply to: 3 Issues: Page Title, Permalinks, Page Not FoundI’ve just added
+FollowSymlinks
tonicer-htaccess
: I don’t know if this was another config detail missing… give it a try!In reply to: 3 Issues: Page Title, Permalinks, Page Not FoundSorry, you probably misunderstood me: I was trying to say that your URIs
http://car-n-car.com/forums/forums/first-forum
are different from mineshttp://my-host.com/my-forum-name/forum/my-first-forum-name
not because you chose forums while I chose my-forum-name, of course, but because appended to the forum path I have the word forum while you have forums. That’s not a detail!As I said here, it seems that my forum (with just name based permalinks on, no plugins) would look like
/my-forum-name/forums/my-first-forum-name
too, but in the end it does not! It looks like/my-forum-name/forum/my-first-forum-name
, exactly the same as the bbPress forums we are posting on.In this very moment your forum URIs look exactly as they should, but they are not working correctly: I’m pretty sure the reason is you did not update
nicer-htaccess
forum path before activating the plugin.Please let me know if this is the problem, in the meanwhile I will update Nicer Permalinks plugin page specifying everyone has to do this before activating it.
In reply to: 3 Issues: Page Title, Permalinks, Page Not FoundAhem.. taking a look to my Permalinks admin page I noticed it says name based permalinks will look like
/forum/forums/first-forum
but when I turn them on they look like/forum/forum/first-forum
, so please cNc tell me if this happens to you too; if not, and if more people forums behave like this, I’ll have to make some changes to my plugin…In reply to: 3 Issues: Page Title, Permalinks, Page Not Found@zaerl: thank you!!
@cNc: my plugin is not working for you because your forum presents a different structure from the one I’ve always seen in bbPress, aka
/bbpress-path/forum/forum-name
(i.e. without “s” on “forum”). What version of bbPress are you using? I may rewrite my plugin to make it work even with your forum, though I think it would be better for you to get to standard structure and then activate Nicer Permalinks.In reply to: How long does it take for a plugin to be approved?Yeah, even less for me.
In reply to: Name based permalinks without page/ and forums/“Nicer Permalinks” now available!!
In reply to: Name based permalinks without page/ and forums/No answer, so I made a plugin upload request today: “Nicer Permalinks” will be online soon!
In reply to: Name based permalinks without page/ and forums/I sent an email to Ashish Mohta asking for his thoughts about the updated plugin: if I won’t get an answer soon, I’ll create the missing documentation and upload the plugin.
In reply to: Name based permalinks without page/ and forums/Sorry for keeping posting, but I really would like to submit the “upgraded” plugin, though I do not want to name it after me, as it is mainly a work by Ashish Mohta and Mark Robert Henderson…
Does anyone have a mail of one of them or another way to contact them?
In reply to: Private Access to Forum Only?If anyone would like to try my plugin, I’ve finally found out how to upload it! You may download it here. ^_
In reply to: Name based permalinks without page/ and forums/Hi! I’ve worked all day on the plugin, but now it finally works as it should!
I’ve also implemented 2 functions that grab both “plugin activated” and “plugin deactivated” events in order to swap .htaccess and the new file. Unfortunately you still have to change .htaccess permissions if you want the plugin to update it, but the only other way is manual edit…
I’ve embedded them in the plugin by Ashish Mohta and Mark Robert Henderson, but I don’t know how to proceed: what do you think would be the better way to publish the updated plugin?
In reply to: Name based permalinks without page/ and forums/I’m currently also working on a function, integrated with the plugin, that updates/restores .htaccess: updating is easy, but restoring needs to grab an hook on “plugin deactivated” event or a dedicated admin page where users can call these functions.
I would opt for the former, but I don’t know if there is any way for a plugin to know the moment when it gets deactivated…
Any clue?
In reply to: Name based permalinks without page/ and forums/Hi! After 3 hours of brute-force testing, I found a working configuration:
# BEGIN bbPress
Options -MultiViews
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /forum/
#handle admin stuff
RewriteRule ^bb-admin/.*$ - [L,QSA]
# handle the rest
RewriteRule ^page/([0-9]+)/?$ ?page=$1 [L,QSA]
RewriteRule ^profile/([^/]+)/page/([0-9]+)/?$ profile.php?id=$1&page=$2 [L,QSA]
RewriteRule ^profile/([^/]+)/([^/]+)/?$ profile.php?id=$1&tab=$2 [L,QSA]
RewriteRule ^profile/([^/]+)/([^/]+)/page/([0-9]+)/?$ profile.php?id=$1&tab=$2&page=$3 [L,QSA]
RewriteRule ^profile/([^/]+)/?$ profile.php?id=$1 [L,QSA]
RewriteRule ^profile/?$ profile.php [L,QSA]
RewriteRule ^rss/?$ rss.php [L,QSA]
RewriteRule ^rss/topics/?$ rss.php?topics=1 [L,QSA]
RewriteRule ^rss/forum/([^/]+)/?$ rss.php?forum=$1 [L,QSA]
RewriteRule ^rss/forum/([^/]+)/topics/?$ rss.php?forum=$1&topics=1 [L,QSA]
RewriteRule ^rss/topic/([^/]+)/?$ rss.php?topic=$1 [L,QSA]
RewriteRule ^rss/tags/([^/]+)/?$ rss.php?tag=$1 [L,QSA]
RewriteRule ^rss/tags/([^/]+)/topics/?$ rss.php?tag=$1&topics=1 [L,QSA]
RewriteRule ^rss/profile/([^/]+)/?$ rss.php?profile=$1 [L,QSA]
RewriteRule ^rss/view/([^/]+)/?$ rss.php?view=$1 [L,QSA]
RewriteRule ^tags/([^/]+)/page/([0-9]+)/?$ tags.php?tag=$1&page=$2 [L,QSA]
RewriteRule ^tags/([^/]+)/?$ tags.php?tag=$1 [L,QSA]
RewriteRule ^tags/?$ tags.php [L,QSA]
RewriteRule ^view/([^/]+)/page/([0-9]+)/?$ view.php?view=$1&page=$2 [L,QSA]
RewriteRule ^view/([^/]+)/?$ view.php?view=$1 [L,QSA]
# handle forums
RewriteRule ^([^/]+)/page/([0-9]+)/?$ forum.php?id=$1&page=$2 [L,QSA]
RewriteRule ^([^/]+)/$ forum.php?id=$1 [L,QSA] # no '?' before the closing '$' this time: very important!
# handle topics
RewriteRule ^([^/]+)/([^/]+)/page/([0-9]+)/?$ topic.php?id=$2&page=$3 [L,QSA]
RewriteRule ^([^/]+)/([^/]+)/$ topic.php?id=$2 [L,QSA] # no '?' before the closing '$' this time: very important!
# handle non-existent pages
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php [L]
</IfModule>
# END bbPressIn reply to: Private Access to Forum Only?dogeil, try these plugins:
- Force Login by Michael D Adams plus the *voodoo code from Trent Adams and Sam Bauers*.
- Disable Registrations by Simon Wheatley
I had a similar need and I modified the former, ending up with a new (yet-to-be-released) plugin which redirect every non-logged-in user to a custom page.