Bạn ghé thăm diễn đàn lần đầu? hãy đăng ký ngay bây giờ để tham gia.
  • Đăng nhập:

Chào mừng bạn đến với ITVNN FORUM - Diễn đàn công nghệ thông tin.

Nếu đây là lần đầu tiên bạn tham gia diễn đàn, xin mời bạn xem phần Hỏi/Ðáp để biết cách dùng diễn đàn. Để có thể tham gia thảo luận bạn phải đăng ký làm thành viên, click vào đây để đăng ký.


  • Partner Area
    • ITVNN HOSTING - Thiết kế website, Cung cấp Domain, Hosting, VPS Việt Nam Anh Hùng - Thông tin truyền thông
kết quả từ 1 tới 1 trên 1
Tăng kích thước phông chữ Giảm kích thước phông chữ
  1. #1
    thanhdia's Avatar

    Trạng thái
    Offline
    Tham gia ngày
    Sep 2009
    Thành viên thứ
    9
    Giới tính
    Bài gởi
    218
    Level: 37 [?]
    Experience: 1,170,844
    Next Level: 1,209,937
    Cảm ơn 0
    Cảm ơn 48 lần / 26 Bài viết

    Default Allow Usergroups to post HTML  

    Just like the name says, this ultra-simple little Product will allow you to specify Usergroups that may make forum posts in HTML and have that HTML be parsed.

    The code in this version is 100% identical to that in the 3.5 version, which worked all the way through 3.6,7 and 8.

    Blog HTML permissions are, for some reason, actually there in Usergroup Manager, they control HTML in Blog entries and posts, and override the settings in this Product.

    ***BE AWARE THAT INDISCRIMINATE USE OF THIS PRODUCT IS RISKY - RESTRICT IT TO ONLY THOSE USERGROUPS YOU TRUST ABSOLUTELY***

    The scary message above is to make sure you are aware that enabling HTML for any group opens you up to security issues. This is why it is not a feature of Stock vB, probably.

    Now updated to be controlled by a Setting in Usergroup Manager, it's phrased and even works in editpost.php (preview) in WYSIWYG and normal modes, AND the Forum Rules shows HTML is ON.

    In the current vB 4.0, this WILL apply retroactively.
    That is, if a User posted something in HTML in the past, before they were given the ability, that post will be parsed. This could prove dangerous/troublesome for anything not wrapped in PHP tags.


    Many thanks to Andreas for prodding me to figure it out by myself and not just telling me what to do.

    A "demo" is here..html is OFF in that Forum, but those posts are made by an Admin with the setting to Yes, so the HTML is parsed.

    Known Issues: It is not currently possible to choose whether the HTML in a post is parsed or not - it will be.. unless (weirdly) you wrap it in PHP /PHP tags.
    I'll look into adding a toggle switch.
    File Kèm Theo File Kèm Theo


 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Tools converter html => php , html => asp.net . Html => Java scripts
    By Nhonha in forum HTML / Java / JavaScript / JSP
    Trả lời: 1
    Bài mới gởi: 15-03-2012, 09:20 PM
  2. xin code html post thông báo cho vbb
    By xayda in forum Hỏi đáp & Thảo luận
    Trả lời: 2
    Bài mới gởi: 03-08-2011, 09:36 AM
  3. Delete Signatures of Usergroups In One Go
    By admin in forum v4.0.x Modifications
    Trả lời: 0
    Bài mới gởi: 31-08-2010, 12:07 PM
  4. Exclude Usergroups from Char Limit
    By admin in forum v4.0.x Modifications
    Trả lời: 0
    Bài mới gởi: 07-03-2010, 10:25 PM
  5. Show Color Usergroups
    By thanhdia in forum v3.8.x Modifications
    Trả lời: 0
    Bài mới gởi: 07-09-2009, 08:44 PM

Tags for this Thread

Bookmarks

Quuyền Hạn Của Bạn

  • Bạn không thể tạo chủ đề mới
  • Bạn không thể trả lời bài viết
  • Bạn không thể gửi file đính kèm
  • Bạn không thể chỉnh sửa bài viết
  •