Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
G.1404 : News and Announcements v1.0.6 Beta 2 - Notifications Popup & Text Variables Details »»
G.1404 : News and Announcements v1.0.6 Beta 2 - Notifications Popup & Text Variables
Version: 1.0.6 Beta, by BCP Hung BCP Hung is offline
Developer Last Online: Jan 2019 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.x.x Rating:
Released: 08-05-2011 Last Update: 10-04-2011 Installs: 78
DB Changes Uses Plugins Template Edits Auto-Templates
Additional Files Translations Is in Beta Stage  
No support by the author.

/*================================================= =====================*\
|| ################################################## ##################
|| # 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 :
- AdminCP :
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) :
    PHP Code:
    $config['SpecialUsers']['canrunqueries'] = ''
    Enter in '' your administrator id (usually you), eg :
    PHP Code:
    $config['SpecialUsers']['canrunqueries'] = '1'
  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 !

Download Now

File Type: zip G.1404.News.and.Announcements.v1.0.6.Beta.2.zip (15.9 KB, 467 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
elsa23

Comments
  #2  
Old 08-06-2011, 05:01 PM
BCP Hung BCP Hung is offline
 
Join Date: May 2011
Location: Vietnam
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*Reserved*
Reply With Quote
  #3  
Old 08-07-2011, 02:24 AM
BCP Hung BCP Hung is offline
 
Join Date: May 2011
Location: Vietnam
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Simple update : Change jQuery Libs to Google Libs (fix for vB version 4.1.4 and before).
Reply With Quote
  #4  
Old 08-07-2011, 04:00 AM
JAFRI's Avatar
JAFRI JAFRI is offline
 
Join Date: Jun 2009
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good work, add scroll left to right option.
Reply With Quote
Благодарность от:
BCP Hung
  #5  
Old 08-07-2011, 04:36 PM
Rckcrwlr Rckcrwlr is offline
 
Join Date: Dec 2008
Location: PA
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting....
Reply With Quote
  #6  
Old 08-07-2011, 08:08 PM
CharlieDelta CharlieDelta is offline
 
Join Date: Apr 2010
Posts: 616
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you!!!
Reply With Quote
  #7  
Old 08-07-2011, 09:59 PM
NightLord's Avatar
NightLord NightLord is offline
 
Join Date: Nov 2009
Location: cyprus
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great and very nice
Reply With Quote
  #8  
Old 08-08-2011, 02:30 AM
BCP Hung BCP Hung is offline
 
Join Date: May 2011
Location: Vietnam
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NightLord View Post
Great and very nice
Quote:
Originally Posted by CharlieDelta View Post
Thank you!!!
Quote:
Originally Posted by Rckcrwlr View Post
Interesting....
Quote:
Originally Posted by JAFRI View Post
Good work, add scroll left to right option.
Thanks for or feedback ! Next version will be released soon !
Reply With Quote
2 благодарности(ей) от:
Dalatgsm, JAFRI
  #9  
Old 08-08-2011, 02:10 PM
DjEddie DjEddie is offline
 
Join Date: Nov 2007
Posts: 244
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Благодарность от:
BCP Hung
  #10  
Old 08-08-2011, 02:27 PM
BCP Hung BCP Hung is offline
 
Join Date: May 2011
Location: Vietnam
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DjEddie View Post
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.
Reply With Quote
Благодарность от:
DjEddie
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:51 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04905 seconds
  • Memory Usage 2,346KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (6)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete