ReviewBoard installation Complete Guide Ubuntu OS

', enableHover: false, enableTracking: true, buttons: { twitter: {via: 'aravikumar48'}}, click: function(api, options){ api.simulateClick(); api.openPopup('twitter'); } }); $('#facebook').sharrre({ share: { facebook: true }, template: '
', enableHover: false, enableTracking: true, buttons:{layout: 'box_count'}, click: function(api, options){ api.simulateClick(); api.openPopup('facebook'); } }); $('#pinterest').sharrre({ share: { pinterest: true }, template: '
', enableHover: false, enableTracking: true, buttons: { pinterest: { description: 'ReviewBoard installation Complete Guide Ubuntu OS',media: 'https://arkit.co.in/wp-content/uploads/2016/09/ReviewBoard-installation-complete-Guide-Ubuntu-OS.png' } }, click: function(api, options){ api.simulateClick(); api.openPopup('pinterest'); } }); $('#linkedin').sharrre({ share: { linkedin: true }, template: '
', enableHover: false, enableTracking: true, buttons: { linkedin: { description: 'ReviewBoard installation Complete Guide Ubuntu OS',media: 'https://arkit.co.in/wp-content/uploads/2016/09/ReviewBoard-installation-complete-Guide-Ubuntu-OS.png' } }, click: function(api, options){ api.simulateClick(); api.openPopup('linkedin'); } }); // Scrollable sharrre bar, contributed by Erik Frye. Awesome! var $_shareContainer = $(".sharrre-container"), $_header = $('#header'), $_postEntry = $('.entry'), $window = $(window), startSharePosition = $_shareContainer.offset(),//object contentBottom = $_postEntry.offset().top + $_postEntry.outerHeight(), topOfTemplate = $_header.offset().top, topSpacing = _setTopSpacing(); //triggered on scroll shareScroll = function(){ var scrollTop = $window.scrollTop() + topOfTemplate, stopLocation = contentBottom - ($_shareContainer.outerHeight() + topSpacing); $_shareContainer.css({position : 'fixed'}); if( scrollTop > stopLocation ){ $_shareContainer.css( { position:'relative' } ); $_shareContainer.offset( { top: contentBottom - $_shareContainer.outerHeight(), left: startSharePosition.left, } ); } else if (scrollTop >= $_postEntry.offset().top - topSpacing){ $_shareContainer.css( { position:'fixed',top: '100px' } ); $_shareContainer.offset( { //top: scrollTop + topSpacing, left: startSharePosition.left, } ); } else if (scrollTop 1024 ) { topSpacing = distanceFromTop + $('.nav-wrap').outerHeight(); } else { topSpacing = distanceFromTop; } return topSpacing; } //setup event listeners $window.on('scroll', _.throttle( function() { if ( $window.width() > 719 ) { shareScroll(); } else { $_shareContainer.css({ top:'', left:'', position:'' }) } }, 50 ) ); $window.on('resize', _.debounce( function() { if ( $window.width() > 719 ) { shareMove(); } else { $_shareContainer.css({ top:'', left:'', position:'' }) } }, 50 ) ); });

ARK

My Name is ARK. Expert in grasping any new technology, Interested in Sharing the knowledge. Learn more & Earn MoreView all Posts

4 Responses

  1. Vinit says:

    Hi, I was able to setup reviewboard with relative ease. Thanks to your page I was able to do it.
    However I do recommend keeping apache2 default files and use a2econf and a2esite to enable config and website.
    Another problem I faced was of hostnames, so apache2 was failing to start, I solved it by following steps:

    However I am still not able to figure out which config file you are mentioning here? as name is missing.

    Edit below config file and change value of ALLOW_HOSTS
    Before changing ALLOWED_HOSTS = [‘localhost.localdomain’]
    After changing
    ALLOWED_HOSTS = [‘*’]

    • Vinit says:

      steps to fix apache2 restart problem, which was missed in earlier post 🙁

      echo “ServerName localhost” | sudo tee /etc/apache2/conf-available/fqdn.conf
      sudo a2enconf fqdn

    • Aniket Bhatagalikar says:

      Hey Vinit FYI,
      The config file in which you have to add ALLOWED_HOSTS=[‘*’] is “settings_local.py” which you can find in /var/www/html/reviewboard1/conf

  2. Shruthi says:

    Hi,
    How to login into admin page? What do I type on the web browser for the review board page to open?

Leave a Reply

Your email address will not be published. Required fields are marked *

Exit mobile version