vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=268085

G.1404 : News and Announcements v1.0.6 Beta 2 - Notifications Popup & Text Variables
by BCP Hung
06 Aug 2011 18:59

1 Attachment(s)
/*======================================================================*\
|| ####################################################################
|| # G.1404 : News and Announcements
|| # -------------------------------------------------------------
|| # Copyright 2011 Getamped 1404 Official. All Rights Reserved.
|| ####################################################################
\*======================================================================*/

About this add-on :
G.1404: News and Announcements is a simple add-on that helps you manage information for the forum: news, announcements. System operation is simple and capable of highly customized, particularly flexible in the use, additional, ads and notifications popup feature alongside content information and notification.
This add-on is developed in three directions: Basic, Standard and Advanced. This is the Basic version.
Feature :
  • News and Announcements Basic : with some text variables following :
    1. {bbtitle} : Forum Name (in option : Site Name / URL / Contact Details) ; (new in v1.0.6 Beta 2)
    2. {bburl} : Forum URL (in option : Site Name / URL / Contact Details) ; (new in v1.0.6 Beta 2)
    3. {username} : User Name (non-markup with HTML) ; (new in v1.0.6 Beta 2)
    4. {musername} : User Name (markup with HTML) ; (new in v1.0.6 Beta 2)
    5. {userid} : User ID ; (new in v1.0.6 Beta 2)
    6. {sessionurl}, {sessionurl_q} : Replace for this session variable : {vb:raw session.sessionurl} and {vb:raw session.sessionurl_q} in URLs. (new in v1.0.6 Beta 2)
  • News and Announcements Advanced : with some effects following :
    1. SlideUp : news and announcements are displayed in turn in a line, scroll to the bottom-up.
    2. Scroll : news and announcements are displayed in turn in a line, scroll from right to left.
    3. Lined : news and announcements are displayed in turn in a line, change one like slide. (new in v1.0.5)
    4. Fade : news and announcements are displayed in turn in a line, change one like fade. (new in v1.0.5)
  • Additional and integrate feature :
    1. [Additional] Advertiment : displaying small ads box next to news and announcements main box, especially can be customized to show what you want.
    2. [Integrated] Notifications Popup : change the default method of the vBulletin to display notifications with popup window by a small message box, friendly interface. (new in v1.0.6 Beta 1)
Install :
  1. Download attachment file : G.1404.News.and.Announcements.v1.0.6.Beta.2.zip.
  2. Unzip and upload 2 folders : clientscript and images in upload folder to forum root.
  3. Import file product-news_announcements.xml in xml folder.
    AdminCP -> Plugins & Products -> Manage Product -> [Add/Import Product].
  4. Optional - Reset default setting.
    AdminCP -> Settings -> Options -> G.1404 : News and Announcements.
Upgrade :
  1. Step 1 and 2 in Install process.
  2. Import file product-news_announcements.xml in xml folder.
    AdminCP -> Plugins & Products -> Manage Product -> [Add/Import Product].
    Make sure Allow Overwrite set Yes.
  3. Check all settings again.
Change log :
- Version 1.00 Beta to 1.0.33 : for ITVNN : News Mod.
- Version 1.0.5 Beta 1 (06/08/2011) : Beta version.
- Version 1.0.5 Beta 2 (11/08/2011) : Beta version.
- Version 1.0.5 Beta 3 (20/08/2011) : Beta version (not released).
- Version 1.0.5 (05/09/2011) : Official version.
- Version 1.0.5 Patch Level 1 (10/09/2011) : Patch version (not released).
- Version 1.0.6 Beta 1 (21/09/2011) : Beta version.
- Version 1.0.6 Beta 2 (27/09/2011) : Beta version.
  • Updated : JavaScript file (jquery.news-announcements.js), remove Notifications Popup function and turn in CSS, optimize code.
  • Updated : Rebuilt HTML templates with major changes.
  • Added : Add new PHP plugin code for text variables.
Demo :
Screenshot :
- Front-end : https://www.vbulletin.org/forum/external/2011/08/87.png
- AdminCP : https://www.vbulletin.org/forum/external/2011/08/88.png
Additional info : use for Notifications Popup
This notice effect to who use Notifications Popup. In forum that Administrator enable Pop up a Notification Box When a Private Message is Received for all users and now use the integrated features to replace it, there is a troubling is that both systems work together.
I have a solution to help you overcome this problem, see the instructions below and perform :
  1. Open config.php file, go to the location (usually line 126) :

    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

    Enter in '' your administrator id (usually you), eg :

    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

  2. Save and update to old file.
  3. In AdminCP, go to : Maintenance -> Execute SQL Query.
    At Automatic Query select : No - Pop up a Notification Box When a Private Message is Received and click Continue.
  4. Continue with : Confirm Query Execution click Continue.
  5. When successful, you will see : Affected Rows: XX (XXXs), click Restart to complete.
Good luck !

BCP Hung 06 Aug 2011 19:01

*Reserved*

BCP Hung 07 Aug 2011 04:24

Simple update : Change jQuery Libs to Google Libs (fix for vB version 4.1.4 and before).

JAFRI 07 Aug 2011 06:00

Good work, add scroll left to right option.

Rckcrwlr 07 Aug 2011 18:36

Interesting....

CharlieDelta 07 Aug 2011 22:08

Thank you!!!

NightLord 07 Aug 2011 23:59

Great and very nice

BCP Hung 08 Aug 2011 04:30

Quote:

Originally Posted by NightLord (Post 2230652)
Great and very nice

Quote:

Originally Posted by CharlieDelta (Post 2230628)
Thank you!!!

Quote:

Originally Posted by Rckcrwlr (Post 2230536)
Interesting....

Quote:

Originally Posted by JAFRI (Post 2230382)
Good work, add scroll left to right option.

Thanks for or feedback ! Next version will be released soon !

DjEddie 08 Aug 2011 16:10

Nice one for this mod .. works perfectly on my site :) ..

Suggestions for updates:

Make possible the main advertisement block scrollable left to right or right to left etc
Ability to change color of Main titles
Ability to remove the "Get Ads" link
In Classic Mode .. abiility to collapse box


Thankin you :)

BCP Hung 08 Aug 2011 16:27

Quote:

Originally Posted by DjEddie (Post 2230894)
Suggestions for updates:

Make possible the main advertisement block scrollable left to right or right to left etc
Ability to change color of Main titles
Ability to remove the "Get Ads" link
In Classic Mode .. abiility to collapse box

Nice suggestions ! I will make it for next update version 1.0.5 Beta 2.
---
Thank to all users.

mallutribes 08 Aug 2011 18:14

good wrk dear , installed and satisfied

Mariner1 08 Aug 2011 19:23

installed and very nice,thank you

andyv72 09 Aug 2011 05:20

Its work fine on 4.1.5.pl1...good work

a questions..

how i can chance the Text colour, URL colour ?

BlueCheri 09 Aug 2011 05:53

Works fine, nice work.

Looking forward for update.

Thanx

JAFRI 09 Aug 2011 06:03

make new data box html code allowds and scroll and Slide up news and announcements


All times are GMT. The time now is 15:35.

Powered by vBulletin® Version 3.8.13
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.