FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » Compact view of "Unread Messages"
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Compact view of "Unread Messages" [message #36496] Mon, 26 March 2007 14:01 Go to next message
Marticus   United States
Messages: 272
Registered: June 2002
Karma: 1
Senior Member
Some of my users would like to see a listing of clickable messages instead of having all messages open at once when they click "Unread Messages", similarly to *cough*phpbb*cough*. Would this be a terribly difficult thing to accomplish? I was thinking a nice compromise would be to keep the same format, but perhaps collapse everything down to just the category, forum, and the topic name using javascript or something. Of course the topic name would be the link to expand the message.

[Updated on: Mon, 26 March 2007 14:04]

Report message to a moderator

Re: Compact view of "Unread Messages" [message #36512 is a reply to message #36496] Tue, 27 March 2007 00:26 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You can use JavaScript to hide the message in a layer and display the layer on click.

FUDforum Core Developer
Re: Compact view of "Unread Messages" [message #36522 is a reply to message #36512] Tue, 27 March 2007 23:04 Go to previous messageGo to next message
Marticus   United States
Messages: 272
Registered: June 2002
Karma: 1
Senior Member
Blech. Anybody interested? =D
Re: Compact view of "Unread Messages" [message #36782 is a reply to message #36496] Mon, 09 April 2007 22:31 Go to previous messageGo to next message
Ernesto is currently offline  Ernesto   Sweden
Messages: 413
Registered: August 2005
Karma: 0
Senior Member
The forum already has such a javascript - look at the code for the spoiler tags, like this:

This is a spoiler, click here to show the hidden DIV


Re: Compact view of "Unread Messages" [message #36802 is a reply to message #36782] Tue, 10 April 2007 13:29 Go to previous messageGo to next message
Marticus   United States
Messages: 272
Registered: June 2002
Karma: 1
Senior Member
Cool, can you please provide a sample code block of the above?
Re: Compact view of "Unread Messages" [message #36803 is a reply to message #36802] Tue, 10 April 2007 13:35 Go to previous messageGo to next message
Marticus   United States
Messages: 272
Registered: June 2002
Karma: 1
Senior Member
Nevermind. For those interested:
<a onclick="javascript: layerVis('2115869932', 1);" href="javascript://">This is a spoiler, click here to show the hidden DIV</a>
<div id="2115869932" align="left" style="display: none;">This is the content of the hidden DIV, you can put a table in here, or anything you want really.</div>


Now to apply this to the template...

[Updated on: Tue, 10 April 2007 13:35]

Report message to a moderator

Re: Compact view of "Unread Messages" [message #36808 is a reply to message #36803] Wed, 11 April 2007 04:37 Go to previous message
Marticus   United States
Messages: 272
Registered: June 2002
Karma: 1
Senior Member
Okay... I've determined that this is more work than the final result is worth. If they want a threaded view of single line links to posts in unread messages view, they can go use someone else's non-fud forums.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: EXIF from Fileattachements
Next Topic: Displaying a forum outside of the forum software
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 22:47:16 GMT 2024

Total time taken to generate the page: 0.02332 seconds