Author |
Topic |
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 26 July 2010 : 05:06:31
|
Weird crap with media-box mod.
I installed it on another forum and got screwed up URLs (making it not function). It always comes out like this, regardless of the content in the post:
(forumURL)/rel=%22lightbox%5B480
So, I put the media-box mod on a brand-new forum (no other mods) and I get exactly the same URL displayed. Has something stopped working in a remote .js file?
Example can be seen here: http://verybusyserver.com/testsite/
Use login "Tester" and pw: "tester"
I added a link to a source file viewer in the heading. |
Edited by - Carefree on 26 July 2010 06:03:21 |
|
|
leatherlips
Senior Member
USA
1838 Posts |
|
leatherlips
Senior Member
USA
1838 Posts |
Posted - 26 July 2010 : 11:12:19
|
I noticed in inc_func_common.asp you changed this:
CodeTags(1,1,2) = "<div><script language=""javascript"">EmbedMedia("""
CodeTags(1,2,2) = """,290,300,false)</script></div><div></div>" To this:
CodeTags(1,1,2) = "<script language=""javascript"">EmbedMedia("""
CodeTags(1,2,2) = """,290,300,false)</script>" I'm not sure if that is the problem as all you did was remove the div tags but what happens if you change it back to the original?
Also, did you make any changes to the media.js file? |
Mangione Magic Forum - The Music of Chuck Mangione
My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD |
Edited by - leatherlips on 26 July 2010 11:20:01 |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 26 July 2010 : 11:34:25
|
The div tags in "inc_func_common.asp" do not affect results. No changes made to "media.js", it reads as follows:
|
|
|
leatherlips
Senior Member
USA
1838 Posts |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 26 July 2010 : 16:04:40
|
I had tested the URL variable (which apparently is using the value of strForumURL) with that line. Removing it does nothing - it's gone now, issue persists. |
|
|
leatherlips
Senior Member
USA
1838 Posts |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 26 July 2010 : 16:48:50
|
Yes, tested with/without using the strForumURL variable. No change either way. |
|
|
leatherlips
Senior Member
USA
1838 Posts |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 26 July 2010 : 23:40:29
|
No change. It doesn't keep the URL variable at all. Javascript seem to treat it as a restricted variable - it's a different color than the rest when viewed in UltraEdit. |
|
|
leatherlips
Senior Member
USA
1838 Posts |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 27 July 2010 : 21:10:25
|
That was it - don't know how I lost that line, thanks. |
|
|
leatherlips
Senior Member
USA
1838 Posts |
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 29 August 2010 : 23:44:51
|
Well they found another bug in it. If a URL has a space (whether depicted as a space or as %20), the character is double-encoded and results as %2520. I cannot find where it's happening. |
|
|
thermal_seeker
Junior Member
United Kingdom
430 Posts |
Posted - 13 May 2011 : 17:21:13
|
I'm not sure what's happening but when a vid is playing in the box the page number disappears and a large brown section appears below the forum footer. Also I notice it will play an .mp4 that is hosted elsewhere but doesnt play the same vid from a folder on site.
Dave |
No good at coding, but I can plough a field !! |
|
|
Topic |
|