Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Attachments in calendar events Details »»
Attachments in calendar events
Version: 1.00, by Kentaurus Kentaurus is offline
Developer Last Online: Jul 2014 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 03-07-2004 Last Update: Never Installs: 13
 
No support by the author.

Why isn't there a category for calendar hacks? Oh well..

This was originally developed for Davelogic, with this hack you can add attachments to your calendar events. The attachment will show up at the end of the event.

In any event you add (single event, recurrent or ranged) you can
add attachments the same way you can add them to a post (ie, a pop-up
will appear asking you for the attachments). Then the attachments
will show in the event once submitted.



The installation instructions are for a non-hacked RC4 board, instructions would vary if you have other hacks intalled, and would be really different if you have any other attachment hacks installed.

Info for hackers:
You may modify, improve, upgrade, redistribute this hack, include it
in another hack or yours or translate it provided you do it free of
charge and you distribute it in www.vbulletin.org at least, there is no
need to pm me asking for permission
Some portions of the code are (c) Jelsoft Enterprises Ltd.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 10-15-2004, 03:28 AM
robert_2004 robert_2004 is offline
 
Join Date: Sep 2004
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no it doesn't.... i have PMed the creator to see if he can update it for vb 3.0.3
Reply With Quote
  #33  
Old 10-16-2004, 10:56 PM
WarHorse's Avatar
WarHorse WarHorse is offline
 
Join Date: Jun 2004
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #34  
Old 10-28-2004, 06:23 PM
sfowler39's Avatar
sfowler39 sfowler39 is offline
 
Join Date: Jul 2004
Location: Chicago
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #35  
Old 10-28-2004, 07:59 PM
sfowler39's Avatar
sfowler39 sfowler39 is offline
 
Join Date: Jul 2004
Location: Chicago
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #36  
Old 11-01-2004, 02:37 PM
nexialys
Guest
 
Posts: n/a
Default

@ Kentaurus: https://vborg.vbsupport.ru/showthread.php?t=71247
Reply With Quote
  #37  
Old 11-01-2004, 06:58 PM
sfowler39's Avatar
sfowler39 sfowler39 is offline
 
Join Date: Jul 2004
Location: Chicago
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #38  
Old 11-02-2004, 11:23 AM
nexialys
Guest
 
Posts: n/a
Default

<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 ...
Reply With Quote
  #39  
Old 11-14-2004, 02:54 PM
Sweet Evil Sweet Evil is offline
 
Join Date: Nov 2001
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have 3.0.3 , installed this hack and seem to work fine.. but my attachments just up and disappear.. anyone got ideas?
Reply With Quote
  #40  
Old 02-12-2005, 10:35 PM
Bacteria Man Bacteria Man is offline
 
Join Date: Jan 2005
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #41  
Old 02-12-2005, 11:08 PM
nexialys
Guest
 
Posts: n/a
Default

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)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:39 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08106 seconds
  • Memory Usage 2,302KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (8)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete