![]() |
Ok, it tells you to find this, right?
Code:
// sort attachement |
This is why I couldn't find it. I had to narrow the search down to just canpostattachment. :) Usually any code you say to look for is right on target for me. I must have installed some hack somewhere that changed something. :)
Sorry I bothered you with it. I feel kindof stupid now. :) Code:
if ($permissions['canpostattachment'] and trim($attachment) != 'none' and trim($attachment) != '' and trim($attachment_name) != '') { Quote:
|
Here's the code I found it in in newreply. There are actually 2 places here that have that code. I should replace the first one?
Code:
case 'new': |
Ahh, you installed another hack that changes that part (my Save Attachments on Preview). Sorry.
|
Guess I should have installed this one first huh? :) Was I right, only the first part under case new gets changed? Thanks for helping me figure it out though. I was starting to think I was losing the ability to install hacks. :)
Quote:
|
I think you only need to update the 'new' case, but I'm not sure.
|
Well, the board didn't blow up or lock me out, so I think we did it. :) The options are there in the Admin settings so I guess that means it is working? Thanks, Chen, for all of your help on this one. :)
BTW: PM on the way. Quote:
|
i have had this hack installed for quite some time, but ecently it has taken the forum very long to post a new thread or submit a reply.
I found out the slowness was due to this hack, particulary this line of code: $attachcount = $DB_site->query_first('SELECT COUNT(*) AS total FROM attachment WHERE userid='.$bbuserinfo['userid'].' AND dateline>('.time().'-3600*'.$limitattachtime.')'); My attachment table is about 370MB with 7,700 records. When I make a simple query to this table in phpmyadmin, its very slow to respond also. The rest of the site is extremely fast, any suggestions? |
any ideas on the above? anyone?
|
Is this hack available for 3.6?
|
All times are GMT. The time now is 01:46 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|