![]() |
Quote:
For example, I want to exclude Admins, but with this mod, unless I also exclude other secondary UserGroups that Admins belong to, then the result of just excluding anyone belonging to the single Admin usergroup on its own is pointless and it doesn't work because the mod wants ALL of them checked or unchecked. ;) Many sites use secondary usergroups to identify things like contributing members etc, so their use that way conflicts with how this mod is coded. Anyway, again... nice effort on behalf of the coder and we appreciate his work, but for us it won't work without a more traditional approach to handling user group exclusions. Regards, Doug |
Hello
maybe I did not understand the problem, due to my bad English Quote:
I have excluded the admin group. my account have as primary group admin as secondary staff (not excluded) and the ads do not see I have change excluded staff group my account have as primary group admin (not excluded) as secondary staff and the ads do not see it properly the instruction I used to check the group is as follows: Code:
if (is_member_of($this->registry->userinfo,$ctads['groups'])) { thanks |
Quote:
You have an option that says: Select the Usergroup to be excluded from ads second post. If I check ALL the boxes but NOT the one that says Administrator, then according to your option, the Administrator group ONLY should be able to view the ads. On our site, any member who belongs to the group Administrator DOES NOT SEE ads. They do not see ads because an Administrator on our site also belongs to other user groups as well, which are checked. So, because those other user groups are checked and kind of process logic you're using, it just doesn't work for us... Thanks for your efforts ... :) Rergards, Doug |
Quote:
in your case probably should create a group no-ads, exclude this, and assigned to admin the secondary group no-ads |
Quote:
Select the Usergroup to be INCLUDED (permitted) to view ads second post. Then, only members belonging to whatever usergroup is checked would see the ads. Solves the problem for us ... ;) Regards, Doug |
hi
should be sufficient to make this admincp ->Plugins & Products ->Plugin Manager search Second Post ADS (press edit) seach this code Code:
Code:
let me know if it works Regards, Asterix |
Quote:
|
hi
I checked quickly, your request requires the variation of one plugin and one or two template admincp ->Plugins & Products ->Plugin Manager search Second Post ADS (press edit) seach this code Code:
if ($ctads['ok'] && $ctads['template'] == 0) Code:
if ($ctads['ok'] && $ctads['template'] == 0) I have not tested but should work Regards Asterix |
Nice, nice nice!! Worked.
This will help a lot, because the human eye looks first at the first content in the screen. Thank you! PD: It's appearing "0 0 0" before the ads example |
Quote:
Ads ONLY appear for selected usergroup membership. Thank you very much for the customization .... Can I assume the Forum Exclude can be reversed in a similar way? Regards, Doug |
All times are GMT. The time now is 08:49 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|