vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Calendar Enhancements - vB Event Forums (https://vborg.vbsupport.ru/showthread.php?t=123416)

Crazy Serb 10-10-2007 04:53 PM

I just took the code from a previous version of this addon, and incorporated it in this current one... just changed this in the eventdata_presave hook:

Code:

/* ORIGINAL CODE
$lv_vb_eventforums_threadtitle = $this->fetch_field('title');
ORIGINAL CODE */

/* NEW CODE */
$dateformat = "[m.d] l, M. jS";
$lv_vb_eventforums_threadtitle = vbdate($dateformat, $this->fetch_field('dateline_from'),false,true,false,true) . " // " . $this->fetch_field('title');

and then I just installed "Default Sort Field/Order for Forumdisplay" that allows me to set up the default sort in that event forum by Title instead of whatever else is set by default.


now, what I am curious about is, is there any way to add an option to this mod where all the expired events (check the expiry date of the event in calendar) would be moved to a specified forum every time a cron (to be set up by script) is run?

that would save me the hassle of moving all the expired events to another forum and archiving them in there manually...

MikeJeffs 10-11-2007 03:43 PM

Can this function in a "regular" forum, or do events need a forum of their own.

I currently have many events being listed in my main forum, I'd like them to stay listed there, but I'd like them to be attached to the calendar. Will that be possible with this mod?

thanks

taffy056 10-14-2007 06:23 PM

Hey thanks Crazy Serb works fine almost, shame you can't auto move the threads once an event has passed, maybe at some point someone may actually do work on this hack to tie everything to make this work the way it should work? It just appears that 90% of the job has been done, but the remaining 10% is yet to be finished, its shame!

Craig

columbusgeek 10-16-2007 09:50 PM

I am a little confused on the title settings. I know I can remove parts of the title that is automatically generated by editing the thread data section in vB options. But isn;t it supposed to show the month?
On my install it does not show a month for some reason.

It would be nice to be able to make the date a time a simpler format as well. It generates quite a long thread topic as it stands now.

Crazy Serb 10-27-2007 06:22 PM

also, it would be great if someone could make Phoogle maps work with this mod as well... that way all events could have embedded google maps too.

But as far as I can see it, nobody's touched this mod in months...

993ti 11-05-2007 11:37 PM

Has anyone tried to integrate Adsense with this as a second and last post?

Munzo 11-06-2007 12:35 AM

Does this work with Version 3.6.8?

993ti 11-06-2007 05:46 PM

Yep, works with 3.6.8 ;)

SLY LS1 11-15-2007 12:34 PM

Quote:

Originally Posted by SLY LS1 (Post 1339818)
I have a problem with this, it seems to have issues with - Thread prefixse V1.6.1 that I have installed.

If I go to add a calendar event it tells me when I submit that I need to pick a prefix, but the prefixs dont show up in the calendar as I dont think it was designed to do that.

Thanks in advance

Fixed..

dismas 11-18-2007 03:09 PM

Great mod!

It doesn't seem to add threads for holidays, which is good. And I'm guessing it's the same for birthdays, right?


All times are GMT. The time now is 03:49 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
  • Page Generation 0.01926 seconds
  • Memory Usage 1,736KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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