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

Reply
 
Thread Tools
Sorky - Customize Announcements Details »»
Sorky - Customize Announcements
Version: 1.1.3, by Sorky Sorky is offline
Developer Last Online: Jan 2015 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.8.x Rating:
Released: 01-27-2009 Last Update: 09-06-2009 Installs: 102
Uses Plugins Auto-Templates
 
No support by the author.

Purpose
This plugin dramatically improves the ways in which announcements can be displayed.
  • Separates the announcements from the threads and puts them in their own table
  • Allows the location of the announcement to be changed
  • Makes it possible to have announcements show up in "Categories"
  • Collapse the announcement table
  • Show the announcement message content!
  • Collapse the announcement message content
  • Own formatting for the Announcement table heading, the announcement title and the announcement message
  • Limit the number of announcements displayed
  • plus more!

Installation
Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product]

Options
To set this plugin's options go to: AdminCP > vBulletin Options > Sorky18 - Customize Announcements

Versions
v1.0.0 - 24th of December, 2008 = Launch (click here)
v1.0.1 - 28th of January, 2009 = official release for 3.8.x (click here)
v1.0.2 - 29th of January, 2009 = Minor improvement (click here)
v1.1.0 - 13th of April, 2009 = Remember show/hide state (click here)
v1.1.1 - 23rd of May, 2009 = alt text for show/hide image + more (click here)
v1.1.2 - 3rd of June, 2009 = limiting the number of announcements fixed (click here)
v1.1.3 - 7th of September, 2009 = minor script bug removed (click here)

Settings & Demonstration Screenshots
See v1.0.0 post (click here)

If you like this Mod please click INSTALL.

Download Now

File Type: xml product-Sorky-CustomizeAnnouncements-v1.0.1.xml (40.9 KB, 74 views)
File Type: xml product-Sorky-CustomizeAnnouncements-v1.0.2.xml (41.4 KB, 151 views)
File Type: xml product-Sorky-CustomizeAnnouncements-v1.1.0.xml (49.7 KB, 68 views)
File Type: xml product-Sorky-CustomizeAnnouncements-v1.1.1.xml (56.6 KB, 45 views)
File Type: xml product-Sorky-CustomizeAnnouncements-v1.1.2.xml (56.4 KB, 105 views)
File Type: xml product-Sorky-CustomizeAnnouncements-v1.1.3.xml (56.7 KB, 246 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 11-14-2009, 10:28 AM
Sorky Sorky is offline
 
Join Date: Apr 2007
Location: Australia
Posts: 361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Satviewers View Post
Is there any way to get it to be above the Sub-forums if they are there
Ummm... Use "Above the Forum List (If shown)"???

Assuming you tried that and it isn't working for you... Your pic does look like the "FORUMDISPLAY" template may have been modified, so first of all, check how the options work with the default style. This will let you get acquainted with all the settings. Then check your modified "FORUMDISPLAY" template to make sure that "<!-- sub-forum list -->" comment is still in it before the SubForum table display section. When the "Above the Forum List (If shown)" option is chosen, the PlugIn insert the new announcement display right before that comment.
Reply With Quote
  #43  
Old 11-14-2009, 01:29 PM
Satviewers Satviewers is offline
 
Join Date: Oct 2009
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, thought I had tried "Above the Forum List (If shown)".

That worked.
Thanks.
Reply With Quote
  #44  
Old 11-14-2009, 06:41 PM
mikes04537 mikes04537 is offline
 
Join Date: Oct 2007
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

uhh yea it screwed up my board un installed
Reply With Quote
  #45  
Old 11-16-2009, 01:50 AM
Sorky Sorky is offline
 
Join Date: Apr 2007
Location: Australia
Posts: 361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mikes04537 View Post
uhh yea it screwed up my board un installed
Sorry to hear that - Did you check it with the default style? Do you have a test site I can look at to see why?
Reply With Quote
  #46  
Old 11-27-2009, 12:30 AM
Satviewers Satviewers is offline
 
Join Date: Oct 2009
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

When you click on a new post from the main forum,

e.g. http://www.satviewers.com/showthread.php?p=478#post478

Internet Explorer 8 gives error on page.

Code:
Webpage error details

Message: 'null' is null or not an object
Line: 592
Char: 128
Code: 0
URI: http://www.satviewers.com/showthread.php?p=478#post478
Where as if you go into the subforum and click the post there is no error given.
e.g. http://www.satviewers.com/showthread.php?t=476

Hope there is enough info here to reproduce the error and fix the bug.
Reply With Quote
  #47  
Old 11-27-2009, 04:07 AM
Sorky Sorky is offline
 
Join Date: Apr 2007
Location: Australia
Posts: 361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Satviewers View Post
Hope there is enough info here to reproduce the error and fix the bug.
I see the error on your site in IE7, but I do not see how it relates to my PlugIn - Are you saying that with my PlugIn diasabled, the error does not happen, but when enabled it does?

Edit: Re-checked your site and see the error is gone so it must have been something else as I suspected.
Reply With Quote
  #48  
Old 06-05-2010, 03:53 PM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by crazy4bass View Post
Got this error on vb 3.8.1
The foreach() error, I believe, is a conflict with the passiveVid mod. You'll want to find this in the "passiveVid - Showthread Replacement" plugin at hook location "postbit_display_complete":

Code:
               foreach ($passiveVid as $k => $v) {
                   if ( $this->registry->options['passiveVid_sites'] & $v['id'] ) {
                       $this->post['message'] = preg_replace_callback($v['string'],create_function('$matches',$v['replacement']),$this->post['message']);
 
                   }
               }
And replace it with this:
Code:
               if (is_array($passiveVid)) {
                 foreach ($passiveVid as $k => $v) {
                   if ( $this->registry->options['passiveVid_sites'] & $v['id'] ) {
                     $this->post['message'] = preg_replace_callback($v['string'],create_function('$matches',$v['replacement']),$this->post['message']); 
                   }
                 }
               }
Reply With Quote
  #49  
Old 08-10-2010, 06:46 PM
stb74 stb74 is offline
 
Join Date: Nov 2008
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have two global announcements but cannot get them to display at the same time, is this possible
Reply With Quote
  #50  
Old 08-11-2010, 02:43 AM
washingtonboise washingtonboise is offline
 
Join Date: Mar 2009
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stb74 View Post
I have two global announcements but cannot get them to display at the same time, is this possible
Yes, that's totally possible. You just need to go into your configuration for displaying threads and announcements. Make sure that announcements are not displayed 'in line'

The default display is just a horrible decision by vbulletin, but not their first. Flip that switch and you'll be able to display more than one announcement.
Reply With Quote
  #51  
Old 08-11-2010, 05:40 PM
stb74 stb74 is offline
 
Join Date: Nov 2008
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by washingtonboise View Post
Yes, that's totally possible. You just need to go into your configuration for displaying threads and announcements. Make sure that announcements are not displayed 'in line'

The default display is just a horrible decision by vbulletin, but not their first. Flip that switch and you'll be able to display more than one announcement.
Thanks

Not sure whether this is it but works

Forum Display Options - Group Announcements

Change to No
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 01:29 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.05432 seconds
  • Memory Usage 2,345KB
  • Queries Executed 28 (?)
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
  • (3)bbcode_code
  • (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
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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