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
  #52  
Old 09-08-2011, 04:49 AM
jagexfails jagexfails is offline
 
Join Date: Aug 2011
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I keep getting this

Database error in vBulletin 4.1.5:

Invalid SQL:

REPLACE INTO datastore
(title, data, unserialize)
VALUES
('routes', 'a:0:{}', 1);

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Thursday, September 8th 2011 @ 12:45:59 AM
Error Date : Thursday, September 8th 2011 @ 12:46:09 AM
Script : http://hidden.net/forum/admincp/plug...=productimport
Referrer : http://hiddenforum/admincp/plugin.php?do=productadd
IP Address : hidden
Username : hidden
Classname : vB_Database
MySQL Version :

hidden = personal info
Reply With Quote
  #53  
Old 09-08-2011, 04:53 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jagexfails View Post
I keep getting this

Database error in vBulletin 4.1.5:

Invalid SQL:

REPLACE INTO datastore
(title, data, unserialize)
VALUES
('routes', 'a:0:{}', 1);

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Thursday, September 8th 2011 @ 12:45:59 AM
Error Date : Thursday, September 8th 2011 @ 12:46:09 AM
Script : http://hidden.net/forum/admincp/plug...=productimport
Referrer : http://hiddenforum/admincp/plugin.php?do=productadd
IP Address : hidden
Username : hidden
Classname : vB_Database
MySQL Version :

hidden = personal info
That's a problem with your server, contact your host about this. See here:
Quote:
MySQL Error : MySQL server has gone away
Reply With Quote
Благодарность от:
BCP Hung
  #54  
Old 09-08-2011, 10:44 AM
BCP Hung BCP Hung is offline
 
Join Date: May 2011
Location: Vietnam
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<font color="Red">Important : This modification doesn't use custom database or any MySQL query to your data !</font>
Reply With Quote
  #55  
Old 09-08-2011, 07:22 PM
jagexfails jagexfails is offline
 
Join Date: Aug 2011
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Getamped 1404 View Post
Important : This modification doesn't use custom database or any MySQL query to your data !
So which route should I take on fixing this?
Reply With Quote
  #56  
Old 09-09-2011, 02:58 AM
BCP Hung BCP Hung is offline
 
Join Date: May 2011
Location: Vietnam
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jagexfails View Post
So which route should I take on fixing this?
You should contact your server support if continue can not login to your board.
Reply With Quote
  #57  
Old 09-09-2011, 03:14 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jagexfails View Post
So which route should I take on fixing this?
As I said....
Quote:
Originally Posted by HMBeaty View Post
That's a problem with your server, contact your host about this. See here:
Reply With Quote
  #58  
Old 09-13-2011, 11:31 AM
BCP Hung BCP Hung is offline
 
Join Date: May 2011
Location: Vietnam
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

New version 1.0.6 Beta being in close beta before publish!
I'm glad to be announced about the next version with some minor changes in the structure and an additional interesting!

Quote:
A detailed list of updates will be sent as soon as it possible.
Reply With Quote
  #59  
Old 09-19-2011, 04:49 PM
BCP Hung BCP Hung is offline
 
Join Date: May 2011
Location: Vietnam
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am pleased to announce the next version is 1.0.6 with the first beta version (Beta 1) is currently in the process of completing the final stages and will be released in the shortest time to come .
Currently you can preview what will be had in the new version by following two screen shots (full size):
1 : Front End : http://i1103.photobucket.com/albums/...t-frontend.png
2 : AdminCP : http://i1103.photobucket.com/albums/...ot-admincp.png
As you can see in the picture, new features will be added in the series of features are integrated and the first feature is "Notifications Popup".
Reply With Quote
  #60  
Old 09-21-2011, 01:25 PM
BCP Hung BCP Hung is offline
 
Join Date: May 2011
Location: Vietnam
Posts: 155
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Change log :
- 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.
  • Updated : JavaScript file (jquery.news-announcements.js), add new function, optimize code. (include v1.0.5 PL 1)
  • Updated : Main HTML tempates. (include v1.0.5 PL 1)
  • Updated : Edit PHP plugin code. (only v1.0.5 PL 1)
  • Added : New HTML template for : Notifications Popup.
  • Added : New option for : Notifications Popup.
  • Fixed : A small errors in the PHP code (impact level : low). (only v1.0.5 PL 1)
Reply With Quote
  #61  
Old 09-21-2011, 02:22 PM
DjEddie DjEddie is offline
 
Join Date: Nov 2007
Posts: 244
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok .. nice one for the update ..the new notification system looks good IF lol i could get it to actually show ..

Not sure why it isn't showing
Reply With Quote
Благодарность от:
BCP Hung
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 12:09 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.05526 seconds
  • Memory Usage 2,365KB
  • 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
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)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