How to do stuff:
blogging
log in as whoever (gsec, gag, reg… etc)
the main gsec password always has something to do with ninja turles
- click write
- add the page title and content – don’t change other options
- click post
for more detailed instructions see: http://codex.wordpress.org
photo gallery
login = gsec (with those ninjas)
photos are divided into albums by year (’03-’04, ’04-’05 etc)
it’s fairly straightforward, once you’ve logged in, to create new albums, add pics etc
comprehensive instructions online at:
if you have a lot of photos to upload, have a look through those instructions, as there is a way to uploading a batch of photos all at once.
please remember to log out, especially if using a public computer
photos in blog
- go to the album in gallery, choose the photo you want. right click on the THUMBNAIL (not the big image, it’s too big for the blog pages!) then copy the URL
- go to the blog, log in, and write your post
- in a new paragraph, click img
- paste the url and click ok (watch out you don’t have the http:// bit twice
- select that whole line and click link
- paste the url of the album page (not the photo you pasted before, the web page) – that links the pic to the gallery
- click publish
calendar
login = gsec (with those ninjas again)
admin links are at the bottom of the page
to edit an event, click on it, to add a new event…
- click ‘add event’ at the bottom of the page
- add both descriptions: brief description = what’s written in the calendar, full description = what you get when you click on the event, and you also get when you mouse-over it in calendar view
- click on scheduling at the top
- add date / time / duration
- for repeating events, click repeat at the top and add the details
to delete an event, click on the event, then click delete entry
comments on the blog
all comments have to be approved to prevent spam. if lots of people start commenting and this becomes unmanagable, we could make it a bit more automated – email matthew if this is the case
when you log in, the Latest Activity panel tells you if there are comments awaiting moderation in bold. click on that to moderate comments – again, fairly self explanatory
email addresses
when you put an email address on a page, it’s important to make sure it doesn’t get spammed. if you put a normal link, it WILL get spammed. here’s my solution:
<script type="text/javascript" src="/blog/uploads/email_example.js"></script><noscript>someone [at] example.com</noscript>
that’s the code that inserts an email address, and is broken up into two parts:
<script type="text/javascript" src="/blog/uploads/email_example.js">
calls a bit of javascript that inserts the email address
<noscript>someone [at] example.com</noscript>
is for people who don’t have javascript and makes the email address appear, but isn’t a clickable link, eg
someone [at] example.dom
so here’s what you have to do:
- if you’ve already used the address on the site somewhere, just copy and paste the old code, or if not…
- go to this cool tool matthew hacked together: http://carroll.org.uk/tools/email
- enter the email address
- click encode
- click the link at the bottom to test it
- copy the code into notepad
- remove the first two lines and the last line
- save as, eg email_somethingobvious.js (the .js extension is necessary)
- upload it
-
paste this code into wherever you want the address:
<script type="text/javascript" src="/blog/uploads/email_example.js"></script><noscript>someone [at] example.com</noscript> - change the noscript bit to be the email address
- change the javascript file (email_example.js) to a the file name you chose
user admin / new sub-groups
basically, just add a new category, and a new user:
to add a new category
- click manage
- click categories
- add categories to your heart’s content – it’s self explanatory
to add a new user:
- click users
- fill in the form – nickname should be lowercase, no need to add names or websites
- click add user
- promote them so they can do stuff – click promote, then keep clicking the plus until it can’t go any higher
accessing the site
ftp addres: gsec.ca
login: gsec
pass: (hint: teenage mutant)
static pages
editing existing static pages is easy – just go to manage, then click pages, and edit the page you want. adding a new page is a bit more tricky. first let’s have a look at how things are organised:
page structure is like this:
<div id="content">
[everything on the left hand side of the page]
</div><div id="menu">
[everything in the column]
</div>
…that’s the format you need to use in a static page
the only adition to that that you can include is this:
<div class=”campaign”>
content content content
</div>
that’s what adds the blue box around different ‘campaigns’ – have a look at existing pages and it should make sense.
the minimum HTML you need to add for a page to work, and not look weird is:
<div id=”content”>
[everything on the left hand side of the page]
</div>
so it doesn’t spill into the right hand side of the page
TO CREATE A NEW PAGE:
- log in, click write, click write page
- write the contents, using the code above as a template – copy & paste it
- at the top, probably turn off allow comments and pings for static pages (although you could leave them on if you like)
- at the top, select the parent page, e.g. for a sub-group home page, the parent is the Main Page – NOT the site front page. the parent page could be another sub page
- at the bottom, selet the templage – Default Template is the same as the gsec home page, sub-groups can have their own style, but it needs putting together. if in doubt, use Default Template – don’t use the ‘GSEC – front page ONLY’ or else the sky will fall on your head
- change the page owner to the relevent group (or just gsec if it’s a general gsec page)
- IMPORTANT: enter the ‘slug’ – that’s the bit that becomes the page address, e.g for the reg home page it’s ‘energy’ so the whole address becomes ‘http://gsec.ca/energy’
- click create new page
- open your email client
- email matthew and ask him to synchronise the .htaccess files
stuff for matthew to fix
- side bar on temporary-administration under IE6
- automatic update of .htaccess files