Commit Graph

140 Commits

Author SHA1 Message Date
David Anderson 55c0ee22a0 - web: default for user_links() is to not show profile pic.
Show the pic only in the context of friends list.

svn path=/trunk/boinc/; revision=14444
2007-12-27 18:37:22 +00:00
David Anderson f9d0d3364a - web: don't show profile pics in forums,
since we already show avatars there.

svn path=/trunk/boinc/; revision=14440
2007-12-24 17:26:00 +00:00
David Anderson 32a69ba042 - fix PHP warning in forums
svn path=/trunk/boinc/; revision=14431
2007-12-21 17:10:46 +00:00
David Anderson dcce4d6717 - user web: bug fix in code to limit posting rate
- admin web bug fixes

svn path=/trunk/boinc/; revision=14416
2007-12-19 21:28:58 +00:00
David Anderson aaa6e6659d - web: if user is banished, don't show their posts except to mods,
don't show their name in thread headers,
    and don't show their profile

svn path=/trunk/boinc/; revision=14344
2007-12-02 21:11:17 +00:00
Eric J. Korpela 2ca04c07e0 Added function to project.inc, project_forum_post_rules() which returns
additional project specific posting rules.


svn path=/trunk/boinc/; revision=14315
2007-11-28 17:40:08 +00:00
David Anderson 2c5666df86 - web: when showing team forums, give link back to forum index
svn path=/trunk/boinc/; revision=14303
2007-11-26 04:12:15 +00:00
David Anderson 235ea7fdea - web: fix PHP errors, add translations strings
svn path=/trunk/boinc/; revision=14302
2007-11-26 03:05:27 +00:00
David Anderson fc2784895d - user web: add <team_forums_members_only> config option.
If set, only team members can see team forums

svn path=/trunk/boinc/; revision=14297
2007-11-25 04:47:54 +00:00
David Anderson da3671f0de - user web: when showing UOTD on front page,
strip HTML tags from text (e.g. to remove photos)
- user web: show_image(): separate title (tooltip text)
    from "alt" (replaces image if images disabled).
    The latter must be terse.
- user web: show_button(): make it work even if Javascript disabled

svn path=/trunk/boinc/; revision=14294
2007-11-23 21:05:52 +00:00
David Anderson feb9433218 - user web: if user edits posts and content is empty, delete; fixes #504
svn path=/trunk/boinc/; revision=14291
2007-11-23 00:51:01 +00:00
David Anderson 85894f9c71 svn path=/trunk/boinc/; revision=14288 2007-11-22 17:22:38 +00:00
David Anderson 0eb842c021 - user web: URL fix
svn path=/trunk/boinc/; revision=14287
2007-11-22 17:18:46 +00:00
David Anderson 8f6ce0b043 - user web: show list of subscribed threads on forum index page
- user web: highlight subscribed threads using green background
- user web: hyperlink thread titles in search results

svn path=/trunk/boinc/; revision=14286
2007-11-22 04:13:59 +00:00
David Anderson 6ac91121d1 - user web: add a <profile_min_credit> config file option.
This specifies min average credit needed to create or edit a profile.

svn path=/trunk/boinc/; revision=14275
2007-11-21 00:12:55 +00:00
David Anderson dddc2ec6d2 - user web: clean up funky search result formatting.
For thread titles, show links to forum/category also
    For posts, show complete post, with search terms highlighted.
- user web: in display of posts for a user,
    show links to thread and forum also
- user web: posts/threads can become "orphaned" if their forum
    disappears, e.g. team message board is deleted.
    Handle this gracefully in search results and user post list
- user web: where HTML tags are allowed, say so
- user web: fix bug where wrap_postcounts weren't being shown in form
- DB: use "tinyint" instead of "tinyint(1) unsigned" etc.

svn path=/trunk/boinc/; revision=14267
2007-11-20 19:23:26 +00:00
David Anderson e5c3b749c4 - user web: tweak PM-related text
svn path=/trunk/boinc/; revision=14259
2007-11-19 16:44:24 +00:00
David Anderson fd399c351d - user web: for moderation actions on team forums,
send email notifications to team founder (not project admin)
- user web: let project admins (S_ADMIN) moderate team forums

svn path=/trunk/boinc/; revision=14245
2007-11-18 04:10:37 +00:00
David Anderson cca50422cd svn path=/trunk/boinc/; revision=14236 2007-11-17 00:44:21 +00:00
David Anderson b597e4d204 - user web: on team message board pages,
put a link to the top-level message board

svn path=/trunk/boinc/; revision=14233
2007-11-16 21:48:28 +00:00
David Anderson c23eb176a6 - user web: fixes #482
svn path=/trunk/boinc/; revision=14231
2007-11-16 20:52:42 +00:00
David Anderson a49608a028 - user web: allow teams to create their own "team message board".
Team founder and admins have moderator power.
    Anyone can view a team message board,
    but only team members can write to it.
    Users cannot be banished from team message boards
    (due to database limitations).

svn path=/trunk/boinc/; revision=14218
2007-11-15 22:51:05 +00:00
David Anderson c83eeef1a5 - user web: factor out code for forum header (search forum and PM info)
into a separate function.
    Don't show subtitle bar for categories with no name.
    Rename search_post_titles() to search_post_content()

svn path=/trunk/boinc/; revision=14209
2007-11-15 00:27:02 +00:00
David Anderson 83362a31ed - user web: change forum prefs editing to use new DB interface
svn path=/trunk/boinc/; revision=14175
2007-11-13 17:18:34 +00:00
David Anderson a18dfc55a7 - user web: revise forum code to use new-style DB interface
svn path=/trunk/boinc/; revision=14160
2007-11-12 20:57:15 +00:00
Janus B. Kristensen 3f71604529 Factored out the supermassive if-sentence in show_post into a seperate function called should_show_post.
svn path=/trunk/boinc/; revision=14135
2007-11-11 19:22:35 +00:00
David Anderson 4c8b387791 - user web: change more links to buttons; fix PHP warning
svn path=/trunk/boinc/; revision=14023
2007-11-02 18:48:48 +00:00
David Anderson 017c3a45f8 - user web: <form> outside of <td> screwed up Opera
svn path=/trunk/boinc/; revision=14021
2007-11-02 15:57:19 +00:00
Rytis Slatkevičius c1fb4934ec - user web: convert translations from tokens to strings; update Lithuanian translation.
- ops pages: add user removal feature (for spammers).

svn path=/trunk/boinc/; revision=14020
2007-11-02 14:43:02 +00:00
David Anderson f46a06305d - user web:
- changed Private Messages interface so that you see
        all your messages on one page,
        and remove various redundant links
        (like the Inbox link on the Inbox page)
    - changed links to buttons for moderator functions

svn path=/trunk/boinc/; revision=14019
2007-11-01 23:04:39 +00:00
David Anderson 02a6928335 - see last commit
svn path=/trunk/boinc/; revision=14018
2007-11-01 20:41:24 +00:00
David Anderson 15238b5747 - user web:
- replace some links with buttons in forum pages; add hover text.
    - show "mark all threads as read" only in forum page
    - fix bugs in team creation

svn path=/trunk/boinc/; revision=14016
2007-11-01 17:54:44 +00:00
David Anderson 94f9b46fc9 - user web: make buttons look better;
add a function show_button() to display links as buttons
    with hover-based explanation.
    This should be used whenever clicking on something
    performs an action, rather than just going to a new page
    (sometimes the boundary is fuzzy)
- user web: fixed bug when send private message by user name
    

svn path=/trunk/boinc/; revision=14015
2007-10-31 23:50:21 +00:00
David Anderson 24869ae8d4 - user web: bug fix in forum banish
- user web: add link to boinc-team-founders Google group
    in founder management page


svn path=/trunk/boinc/; revision=14011
2007-10-31 19:26:02 +00:00
David Anderson cef83b5538 - user web: eliminate some PHP warnings, and code cleanup
svn path=/trunk/boinc/; revision=14000
2007-10-30 23:34:26 +00:00
Rytis Slatkevičius 4b28e7c183 User web: add HTML DOCTYPE (4.01 Transitional) to all pages, make some HTML validity changes.
svn path=/trunk/boinc/; revision=13928
2007-10-22 19:36:01 +00:00
Rytis Slatkevičius 717898ae03 Fix a lot of PHP notices that show up when error reporting E_NOTICE is enabled
svn path=/trunk/boinc/; revision=13843
2007-10-12 17:58:50 +00:00
Rytis Slatkevičius 31901159fc Make private message functions translatable, using newly added string-based translation method.
Update English and Lithuanian languages.

svn path=/trunk/boinc/; revision=13460
2007-08-25 15:04:29 +00:00
Rytis Slatkevičius bc17c8ab45 Fix previous checkin to conform to RFC (Location header expects complete URL)
svn path=/trunk/boinc/; revision=13413
2007-08-18 16:45:54 +00:00
Rytis Slatkevičius 882d20b226 Forums: return user to the same page after selecting "Mark all threads as read".
svn path=/trunk/boinc/; revision=13412
2007-08-18 16:14:53 +00:00
Rytis Slatkevičius b24c43f06f - user web: add a feature to mark all threads as read (forums). (fix #52)
svn path=/trunk/boinc/; revision=13182
2007-07-18 15:48:07 +00:00
Rytis Slatkevičius 8ae1777f6f Use web: move named anchor used for "jump to post" feature (fix #323).
svn path=/trunk/boinc/; revision=13153
2007-07-14 18:33:48 +00:00
Rytis Slatkevičius 3259b704a2 Show a link to a specific post in user post listings (requested by John McLeod VII).
svn path=/trunk/boinc/; revision=13072
2007-07-02 14:15:28 +00:00
Rytis Slatkevičius 8fe8acf2d9 User web: fix forum display when viewing unfiltered posts from blocked users
svn path=/trunk/boinc/; revision=12981
2007-06-22 13:19:56 +00:00
Rytis Slatkevičius b3e3ce4c43 Include quick link to block PMs from a specific user (fix #188).
svn path=/trunk/boinc/; revision=12748
2007-05-26 17:00:01 +00:00
Rytis Slatkevičius 56871331a5 - Fix #189: add links to send PMs below user name in the forum, in the user overview and in user profile page.
- Change "CVS" into "SVN" in the CVS version tracker (automatically generated comment in the pages showing page revision number)

svn path=/trunk/boinc/; revision=12666
2007-05-15 10:06:38 +00:00
Rytis Slatkevičius 5f7ed5b8fc Remove redundant search boxes from the bottom of the forum pages
svn path=/trunk/boinc/; revision=12660
2007-05-13 18:41:34 +00:00
Rom Walton 2e944052a6 - Add a project config.xml option to allow moderators to ban
accounts.
        
      <moderators_allowed_to_ban>1</moderators_allowed_to_ban>
      
    html/inc/
        forum.inc
        forum_moderators.inc

svn path=/trunk/boinc/; revision=12643
2007-05-11 02:43:57 +00:00
Rytis Slatkevičius 4332736ae9 Private message functionality for the forums.
NOTE: needs database update.

svn path=/trunk/boinc/; revision=12499
2007-04-29 14:22:28 +00:00
Rytis Slatkevičius 4ccd2698ef <no_forum_rating/> should be parsed as bool, not as string
svn path=/trunk/boinc/; revision=12497
2007-04-29 13:02:35 +00:00