Plugin Author
inapan
(@inapan)
@nokyard,
Thanks for your response.
If you’re using the widget only on one page then you can of course rewrite the if-statement to match only for that particular page, but I’m sure you already thought of that.
Please let me know if you were able to solve/hack it.
inapan
Still a bit confused on that. (sent an email)
Are you saying to add
/?page_id=3988′ (Widget page)
or
‘/?page_id=3805/’ (Forum page)
in place of ‘/wptest/forum/test-forum’ ?
And, do i still do the first hack?
Also, when i edit quick-post-widget.php (tried 3 different editors) WP disables the plugin with an invalid plugin header error. Likely something i am doing wrong, but i have successfully hacked several other plugins.
Plugin Author
inapan
(@inapan)
@nokyard,
Just sent you some mails. You don’t need the first hack, and for the second hack I think the line could be:
if ( strpos($_SERVER['REQUEST_URI'], 'page_id=3805') === false ) {
Again, this is I think a dirty hack and it depends on your Permalink structure etc. (but it works for me).
Anyone knows a better solution?
inapan
Thank you so very much inapan.
The solutions you provided have fixed every issue i was having, and thanks for noticing the (very slight) conflict with the SP Authors plugin.
Plugin Author
inapan
(@inapan)
@nokyard,
You’re very welcome.
Glad to know it’s working now.
Good luck!
inapan