Quote:
Originally Posted by Silvio
Hi Crist,
Excuse my bad english, I hope is understandable
Little problem,
I upgraded your hack from 1.1 perfectly working on VB3.5.3 to anymedia1.2
1) unload old product-anymedia.xml (1.1)
2) removed modifcations on includes/class_bbcode.php File
3) uploaded and overwritten old files on my site from your new 1.2 Upload directory
4) reloaded new product-anymedia.xml (1.2)
5) set up all permissions on usergroup.
The medias posted with 1.1 are all working and visible, as are the one posted with new 1.2; But if I try to preview a post with a new media, then an issue is there.
|
Don't worry.
You upgraded it perfectly,
Quote:
Originally Posted by Silvio
here what happen (example)
1) I create a post
2) I insert the url where my media is, and in this example I insert : http://www.myurl.xyz/mypath/forum/fl.../flashfile.swf
3) I highlight it and then press on M picture of allmedia hack and it correctly write on the writing pane [MEDIA]http://www.myurl.xyz/mypath/forum/flashpath/flashfile.swf[/MEDIA]
4) press preview
It will show up 2 errors --> Error: Non supported media type.
If I look what happend to the code on my editing pane after preview, I can see that it was translated in an unspected way, and in the specific case will be :
PHP Code:
[media][url="http://www.myurl/mypath/forum/flashpath/flashfile.swf"]http://www.myurl/mypath/forum/flashpath/flashfile.swf[/url][url="http://www.myurl/mypath/forum/flashpath/flashfile.swf"][/url][/media][url="http://www.myurl/mypath/forum/flashpath/flashfile.swf"][/url]
What I did wrong???
4B) If not preview is pressed but POST, then all seems to work great!
|
You added other bbcodes between the [Media] Code.
So it didn't work.
Don't insert other bbcodes (or html tags) to the [Media] code.
JUST THE URL.
Quote:
Originally Posted by Silvio
ciao and take care & ty for great hack!!
|
Ciao = Goodbye?
the only Italian word that I know.
:nervous:
Quote:
Originally Posted by Silvio
Edit : How is possible to :
Enable Users to see medias posted by authorized Users?
I do explain better: If I do not authorize a group, then that group wont see that media.
But if I want to let them see it and Just dont' post a media? how that could be possible?
again ciao & have fun
|
You could do this in this version,
Maybe I will add it into the new version.