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 :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Compact view of "Unread Messages" [message #36496] Mon, 26 March 2007 10:01 Go to next message
Marticus   United States
Messages: 272
Registered: June 2002
Karma: 1
Senior Member
add to buddy list
ignore all messages by this user
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 10:04]

Report message to a moderator

Re: Compact view of "Unread Messages" [message #36512 is a reply to message #36496] Mon, 26 March 2007 20: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
add to buddy list
ignore all messages by this user
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 19:04 Go to previous messageGo to next message
Marticus   United States
Messages: 272
Registered: June 2002
Karma: 1
Senior Member
add to buddy list
ignore all messages by this user
Blech. Anybody interested? =D
Re: Compact view of "Unread Messages" [message #36782 is a reply to message #36496] Mon, 09 April 2007 18:31 Go to previous messageGo to next message
Ernesto is currently offline  Ernesto   Sweden
Messages: 413
Registered: August 2005
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
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 09:29 Go to previous messageGo to next message
Marticus   United States
Messages: 272
Registered: June 2002
Karma: 1
Senior Member
add to buddy list
ignore all messages by this user
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 09:35 Go to previous messageGo to next message
Marticus   United States
Messages: 272
Registered: June 2002
Karma: 1
Senior Member
add to buddy list
ignore all messages by this user
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 09:35]

Report message to a moderator

Re: Compact view of "Unread Messages" [message #36808 is a reply to message #36803] Wed, 11 April 2007 00:37 Go to previous message
Marticus   United States
Messages: 272
Registered: June 2002
Karma: 1
Senior Member
add to buddy list
ignore all messages by this user
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.
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
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: Mon Oct 23 22:14:53 EDT 2017

Total time taken to generate the page: 0.00748 seconds