Work with Author Taxonomy?
SpaceGoat1701 - May 7, 2009 - 00:14
| Project: | AdSense |
| Version: | 6.x-1.0 |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed |
| Issue tags: | adsense, Author Taxonomy |
Jump to:
Description
I was wondering if the AdSense module works, or could be made to work, with the Author Taxonomy module?

#1
Either you have to write a module to do this, or you can be creative with block visibility with some PHP.
#2
Just a note: if you read the instructions on README.txt, you'll see that it's possible to define your own your_mod_adsense() function which you can use to select what is the returned publisher ID. In this case, it would have to access the AT module's data structures to find the user who would be considered the author of the page currently being viewed, and then similar to the existing revenue sharing module, simply access the Adsense ID field in his profile to return the appropriate user ID..
João