Quote:
Originally posted by SaintDog
Could this be modified to where only those that have made a donation can have the ads removed? I know you would have to manually add them to a usergroup if I wanted to do this, but that would be fine.
|
Yes, this is quite easy.
Change the line that says
if ($bbuserinfo['userid']<"1") {
to say
if ($bbuserinfo['usergroupid']!="13") {
...where '13' is the usergroup you've added called something like "Contributing Members".
This will then show ads for everyone EXCEPT contributing members.
Quote:
I added a usergroup call Contributing Members, but I am not sure of the # it is, such as an admin has a set usergroup number, as do mods, and super mods (I have not added any other usergroups).
|
The way I do it...
Click on "User Groups - Modify" in your control panel.
Hold your mouse over the edit link for the 'Contributing Members' group
...look at the end of that URL, where it'll say something like usergroupid=13.
That means 13 is the number.
BTW, this all works fine in v2.2.6.