Widget problem
-
after the update (1.2.6) I have a problem with the “Last Post” widget :
– it displays correctly the lasts posts when I am on the main forum page (where the short-code is)
– it displays correctly the lasts posts when i choose one of my forums
– But… it displays “The forum has not been configured correctly.” when I click on a subjectwho have the same behavior ?
-
Hello @goof71
I moved the location-settings from all widgets to the forum-settings. Please go to your forum-settings and select the location (the page with your forum-shortcode) of your forum. After that it should work correctly. π
Greetings,
Thomas-
This reply was modified 9 years, 6 months ago by
Asgaros.
Hi !
Still have the problem… (only on subjects).
The location settings is ok.
:/
RegardsHello again,
I justed released a new update. Can you please test if its working fine now?
Hello ,
Since the 1.2.6 uptade , i have a similar issue which is :
-When i click on one of the forum sections the page doesnt display like the url cant be found , it stays on the same page ( main page where the forum is displayed with the shortcode [forum]). So i have no more way to access any subject , but they still exist.
-Same issue with the widget links.So What could be a solution to solve it ? Downgrade to the 1.2.5 version ( i dont know if it’s possible).
my website : http://stillinprogress.fr/
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!
Great , it works fine now , thanks for the code fix.
Thanks you very much for your fast reply! I will publish a new update in the next few minutes.
I really apologize for the troubles which were caused by the last updates! π This bug only occurs with some WordPress configurations so I didnt notice it in my testing-environment. Sorry again!
Still have the problem with the fix.
SorryCan you please apply the v1.2.8 version, clear your browser-chache and disable maybe existing WordPress caching-plugins to make sure everything is generated with the newest files?
If the problem still occurs: Do you have a link to your website so I can have a look?
Ok I do that !
There’s something new applying the fix : the error message is now in french πStill have the problem. You ca have a look there : http://www.fanselanchalon.fr/v3/forums
(Under the forum you have “Derniers messages” = Last Posts)
Thanks !Okay, for testing purpose please open the following file:
asgaros-forum/includes/forum-widgets.php
With v1.2.8 installed please change line 92 from:
if ($locationSetUp) {
To:
if (true) {When this is done I have to check the widget-links in your site again, but at least it should show us “something” which can help me to reproduce it.
Done ! And it works now !
Strange …
I actually cant really reproduce this at my testing-environment but I think it has something to do with the sequence stuff is loaded internally.
I will try to figure it out. At the meantime its working for you with that “dirty” fix.
Thanks for all π
-
This reply was modified 9 years, 6 months ago by
The topic ‘Widget problem’ is closed to new replies.