PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old February 23rd, 2007, 04:48 PM   #1 (permalink)
Member
 
Join Date: Jun 2004
Posts: 164
Suggestion to improve Performance

I've noticed that vBGallery 2.1 requires a file edit to init.php

This seems to be rather bad, as this edit mus be applied every time a vBulletin update is performed.
Furthermore, as far as I can see from the code, it is used to load phrasegroups and datastore items for gallery stuff on forumhome and member profile.
But the call is always executed - in all other frontend scripts, archive, mcp and acp.

Therefore it might be better to execute it conditionally.

One further step would be to move the code to config.php, as this file normally does not get touched upon upgrades.

IMHO, the best way would be a plugin on init_startup:

Code:
Content visible to verified customers only.
Kirby is offline  
Old March 5th, 2007, 12:09 PM   #2 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Done in the next build.
Thanks for the tip Sir.

Last edited by Zachariah; March 21st, 2007 at 03:36 PM.
Zachariah is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Watermark performance? Surfer2 Photopost Pro How Do I...? 3 September 29th, 2006 05:56 PM
Improve fullsize image quality? DannyITR Photopost Pro How Do I...? 1 February 23rd, 2006 07:37 PM
How to improve the speed pengrus Photopost Pro How Do I...? 0 March 8th, 2005 04:36 PM
Any plans to improve the feedback system? djwins Before You Buy 4 January 9th, 2005 09:46 PM


All times are GMT -5. The time now is 10:11 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0