HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS. ocPortal 9 is superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


LastFM

Adds a top LastFM playlist on a panel. This displays top artists, top albums or top tracks. Block parameters are someone's LastFM username, top rank list period of time (3, 6 or 12 months), and what chart to be displayed (artists, albums or tracks chart). Example addon usage:

Code

[block username="Sjarvis78" period="3" display="artists"]side_last_fm[/block]
You will need your Username for Last FM, and you will need to decide how long you want the block to check back, "3", "6","12" months . Also you will need to decide whether you want to show favourite "artists", "albums" or "tracks". The example code will look something like:

Code

[block username="Sjarvis78" period="12" display="albums" height="300px"]side_last_fm[/block]
Period is just the number of the chosen months "3", "6" or "12" and the display is "artists", "albums" or "tracks". You can also specify the height and width as above.

License

Licensed on the same terms as ocPortal

Images

Moving forward with Composr

ocPortal has been relaunched as Composr CMS. ocPortal 9 is superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


An error has occurred

Unfortunately a query has failed [INSERT INTO ocp2_stats (access_denied_counter, browser, operating_system, the_page, ip, the_user, date_and_time, referer, `get`, post, milliseconds) VALUES (0, 'CCBot/2.0 (http://commoncrawl.org/faq/)', 'http://commoncrawl.org/faq/', 'site/pages/modules/downloads.php', '54.167.219.201', -556841395, 1496071999, '', '<param>page=downloads</param>\n<param>type=entry</param>\n<param>id=624</param>\n', '', 0)] [Duplicate entry '19560025' for key 'PRIMARY'] (version: 8-RC3, PHP version: 7.0.19, URL: /site/downloads/entry/addons/ocportal-8-0/third-party-integration_7/lastfm_8.htm)

Here is the stack trace:

The staff have been provided a ‘stack trace’ which may help them diagnose the problem.