How can I resolve my authorisation error with Joomla and the JCE editor? - joomla1.5

I use a front-end login for editing my website; And as an editor I use JCE editor which works great.
For inserting images I usually use this option, and it works very well.
But recently when I click this icon I see this error:
You are not authorised to view this resource.
How can I resolve this issue?

Related

TWebBrowser in Delphi 10.2 doesn't show a form as it should

I make a multi-device app that has a TWebBrowser component.
If i write this code
WebBrowser1.Navigate('https://google.com');
it opens the form as it should be.
But if i write this code
WebBrowser1.Navigate(edit1.text);
where edit1.text=the URL of a GoogleForms form (=https://docs.google.com/forms/d/e/1FAIpQLScLDCv_LeYJzvMoxnmvt_gN_gqeup7_vbU8VLaC-qXNPEGMIQ/viewform?vc=0&c=0&w=1&fbzx=3551763952707733753), it shows the form confused (the dropdown components as list of text, the "submit" button as text etc) like this :
is there a solution, please ?
PS. the form is opened in Internet Explorer (and Google) right.
The reason why this happens is that by default TWebBrowser component is opening web pages in compatiblity mode. This prevents myn moder web pages to show properly.
So in order to avoid this you need to opt in to the browser emulation feature using the documented registry key.
You can find more info about this on the link bellow
https://stackoverflow.com/a/25843958/3636228

Wordpress Disuqs plugin not working properly

Hi I am new to working with Disqus plugin and I have a strange behavior.
After I installed the plugin and configured it it show comments without andy styling and without even the add comment textarea just showing the comment and comment author name only
It doesn't even include any scripts related to Disqus plugin .
here is the code I used in single.php
<?php comments_template(); ?>
here is the result I get
I have tried to disable the plugin and re-enable it then I try using the twentyfifteen theme and every thing worked fine with it but with my theme I get the issue
Any help will be appreciated , Thanks in advance
The fix for me was to uncheck External Javascript Files option in the plugin settings panel.
It says "Disable this if are not seeing Disqus appear on pages that normally have comments. This will fix the issue if your theme does not support the 'wp_enqueue_script' function, are caching your site on a CDN."
it works like a charm now!
That's happening because the function comments_template() is associated/overridden with the template you're seeing now.
Go through your theme files and you shall find a template that's showing up to you right now.

Unable to Edit Article After System Plugin Install

I have developed a front-end system plugin for Joomla 3.0 which replaces keywords for HTML formatted objects. This works perfectly in my local lab environment but when installed on the hosted site (WHM/cPanel) it causes issues with the administration area and prevents the administrators from editing the articles.
When the administrator clicks on a article to edit the page attempts to load then appears to go back to the same page. I have developed this as a front-end plugin only so I shouldn't affect the administration area.
The problem is also preventing admin from creating anything new (news, blogs, content, menu items etc.)
As this does not happen within my lab I can only assume the issue is with some server settings which I may need to enable/disable. I have complete administrative access to both WHM, cPanel and Joomla so can change settings where ever needed...
Things I have observed:
The article URL changes from:
/administrator/index.php?option=com_content&view=article&layout=edit&id=7
to:
/administrator/index.php?option=com_content&view=article&layout=edit&id=7
when the plugin is enabled. Notice the ampersand has changed to amp;. This makes me think it could be something to do with UTF-8 character encoding has been set in MySQL to utf8general_ci.
Any pointers on configurations I may need to change would be greatly received.
Question: How do I prevent this from occurring (without removing my essential plugin).
If you create System Plugin that should work only on front-end you have to check in your plugin if current page is front-end. You can do it using this function: JFactory::getApplication()->isSite() or JFactory::getApplication()->isAdmin()
Example usage (I assume you use onAfterRender event):
function onAfterRender() {
// Exit if current page is from Administration panel
if( JFactory::getApplication()->isAdmin() ) return;
/* your plugin main code goes here*/
}
It will prevent your plugin from modifying administration panel output. If you already done it and it does check like it should to, there is no way that reason of your problems is that plugin.

joomla tinymce editor problem

hi i am using joomla 1.5 for my site.
in this i fetched the problem of tinymce editor when i clicked on any article the image button are not shown. when i clicked on edit html source button It showing only “{$lang_theme_code_title}” on the Title bar and all body is blank.
so plz help me to resolved out from this problem.
thanks in advance
You should consider trying the JCE editor instead of trying to debug Tinymce. I'm running JCE error free on over 40 sites. It has a superior image manager, link manager, and code view. It installs easily and is highly configurable. The only caveat is that you should disable the Joomla insert image, page break, and read more buttons as JCE has those built in.
http://extensions.joomla.org/extensions/edition/editors/88
See this thread:
http://forum.joomla.org/viewtopic.php?t=62545
Try adding www. to your domain. Most often this is the problem.
I searched joomla project for vars $lang_theme_code_title... and related... There are not. Looked at Tinymce editor, it has javascript driven language file...
Most likely problem is cause by JavaScript. Try using different browser (firefox or chrome).
I read info on some other forums, some claim that temporarily disabling the antivirus solved the problem. I don't think that this will work, but you can try.
If none of this helps, you will need to give more information. Load firefox with firebug and see the NET tab for JavaScript files and Ajax Requests, most likely you'll find something interesting there (i think 500 Error)

Content Editor Web part is not showing "Rich Text and Source Edit" options int he browser

In my sharepoint 2010 desiner project I am not getting displayed of "Rich Text and Source Editor" options for Content Editor Webpart . The more surprising issue is if I run the project on my local server, the web part is displayed with all the options, but if I run the same project on the remote server, the fallowing options are missing. Can any one have any idea about this type of problem. Any help would be greatly appreciated.
Thank you,
Baluk
I have found an issue that if you start a <style> in the Content Editor Webpart and do not close the tag, it will not display the drop down for the edit menu for the Web Part. Have you added any styles to the Web Part? The way I fixed this was having to delete the Web Part and add a new one.
Check the IE versions you are on. It works fine in IE6, problems are in IE8. You may have to enable compatability view.
Try adding it in trusted site zone.
Cheers !
Rajdeep