XF2 Add-on Andy - Forum Cookie v1.0 - Xenforo Add-Ons

virgilio183

Well-known member
Pro
Master
Diamond
Elite
Joined
May 16, 2021
Messages
25,047
Reaction score
29,168
Points
113
NullCash
566,534
Description:

Allows setting a cookie based on user group permissions.

Some ad agencies allow not displaying ads if a certain cookie is set. This is a great way to not show ads to premium members.

(Example of Options page)
pic001.jpg

(Example of User group permissions)
pic002.jpg
Features:
  • Sets cookie after login.
  • Sets cookie on forum list view.
Setup:
  • Set cookie Name and Value in Options page.
  • Set User group permissions. Typically you set Yes to the Premium user group.
Questions and answers:
Q: If a members premium account expires, will the cookie be deleted?
A: Yes. The next time they login or view the forum list their cookie will be deleted if no longer a premium members.
Q: How long will the cookie last?
A: For one year. However if the member is no longer a premium member the cookie will be deleted when they login or view the forum list.

Compatible XF Versions 2.0 , 2.1 , 2.2
 

Attachments

  • Andy-ForumCookie-1.0.zip
    39.4 KB · Views: 0
Top