News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

This code does not show in a post. Why?

Started by Arebias, December 09, 2010, 01:59:40 PM

Previous topic - Next topic

Arebias



Why will the following code no longer work in 2.0 RC4? It worked fine in the older versions.







[center][url=http://www.gametracker.com/server_info/64.94.238.250:27960/][img]http://cache.[url=http://www.gametracker.com/server_info/64.94.238.250:27960/b_560_95_1.png]www.gametracker.com/server_info/64.94.238.250:27960/b_560_95_1.png[/url][/img][/url][/center]



Spoogs

Not really seeing how that ever worked but you could just check the images url to see if the image is still available.


kat

Not in a million years.

[center][url=http://www.gametracker.com/server_info/64.94.238.250:27960/][img]http://www.gametracker.com/server_info/64.94.238.250:27960/b_560_95_1.png[/img][/url][/center]

might, though, if the image actually exists.

flapjack

I don't think it's static image, more likely it's dynamically generated, if you're having problems maybe the generator doesn't work?

Arebias

#5



[center][url=http://www.gametracker.com/server_info/63.251.20.161:27960/][img]http://cache.www.gametracker.com/server_info/63.251.20.161:27960/b_560_95_1.png[/img][/url][/center]


Ok. There is the actual code that does work. Here is the problem. When I place this code in a post and hit preview it shows properly. As soon as I hit save it then mangles the code to that in which I first posted.

Yes you are exactly right. Not in a million years. However I did not notice that it was actually mangling the code until just now.

So the question is this: What would cause the code to get changed from the above to:

[center][url=http://www.gametracker.com/server_info/77.92.85.50:27960/][img]http://cache.[url=http://www.gametracker.com/server_info/77.92.85.50:27960/b_560_95_1.png]www.gametracker.com/server_info/77.92.85.50:27960/b_560_95_1.png[/url][/img][/url][/center]


Which of course does not work.  ??? Anyone know?

I removed every mod I have installed trying to use the process of elimination yet nothing seemed to change the occurrence.









Arebias

#9

Then it does not work neither here nor on our site. However it does not mangle the code. It just simply does not work.


So essentially on our site it will not accept the http://cache.www.gametracker.com/server_info/

Without stripping it.         

[img]http://cache.[url=http://www.gametracker.com/server_info/
                     

We just upgraded from 1.1.11 to 2.0 RC4


kat




Spoogs

K@ that code has the cached part in it.. OP is saying when its posted on their site it gets all mangled like in the first post.

Arebias



Let me try this again.

Yes that code that you used in order to get that banner to show up is correct. And on this site that code is passed correctly and the result is the image that you see.

On our site when that very same code is entered, and you choose 'Preview', it shows correctly, just as the above example you posted, but only in preview. It is after you hit 'Save' that the forum changes the code to what I initially posted. It Mangles The Code upon Save.


Did I do better at explaining it this time?

kat

You did.

Do you have anything in word censoring that might cause this?

Arebias


kat

I just tried it on my RC4 forum and it works, perfectly.

Do you have any mods, such as PrettyURLS, that might be affecting this?

Arebias


No pretty urls.





1.    Quick Translation    0.3   
2.    MessagePreviewOnHover    1.7 
3.    FantasticSmileys    1.0   
4.    Custom Form Mod    1.6   
5.    Export Personal Messages    1.3.3   
6.    Treasury    2.08   
7.    Add IP2Location to Track IP    1.3   
8.    Switch Permissions    1.0   
9.    Search User In MP    1.1   
10.    SimplePortal    2.3.3   
11.    Users Online Today    1.5.6   
12.    PM Attachments    1.6   
13.    OS & Browser Detection    1.5   
14.    Last Active On MemberList    1.4   
15.    Aeva Media    1.4c   
16. nneonneo AdvShout Box 1.22


As previously stated I removed all these mods in an attempt to eliminate which one was at fault. There was no difference.

I guess what would help me is to know which php files deal with that particular action. I am assuming Post.php

If I could narrow this down to which ones actually affect this function of parsing BBC during a post I could then go through in a line by line comparison with a stock php file from the upgrade zip.

Arebias


Advertisement: