Forum Replies Created
-
In reply to: Guests Online in Online List?
I would really like to see the port of GamerZ’s plugin.
In reply to: Plugin request: Announcements forumso you guys need different access levels for different forums?
I think that should be possible to do in some plugin
What I want is different access levels to post new topics in the forum.
In reply to: Moving bbPressIt doesn’t do much of anything to add
define('COOKIE_DOMAIN', '.llamaslayers.net');
ordefine('COOKIE_DOMAIN', 'llamaslayers.net');
to the config.php file.Edit: It works to remove the values of
$bb->wp_home
and$bb->wp_siteurl
In reply to: Moving bbPressIn reply to: Moving bbPressIt’s just
$bb->uri
that I have to update, right?In reply to: Can someone make a ticket for me?fel64 wrote:
Should be fixed I thought. https://trac.bbpress.org/changeset/903
That only prevents keymasters from demoting themselves. What I want them to prevent is administrators demoting keymasters.
In reply to: Can someone make a ticket for me?I think changing
if ( !bb_current_user_can( 'edit_user', $user_id ) ) {
$sendto = bb_get_option('uri');
wp_redirect( $sendto );
}in
profile-edit.php
toif ( !bb_current_user_can( 'edit_user', $user_id ) || (!bb_current_user_can('use_keys') && $user->has_cap('use_keys')) ) {
$sendto = bb_get_option('uri');
wp_redirect( $sendto );
}would fix the problem.
In reply to: Can someone make a ticket for me?TICKET_CREATE privileges are required to perform this operation
In reply to: Url Rewriting ProblemYes, you would need to go into your .htaccess file, plus something to make sure topic links went there… I’ll look into it.
Here it is:
Go into your
bb-includes/template-functions.php
. Find the function calledget_topic_link
, it should look like this:function get_topic_link( $id = 0, $page = 1 ) {
$topic = get_topic( get_topic_id( $id ) );
$args = array();
$rewrite = bb_get_option( 'mod_rewrite' );
if ( $rewrite ) {
if ( $rewrite === 'slugs' ) {
$column = 'topic_slug';
} else {
$column = 'topic_id';
}
$link = bb_get_option('uri') . "topic/" . $topic->$column . ( 1 < $page ? "/page/$page" : '' );
} else {
$link = bb_get_option('uri') . 'topic.php';
$args['id'] = $topic->topic_id;
$args['page'] = 1 < $page ? $page : false;
}
if ( $args )
$link = add_query_arg( $args, $link );
return apply_filters( 'get_topic_link', $link, $topic->topic_id );
}Change
'topic/'
to'konu/'
.Now, go into your
.htaccess
file. If you’re usingOptions +MultiViews
, I don’t know how this will work, but if you’re usingmod_rewrite
, here’s what to do:Find the lines that look like
RewriteRule ^topic/([^/]+)/page/([0-9]+)/?$ /[YOUR FORUM DIRECTORY]/topic.php?id=$1&page=$2 [L,QSA]
RewriteRule ^topic/([^/]+)/?$ /[YOUR FORUM DIRECTORY]/topic.php?id=$1 [L,QSA]and change them to
RewriteRule ^konu/([^/]+)/page/([0-9]+)/?$ /[YOUR FORUM DIRECTORY]/topic.php?id=$1&page=$2 [L,QSA]
RewriteRule ^konu/([^/]+)/?$ /[YOUR FORUM DIRECTORY]/topic.php?id=$1 [L,QSA]I think that’s all you’ll need to do…
In reply to: Key Master not be edited?Alright, I’ll try that, but first, I’ll make another keymaster.
Edit: The mod couldn’t edit the keymaster, but the admin could and was able to de-rank and change the password of the keymaster in question.
Edit 2: What I’ve done is blocked the edit profile page with bb_die for anyone who is not keymaster if the edit profile page is of a keymaster (I did it by userid)
In reply to: Replace word in PostI’m guessing
get_post_text()
would be your best option.post_text()
doesn’t return a value, it just pastes the text onto the page.In reply to: (A few) Ideas for PluginsI think I might try to make a cash modification… I think I know enough about php and mysql…
In reply to: Front page stickies on forum pages?What’s the bb_db_override for?
Edit: it works, except for the fact that all the stickys on my forums show up, but not the ones that are front-page.
In reply to: Can’t loginThat’s what I tried yesterday, but today, it seems that it works normally. I guess the problem has solved itself. I guess it was a problem with the host.
In reply to: Check if a user is a moderator+Two reasons that won’t work:
1. That only checks the current logged in user.
2. I figured it out right as you were posting.
In reply to: Plugin request: Announcements forumNo, none of those will work unfortunately. I only want one specific subforum to have different roles. The change roles plugin was the closest to what I wanted, though.