![]() |
Try sending yourself an attachment and see what that does.
|
Quote:
I can send you my private.php if you want. |
Quote:
if ($pm['attach']) { and the "}" at the end, ej. Code:
$pm['attachments'] = array(); |
Quote:
################################################## ################# # Code modifications in file "profile.php" ################################################## ################# ------------------------------------------------------------------- at line 2327, search for this code: ------------------------------------------------------------------- Code:
// Get attachment info change it to: ------------------------------------------------------------------- Code:
$attachments = $DB_site->query(" at line 2360, search for this code: ------------------------------------------------------------------- Code:
$show['inprogress'] = iif(!$post['postid'], true, false); change it to: ------------------------------------------------------------------- Code:
$show['inprogress'] = iif(!$post['postid'] && !$post['private'], true, false); # Template modifications in template "modifyattachmentsbit" ################################################## ################# ------------------------------------------------------------------- search for this: ------------------------------------------------------------------- Code:
<div><strong>$vbphrase[thread]</strong>: <a href="showthread.php?$session[sessionurl]t=$post[p_threadid]">$post[t_title]</a></div> change it to: ------------------------------------------------------------------- Code:
<if condition="$show[privateattachment]"> # New phrases to add ################################################## ################# Add a new phrase and make sure it is in the posting group, otherwise it won't work phrase: in_private_message Text: Private Message With that when you go to the manage attachment section of the usercp instead of saying "In progress" it will show the correct posting date and an indicator that it really was a private message and not a post |
This
Code:
</end if> Code:
</if> Thank you for the fix, by the way. ;) |
The indicator in the usercp almost works. The box for the regular attachments is blank now. Also, is there any way to take the words Thread and Post out of the pm attachments box in the usercp?
|
Quote:
|
Quote:
|
I should have caught that, I'm sorry. ;)
Much better now. Is there a way to maybe grab the pmid and put it in the area right under Private Message (in case we need to track anything soemtime)? |
Quote:
|
All times are GMT. The time now is 04:10 PM. |
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:
|