1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Premium Members BBcodes [Deleted]

Discussion in 'Add-on Releases' started by cclaerhout, Feb 8, 2012.

Thread Status:
Not open for further replies.
  1. cclaerhout

    cclaerhout Well-Known Member

    cclaerhout submitted a new resource: Premium Members BBcodes

    This addon will add two new bbcodes: [premium] and [private]. Both use usergroups permissions.

    Read more
     
    yavuz likes this.
  2. Digital Doctor

    Digital Doctor Well-Known Member

    Cool.
    If this is used wisely it could help encourage people to Register !
     
  3. cclaerhout

    cclaerhout Well-Known Member

    Images uploaded :)
     
    Fuhrmann likes this.
  4. Digital Doctor

    Digital Doctor Well-Known Member

    So if used with xenscripts & wordpress .... [premium] tags used in Wordpress would be respected in the respective Xenforo thread ?
    Cool :)
     
  5. cclaerhout

    cclaerhout Well-Known Member

  6. cclaerhout

    cclaerhout Well-Known Member

    Actually my first purpose was to use this BB code in Wordpress to make editors able to "play" with XenForo UserGroups very easily. It was working fine with Wordpress, but the Wordpress Article was also copied to Xenforo Threads thanks to the Bridge... and its content was visible on XenForo. So I had to find a way to make a similar BB Code on XenForo. The problem is a forum has a lot of text "outputs". I think the best way to protect every thing would have been to use and modify the "censorship" system thanks to "XenForo_Helper_String::censorString" (because all outputs use it) but it's not possible to listen it. So as I've done what I had already done with vBulletin before: I've tried to find every outputs and hide what needed to be hidden. I'm sure a good coder would do better, but it's working for me now. In the last version I've tried to avoid to overrid so that this addon could be used with others, but XenForo "plugin" system is really not so convenient for this... but that's may be because I still don't understand it very well.
     
  7. avi

    avi Active Member

    Really nice plugin & nice idea too :)
     
  8. DRE

    DRE Well-Known Member

    *downloads*

    5 Stars if it works!
     
  9. Mr. Goodie2Shoes

    Mr. Goodie2Shoes Well-Known Member

    getting this error:
    [​IMG]
    xenForo ver: 1.1.2
     
  10. Mr. Goodie2Shoes

    Mr. Goodie2Shoes Well-Known Member

    and yes... if I post something with the [premium] tag then its being posted twice... :confused:
     
  11. cclaerhout

    cclaerhout Well-Known Member

    The first problem has been corrected, but I can't reproduce this one... What is the content ? Do you have an example ?
     
  12. cclaerhout

    cclaerhout Well-Known Member

  13. Mr. Goodie2Shoes

    Mr. Goodie2Shoes Well-Known Member

    okay... its just me I guess... I just tried it and no problem...
     
  14. cclaerhout

    cclaerhout Well-Known Member

  15. cclaerhout

    cclaerhout Well-Known Member

  16. DRE

    DRE Well-Known Member

    Hey how can we make this function like a spoilerbb code so that only premium members can click on a box to make it reveal?
     
  17. cclaerhout

    cclaerhout Well-Known Member

    Add a spoiler bbcode inside the premium bbcode... I don't get what you really want to do.
     
  18. DRE

    DRE Well-Known Member

    Didn't know spoiler's work inside the bbcode. I tried [parsehtml] BB Code and it doesn't work inside premium bbcode.
     
  19. cclaerhout

    cclaerhout Well-Known Member

    You should have told me sooner, there was a little bug i've just corrected ;)

    Thanks !
     
    The8thLegion likes this.
  20. cclaerhout

    cclaerhout Well-Known Member

    principia and 8thos like this.
Thread Status:
Not open for further replies.

Share This Page