Go Back   Steve Kallestad.com Discussion > Open Discussion > General Discussion


Post New Thread  Reply
 
LinkBack Thread Tools Display Modes
Old 02-19-2007, 01:10 AM   #21
Runs This Show
 
Steve's Avatar
 
Join Date: Dec 2006
Recent Blog: Where to Go From Here
Posts: 183
Steve has disabled reputation
Default Re: vbMT Integration Changes

Hmph... Apparently it worked on the first try...

I combined 12 javascript files commonly called into a single file. The combo file compressed is 58K. The individual files called totalled 192.6K - a very significant savings - which actually lightens up the load enough for prototype and scriptaculous. I don't see any errors, but I do see a bit of a slowdown in processing which I'm hoping is my own system... I'll report back.

The combined files are vbulletin_global.js, vbulletin_menu.js, vbulletin_read_marker.js, vbulletin_ajax_threadslist.js, vbulletin_post_loader.js, vbulletin_ajax_reputation.js, vbulletin_multi_quote.js, vbulletin_textedit.js, vbulletin_quick_edit.js, vbulletin_quick_reply.js, vbulletin_ajax_threadrate.js, and vbseo_ajax.js

Last edited by Steve : 02-19-2007 at 01:14 AM. Reason: Just checking the ajax edit functionality now that I'm using compacted js.
Steve is offline  
Add Post to del.icio.usFurl this Post!
Reply With Quote
Old 02-19-2007, 01:14 AM   #22
Runs This Show
 
Steve's Avatar
 
Join Date: Dec 2006
Recent Blog: Where to Go From Here
Posts: 183
Steve has disabled reputation
Default Re: vbMT Integration Changes

Yep. My firefox was eating up nearly 400 megs of RAM before I restarted it. Off topic, but I've been noticing gmail slow down, and I've been getting leak reports on my download window. I've been using my gmail and downloading files pretty extensively the last few days. No noticable slowdown now that I've restarted, but I'll keep pluging away.
Steve is offline  
Add Post to del.icio.usFurl this Post!
Reply With Quote
Old 02-19-2007, 02:56 AM   #23
Runs This Show
 
Steve's Avatar
 
Join Date: Dec 2006
Recent Blog: Where to Go From Here
Posts: 183
Steve has disabled reputation
Default Re: Mods for this forum

There is an existing Lightbox mod out there, but I seem to recall staying away from it for one reason or another.

I added a lightbox mod to this forum of my own doing...

I used the Lightbox JS v2.0 as a base, pulling the css out and placing it in my stylevars.

I added the prototype, scriptaculous builder and effects, and lightbox js files to my forum-combo.js (combination of the above mentioned files), compressed and packed it all up, and made a small mod to the postbit_attachmentthumbnail template as follows:

Replace the whole thing with:
Code:
<a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;d=$attachment[dateline]"<if condition="$show['newwindow']"> target="_blank"</if> rel="lightbox[$post[postid]]"><img class="thumbnail" src="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&amp;stc=1&amp;thumb=1&amp;d=$attachment[thumbnail_dateline]" border="0" alt="<phrase 1="$attachment[filename]" 2="$attachment[counter]" 3="$attachment[filesize]" 4="$attachment[attachmentid]">$vbphrase[image_larger_version_x_y_z]</phrase>" /></a>
&nbsp;<if condition="$show['br']"><br /><br /></if>
It works great in Firefox and IE. It degrades gracefully by simply opening the image directly. I'll get around to testing it in Safari soon.

Check this one for the moment. It seems to be causing problems with the inline editor...
Steve is offline  
Add Post to del.icio.usFurl this Post!
Reply With Quote
Old 02-19-2007, 04:15 AM   #24
Runs This Show
 
Steve's Avatar
 
Join Date: Dec 2006
Recent Blog: Where to Go From Here
Posts: 183
Steve has disabled reputation
Default Re: Mods for this forum

inline editor problem resolved with this fix: Fix vBulletin JS to work with prototype/scriptaculous - vBulletin.org Forum

Which hopefully means that the lightbox mod is complete.
Steve is offline  
Add Post to del.icio.usFurl this Post!
Reply With Quote
Old 02-19-2007, 04:52 PM   #25
Runs This Show
 
Steve's Avatar
 
Join Date: Dec 2006
Recent Blog: Where to Go From Here
Posts: 183
Steve has disabled reputation
Arrow Navbar Update

I've now successfully migrated the navbar menu into my existing Project Seven Pop Menu Magic Menu. In the process, I also removed the welcome/login block leaving only the breadcrumb trail in the navbar template. I thought about changing the style of that template, but it's starting to grow on me the way it looks right now.
Steve is offline  
Add Post to del.icio.usFurl this Post!
Reply With Quote
Old 02-19-2007, 08:56 PM   #26
Runs This Show
 
Steve's Avatar
 
Join Date: Dec 2006
Recent Blog: Where to Go From Here
Posts: 183
Steve has disabled reputation
Default New Thread Button

I have added the New Thread Button to the SHOWTHREAD template as outlined in this template mod - Add The New Thread Button On ShowThread - vBulletin.org Forum
Steve is offline  
Add Post to del.icio.usFurl this Post!
Reply With Quote
Old 02-23-2007, 06:07 AM   #27
Runs This Show
 
Steve's Avatar
 
Join Date: Dec 2006
Recent Blog: Where to Go From Here
Posts: 183
Steve has disabled reputation
Default Re: Mods for this forum

Apparnetly there is a bit of a problem when you move css stylesheets off to a different domain.

This has to do with the accessibility of the .wysiwyg style definition, so that definition is moved into my HEAD elements for my templates. Not an ideal solution, but it works for now.
Steve is offline  
Add Post to del.icio.usFurl this Post!
Reply With Quote
Old 03-02-2007, 05:49 PM   #28
Runs This Show
 
Steve's Avatar
 
Join Date: Dec 2006
Recent Blog: Where to Go From Here
Posts: 183
Steve has disabled reputation
Default Re: Mods for this forum

upgraded to 3.6.5 today - a little bit behind as it was released yesterday morning... but the upgrade seems to have gone through fairly seemlessly. I did find that IE6 was a bit of a bugger as far as caching gzipped javascript goes. While it can certainly handle it, I found that it was repeatedly requesting the file and sending neither an etag or a if-modified-since header.

I compressed the javascript down to 292K for IE 6, 64K for everybody else. Using my standard prototype shrinking techniques, it gets down to 139K for IE 6, 58K for everybody else or about a 13 second dialup user download. 32 seconds for IE 6 dialup users. We'll see if the super-slimmed down version works out shortly.

The 139K/58K version seems to be working fine in firefox. I'll test more browsers soon.
Steve is offline  
Add Post to del.icio.usFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes




All times are GMT -7. The time now is 03:48 AM.