This is a great hack, however I have had to uninstall it from my forum. Whenever I have it active my server load and memory usage on my server spike up to the point where my server crashes. Has anyone else had that problem? I just looked at my server stats before and after enabling the gallery. Before the server load was at 0.2 and the memory was 66% and swap used was at 4.09%. After enabling the gallery it spiked up to server load of 4.31, memory to 82.4%. As soon as I disabled the gallery addon, it came right back down again. I am using vb 3.6.7. Any ideas or suggestions? I love the addon, I like it much more than photopost or photoplog. I would love to use it, but I cannt keep crashing like this.
Great mod. I've installed it, but I'm now curious.. is there any way to make it so that when you attatch the image; and the image is a .png; meaning it has only one thing in the image, and it doesn't have a background, it stays a .png? As in, I want it to remain background-less, because when I upload it, it becomes a .jpg, and it's bugging me.
I have it working and everything, but there's no upload button, i've uploaded and everything. The onyl way i can do it is upload via attachment, and my attachment file sizes are really small. I can't upload anything without saying it is over the limit size. How can i change that?
please help i have this error when i have install this product
Quote:
Database error in vBulletin 3.6.8:
Invalid SQL:
SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
post.pagetext AS preview,
thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, replycount, postusername, postuserid, thread.iconid AS threadiconid,
thread.lastpost, thread.lastposter, thread.lastpostid, thread.dateline, IF(views<=replycount, replycount+1, views) AS views, notes, thread.visible, sticky, votetotal, thread.attach,
hiddencount, deletedcount
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
, threadredirect.expires
, attachment.thumbnail_filesize AS thumbsize , MIN(attachment.attachmentid) AS attachmentid , attachment.filesize AS filesize ,attachment.filename AS filename, MIN(attachment.attachmentid) AS attachmentid
FROM thread AS thread
LEFT JOIN deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
LEFT JOIN subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 1 AND canview = 1)
LEFT JOIN post AS post ON(post.postid = thread.firstpostid)
LEFT JOIN threadredirect AS threadredirect ON(thread.open = 10 AND thread.threadid = threadredirect.threadid)
LEFT JOIN attachment as attachment ON(attachment.postid = thread.firstpostid) LEFT JOIN attachment as attachment ON(attachment.postid = thread.firstpostid)
WHERE thread.threadid IN (0) GROUP BY thread.threadid GROUP BY thread.threadid
ORDER BY sticky DESC, lastpost DESC;
MySQL Error : Not unique table/alias: 'attachment'
Error Number : 1066
Date : Sunday, August 26th 2007 @ 10:52:22 AM
Script : http://www.cgway.net/forumdisplay.php?f=45
Referrer :
IP Address : **********
Username : **************
Classname : vB_Database