Minor updates

Post any bugs, problems or feature requests here.
Brend
Brend
Mercury
Mercury
Elmer
Elmer

Minor updates

Post Brend » Thu Jan 17, 2013 6:06 pm
User avatar
Brend
 
Notification for fellow developers.

I enacted some minor updates:
  • All tools now have the 'You are here'
  • The Followed tools is classified as being part of the forum (this makes more sense than calling it a tool) -- but this is in user presentation only.
  • The forum index now features a 'View followed topics' link, which replaces the 'View unanswered posts' link.
  • The Population Growth Calculator still needs to have the 'You are here' code.
  • The styling of the page headers of the tools and the wiki has been fixed to be equal to the forum page header. (This greatly improves cohesion and the feel of a single site, in my humble opinion.)
  • All of the wiki preformatted content on the wiki has a much improved styling. Go have a look at Formatting Syntax. It's a pity I didn't make a 'before' and 'after' picture (before: no shading, font-size: 120%, and border:1px dashed ugly, after: smooth shading, and much less intrusive.)
  • The ''monospace'' styling in the wiki was fixed to fit better inline, while retaining recognizability.
  • Bonus styling: the private message indicator now features a colored circle with the number of messages in it -- this was done to slightly improve the attention-drawing-factor of having new messages.

You are here
For the moment, you are here's are created with a PHP call: FWURG::getBreadcrumbs()->tool('/relative/path/','Title of Tool'); This call will output the necessary HTML for tools. Later on, this will be extended with a javascript interface to update the breadcrumbs. With the JS interface, tools will be able to update the breadcrumbs based on their internal state.

Should you wish to generate a 'you are here' for a non-tool, follow the following example:
Code: Select all
FWURG::getBreadcrumbs()->youAreHere(array(
  array('href'=>'/phpbb/','title'=>'Forum'),
  array('href'=>'/tools/followed/', 'title'=>'Followed Topics')
));
Post Brend » Thu Jan 17, 2013 7:14 pm
User avatar
Brend
 
  • The code box style in the forum now matches the wiki
Post Mercury » Thu Jan 17, 2013 7:20 pm
User avatar
Mercury
Storyteller
 
Awesome updates! I think the code box style needs a little work though, currently I get a box around each line of code which is sort of ugly and makes certain text unreadable :(

I'll see about updating the Population Growth Calculator maybe next weekend!

The PM circle is very cool!
Post Mercury » Thu Jan 17, 2013 7:20 pm
User avatar
Mercury
Storyteller
 
The code box now seems to be fixed o_O
Post Brend » Thu Jan 17, 2013 7:21 pm
User avatar
Brend
 
Mercury wrote:Awesome updates! I think the code box style needs a little work though, currently I get a box around each line of code which is sort of ugly and makes certain text unreadable :(

Mercury wrote:The code box now seems to be fixed o_O

Yup. You caught me in the act of removing old styling; during which I accidentally removed the display: block style. ^_^
Post Elmer » Thu Jan 17, 2013 9:41 pm
Elmer
 
it looks good.

I doubt how useful the 'view followed topics' button is, but maybe others think different about this. (I never use any of those links, except the 'search' from time to time, but the search always fails with me.)
Player of the Teprogrenaian Consensus inner world
You need a picture? Pm me ;)
Post Brend » Fri Jan 18, 2013 10:33 pm
User avatar
Brend
 
I've updated the forum's 'you are here' to show whether the forum you're currently in is IC or OOC. I find this especially useful for the 'General' and 'General Discussion' forums.
Post Mercury » Fri Jan 18, 2013 10:46 pm
User avatar
Mercury
Storyteller
 
Useful!
Post Elmer » Fri Jan 18, 2013 11:02 pm
Elmer
 
it looks a little weird, but that is just because its new I think. It is useful though :)
Player of the Teprogrenaian Consensus inner world
You need a picture? Pm me ;)
Post Brend » Fri Jan 18, 2013 11:03 pm
User avatar
Brend
 
Yeah. it seems a tad out of place. I'm open to styling suggestions. (But it's better than not knowing where I am :P)
Post Brend » Sun Jan 20, 2013 1:03 am
User avatar
Brend
 
Me and Elmer have styled the quote blocks. To give you an idea of the improvement:

Before:
Image
After:
Brend wrote:This is the new quote.


However, now all the 'IC documents' created with quotes are really, really obviously quotes... So we introduced a special IC document tag.
Post Brend » Sun Jan 20, 2013 1:26 am
User avatar
Brend
 
Also:
  • I added the [mono] monospace tag, because I got tired of using [hax] for everything.

Return to Technical

cron