Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 News Bar
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #15
RE: News Bar
Updated:
  • Deactivate the previous version first.
  • Change the "Index And Portal" value option inside the Value List setting in xtnewsbar custom thread fields.
  • Because there is an option to load the newsbar globally (every page), so our newsbar uses MyBB cache system.
    Use this URL to update the cache manually: xtnewsbar=1 (I don't know whether it is better or not if we use tasks system for this?).
    Only Admin and Moderators can update the cache.
    Example from index page:

    Code:
    index.php?xtnewsbar=1

  • If we want to edit the newsbar style, edit the xtnewsbar.css stylesheet inside each theme's style to edit the bars style.
  • If there is a thread comes from a forum that a user doesn't have permission to view it, then that bar won't be displayed for that user.
  • If there is a thread uses Forumdisplay/Showthread option, the thread will be displayed on that forum only.
  • Use file name (if the script name not given) in the Value List for displaying a thread as newsbar for an additional page.
    For example:

    Code:
    Games

    If we have the above value inside our Value List, and there is a thread uses that value, then the thread will be displayed as newsbar on our game section page.

  • We can use Settable Value Permissions setting inside xtnewsbar and/or xtnewsbar_class custom thread fields to prevent some value to be set by a usergroup.
    For example:
    We have these values inside our xtnewsbar custom thread fields Value List:

    Code:
    1
    2
    3
    4
    5
    6
    Global
    Index
    Portal
    Games
    Forumdisplay
    Showthread

    And we have these values inside our Settable Value Permissions setting:

    Code:
    Global{|}3,4
    Index{|}3,4
    Portal{|}3,4
    Games{|}3,4

    It means that only Administrators and Super Moderators have an ability to set a thread as news in the newsbar to be displayed on every page, index, portal and our games section (assuming that we set our Moderators can use this custom thread fields, it means that they can help us to set a thread as news in our newsbar for forumdisplay and showthread only).


I've updated the first post.

10-30-2011 07:56 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
News Bar - RateU - 09-26-2010, 05:24 AM
RE: News Bar - leefish - 09-26-2010, 08:07 AM
RE: News Bar - Imran - 09-26-2010, 01:59 PM
RE: News Bar - ZiNgA BuRgA - 09-26-2010, 05:14 PM
RE: News Bar - Firefox Wins - 09-26-2010, 05:52 PM
RE: News Bar - RateU - 09-27-2010, 07:12 AM
RE: News Bar - x-Treme - 11-09-2010, 12:54 PM
RE: News Bar - leefish - 11-09-2010, 03:26 PM
RE: News Bar - x-Treme - 11-09-2010, 09:00 PM
RE: News Bar - Jumper - 11-19-2010, 02:56 PM
RE: News Bar - RateU - 11-26-2010, 11:49 AM
RE: News Bar - Sama34 - 10-28-2011, 08:44 AM
RE: News Bar - RateU - 10-29-2011, 05:22 AM
RE: News Bar - Sama34 - 10-29-2011, 06:54 AM
RE: News Bar - RateU - 10-30-2011 07:56 AM
RE: News Bar - Sama34 - 10-30-2011, 11:23 AM
RE: News Bar - RateU - 10-31-2011, 03:05 AM
RE: News Bar - Sama34 - 10-31-2011, 10:03 AM
RE: News Bar - RateU - 11-01-2011, 02:51 AM
RE: News Bar - Sama34 - 11-02-2011, 05:29 AM
RE: News Bar - RateU - 11-02-2011, 05:58 AM
RE: News Bar - Sama34 - 11-02-2011, 06:05 AM
RE: News Bar - RateU - 11-02-2011, 07:20 AM
RE: News Bar - Sama34 - 11-03-2011, 12:44 AM
RE: News Bar - RateU - 11-03-2011, 04:04 AM
RE: News Bar - Blinding - 11-11-2011, 10:16 AM
RE: News Bar - ZiNgA BuRgA - 11-11-2011, 10:21 AM
RE: News Bar - Blinding - 11-11-2011, 11:01 AM
RE: News Bar - Sama34 - 11-12-2011, 06:28 AM
RE: News Bar - adsol93 - 05-09-2015, 09:11 AM
RE: News Bar - XPMai - 06-14-2015, 01:50 AM

 Standard Tools
Forum Jump: