Forum Upgrade

Discussion of all aspects of the website, wiki, and forums, including assistance requests and new ideas for them.

Moderator: Forum Moderators

User avatar
Unnheulu
Posts: 738
Joined: November 25th, 2007, 4:50 pm
Location: Cymru
Contact:

Re: Forum Upgrade

Post by Unnheulu »

This is just going to far, those purple unread icons look so ugly on the current background we've got...
Rant over.
User avatar
anakayub
Moderator Emeritus
Posts: 526
Joined: May 3rd, 2007, 12:44 pm
Location: Malaysia
Contact:

Re: Forum Upgrade

Post by anakayub »

Mist wrote:...
Thanks, Mist.

And others should remember too that the IRC logs can be found at the parent page (hopefully this is the correct term) to the one Mist quoted, and is linked in the #wesnoth-dev chatroom topic (on your IRC client).
Take a breath.
Lim-Dul
Posts: 105
Joined: March 6th, 2006, 1:45 pm
Location: Europe -> Poland -> Warsaw
Contact:

Re: Forum Upgrade

Post by Lim-Dul »

Ha, Mist - I'm an administrator on another medium-sized phpBB3 based forum (~2000 users) and as I can see you're slowly installing the same mods as I did - e.g. the "View unread posts" feature. ^^
I can recommend this simple script for RSS syndication:

http://www.phpbb.com/community/viewtopi ... 0&t=552465

Sadly it doesn't format Quotes too well...
War does not determine who is right - only who is left. - Bertrand Russell
--
Project StD - Save the Drakes - we want more branches! =)
User avatar
thespaceinvader
Retired Art Director
Posts: 8414
Joined: August 25th, 2007, 10:12 am
Location: Oxford, UK
Contact:

Re: Forum Upgrade

Post by thespaceinvader »

anakayub wrote:
Mist wrote:...
Thanks, Mist.

And others should remember too that the IRC logs can be found at the parent page (hopefully this is the correct term) to the one Mist quoted, and is linked in the #wesnoth-dev chatroom topic (on your IRC client).
Or, for an easier (IMHO) to remember URL, IRClog.wesnoth.org =)
http://thespaceinvader.co.uk | http://thespaceinvader.deviantart.com
Back to work. Current projects: Catching up on commits. Picking Meridia back up. Sprite animations, many and varied.
Lim-Dul
Posts: 105
Joined: March 6th, 2006, 1:45 pm
Location: Europe -> Poland -> Warsaw
Contact:

Re: Forum Upgrade

Post by Lim-Dul »

By the way - I made a simple icon for the "mark post as unread" function of the "View unread posts" add-on since the text below the post just doesn't look right and it's a function that will be rarely used at all.

The icon looks like this:

Image

To make it appear next to the other post icons you have to edit the viewtopic_body.html template in your currently used skin.

For me it's subsilver2 but you have to find lines similar to these (lines 251 to 260 in my case):

Code: Select all

					<!-- IF postrow.BUMPED_MESSAGE -->
						<span class="gensmall">{postrow.BUMPED_MESSAGE}</span>
					<!-- ENDIF -->

					<!-- IF not postrow.S_HAS_ATTACHMENTS --><br clear="all" /><br /><!-- ENDIF -->

						<table width="100%" cellspacing="0">
						<tr valign="middle">
							<td class="gensmall" align="{S_CONTENT_FLOW_END}">
							<!-- IF not S_IS_BOT -->
and add the following code AFTER:

Code: Select all

<!-- IF S_INC_UNREAD_LINK --><a href="{postrow.U_MARK_UNREAD}"><img src="styles/subsilver2/imageset/mark_unread.gif" title="{L_MARK_POST_UNREAD}" alt="{L_MARK_POST_UNREAD}" /></a> <!-- ENDIF -->
Of course you have to provide the correct path for the "mark_unread.gif" image.

Just for reference, the edited part looks like that:

Code: Select all

						<table width="100%" cellspacing="0">
						<tr valign="middle">
							<td class="gensmall" align="{S_CONTENT_FLOW_END}">
							<!-- IF not S_IS_BOT -->
								<!-- IF S_INC_UNREAD_LINK --><a href="{postrow.U_MARK_UNREAD}"><img src="styles/subsilver2/imageset/mark_unread.gif" title="{L_MARK_POST_UNREAD}" alt="{L_MARK_POST_UNREAD}" /></a> <!-- ENDIF -->
								<!-- start mod view or mark unread posts (and end mod too) ... added mark_post_unread references in the preceding line -->
								<!-- IF postrow.U_REPORT --><a href="{postrow.U_REPORT}">{REPORT_IMG}</a> <!-- ENDIF --> 
								<!-- IF postrow.U_INFO --><a href="{postrow.U_INFO}">{INFO_IMG}</a> <!-- ENDIF --> 
								<!-- IF postrow.U_WARN --><a href="{postrow.U_WARN}">{WARN_IMG}</a> <!-- ENDIF --> 
								<!-- IF postrow.U_DELETE --><a href="{postrow.U_DELETE}">{DELETE_IMG}</a> <!-- ENDIF -->
							<!-- ENDIF -->
							</td>
						</tr>
						</table>
Another thing.

I found it convenient to place a "Mark forums read" link in the search results (displayed when you click e.g. on "View unread posts") because that way you don't have to go back to the board index to mark all the posts you are not interested in.

The code for that one is in the template search_results.html

Lines 5-7:

Code: Select all

<table width="100%" cellspacing="1">
<tr>
	<td colspan="2"><span class="titles"><!-- IF SEARCH_TITLE -->{SEARCH_TITLE}<!-- ELSE -->{SEARCH_MATCHES}<!-- ENDIF --></span></td>
After that insert:

Code: Select all

<td colspan="5" align="{S_CONTENT_FLOW_END}"><!-- IF not S_IS_BOT --><a class="nav" href="index.php?mark=forums">{L_MARK_FORUMS_READ}</a><!-- ENDIF -->&nbsp;</td>
So that the whole table (lines 4 to 14) looks like this:

Code: Select all

<table width="100%" cellspacing="1">
<tr>
	<td colspan="2"><span class="titles"><!-- IF SEARCH_TITLE -->{SEARCH_TITLE}<!-- ELSE -->{SEARCH_MATCHES}<!-- ENDIF --></span></td>
<td colspan="5" align="{S_CONTENT_FLOW_END}"><!-- IF not S_IS_BOT --><a class="nav" href="index.php?mark=forums">{L_MARK_FORUMS_READ}</a><!-- ENDIF -->&nbsp;</td>
</tr>
<tr>
	<td class="genmed"><!-- IF SEARCH_TOPIC -->{L_SEARCHED_TOPIC}: <a href="{U_SEARCH_TOPIC}"><b>{SEARCH_TOPIC}</b></a><br /><!-- ENDIF --><!-- IF SEARCH_WORDS -->{L_SEARCHED_FOR}: <a href="{U_SEARCH_WORDS}"><b>{SEARCH_WORDS}</b></a><!-- ENDIF --><!-- IF IGNORED_WORDS --> {L_IGNORED_TERMS}: <b>{IGNORED_WORDS}</b><!-- ENDIF --></td>
	<td align="{S_CONTENT_FLOW_END}"><!-- IF SEARCH_IN_RESULTS --><span class="genmed">{L_SEARCH_IN_RESULTS}: </span><input type="text" name="add_keywords" value="" /> <input class="btnlite" type="submit" name="submit" value="{L_GO}" /><!-- ENDIF --></td>
</tr>
</table>
You might want to include these changes or you might not - they're just two simple suggestions. =)

P.S. You might want to remove the vertical bar "|" before the "View unread posts" part as long as you've turned off the normal search functions...

P.P.S. I just noticed that there already is a "Mark forums read" link in the search results, only on the left side. Has it been there before? =)
War does not determine who is right - only who is left. - Bertrand Russell
--
Project StD - Save the Drakes - we want more branches! =)
User avatar
TheBladeRoden
Posts: 168
Joined: July 16th, 2007, 8:01 am

Re: Forum Upgrade

Post by TheBladeRoden »

Kestenvarn wrote:
anakayub wrote:His answer's in IRC log
What sort of coy response is this? I have no idea where these IRC logs can be found.
If only there were some way to search for these things :P
Founding Father of Columbia
User avatar
anakayub
Moderator Emeritus
Posts: 526
Joined: May 3rd, 2007, 12:44 pm
Location: Malaysia
Contact:

Re: Forum Upgrade

Post by anakayub »

thespaceinvader wrote:
anakayub wrote: Thanks, Mist.

And others should remember too that the IRC logs can be found at the parent page (hopefully this is the correct term) to the one Mist quoted, and is linked in the #wesnoth-dev chatroom topic (on your IRC client).
Or, for an easier (IMHO) to remember URL, IRClog.wesnoth.org =)
Heh, I usually just click the chatroom topic link (I have my IRC client on most of the time), and so that's easier for me; no remembering anything. :P
Take a breath.
User avatar
Mist
Inactive Developer
Posts: 753
Joined: February 15th, 2007, 8:44 am
Location: Milton Keynes, UK

Re: Forum Upgrade

Post by Mist »

Lim-Dul wrote: P.P.S. I just noticed that there already is a "Mark forums read" link in the search results, only on the left side. Has it been there before? =)
Yes ;) The mod got validated and improved a bit since the time you saw it last, and even then I'm not installing it 'as it is' note that the overall search is still disabled, I didn't 'just' remove the links from the template. For that reason | will stay awaiting the return ofthe rest.
Thanatos wrote: Mist, no offense, but maybe it would be better to announce stuff like this - especially about "critical forum features" somewhere more prominent, where forum users can actually read it. I am sure that noone of us meant to do a personal attack on you. But without info at all (maybe on the main website at wesnoth.org or in a sticky in this forum), what should we do but hint to a in-our-eyes-problem?
If there is one thing I learned in this place it's this : users do not read anouncments. Ever ;) And there is a difference between hinting a problem and quoting longhair
While we're piling on
Somewhere, between the sacred silence and sleep.
Disorder.
Kess
Posts: 52
Joined: February 10th, 2006, 6:27 pm
Location: Some hemisphere

Re: Forum Upgrade

Post by Kess »

Just some thoughts.

However you decide to announce and share information of this kind, I guess most of us will survive. Though, I too think it’s both practical and nice to share it, especially on big forums like this. If I notice something strange (to me), the first thing I do is to double-check and then look for information about it, if none is found I wait a while and then ask, unless something comes up before then.

:mrgreen: Anyway, many thanks for your time and work on serving us this forum!

p. s. I always read anouncements, stickies and the like. :twisted: And I'm sure I’m not the only one, this place reeks of information geeks after all...
User avatar
Noyga
Inactive Developer
Posts: 1790
Joined: September 26th, 2005, 5:56 pm
Location: France

Re: Forum Upgrade

Post by Noyga »

Thanks for working on this, things improved (the contrast in particular, through color choices might not be of everyone's taste).
Btw difference between the read and the unread crown is still not very easy to spot.
"Ooh, man, my mage had a 30% chance to miss, but he still managed to hit! Awesome!" ;) -- xtifr
User avatar
db0
Posts: 400
Joined: January 3rd, 2006, 8:39 pm
Location: Somewhere Far Beyond...
Contact:

Re: Forum Upgrade

Post by db0 »

Lim-Dul wrote: I can recommend this simple script for RSS syndication:
Yes! Please...
User avatar
Mist
Inactive Developer
Posts: 753
Joined: February 15th, 2007, 8:44 am
Location: Milton Keynes, UK

Re: Forum Upgrade

Post by Mist »

[map] tag has been reimplemented today. It will not work for maps that are posted already, they need to be resubmited.
Somewhere, between the sacred silence and sleep.
Disorder.
vicza
Posts: 238
Joined: January 16th, 2008, 11:40 pm
Location: Moscow

Re: Forum Upgrade

Post by vicza »

I'd like to ask: is there a possibility to create topics with polls? I just see there are some such topics (like this, for example), but I don't see such an option. :hmm:
User avatar
Noyga
Inactive Developer
Posts: 1790
Joined: September 26th, 2005, 5:56 pm
Location: France

Re: Forum Upgrade

Post by Noyga »

At the bottom of the main page we see something like :
Legend :: Art Contributors, Code & WML Contributors, Developers, Forum Regulars, Forum Siths, Summer of Code, Translators
More varied colors could be great here ;)
"Ooh, man, my mage had a 30% chance to miss, but he still managed to hit! Awesome!" ;) -- xtifr
megane
Art Contributor
Posts: 410
Joined: October 30th, 2006, 4:55 am
Location: The Big Ö (a.k.a. Austria)

Re: Forum Upgrade

Post by megane »

Noyga wrote:At the bottom of the main page we see something like :
Legend :: Art Contributors, Code & WML Contributors, Developers, Forum Regulars, Forum Siths, Summer of Code, Translators
More varied colors could be great here ;)
Oh man. For, like, 2 hours after the new forums came back up, I was totally megane. It was wicked. :twisted:

I'm such a noob. :mrgreen:
that little girl's parents were attacked by ninjas - generic npc
hee hee! - little girl
Post Reply