Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
(Forumdisplay) Turn off announcements & save 1 query Details »»
(Forumdisplay) Turn off announcements & save 1 query
Mod Version: 1.00, by ThorstenA (Coder/Designer) ThorstenA is offline
Developer Last Online: Sep 2012 I like it Show Printable Version Email this Page

vB Version: 3.6.4 Rating: (4 votes - 4.25 average) Installs: 20
Released: 10 Jan 2007 Last Update: Never Downloads: 8
Not Supported  

(Forumdisplay) Turn off announcements & save 1 query




What does this product do?

This very easy to use product turns off announcements in forumdisplay and saves a whole query each time forumdisplay is presented. Therefore it improves forum speed. There is a discussion in suggestion forum of vbulletin.com to only search for new announcements once a day instead of searching for new announcements each time forumdisplay is presented.

Installation information
  • Files edited: 1
  • Templates edited: 0
  • Files to upload: 0
  • DB Tables changed: 0
  • Additional queries: 0
  • Changed queries: 0
  • Time to install: 60 seconds max

Installation
  1. Open forumdisplay.php
  2. Search for

    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

  3. Delete this code
  4. Save forumdisplay.php


Flagged for future version
  • Put an IF { } statement around this, and create a new setting in vBulletin Options to control whether the Announcement is on or off in Forumdisplay.

Please click Install if you installed this product. So you can get information if product improves. Thank you.



This hack may not be copied, reproduced or published elswhere without my permission.
Please take attention: I take no responsibility for anything of what this product could do anywhere (forum, other software, server ...).

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
[release] Show Multiple Announcements in forumdisplay filburt1 vBulletin 2.x Template Modifications 19 10 Feb 2007 22:34

Comments
  #2  
Old 10 Jan 2007, 22:00
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Reserved for future posts.
Reply With Quote
  #3  
Old 10 Jan 2007, 22:12
thincom2000 thincom2000 is offline
 
Join Date: Jun 2006
Real name: Ted
I think it may be better to put an IF { } statement around this, and create a new setting in vBulletin Options to control whether the Announcement is on or off in Forumdisplay. That way you can actually use them if you need to, instead of deleting it entirely from the file.
Reply With Quote
  #4  
Old 10 Jan 2007, 23:54
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Real name: Steve
Nice work, ThorstonA. Thanks.

Just curious though - does implementing this have any negative side-effects?
__________________
Reply With Quote
  #5  
Old 11 Jan 2007, 07:14
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Originally Posted by thincom2000 View Post
I think it may be better to put an IF { } statement around this, and create a new setting in vBulletin Options to control whether the Announcement is on or off in Forumdisplay. That way you can actually use them if you need to, instead of deleting it entirely from the file.
Flagged for future version
Originally Posted by projectego View Post
Nice work, ThorstonA. Thanks.

Just curious though - does implementing this have any negative side-effects?
You do not see announcements on forumdisplay. That's the only effect and it saves one query
Reply With Quote
  #6  
Old 05 Feb 2007, 17:41
JohnBee JohnBee is offline
 
Join Date: Oct 2004
I did this MOD, I had 10 queries before I added the mod and I had 10 queries after the edit.
No effect that I can see.
Reply With Quote
  #7  
Old 08 Mar 2007, 09:59
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Originally Posted by JohnBee View Post
I did this MOD, I had 10 queries before I added the mod and I had 10 queries after the edit.
No effect that I can see.
It is removing 1 query:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #8  
Old 16 Mar 2007, 17:06
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Real name: Z.R.
any vb developer has anything to say about it?
Reply With Quote
  #9  
Old 22 Mar 2007, 09:54
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Originally Posted by Zia View Post
any vb developer has anything to say about it?
vb Team is looking forward to put this query into datastore (or something like that) and just run this query once a day instead of every time forumdisplay is presented to user. Could be integrated into next smaller vbulletin update.
Reply With Quote
  #10  
Old 05 Aug 2009, 00:28
Fenriz Fenriz is offline
 
Join Date: Aug 2002
vb Team is looking forward to put this query into datastore (or something like that) and just run this query once a day instead of every time forumdisplay is presented to user. Could be integrated into next smaller vbulletin update.
Has that been done in 3.7.x?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 07:25.

Layout Options | Width: Wide Color: