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
  #22  
Old 08-11-2011, 10:18 AM
kfyonur kfyonur is offline
 
Join Date: Apr 2008
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanx very nice mod.How can i change the font size of News and Announcements - 1st
Reply With Quote
  #23  
Old 08-11-2011, 01:41 PM
BCP Hung BCP Hung is offline
 
Join Date: May 2011
Location: Vietnam
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kfyonur View Post
thanx very nice mod.How can i change the font size of News and Announcements - 1st
I make it with CSS, so, not easy to edit.
I will add full StyleVars for this in next version.
Reply With Quote
  #24  
Old 08-15-2011, 12:47 PM
DjEddie DjEddie is offline
 
Join Date: Nov 2007
Posts: 244
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the update

another suggestion ..

the "Content for News and Announcements (basic feature)" box .. if possible split into sections similar to the advanced section ..so u can still incorporate html coding etc in the box ... and then have these sections on a Scroll Up / Scroll Down / Prev. / Next etc .. similar to a slider

Hope that explains ... thanks
Reply With Quote
  #25  
Old 08-15-2011, 09:39 PM
Dirks Dirks is offline
 
Join Date: Jun 2004
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Probably a stupid question, Amped, but how do you add new announcements?
Reply With Quote
  #26  
Old 08-16-2011, 06:09 AM
kfyonur kfyonur is offline
 
Join Date: Apr 2008
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in internex explorer,i saw this error but i didn't see this error in google chrome..Slide does not work today.What can i do ?
Attached Images
File Type: jpg ekrang.JPG (48.9 KB, 0 views)
Reply With Quote
  #27  
Old 08-16-2011, 12:24 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
...the "Content for News and Announcements (basic feature)" box .. if possible split into sections similar to the advanced section ..so u can still incorporate html coding etc in the box ... and then have these sections on a Scroll Up / Scroll Down / Prev. / Next etc .. similar to a slider...
Thank you for all suggestions ! I will think about that, then, it will be available in final version : 1.0.5.
Quote:
Originally Posted by Dirks View Post
Probably a stupid question, Amped, but how do you add new announcements?
What exactly mean ?
Quote:
Originally Posted by kfyonur View Post
in internex explorer,i saw this error but i didn't see this error in google chrome..Slide does not work today.What can i do ?
I'm in busy work, all bugs will be fixed in final version 1.0.5.
---
I dont understand your pic !
Reply With Quote
  #28  
Old 08-16-2011, 01:04 PM
RonH.'s Avatar
RonH. RonH. is offline
 
Join Date: May 2004
Location: Splendora, TX
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and working well on vB 4.1.5 pl1. Good job. Appears to have great possibilities.:up:
Reply With Quote
  #29  
Old 08-16-2011, 01:53 PM
kfyonur kfyonur is offline
 
Join Date: Apr 2008
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Getamped 1404;

I'm in busy work, all bugs will be fixed in final version 1.0.5.
---
I dont understand your pic !
slide up function did not work in my internet explorer but it is working in my chrome.i uninstall and reinstall ie 8 but nothing changed.
Reply With Quote
  #30  
Old 08-16-2011, 11:07 PM
Dirks Dirks is offline
 
Join Date: Jun 2004
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I figured it out, Amped, but I do have a suggestion for the next beta.

You know how you can scroll through the line announcements (1-10?), it would be absolutely amazing if you could make it so the announcement content scrolls as well. That way you could have 10 different announcements each with different content.
Reply With Quote
  #31  
Old 08-17-2011, 12:22 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 all suggestions ! I will think about that, then, it will be available in final version : 1.0.5.

What exactly mean ?

I'm in busy work, all bugs will be fixed in final version 1.0.5.
---
I dont understand your pic !
I know ur a busy man .. just wondered if u had a time scale for next release
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 05:02 AM.


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.05185 seconds
  • Memory Usage 2,349KB
  • 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
  • (6)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
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)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