Inspirationally

Listing Admin Shortcodes for WordPress

It is very complicated to include Tess great fanlisting management script Listing Admin into your WordPress run fanlisting collective, or even impossible without changes to Listing Admin itself. I decided to write a little plugin that lets you include your fanlisting collective with WordPress tags into your WordPress blog.

Instructions: upload the fanlistings.php file to your WordPress plugins folder and activate the plugin. Then, add the database details from jac.inc.php to the Settings -> Fanlisting Shortcodes. Create your collective pages and add the following tags. Unfortunately, Wordpress reserves some variable names, so external forms with $_POST[‘name’] do not work. For making the contact form work, find it in your Listing Admin folder -> inc -> show-form.php , you have to replace it with $_POST[‘contactname’] and <input name=”name” also with <input name=”contactname”. The same for the show-codes-form.php.

Fanlisting Collective Stats

[fanlistings show="stats"]

Owned fanlistings

[fanlistings show="owned"]

default is current fanlistings. Optional is status=”pending” or status=”upcoming”.

Joined fanlistings

[fanlistings show="joined"]

default is show_lister=”y” and show_search=”y”. This cannot (bug) be deactivated in Listing Admin either, even if you set it to “n”.

Keep in Mind List

[fanlistings show="kim"]

will show Keep in Mind Listing Stats and the Members list below. Unfortunately, the KIM join form is buggy and not working in (my) Listing Admin either.

Wishlist

[fanlistings show="wishlist" status="list"]

optional status=”granted”, status=”top” and status=”custom”.

Affiliates and Contact Form

For this option to work, you have to replace the text in the show-form.php in the inc folder of Listing Admin as I wrote above.

[fanlistings show="affiliates"]

or

[fanlistings show="form"]

will both work.
Default: fClose=”n” (Form turned on), fWhich=”both” (showing affiliates and form), turnAff=”1″ (showing affiliates portion of form), turnCon=”1″ (enable contact form)
Optional: fClose=”y”, fWhich=”form” or fWhich=”list”, turnAff=”0″, turnCon=”0″

Collective Codes

[fanlistings show="codes"]

Default: sort_by=”id”, optional sort_by=”name”.

Codes are shown all with backlink to the donor by default.

Donate Codes

For this option to work, you have to replace the text show-codes-form.php in the inc folder of Listing Admin as I wrote above.

[fanlistings show="donate"]

Updates

Just for moving purposes, you can temporarily display the Listing Admin Updates. Pagination and Comment links won’t work.

[fanlistings show="updates"]
Specs
Release date:October 24, 2016
Last updated:November 24, 2016
Current version:1
Product type:WordPress Plugin
File format:zip