...
# | Name | Description |
---|---|---|
1 | can_sponsor_ | Can members of this user group mark a |
2 |
| How much is the sponsor space worth for |
3 | auto_publish_sponsored_ | After the user has purchased a sponsored space, should the |
...
Note: replace
app
with your app's alias
...
Sponsor methods
phpFox provides 2 sponsor methods: Sponsor without fee and Purchase sponsor.
Sponsor without fee
When {{can_sponsor_
}}app
{{` is *Yes*, user of that user group can sponsor item without paying fee.
All you have to do in your app is mark item as sponsor by database query and don't forget to add sponsor via function }}addSponsor()
{{ in class }}Ad_Service_
Process`Process
.
Purchase sponsor
Integrate below url to redirect your user to sponsor page.
...