Supporter updated plugin

Hi I reinstalled the supporter updated plugin by deleting the old and reloaded the new files.

1) I ma not sure where thes files should go

Ad Functions:


supporter_show_ads:

ex:

<?php

if (supporter_show_ads()) {

//show ads

?>

ad content goes here

<?php

} else {

//do not show ads

}

?>


supporter_hide_ads:

ex:

<?php

if (supporter_hide_ads()) {

//do not show ads

} else {

//show ads

?>

ad content goes here

<?php

}

?>

Supporter Status Function:


is_supporter:

ex:

<?php

if (is_supporter()) {

//blog has been upgraded to a supporter

//code or content goes here

} else {

//blog has not been upgraded to a supporter

//code or content goes here

}

?>

2) and I can still work in my back office but as soon as I go to the fornt end it gives me a apache server red page…Can it be because I activated the plugin before its installed properly

  • Andrew
    • Champion of Loops

    Hiya,

    1) I ma not sure where thes files should go

    Those are functions not files :wink:

    They’re just usage examples for a few functions you can use to show/hide ads or check the Supporter status of a blog.

    2) and I can still work in my back office but as soon as I go to the fornt end it gives me a apache server red page…Can it be because I activated the plugin before its installed properly

    You shouldn’t have to activate this plugin. Double check that the files are all in the correct location.

    Thanks,

    Andrew