vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   New Posting Features - Attachment In Quickreply (https://vborg.vbsupport.ru/showthread.php?t=62963)

tnguy3n 03-28-2004 06:23 AM

check your showthread.php file again . i don't think it prints out warning fetch_max_attachment_size() as an underfined function if you have includes/functions_file.php included. (fetch_max_attachment_size() is declared in includes/functions_file.php file ;))

(can you post link to your board so that i can check that error?)

LPTV 03-28-2004 07:12 AM

i did step by step of you in instruction and i have seen a bug. Now i removed hack of you.

thAnkx!

alfaowner 03-29-2004 09:41 PM

downloaded and installed into eack skins within 10 mins, very easy to do. Many thanks

alfaowner 03-30-2004 03:53 PM

Hmmm, it appears my members cannot use it? looks as if its only working for admins!?

tnguy3n 03-30-2004 04:03 PM

Quote:

Originally Posted by alfaowner
Hmmm, it appears my members cannot use it? looks as if its only working for admins!?

Do you have Upload Attachment enabled to Registered Group? Usergroup that has no Upload permission won't see this option in quickreply. :)

Enable Upload: Usergroup -> Usergroup Manager -> Can Upload Attachments.

alfaowner 03-30-2004 04:40 PM

Hi mate, thanks for replying to offer help, well, i knew the answer already, but i checked this and "Upload Attachments" is Yes. Plus they are uploading on the board already.

So i created a fresh account to try it. (BTW - I can still see the button at all times)

HERE IS THE MESSAGE I RECIEVE WHEN I TRY TO UPLOAD AS A MEMBER
------------------------------------------------------------------------------------------

meatandtwoveg, you do not have permission to access this page. This could be due to one of several reasons:

Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.


Very weird! http://www.alfaowner.com/Forum/showt...700#post337700

tnguy3n 03-30-2004 06:34 PM

that's odd cuz I tested on localhost & my board as normal users, and they both work fine.

( you can test it out on my board as well... http://all4actions.net )



**** edited ****

I figured out why.... cuz you set regular members not to upload nor download attachment in Announcement forum. It works fine for any other forums on your board. ^_^

alfaowner 03-30-2004 08:43 PM

ok, cheers, whats the edited bit, you u swear at me ;)

enginethatcan't 04-13-2004 12:49 AM

installed, thanks

Boofo 04-13-2004 02:10 AM

Quote:

Originally Posted by PlenoJure
One small change I made to the showthread.php change, replace
PHP Code:

    require_once('./includes/functions_file.php');
    
$inimaxattach fetch_max_attachment_size(); 

with:
PHP Code:

    require_once('./includes/functions_file.php');
    
$attachtypes unserialize($datastore['attachmentcache']);
    
$inimaxattach fetch_max_attachment_size(); 

This will list the valid extentions instead of just displaying a blank space.

How would you add commas to separate the extentions?


All times are GMT. The time now is 09:57 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.01200 seconds
  • Memory Usage 1,742KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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