Menu

Tree [25442e] master /
 History

HTTPS access


File Date Author Commit
 admin 2013-10-26 Gary Gabriel Gary Gabriel [f8d568] Add an ExternallySearchable option to f_forums.
 config 2016-01-19 Nye Liu Nye Liu [88c3c9] Simplify mod rewrite rules, do it all in PHP ra...
 db 2013-10-26 Gary Gabriel Gary Gabriel [f8d568] Add an ExternallySearchable option to f_forums.
 include 2016-02-29 Nye Liu Nye Liu [25442e] Constructors are no longer named the same as th...
 lib 2013-06-16 Nye Liu Nye Liu [f34546] Fix more short php tags
 templates 2015-07-18 Nye Liu Nye Liu [0ffcd5] Moved to github
 test 2013-08-10 Gary Gabriel Gary Gabriel [0724de] Move nl2brPre test into own unit test.
 tools 2015-02-08 Nye Liu Nye Liu [2d7c59] Fix typo
 user 2016-01-16 Nye Liu Nye Liu [1462d1] Only unwind on dup if omsg exists
 .gitignore 2010-02-27 Nye Liu Nye Liu [ffb080] Add hints to moderator tools. Merge printcollap...
 README.global_messages 2010-03-01 Nye Liu Nye Liu [6569b2] clarify "relative" url in global messages
 README.install 2010-02-27 Nye Liu Nye Liu [42e266] add more explicit instructions to the install g...
 README.md 2015-07-18 Christian Hogan Christian Hogan [bc83b6] Adding github Readme.
 README.schema-migration 2013-09-02 Gary Gabriel Gary Gabriel [9b1bd3] Use PDO for database migrations.

Read Me

f_global_messages contains messages that everybody sees in every forum, at the
top of each forum thread list. There is a FIXED limit of 32 global messages
(see note below about reusing old global message slots).

Unlike a normal message, global messages are not linked to an account id,
and they don't contain any text. They are simply clickable urls.

f_global_message columns are
    gid: integer from 0-31 - MUST BE UNIQUE
    subject: just like a thread subject
    url: when you click on the subject, it will send you DIRECTLY here
    name: just like a message "name" - the user "name" of who posted this.
    date: will show up next to subject/name
    state: Inactive global messages are only visible to admins

Normal users can:
    "rm" (remove aka mark read)
    "Restore global messages" (un-remove removed messages)

Administrators can:
    see "inactive" global messages
    "ug" (undelete global message aka mark active)
    "dg" (delete global message aka mark inactive)
    "ed" (edit global message)

You can access the admin page at http://your.site.com/admin/gmessage.phtml
    From there, you can:

    * Edit global messages (subject/url)
      Note that the url can be *relative*, e.g.,
      "http://site.com/other/msgs/1234" can be abbreviated
      "/other/msgs/1234.phtml". This way, you can make links internal to your
      forum, especially if several hostnames can be used to access the forum
      (or both http and https).

    * Take "ownership" of a global message (set name)

    * Update the date of a global message (touch)

    * Change the status (active/inactive) of a global message

    * Reset all users "filter" bit for a global message, so the message is
      "unhidden" aka un-"remove" or unmark as "read" for EVERY user.
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.