Moderating Blog posts and comments on PrimaryBlogger

When it comes to being e-safe online without thwarting creativity PrimaryBlogger has your back.

Moderation of comments:
a) Spam filtering software detects unwanted spam.
b) Pupils cannot see unmoderated comments.
c) Teachers moderate comments.
d) Pupils can only see approved comments.

Moderation of posts:
a) Teachers can receive emails when a new draft is published by a pupil.
b) Teachers can select to moderate posts before a pupil publishes it to the internet.
c) All posts on PrimaryBlogger are checked by a human after being published

Mobile phone detection with Varnish – Quick getting started guide

This is a quick reference guide, for a proper understanding of what you are doing use this guide. This solution is easier to implement and has less of a cpu overhead.

yum install libxml2-devel
#OR
apt-get intall libxml2-dev
wget https://gist.github.com/raw/805710/9f34a18e528c20eff1c92672c6f1856ed849f5ea/wurfl.c
wget https://gist.github.com/raw/805710/b9272d8a1d32d29034574c88b81fc79eb050e21b/wurfl.h
gcc -c -o wurfl.o wurfl.c -I/usr/include/libxml2 -fPIC
gcc -shared -Wl,-soname,libwurfl.so.1 -o libwurfl.so.1.0.1 wurfl.o -lxml2
wget http://downloads.sourceforge.net/project/wurfl/WURFL/latest/wurfl-latest.zip
unzip wurfl-latest.zip
mv wurfl.xml /etc/wurfl.xml
cp libwurfl.so /usr/lib
ln -s /usr/lib/libwurfl.so /usr/lib64/libwurfl.so

Edit your /etc/varnish/mobile.vcl using this as a guide

/etc/init.d/varnish stop
/usr/sbin/varnishd -s malloc,32M -a 0.0.0.0:80 -f /etc/varnish/mobile.vcl   -p 'cc_command=exec cc -fpic -shared -Wl,-x -lwurfl -o %o %s'

Test by looking in your server heads.. IE in PHP.. print_r ($_SERVER);

How to achieve a free digital signage solution with WordPress

I have written before about how WordPress can be used as a digital signage solution but never gone into much detail.  I figured the prompt Charles gave me was enough to get me to publish something more verbose..  So here goes…

1. Create a wordpress blog..  I recommend schools use PrimaryBlogger (I’m massively biased) as it has all the plugins already available..

2. Next, goto plugins and activate Showtime Slideshow.

3. Create a new post, Paste in [showtime] to the body of the post

4. Click add an image, upload some images that you want to be visible on your home page slideshow.  Click save all changes

5. Select a suitable theme, remove any widgets you don’t want..  [See Appearance] — I used “Strange little town” in the example.

6. Is your slideshow too fat/thin?  You can change the settings in Media -> Showtime Slideshow

7. To bring in a sliding animated news feed goto plugins and enable Vertically scroll rss feed

8. Click widgets, drag the scroll rss feed widget over to your sidebar.

9. Enter the RSS feed of your choice..  If you don’t know any then maybe use the RSS feed from your blog or from the CBBC news feed or something..

Alright, that’s it..  Visit your blog, press f11 to go full screen and then go from there..

You will probably want to add more widgets and play around more with the objects available on the screen, you can do this by tinkering and having fun 🙂

Enjoy!