JavaScripts and HTML codes not working

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
=IMF=GREG
Registered User
Posts: 13
Joined: Thu May 23, 2013 5:28 pm

JavaScripts and HTML codes not working

Post by =IMF=GREG »

JavaScripts and HTML codes not working on my forum phpbb please help
I am trying to add Revolver Maps http://www.revolvermaps.com/?target=setup on my forum but when i add a code and click save script not working also not working HTML version only working 2D Map BBcode version why?On my old website adress http://www.imf-clan.tk is working but on my new website adress not http://www.imf-agency.tk i installed even Board3 and i added that code in widget block but still not working.
I am trying to add this like in ACP/Forums/ForumName/Description/ and shout to work... normal BBCODE 2DMap is working but why scripts not ???

Please take a look http://www.imf-agency.tk I will be very greatfull for your help if anyone knows how to fix this...
Waiting For answer...Greetings 8-)
Last edited by Oyabun1 on Thu May 23, 2013 10:20 pm, edited 1 time in total.
Reason: Shouting removed, rule 1h
User avatar
Mick
Support Team Member
Support Team Member
Posts: 22853
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket probably.

Re: JAVASCRIPTS AND HTML CODES NOT WORKING

Post by Mick »

Right, let's step back a little here and take a deep breath . . .

Please fill out the Support Request Template Generator detailing what you mean by "JAVASCRIPTS AND HTML CODES NOT WORKING on my forum phpbb" and post it back here to enable us to assist you better. If the issue you have is with a MOD then you should post in the support area for that MOD or from wherever you downloaded it.
"The more connected we get the more alone we become" - Kyle Broflovski©
=IMF=GREG
Registered User
Posts: 13
Joined: Thu May 23, 2013 5:28 pm

Re: JavaScripts and HTML codes not working

Post by =IMF=GREG »

Support Request Template
What version of phpBB are you using? phpBB 3.0.11
What is your board's URL? http://www.imf-agency.tk/
Who do you host your board with? Hostinger
How did you install your board? I used a tool provided by my host
What is the most recent action performed on your board? Update from a previous version of phpBB3
Is registration required to reproduce this issue? Yes
Do you have any MODs installed? Yes
What version of phpBB3 did you update from? phpBB 3.0.9
What MODs do you have installed? mChat Mod ver 1.3.5 AutoMOD ,Board3 Portal 2.0.1(not using),National Flags 2.0.4
What styles do you currently have installed? CoDFaction
What language(s) is your board currently using? english
Which database type/version are you using? MySQL 5
What is your level of experience? New to PHP and phpBB
What username can be used to view this issue? No answer given
What password can be used to view this issue? No answer given
When did your problem begin? Problem exist from begining
Please describe your problem. Problem exist from begining Its not becose MODs becose on my first(old) website imf-clan.tk Revolvermaps works and codes like this

<script type="text/javascript" src="http://jc.revolvermaps.com/2/1.js?i=2ze ... e&c=ff0000" async="async"></script>

But when i try to paste a code on forum http://www.imf-agency.tk they dont work,so it means i didynt do sommething...If there is BBcode replacment for java codes like this please tell me.
Generated by SRT Generator
User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: JavaScripts and HTML codes not working

Post by Oyabun1 »

Where are you "pasting" the code? Code pasted into a post is not parsed. If you add it directly to a template file it should work or if you want it in a post then you would need to do it using a custom BBCode, see Adding Custom BBCodes in phpBB3.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests
=IMF=GREG
Registered User
Posts: 13
Joined: Thu May 23, 2013 5:28 pm

Re: JavaScripts and HTML codes not working

Post by =IMF=GREG »

Image
Image

Links to files
https://camo.phpbb.com/6931154d11995ba33ea18fa938ab18f464051255/687474703a2f2f696d673434312e696d616765736861636b2e75732f696d673434312f333637392f666f72756d6179652e706e67
https://camo.phpbb.com/d46ca3b40b2046ab914f39288479a4fc99ac8700/687474703a2f2f696d673833362e696d616765736861636b2e75732f696d673833362f363934352f666f72756d326a612e706e67

But as you see only normal [IMG] or [URL] codes working but not codes like <script type=
Can you tell me how to fix this?Can i use BBcode replacment for such a codes?
If yes tell me exacly example here please
Thank you and Greetings
User avatar
Lumpy Burgertushie
Registered User
Posts: 68194
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: JavaScripts and HTML codes not working

Post by Lumpy Burgertushie »

because you can't put javascript in a forum description. it is not allowed.

depending on what this javascript does , you might be able to create a new bbcode for it and use that in the forum description.

now sure why you need a script in a forum description.

you also can not put html in there.

html and /or javascript etc. are terrible security risks in places like that and/or in posts therefore they are not allowed.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?
User avatar
PlanetStyles.net
Former Team Member
Posts: 4684
Joined: Wed Nov 04, 2009 11:16 pm
Location: UK
Name: Christian
Contact:

Re: JavaScripts and HTML codes not working

Post by PlanetStyles.net »

It can be easily added in <20 seconds using a custom BBCode :).

Head to: ACP -> "Posting" tab -> BBCodes -> Add a new BBCode

BBCode:

Code: Select all

[map][/map]
HTML:

Code: Select all

<script type="text/javascript" src="http://jd.revolvermaps.com/2/1.js?i=31x897yzwzj&s=220&m=0&v=false&r=false&b=000000&n=false&c=ff0000" async="async"></script>
Replace the HTML code with the one the RevolverMaps website generated for you.

Now simply enter: [map][/map] into your forum description and it'll work just fine. :)
=IMF=GREG
Registered User
Posts: 13
Joined: Thu May 23, 2013 5:28 pm

Re: JavaScripts and HTML codes not working

Post by =IMF=GREG »

Yes!Atlast!
lol it was so easy but i didynt know then its working like this. :shock:
Thank you and thanks to everyone who helped me here
Greetings and Thanks again 8-)
Locked

Return to “[3.0.x] Support Forum”