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
  #42  
Old 09-05-2011, 05:37 PM
DjEddie DjEddie is offline
 
Join Date: Nov 2007
Posts: 244
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice one for the update...

Ive installed.... one Weird thing .. .is that the "FADE" option only shows up on forum display ..it doesnt show up on the forum home page .. dont get why it doesnt
Reply With Quote
  #43  
Old 09-06-2011, 10:51 AM
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
nice one for the update...

Ive installed.... one Weird thing .. .is that the "FADE" option only shows up on forum display ..it doesnt show up on the forum home page .. dont get why it doesnt
Thank you for using !
Are you have any custom script in FORUMHOME ?
In demo, it work normal, you can check that.
Reply With Quote
  #44  
Old 09-06-2011, 11:37 AM
DjEddie DjEddie is offline
 
Join Date: Nov 2007
Posts: 244
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey ..

yeh i have custom scripts ..flash n iframes on my forum home page... would these conflict?
Reply With Quote
  #45  
Old 09-06-2011, 12:05 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
hey ..

yeh i have custom scripts ..flash n iframes on my forum home page... would these conflict?
Yap, I think so. You can test with fresh template with new style.
How : Create new style, if my modification work normal, maybe your have problem. If continue not work, patch level will be make.
Reply With Quote
  #46  
Old 09-06-2011, 03:10 PM
DjEddie DjEddie is offline
 
Join Date: Nov 2007
Posts: 244
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Getamped 1404 View Post
Yap, I think so. You can test with fresh template with new style.
How : Create new style, if my modification work normal, maybe your have problem. If continue not work, patch level will be make.
Hi,

Works on a clean template and default template.... but not on my normal one ... any ideas for a fix?
Reply With Quote
  #47  
Old 09-06-2011, 03:25 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
Hi,

Works on a clean template and default template.... but not on my normal one ... any ideas for a fix?
This problem got from your custom code, maybe you want to send PM me with that code, I will test it on my board !
Reply With Quote
  #48  
Old 09-07-2011, 11:17 AM
Rckcrwlr Rckcrwlr is offline
 
Join Date: Dec 2008
Location: PA
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to have it so they can click the announcement and go directly to the thread?
Reply With Quote
  #49  
Old 09-07-2011, 11:57 AM
DjEddie DjEddie is offline
 
Join Date: Nov 2007
Posts: 244
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Getamped 1404 View Post
This problem got from your custom code, maybe you want to send PM me with that code, I will test it on my board !
Well the scripts used are simple "object" for video player from ustream
and javascript for tabbed forum home (mod on here) and iframes

nothing really out of the ordinary
Reply With Quote
Благодарность от:
BCP Hung
  #50  
Old 09-07-2011, 01:26 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
Well the scripts used are simple "object" for video player from ustream
and javascript for tabbed forum home (mod on here) and iframes

nothing really out of the ordinary
Thank you for your report and effort. I will check that and new PL will be made !
---
Keep update for this modification.
Reply With Quote
  #51  
Old 09-07-2011, 01:39 PM
DjEddie DjEddie is offline
 
Join Date: Nov 2007
Posts: 244
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Getamped 1404 View Post
Thank you for your report and effort. I will check that and new PL will be made !
---
Keep update for this modification.
Ok .. i'll wait for the update .. thank you
Reply With Quote
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 07:14 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.08361 seconds
  • Memory Usage 2,353KB
  • 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
  • (7)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_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