Allowed Groups Embedded Flash

Started by ディン1031, April 05, 2007, 07:23:56 AM

Previous topic - Next topic

ディン1031

Link to Mod

With this mod you can select some groups who allowed to embedded Flash into the posts
and signatures. Include also a converter to convert HTML <object> flash to [flash] BBC.

To find the option for it, go to Admin - Posts and Topics - Post Settings

Included Languages:
English, Detusch (German), Ελληνικά (Greek), Français (French) and Türkçe (Turkish)

Version 1.0.0
+ First Release


Version 1.1.0
+ Add a Option for Converting Flash HTML into a BBC Tag, it's a option that you need to enable, so that it work, and it only work on saving and editing a post. (So Old Post will not convert automatic!).
Example what i mean:
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/CSkhQkv0RJ0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/CSkhQkv0RJ0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
will be converted to [flash=425,350]http://www.youtube.com/v/CSkhQkv0RJ0[/flash]


Version 1.1.1
! I didn't see that the post group have a own field to check... now it work with post goups , too.


Version 1.1.2
! MellowB found a mistake in the HTML Flash to BBC parser... i fixed this and it should not happen any more that the preview show slashes before the " and ' ... also some other mistakes are removed in the parser so that it is lot faster than before...


Version 1.1.3
! Remove the quote before the http:// on direct posting without previewing... I didn't see it because i tried to fix the preview problem in the Version before... i hat html 2 bbc converting! (It will not fix all ready wrong posted flash!)


Version 1.2.0
* Change a lot in the Admin.template.php
+ Add a different way for selecting allowed groups.


Version 1.2.0 (12.06.07)
- Add the Greek Translation made by mforum


Version 1.2.1 (27.07.07)
! Bugfix for Moderator Board detection, the select Moderators work not each time correct. With this fix it work 100% ;).


Version 1.2.3 (24.09.07)
+ Now allowed Groups can also Preview the flash to see if it work correct.
- Upgrade included



Legend:

- Info Only
! bug fix
+ added feature
* changed
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

nibb

Would this work for Flash videos too? If im not wrong flash video uses a .swf first to then stream the flash vide .flv so the embedded flash would be a .swf, would this work, so i can then post a flash video?

edwardsiow

ya....can you give us more detail + screenshots?

i think i will love this mod...

thanks

ディン1031

#3
Hmmm difficult to show this in pictures.... hmmm i will try it... will take some time.

I add some screenshots to the modsite :).

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

shaiss

I added groups 1,2,3,4,5 to the alowwed groups and it doesnt work
see http://www.ocmoto.com/index.php?topic=13.0

Any help is appriciated.
thank you
-Shai
If you ride on two wheels you need to ocmoto.com!

ディン1031

#5
First as HTML code it would not work, because the mod is only for the flash bbc code.

[flash=400,326]http://video.google.com/googleplayer.swf?docId=-2676368266473205293&hl=en[/flash]

It's not easy to make a html code worrking for this in smf, it's possible but a lot work and i think in a forum the flash bbc should be used.

Version 1.1.0
Add a Option for Converting Flash HTML into a BBC Tag, it's a option that you need to enable, so that it work, and it only work on saving and editing a post. (So Old Post will not convert automatic!).

Upgrade is inlcuded

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

ディン1031

Add a Frensh and updated the Turkish language.

Thx to ghg for the Translation

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

Stirred

Hello!

The mod installed good and the members can see the flashes that i inserted while using this change: http://www.simplemachines.org/community/index.php?topic=36634.0;all

Now i select groups (1,18,10) and i don´t have permission to add flashes. It only give me the links.
- eighteen seconds before sunrise -

ディン1031

Quote from: Stirred on April 30, 2007, 06:34:55 AM
Hello!

The mod installed good and the members can see the flashes that i inserted while using this change: http://www.simplemachines.org/community/index.php?topic=36634.0;all

Now i select groups (1,18,10) and i don´t have permission to add flashes. It only give me the links.
I did not use this for my mod ?_?, if you use both this and my mod, it's possible that it replace it back to false.

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

Stirred

I do not use both at the same time, before install your mod i took off the other properly.

Theres is anyway you can help me out with this?

Thanks for the trouble, but i have no other person to come to.
- eighteen seconds before sunrise -

ディン1031

If you installed all correct, it should normal work ?_?, i've tested it on my install and it work fine... i don't know why it not work with your install... Are you sure that you remove all correct?

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

Stirred

Well im sure (almost) that i did everything well...

I give here my changed sources files with your mod.

Do you see anything wrong? Thanks for all the help.
- eighteen seconds before sunrise -

ディン1031

#12
Hmmm it looks good to me, hmmm which mods did you install and which versions?

I will try to install the same ones :)
I see on first look, hide tag special 1.2.4, member color link 2.0.0, Thank You Mod 1.1.2, anything else?

(With the three installed, it work <<).

Can you also give me a link to your forum?

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

Stirred

My site: www.hentai-portugal.com (WARNING: ADULT CONTENT INSIDE)

Mods:
Quote1.     SMF 1.1.1 Update Package     1.1.1     [ Desinstalar ]
2.    TinyPortal    0.983    [ Desinstalar ]
3.    nwsw.nwswAdminAttachAnything    1.0    [ Desinstalar ]
4.    Gender On Registration    1.0    [ Desinstalar ]
5.    AvatarSelect    1.1.2    [ Desinstalar ]
6.    Resample Big Attached Images    0.1    [ Desinstalar ]
7.    Member Color Link    2.0.0    [ Desinstalar ]
8.    Member Color Link no TinyPortal    1.0    [ Desinstalar ]
9.    YouTube BBC Tag (XHTML Compliant)    1.2    [ Desinstalar ]
10.    PM On Registration    1.0.2    [ Desinstalar ]
11.    Invite    1.13    [ Desinstalar ]
12.    Rename Topic    1.0.2    [ Desinstalar ]
13.    Custom Action Mod    2.04    [ Desinstalar ]
14.    Topic Ratings    1.03    [ Desinstalar ]
15.    Post Count Warning    1.01    [ Desinstalar ]
16.    Karma Blocks Package V.04    0.4    [ Desinstalar ]
17.    Frequency Bar    1.1    [ Desinstalar ]
18.    Hide Tag    1.2.4    [ Desinstalar ]
19.    Thank You Mod    1.1.2    [ Desinstalar ]
20.    Minimum Characters/Words Per Post    1.0.0    [ Desinstalar ]
21.    View Only Boards    1.1    [ Desinstalar ]
22.    Allowed Groups Embedded Flash    1.1.0    [ Desinstalar ]
23.    Attachments layout    1.1    [ Desinstalar ]

The only thing i changed since that files that attached yesterday is the version of Attachments layout from 1.0 to 1.1.
- eighteen seconds before sunrise -

ディン1031

Hmmm only not install nwsw.nwswAdminAttachAnything and Member Color Link no TinyPortal... and it work there <<...

I wrote you a pm in you forum ;).

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

Stirred

Why is that, stuff that 'colide'? Is there anyway that i put those together? =/

Thanks very much for the BIG help!
- eighteen seconds before sunrise -

ディン1031

Update:

Version 1.1.1
! I didn't see that the post group have a own field to check... now it work with post goups , too.




Thx to Stirred... i really overseen this <<...
Sorry for the problems...

Bye
DIN1031

Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

Stirred

Thanks for the new version. But my problem continue for me and defined group ids, as Admin and with permission set i can´t add flashes, I only see the links.

I can only see flashes that were added before with the other mod (change) that i published.

When you said that without those mods (nwsw.nwswAdminAttachAnything and Member Color Link no TinyPortal) it will work properly, is about this issue, right? If is that so then I will uninstall them.

Screen:
http://img79.imageshack.us/my.php?image=allowflashmodxn5.png
- eighteen seconds before sunrise -

ディン1031

Hmm i didn't use the tiny portal, too... i think i will try this also... it's possible that the tiny portal work diffrent <<.

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

Stirred

#19
Yes, something is cutting out that mod group option. The guy from the top said that he had the same problem, maybe it is the same thing as me in the same conditions.

Today I'll be all day out, but tomorrow we solve that. It always has a reason to exist. lol

Bye
- eighteen seconds before sunrise -

Advertisement: