Support Forum
Hi,
I need to add a forum to an already existing wordpess-based site.
I installed the plugin, but in the backend the menus don't expand nor collapse. I can access the general menus (Forums, Options, Components...) by clicking on the wordpress toolbar, clicks on individual categories (Smileys, Login and registration...) have no effect.
Here's a screenshot showing my SP backend : http://uppix.net/8/4/7/a294145.....9872db.jpg
At first I thought it was a jquery conflict, so I checked the header of my pages. On the backend part, all .js included come from the wp-include folder of my website, so no problems here. On the frontend though, there's a nasty include from google's servers. Is it possible it has an effect on the frontend not working properly ?
On a secondary note (didn't investigate it yet, I'm mentioning it just in case it's linked with the main problem), the forum isn't displaying in the page it created. I checked that the slug was correct, but it's just a blank frame (and empty html-wise).
The wordpress theme is a heavily-modified raindrop, and the simple-press is currently vanilla (just freshly installed).
Cheers !
On the admin side I would still think it likely to be a script issue. Can you check if any errors show up in the error console or Firebug when you load a forum admin page?
On the blank page I assume you mean you get the header, title etc but no content. Go to the Integration > Page and permalink panel and try turning in the options at the bottom one at a time (Multiple and Loop options). See if that helps.
YELLOW
SWORDFISH
|
After using Firebug :
wpa2a is not defined
wpa2a.script_load();
Then tried again on different pages, and I got this error :
"$ is not a function"
In every spa-XXX.php file.
Which indeed suggests that this is a jquery problem
As for the blank page, I just tried checking and unchecking both options, one at a time, both of them, none of them, and nothing changed. There is indeed the header and footer, the only thing missing is the content.
Odd - we don't use $ in our jQuery... unless there is some embedded script doing so which is a possibility.
Ok - admin first. What is wpa2a? is that another plugin? Can you deactivate it briefly to see if that is the conflict? Or other plugins that might be loading scripts in the admin side?
YELLOW
SWORDFISH
|
It actually was a mistake on my part. The wpa2a error was not on the admin side, but on the frontend. It looks like it came from a wordpress plugin called Add2Any, which I disabled.
It didnt change anything on the frontend (still the blank space), but removed the wpa2a error when loading it.
As for the admin side, I looked into the "$ is not a function", and it came from a fep.js file in a plugin called frontend-edit-profile.
I replaced every $() with jQuery() in the file and it's now working correctly !
I followed the steps explained here (I don't know if it's not obsolete as it comes from the old wiki)
There was no call to wp_head() nor wp_footer().
The functions were there, but commented (and not at the place indicated in the wiki).
There's no sign of anything close to _content() in either the page.php or index.php /
After adding the footer and head functions, my layout is now totally broken but the forum is showing (remember I did not make the website, I'm just integrating the forum, so I'm a bit limited in what I can do)
It's currently looking like this
hang on.... there were NO calls to wp_head() and wp_footer() ?
These are mandatory calls. They are two of the main arteries by which WordPress allows plugins to interact and work. If turning them on - i..e to the state required - breaks the site then you have a seriously bad WP theme there. I think this is something you need to take up with the theme author to be honest as you will find that huge numbers of plugins are reliant on these functions being in place and being in place at the right point of processing.
YELLOW
SWORDFISH
|
Ok that's very weird...
There are several plugins installed that already need wp_head() and wp_footer() and they all are functioning correctly.
I tried to check where they were defined, and I can find 3 instances :
- In the twentyten and twentyeleven wordpress themes, which are not used.
- In wp-include/theme-compat/, there are header.php and footer.php files with wp_head() and wp_footer()
When I commented these two lines, nothing changed.
I sent an email to the person who made the wordpress website in the first place, but I'm really puzzled : why are other modules working, when I can't find a trace of the hooks being in place ?
Apart from those hooks, is there any other possibility of why it wouldn't work ?
1 Guest(s)