@goof71
@miseamort
Hello again. Everyone who has problems with the links can please try the following with the LATEST 1.2.7 version:
1. Open the file asgaros-forum/includes/forum.php
2. Find the following code (around line 185):
function setLinks() {
global $wp;
$this->links['home'] = esc_url(get_page_link($this->options['location']));
$this->links['forum'] = esc_url(add_query_arg(array('view' => 'forum'), $this->links['home']));
$this->links['topic'] = esc_url(add_query_arg(array('view' => 'thread'), $this->links['home']));
$this->links['topic_add'] = esc_url(add_query_arg(array('view' => 'addthread'), $this->links['home']));
$this->links['topic_move'] = esc_url(add_query_arg(array('view' => 'movetopic'), $this->links['home']));
$this->links['post_add'] = esc_url(add_query_arg(array('view' => 'addpost'), $this->links['home']));
$this->links['post_edit'] = esc_url(add_query_arg(array('view' => 'editpost'), $this->links['home']));
$this->links['current'] = add_query_arg($_SERVER['QUERY_STRING'], '', trailingslashit(home_url($wp->request)));
}
3. Replace it with the following code:
function setLinks() {
global $wp;
$this->links['home'] = get_page_link($this->options['location']);
$this->links['forum'] = add_query_arg(array('view' => 'forum'), $this->links['home']);
$this->links['topic'] = add_query_arg(array('view' => 'thread'), $this->links['home']);
$this->links['topic_add'] = add_query_arg(array('view' => 'addthread'), $this->links['home']);
$this->links['topic_move'] = add_query_arg(array('view' => 'movetopic'), $this->links['home']);
$this->links['post_add'] = add_query_arg(array('view' => 'addpost'), $this->links['home']);
$this->links['post_edit'] = add_query_arg(array('view' => 'editpost'), $this->links['home']);
$this->links['current'] = add_query_arg($_SERVER['QUERY_STRING'], '', trailingslashit(home_url($wp->request)));
}
After that please test it again.
If this fix should work, please leave me a message here as soon as possible so I can release a new updated version!
-
This reply was modified 8 years, 3 months ago by
Asgaros.
-
This reply was modified 8 years, 3 months ago by
Asgaros.