Javascript activation problem
3 posters
Page 1 of 1
Javascript activation problem
Technical Details
Forum version : #phpBB2
Position : Founder
Concerned browser(s) : Google Chrome, Other
Screenshot of problem : https://i.imgur.com/GSoUgBS.jpeg
Who the problem concerns : All members
When the problem appeared : When activating javascripts
Forum link : ( link is hidden, you must reply to see )
Description of problem
Hello,The sceditor-toolbar disappears when I activate the javascripts and click the 'yes' button. It doesn't matter what scripts I enter, the problem persists. Currently there are: full text selected, avatar of the last registered member and avatar of recent topics. My question is, is there a way to make the sceditor not appear as shown in the picture above, but as it does when javascripts are deactivated. As follows: https://i.imgur.com/dU2NKdR.jpeg
Sorry for my English, I hope my question is understandable.
Re: Javascript activation problem
Hello
Probably one script is causing this conflict
Try to disable one at a time to check which one is causing this
Probably one script is causing this conflict
Try to disable one at a time to check which one is causing this
Re: Javascript activation problem
skouliki wrote:Hello
Probably one script is causing this conflict
Try to disable one at a time to check which one is causing this
I tried the scripts one by one. If everything is true, the problem is caused by the avatar of the last registered member. The javascript code for this is as follows:
- Code:
$(function(){$.get($("#dernier_membre a[href^='/u']")[0].href,function(d){(a=$("#avatar_membre img",$(d))).length&&$("#avatar_dernier_membre").html(a)})});
Thank you for your help so far
Re: Javascript activation problem
skouliki wrote:are you referring to this https://help.forumotion.com/t137749-avatar-in-the-recent-topics?highlight=recent
No, that's how sceditor works.
Actually, the tutorials I've used from here don't cause any problems.
The "Who's online?" The tutorial for the last registered user's avatar, which can be inserted into the section, is the one I followed from the French forumotion page, and this script is the cause of the problem.
As you can see in the script embedded in the code, avatar_dernier is the name of the script. I don't know if this can be found here because I haven't found it yet. I also thought that maybe the problem is caused by the fact that this is the only script that is from somewhere else.
Re: Javascript activation problem
ok i assume for this code you must have modified the templates "index_body" and "profile_view_body right?
Re: Javascript activation problem
skouliki wrote:ok i assume for this code you must have modified the templates "index_body" and "profile_view_body right?
Yes, both.
Re: Javascript activation problem
Rius wrote:skouliki wrote:Hello
Probably one script is causing this conflict
Try to disable one at a time to check which one is causing this
I tried the scripts one by one. If everything is true, the problem is caused by the avatar of the last registered member. The javascript code for this is as follows:Is there a solution to this? Or should I get rid of this and be ready to compromise?
- Code:
$(function(){$.get($("#dernier_membre a[href^='/u']")[0].href,function(d){(a=$("#avatar_membre img",$(d))).length&&$("#avatar_dernier_membre").html(a)})});
Thank you for your help so far
Hello there,
Sorry, but do you have the Last Registered Member information shown on every page? Because usually this information is shown only on the homepage (index).
If it's only in the index, then all you have to do is set that javascript to Index only and it will resolve the problem if that's the javascript conflicting.
TC.
Forum of the Forums Forumotion Rules | Tips & Tricks | FAQ | Did you forget your password? |
*** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
No support via PM!
Re: Javascript activation problem
TheCrow wrote:Rius wrote:skouliki wrote:Hello
Probably one script is causing this conflict
Try to disable one at a time to check which one is causing this
I tried the scripts one by one. If everything is true, the problem is caused by the avatar of the last registered member. The javascript code for this is as follows:Is there a solution to this? Or should I get rid of this and be ready to compromise?
- Code:
$(function(){$.get($("#dernier_membre a[href^='/u']")[0].href,function(d){(a=$("#avatar_membre img",$(d))).length&&$("#avatar_dernier_membre").html(a)})});
Thank you for your help so far
Hello there,
Sorry, but do you have the Last Registered Member information shown on every page? Because usually this information is shown only on the homepage (index).
If it's only in the index, then all you have to do is set that javascript to Index only and it will resolve the problem if that's the javascript conflicting.
TC.
Thank you very much, the sceditor and the script are now working! You guys are super cool. Thank you very much once again. Problem solved <3
Re: Javascript activation problem
Problem solved & topic archived.
|
Similar topics
» JavaScript problem!
» Words problem in Javascript
» Christmas Javascript Problem
» JAVASCRIPT PROBLEM
» Problem with IPS Steps Javascript
» Words problem in Javascript
» Christmas Javascript Problem
» JAVASCRIPT PROBLEM
» Problem with IPS Steps Javascript
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum