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)
-   -   Attachments in calendar events (https://vborg.vbsupport.ru/showthread.php?t=62264)

robert_2004 10-15-2004 03:28 AM

no it doesn't.... i have PMed the creator to see if he can update it for vb 3.0.3

WarHorse 10-16-2004 10:56 PM

I will click install as soon as it is updated for 3.0.3
It's only a few lines, i hope it happens soon.

It looks like a really great hack. I have JPG invitations to my site's events. This will be perfect.

sfowler39 10-28-2004 06:23 PM

The whole package works besides this statement in the attachment.php file.

Quote:

if (!$attachmentinfo = $DB_site->query_first("
SELECT filename, attachment.postid, attachment.userid, attachmentid,
" . iif($thumb, 'thumbnail AS filedata, thumbnail_dateline AS dateline, thumbnail_filesize AS filesize,', 'attachment.dateline, filedata, filesize,') . "
attachment.visible, mimetype, NOT ISNULL(deletionlog.primaryid) AS isdeleted,
thread.forumid, forum.password, thread.threadid
FROM " . TABLE_PREFIX . "attachment AS attachment
LEFT JOIN " . TABLE_PREFIX . "attachmenttype AS attachmenttype ON(attachmenttype.extension = SUBSTRING_INDEX(attachment.filename, '.', -1))
LEFT JOIN " . TABLE_PREFIX . "deletionlog AS deletionlog ON(attachment.postid = deletionlog.primaryid AND type = 'post')
LEFT JOIN " . TABLE_PREFIX . "post AS post ON (post.postid = attachment.postid)
LEFT JOIN " . TABLE_PREFIX . "thread AS thread ON (post.threadid = thread.threadid)
LEFT JOIN " . TABLE_PREFIX . "forum AS forum ON (forum.forumid = thread.forumid)
" . iif($postid, "WHERE attachment.postid = $postid", "WHERE attachmentid = $attachmentid") . "
"))
{
Has anyone made this work in 3.0.3?

sfowler39 10-28-2004 07:59 PM

I have it working on 3.0.3 - the only problem I have is that the user who uploads the file is the only one who can d/l it . Its something to do with permissions that needs to be changed on mine. Is anyone else working on this?

nexialys 11-01-2004 02:37 PM

@ Kentaurus: https://vborg.vbsupport.ru/showthread.php?t=71247

sfowler39 11-01-2004 06:58 PM

Sorry, I PM you nexialys:
So I will post it here.

You posted the link above - I was under the impression that this would solve this issue of permission rights so I installed it and am still having these issues. Do you have any idea how to resolve this?

But still I get this error after all is said and done.

Quote:

admin, 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.



Let me ellaborate or clarify what I am talking about.

Your wrote in this post:
https://vborg.vbsupport.ru/show...hlight=calendar

This
@ Kentaurus: https://vborg.vbsupport.ru/showthread.php?t=71247

Which has taken me to :

083-Attachements With Style in Events

--------------------------------------------------------------------------------

This hack is a Merge of Two excellent tries... so i have no real credit... just for the merging itself!

you first need to install two hacks:
Attachments in calendar events and
Attachmentstyle, choose where to place your Attachments.


Then I installed yours.
But through all of this installing and hoping things would work out in the calendar so a person can attach a document to a date for an event - it does attach and the style is good, but apparently no one can download the attachments they only see the attachments (files)in the calendar but after clicking on the attachments they get the error that they dont have permissions to access the files. Even the ADMIN which is me cant d/l it.

Its something to do with permissions or the cookies. I think.

Do you have any idea as to what I can change to allow everyone access to these files that are placed in the calendar, I am not to fussy about the permission level on these items since the website is behind a hardware firewall and on a intranet which is inaccessible to the outside world anyway.

nexialys 11-02-2004 11:23 AM

<a href="https://vborg.vbsupport.ru/showthread.php?t=71247" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=71247</a>

.. the hack now contain this tool, updated for vB 3.0.3 ...

Sweet Evil 11-14-2004 02:54 PM

I have 3.0.3 , installed this hack and seem to work fine.. but my attachments just up and disappear.. anyone got ideas? :(

Bacteria Man 02-12-2005 10:35 PM

I just bought vB 3.x a short while ago and this mod was on my to-do list of required features--thanks.

I'm slightly confused though (nothing new there.) I see there's a new version/upgrade for this mod (hack). I don't necessarily care the style support in the other. Is this version fully functional or buggy?

nexialys 02-12-2005 11:08 PM

this hack will not have any update, as i took care of the real upgrades and debugs... you can take the new version and not apply the styles... but if you don'T you will continue to have bugs, like Sweet Evil... these are known bugs. (that's why i released a different version)


All times are GMT. The time now is 01:42 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.01453 seconds
  • Memory Usage 1,740KB
  • 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_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