vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   [VB3 RC3] Attachments in private messages (https://vborg.vbsupport.ru/showthread.php?t=59840)

catocom2 02-05-2004 02:42 PM

Quote:

Originally Posted by kentaurus
The new phrases are added in the admin control panel, that is, you go to the phrase manager and click on the "add new phrase" button

I found where to add the phrases there.
It still says I don't have permission when I open the attachment window though. :surprised:

Kentaurus 02-05-2004 06:43 PM

Quote:

Originally Posted by catocom2
I found where to add the phrases there.
It still says I don't have permission when I open the attachment window though. :surprised:

Did you do the template modifications in the newattachment template? That would be a cause for the window to give you a nopermission error.

If you have the hack installed in an accesible board for me to take a quick peek that would help also.

catocom2 02-06-2004 12:01 AM

Thanks Kentaurus!
It was in the "newattachment.php" file.
I must have missed something in that file the first time around.
I took a fresh copy, and tried it again. It works perfectly now. :up:

catocom2 02-06-2004 12:10 AM

Is there a way to moderate PM attachments in the admincp, like
the regular attachments?

Kentaurus 02-06-2004 12:43 AM

Quote:

Originally Posted by catocom2
Is there a way to moderate PM attachments in the admincp, like
the regular attachments?

The attachments follow the same rules as the regular attachments, they count for the quota of the user, and you can search for them in the admincp by author, date or any other field.

As for having a moderator queue for attachments that's not a feature. In fact, you do not moderate user's private messages and neither the attachments.

catocom2 02-06-2004 02:31 AM

ah, I see

catocom2 02-06-2004 10:48 PM

Well I upgraded to RC4 and reinstalled this hack, but
it has put it at the top for some reason..
It still works good though.:D

Kentaurus 02-06-2004 10:51 PM

Quote:

Originally Posted by catocom2
Well I upgraded to RC4 and reinstalled this hack, but
it has put it at the top for some reason..
It still works good though.:D

How is your pm_newpm template? You can add $attachmentoption wherever you want that box to show. Seems to me that it is above the message area. I wil re-check it as soon as I have rc4 installed.

catocom2 02-06-2004 11:22 PM

ah, yeah I had to move it down in the pm_newpm temp.

find
Code:

$disablesmiliesoption
and put it right below it...like..
Code:

                        $disablesmiliesoption
                        $attachmentoption

I also had a problem with the "private.php" file and had to
change a few things.

Oblivion Knight 02-08-2004 02:11 PM

All seems to be working well.. :)
Just a small thing of concern, in the message itself where the attached images are shown, the "Attached Images" in the message isn't framed like your screenshot demonstrates..

I've attached a screenshot of this, hopefully you can shed some light on this.?


All times are GMT. The time now is 08:12 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
  • Page Generation 0.01253 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete