Forum Replies Created
-
In reply to: Paid Help, custom permalinks structure
Thanx,
I’ll try this and see how it works.
So basically this should transform the about*.html links to topic.php?id=$1.
Might work…
Thanx.
In reply to: Paid Help, custom permalinks structureAre you talking on doing a 302 from domain.com/about*.html to domain.com/bbpres_slugs?
How can this be done?
In reply to: Paid Help, custom permalinks structureSorry about this but I really want to use bbPress.
I can convert the DB but only changing the .htaccess rules will not help.
I need a modification to function get_topic_link from bb-includes/template-functions.php and function bb_repermalink() from bb-includes/functions.php
Hacking the template-functions.php and creating the link is easy but bb_repermalink is always 301 redirect me to the root because the link function is not created right.
In reply to: Permalinks Slugs Modification – removing forumThanx for the response.
I tried to follow how the links are made in functions.php. In bb_repermalink() the case ‘forum-page’ needs to be “hacked”
$forum_id = bb_get_id_from_slug(‘forum’, $permalink);
Is the ‘forum’ the “forum” I want to remove?
Thanx.
In reply to: Show off your Forum !!http://www.dfur.com the template its not ready…
In reply to: I think I need a fix …1. In IE the right column is waaay out of whack. How do I fix that
– open style.css, it should be in your templates directory bb-templateskakumei
– edit style.css with notepad, search for #rightbar
– change the value of MARGIN-LEFT: as it suites you best – 510px, 450px, 300px, just edit that number and see how it goes.
#rightbar {
OVERFLOW-X: hidden; MARGIN-LEFT: 310px; WIDTH: 150px; POSITION: absolute
}
Good luck!
In reply to: Slug based permalinksNice,
I’ve installed it on http://www.dfur.com/. Is there a way to configure the links like the http://www.network.net.au/bbpress/patches/permalinks/teaser.gif
Thanx.
In reply to: Slug based permalinksGreat,
I am preparing to run this patch on a fresh installed version.
In reply to: How are permalinks created?Thanx,
I’ve found http://comox.textdrive.com/pipermail/bbdev/2007-February/001337.html but it does not helps me much.
I’ll try to contact mdawaffe and see if he can help me.
Thanx,
MIrcea.
In reply to: Pretty Permalinks Not WorkingTry to install it on another host and see if it works.
Good luck!
In reply to: Pretty Permalinks Not WorkingI thought that I saw the links working last night. they did not work now. Had you added Options +MultiViews to .htaccess?
In reply to: Pretty Permalinks Not Workinghttp://www.nmimsieee.com/forums/ permalinks works fine from here.
In reply to: Help with mod rewriteI found a 301 redirect in bb-includes/functions.php
Now how to get rid of it??? This 301 keeps me from jumping to page2
if ( 1 === bb_get_option( ‘debug’ ) ) :
echo “<table>n<tr><td>”. __(‘REQUEST_URI’) .”:</td><td>”;
var_dump($uri);
echo “</td></tr>n<tr><td>”. __(‘should be’) .”:</td><td>”;
var_dump($check);
echo “</td></tr>n<tr><td>”. __(‘full permalink’) .”:</td><td>”;
var_dump($permalink);
echo “</td></tr>n<tr><td>”. __(‘PATH_INFO’) .”:</td><td>”;
var_dump($_SERVER);
echo “</td></tr>n</table>”;
else :
if ( $check != $uri ) {
if ( version_compare(phpversion(), ‘4.3.0’, ‘>=’) ) {
header(“Location: $permalink”, true, 301);
} else {
header(“Location: $permalink”);
status_header( 301 );
}
exit;
}
In reply to: Plugin help…I had the same problem. Its not very hard to do it. You need to use add_action or add_filter. See my problem here https://bbpress.org/forums/topic/742
This may help also:
https://codex.wordpress.org/Plugin_API#Current_Hooks_For_actions
I have no experience also but I managed to do a plugin.
Good luck!
In reply to: Check if a user is logged in?Yes, macwise gave a better solution. I was thinking that FofR wants to show something when a specific user is logged.
I am new to and I think that your solution is better.
In reply to: Help with mod rewriteI really do not understand,
http://www.dfur.com/designer_furniture/page/2 redirects 301 to http://www.dfur.com/designer_furniture.
Why is this? I have no 301 in htaccess!!! Is this a bbPress thing?
URL=http://www.dfur.com/designer_furniture/page/2
Result code: 301 (MovedPermanently / Moved Permanently)
In reply to: Check if a user is logged in?It can do done with IF and User ID.
I do not know the file that deals with user login but something like this should work:
If $user_id = 4;
echo “what ever you want to show to user #4”
I am having the same problem. Will this patch solve it or the changes are already included in the latest version?
https://trac.bbpress.org/attachment/ticket/497/ticket-497.patch
Mircea.
In reply to: How to change the rewrite rules ?It can be done.
You can check out:
https://bbpress.org/forums/topic/771
And see http://www.dfur.com to see how I did it. THe script is not ready yet, I still have to add the rewrite htaccess to “page 2” topics.
In reply to: New Release: bbPress 0.8.1I’ve copied bb-templates/kakumei/ to my-templates/kakumei2/ and started my own template in my-templates/kakumei2/ .
The kakumei2 template is basically bb-templates/kakumei/ so it will have the same bugs.
What to do now?
In reply to: file attachments….Lol,
I am preparing to switch from PHPbb to bbPress.
PHPbb has indeed many more MODs but its a nightmare when it comes to security and spam.
In reply to: New Release: bbPress 0.8.1I have my template in my-templates and made some changes to
I’ve made some changes to some files. The biggest changes are to the template files. How should I update now and not to loose the changes?
Thanx.
In reply to: file attachments….It should be pretty easy to do something like this.
Create an uploader and tell the forum to give a link from the first post to the uploaded stuff it a file exist.
There are some variables that needs to be taken into account like, topic id, user id, attachment id.
The only thing that I do not have now is a function that does:
if attachment exist
echo attachment link
In reply to: Rewriting URLsYes, that’s what I was thinking of.
Sam, did you finished your permalinks script. I am stuck with mine because I do not know how to create the mod_rewrite rules for this kind of page:
http://www.dfur.com/designer_furniture/topic5
see page 2
http://www.dfur.com/designer_furniture/topic5/page/2
My mod rewrite is throwing me back to the main cat.
In reply to: Rewriting URLsI do not think that the rewrite rule alone will do it. You also need to change the way the links are generated by bbPress.