The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Thanks, Chen, I think it is starting to make sense now. (finally, huh? ) In order to be able to view it (like in the second part of the code, you have to let it know it is an image (by the code in the first part). I know I sound like an idiot on this, but it is working, so I must have it right somewhere. If I want to do the same thing in the private message attachment, do I need to change it anywhere else or will this code I replaced take care of it? And, one last thing, how can I get the commas between the attachment file extensions in the attachment box (like you have here)?
Quote:
|
#12
|
||||
|
||||
(1) Do the first change in private.php.
(2) Add the second line (right after the first, obviously): Code:
$maxattachsize_temp = getmaxattachsize(); [high[ $attachextensions = str_replace(' ', ', ', $attachextensions);[/high] |
#13
|
||||
|
||||
If you mean the first code I did up a few posts ago, that code isn't in private.php anywhere. Is that what you meant?
Quote:
What do you mean here? And where do I put the code you gave me? Quote:
|
#14
|
||||
|
||||
In newreply.php and newthread.php replace this:
Code:
$maxattachsize_temp = getmaxattachsize(); Code:
$maxattachsize_temp = getmaxattachsize(); $attachextensions = str_replace(' ', ', ', $attachextensions); |
#15
|
||||
|
||||
Sorry about that. I was still thinkng about the private attachments problem. (DOHHH!!!)
Now, for the last part. You said to make a change in the private.php. What do I need to do to that do make it handle the BMPs the same way as the regular attachments does and how do I get the commas in there? Quote:
|
#16
|
||||
|
||||
You can't do it for private messages, it doesn't work that way (sorry for misleading).
|
#17
|
||||
|
||||
Then when you enter the vaid extensions in the vBulletin options and it shows it in the private attachment, it handles all of that differently, right? Is there a way to have it only show the ones it will be able to handle right then? :cheeky:
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|