PDA

View Full Version : Calendar Enhancements - vB Event Forums


Pages : [1] 2 3 4

Evercraft
08 Aug 2006, 19:34
Introduction
This is a continuation of my Event Forums plugin/addon from 3.5. You can find the old version here (http://www.vbulletin.org/forum/showthread.php?t=102213). The original plugin was developed by Endquote, and I have since taken it over to bring it to what it is today. I hope you can find it useful! :)
What is this addon?
This is a plugin which allows you to create relationships between calendars and events, giving each event a thread of its own for users to discuss. I have tested this alot, and I am running it myself on a live board.
Sure, so whats it do?
Some examples of the features this plugin offers
When a new event is created in a calendar, an associated thread is created in the linked forum. Links to events in the calendar are forwarded to the associated thread, or optionally a seperate New Event button can be added with a minor template edit. New thread links in the event forum are redirected to a new event form. A summary can be shown at the top of the event forum which shows the up and coming events over the next 'x' days. The date and time shown in the thread and post title, is calculated on the current viewing users timezone. In other words, times always show in the users timezone, not forced to GMT. Full moderation support. Editing a thread or event, will update its associated event/thread.
Screenshots
Some screenshots of this plugin
Admin Options (http://www.vbulletin.org/forum/attachment.php?attachmentid=51830&stc=1&d=1155066101) Event Thread (http://www.vbulletin.org/forum/attachment.php?attachmentid=51831&stc=1&d=1155066101) Event Thread with Reply (http://www.vbulletin.org/forum/attachment.php?attachmentid=51832&stc=1&d=1155066101) Thread List (http://www.vbulletin.org/forum/attachment.php?attachmentid=51833&stc=1&d=1155066115)
How do I install it?
For upgrading, please see the section below.
Summary
1 xml import. 1 (optional) template change. 1 (optional) gif file upload.
Step 1
Install the product
Download the product XML file.

Goto your Admin CP at your forums, then goto Plugin System -> Manage Products. Click [Add/Import Product] at the bottom of the page. Browse to the location where you downloaded the xml file and then click the Import button.
Step 2
Calendar ID:
Goto your Admin CP at your forums, then goto Calendar Manager. Find the calendar you want to link to a forum, then click Edit.
Right at the top of the page you should see:
Calendar: NAME (id: ID)
Make a note of the ID, you will need this soon.
Forum ID:
Goto your Admin CP at your forums, then goto Forum Manager. Find the forum you want to activate as your event forum, then click Edit Forum.
Right at the top of the page you should see:
Forum: NAME (id: ID)
Make a note of the ID, you will need this soon.
Link a Calendar to a Forum:
Goto your Admin CP at your forums, then goto vBulletin Options and find Event Forums.
The first option you should see is Calendar/Forum Map.
Enter in your IDs into the box, as CALENDARID:FORUMID.
Example, my Calendar is 5 and my Forum is 14:
5:14
Click Save.
Step 3
Base permissions check:
You will need to check that users using the Event Forums, have basic permissions to both the Linked Forum AND Calendar.
Basic Permissions include: Can View Forum and Can Post Threads and possibly some others.

Step 4 (Optional template edit)
Add the New Event button:
You only need todo this if you want to show a seperate New Event button next to the New Thread button.

First of all, upload newevent.gif to your images/buttons folder. NOTE you will need to upload this to any custom image folders too for different styles you might have.

Second, open up FORUMDISPLAY template for each of your styles you want to show the button, find and add the highlighted code below:
<td class="smallfont"><if condition="$show['newthreadlink']">
<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a>
<if condition="$show['neweventlink']">&nbsp;<a href="newthread.php?$session[sessionurl]do=newevent&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newevent.gif" alt="$vbphrase[lv_vb_eventforums_phrase_post_new_event]" border="0" /></a></if>
<else />&nbsp;</if></td>

Lastly, go into the Event Forums options, and change the option Show the New Event button on the thread list to yes.


Step 5
Install on VB.org:
Browse back to this thread, and click the INSTALL (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=123416) button so you can recieve updates whenever I update this plugin.
How do I upgrade it from an old version?
Step 1
Import xml
Download the product XML file.

Goto your Admin CP at your forums, then goto Plugin System -> Manage Products. Click [Add/Import Product] at the bottom of the page. Browse to the location where you downloaded the xml file. Make sure the overwrite option is set to ON and then click the Import button.
Can I give you money to make this?
This isn't a commercial plugin, and can be used by anyone for free. However, a few people have said to me that they would like to donate some money for my time working on the plugin and for picking it up and continuing the development of new features etc. If you do want to donate some money my way, then you can do so through paypal by clicking this link (https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=ryuno_yaiba%40hotmail%2ecom&item_name=vB%20Event%20forums&no_shipping=1&cn=Comments&tax=0&currency_code=GBP&bn=PP%2dDonationsBF&charset=UTF%2d8). Thanks!
Bugs / Support
If you find a bug, then please post in this thread and let me know. There are a few bugs that haven't been fixed since the old version, so i'm hoping that we can fix these soon. I will do my best to support the plugin as much as possible, however I also have a busy job which takes up alot of my time.
Known Bugs
Here is a list of known bugs to date
Soft delete actually hard deletes the thread. Search doesn't search the first post of an event thread. Inline ajax edit bugs thread title. Need to remove date and time from it before edit.
Feature request list
Here is a list of the requested features. Please note that because it makes this list, doesn't mean it will be added.
Intergration with the event attendance plugin. Customisation of the order of the custom fields in the thread title. An option to "import" all the previous events from a Calendar into threads. Extra post options support (Attachments, Post Icons, Sticky etc). Custom ordering of the %datetime variable. Custom ordering of %custom variable. Better handling of recurring events.
Credits
Thanks to endquote (http://www.vbulletin.org/forum/member.php?u=5060) for originally creating the plugin.
Thanks to the Ninja :ninja: for helping me infiltrate the vb code and finding those hidden hooks!
Thanks to anybody that helps test this plugin.
Changelog
Version: 3.3
Added Farcasters Event Attendance patch to the mod. I've added a self check so it will only run when the Event attendance mod is installed and active.
Version: 3.2
Fixed a bug which was prevent the thread from being deleted when you try to delete an event.
Version: 3.1
Fixed a bug which would cause an error with undefined function on the forum display page when summary is turned on.
Version: 3.0
Version now compatible with 3.6. Please note this plugin will no longer install on a board older than 3.6. I would recommend you upgrade your board as soon as you can!
Added an optional template edit to show a New Event button next to the New Thread button. Plugin no longer in BETA. I feel this has been running enough stablely to take this out of BETA. There are still some bugs which need fixing, but as a whole it works and is used by quite a few people.
Version: 2.7 and below
See the old thread here (http://www.vbulletin.org/forum/showthread.php?t=102213)

Evercraft
08 Aug 2006, 19:34
Just adding files etc, please give me a few minutes :)

soulface
08 Aug 2006, 19:45
aahh nice, thx for the update for vb3.6

/me installed

dragonhart
08 Aug 2006, 19:47
very very nice, thank you indeed......:D Dragonhart

Evercraft
08 Aug 2006, 19:59
I added an optional template edit to add a New Event button.

See the installation instructions, step 4 for how to add this!

tako
08 Aug 2006, 20:00
if you turn on "show summary", forum page shows error.

Fatal error: Call to undefined function: fetch_phrase() in /opt/docroot/forums/forumdisplay.php(979) : eval()'d code on line 296

Hunne
08 Aug 2006, 20:05
This is the most awesome mod ever dude. It's exactly what I need for my forum. Thanks!

ditangquan
08 Aug 2006, 20:07
love this thing, thank you.

is there a simple way to include the "Upcoming Events for the Next X Day(s)" chunk into different places on your board?

I would like to put that piece on the front page of my board. I'm doing it manually right now but would like to be able to use that piece that is integrated into the linked forum. thanks!

tako
08 Aug 2006, 20:08
"New thread links in the event forum are redirected to a new event form"
is not also working and new thread link let me start a new thread in forum. Starting event from calendar works ok.

P.S. OOOOOOOOOPS, this was my mistake!!!! Please ignore this ;)

Evercraft
08 Aug 2006, 20:17
if you turn on "show summary", forum page shows error.

Fatal error: Call to undefined function: fetch_phrase() in /opt/docroot/forums/forumdisplay.php(979) : eval()'d code on line 296

Can't reproduce this myself, but I think I can see why its happening. Version 3.1 should have this fixed (its uploaded and ready for download now).

snyx
08 Aug 2006, 20:19
hot update, thanks for the time!

Deimos
08 Aug 2006, 20:20
Same problem as other posters

Going to the forum setup for events, doesn't show the "New event" button
Clicking new thread, creates a new thread, not a calendar entry.,
Having "summary" turned on, gives me the same error.

Evercraft
08 Aug 2006, 20:20
"New thread links in the event forum are redirected to a new event form"
is not also working and new thread link let me start a new thread in forum. Starting event from calendar works ok.

Is the option for Show the New Event button on the thread list. set to NO?

I can't reproduce this problem myself on my live site or my test board.

Also make sure your calendar:forum ids are set correctly.

Evercraft
08 Aug 2006, 20:22
Same problem as other posters

Going to the forum setup for events, doesn't show the "New event" button
Clicking new thread, creates a new thread, not a calendar entry.,
Having "summary" turned on, gives me the same error.

To add the new event button you have to make a small template change, did you do this? (see step 4 of installation instructions to find out how)

Deimos
08 Aug 2006, 20:24
Works AOK with the latest update.

Deimos
08 Aug 2006, 20:25
To add the new event button you have to make a small template change, did you do this? (see step 4 of installation instructions to find out how)

Yep I did
Since the latest update, I resaved the options in the Event Forums page and it now shows up ok.

Many thanks for a great hack.

tako
08 Aug 2006, 20:42
WOw...... you are da man!! It is all fixed. Thanks ;)

Can't reproduce this myself, but I think I can see why its happening. Version 3.1 should have this fixed (its uploaded and ready for download now).

Tyegurl
08 Aug 2006, 21:03
has anyone tried this yet with the eventattendance mod?

DoctorDoom
08 Aug 2006, 21:07
love this thing, thank you.

is there a simple way to include the "Upcoming Events for the Next X Day(s)" chunk into different places on your board?

I would like to put that piece on the front page of my board. I'm doing it manually right now but would like to be able to use that piece that is integrated into the linked forum. thanks!

Very awesome, thanks for updating this mod!

Ditangquan, how are you manually placing that in other places? Being able to display the upcoming events in a weekly or even monthly calendar format somewhere on the main page would be awesome.

When my board was running phpbb there was a great mod called CalPro
CalPro: http://www.snailsource.com/calpro/index.html
demo: http://www.snailsource.com/forum/cal_view_month.php

Basically did the same thing event forum does, but it also added a calendar header to the board that you could customize. Really great mod for anyone running phpbb.

Thanks again for keeping this up to date!

Evercraft
08 Aug 2006, 21:44
love this thing, thank you.

is there a simple way to include the "Upcoming Events for the Next X Day(s)" chunk into different places on your board?

I would like to put that piece on the front page of my board. I'm doing it manually right now but would like to be able to use that piece that is integrated into the linked forum. thanks!

I don't think there is a simple way, that I can think of anyway.

FleaBag
08 Aug 2006, 21:46
One of the most important hacks on my board... Thanks for the update!

Evercraft
08 Aug 2006, 21:46
has anyone tried this yet with the eventattendance mod?

It has been tried before and it doesn't work.

It is one of the things I want to intergrate, but just not finding the time at the moment.

ditangquan
09 Aug 2006, 02:03
I don't think there is a simple way, that I can think of anyway.

if you enable "Display Calendar Events?" under Forums Home Page Options it'll show it at the bottom of the Home Page....i'm working on moving that up, probably a customize template thing.

edit: i was able to move it to another location:

what i did was remove the following code from FORUMHOME and put it in another location...it seems to work fine with the enabled item above ^^^ You can see it on my site at PaintballArizona.com (http://www.pbaz.com/forums/index.php) if you'd like, its above the shoutbox.

(i modified the <tbody> to have a <table></table>

<if condition="$show['upcomingevents']">
<table>
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
<if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
<tr>
<td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
</tr>
</tbody>
</table>
</if>

CypherSTL
09 Aug 2006, 05:59
I am running 3.6.0 Gold, I have downloaded and installed this hack.

It does work as stated...except for one aspect I am having issues with.

I click on "New Thread", it takes me to create a clendar event, I enter in the info, click "save" and it does what it should with no problems. I go into the new thread that it created and click "Post Reply" I enter in a post and click "submit" when I do that I get the error below

Database error in vBulletin 3.6.0:
Invalid SQL:
SELECT post.*
FROM post AS post
LEFT JOIN deletionlog AS deletionlog ON(deletionlog.primaryid = post.postid AND type = 'post')
WHERE threadid = 8
AND dateline > 1155014895
AND visible = 1 AND deletionlog.primaryid IS NULL
AND postid <> 10
ORDER BY dateline DESC
LIMIT 1;
MySQL Error : Column: 'dateline' in where clause is ambiguous
Error Number : 1052
Date : Wednesday, August 9th 2006 @ 12:28:15 AM
Script : http://www.battle-lands.com/lltestsite/newreply.php?do=postreply&t=8
Referrer : http://www.battle-lands.com/lltestsite/newreply.php?do=newreply&noquote=1&p=9
IP Address : xxx.xxx.xxx.xxx
Username : name
Classname : vb_database

While I am on this error page I click "refresh" for IE, then it says "This post is a duplicate of a post that you have posted in the last five minutes. You will be redirected to thread." then I get redirected to the thread and my reply post to the thread is there (1st post), I can make other post with no errors whatso ever...as long as I ONLY click "post reply" button...if I use the quick reply box and click "submit" it says "Quick Reply" The following errors occurred when this message was submitted Okay""

when I click the "Okay" all it does is go back to the normal quick reply box.

Any ideas????

soletrader
09 Aug 2006, 06:07
nice hack

erinys
09 Aug 2006, 06:48
Hi there! thanks for the update! everything works fine as far as i can see ;)

1 thing though;
after installation it says 3.0 instead of 3.1 ;)

thanks

rabidkevin
09 Aug 2006, 18:04
I have a request
Basically I have 2 forums I want to integrate in to 2 seperate calendars
One is an event calendar, the 2nd is a online radio show calendar
I dont want ANY custom field info put in the topic title on the 2nd calendar, but want it to remain for the 1st one that is integrated.

Any possible way?

Evercraft
10 Aug 2006, 19:47
I have a request
Basically I have 2 forums I want to integrate in to 2 seperate calendars
One is an event calendar, the 2nd is a online radio show calendar
I dont want ANY custom field info put in the topic title on the 2nd calendar, but want it to remain for the 1st one that is integrated.

Any possible way?

This isn't currently possible.

What needs to be done for this (by the plugin) is allow you to set options per forum. I have looked at this, and it is possible, however I have been testing adding bitfields (you upload an xml file) and encountered many problems when upgrading to 3.6 with the bitfields active, so I need todo a bit more research into it first.

In short its needed, but it isn't going to happen soon sorry.

Evercraft
10 Aug 2006, 19:48
Hi there! thanks for the update! everything works fine as far as i can see ;)

1 thing though;
after installation it says 3.0 instead of 3.1 ;)

thanks

Thanks i'll sort that out on the next bug fix ;)

Evercraft
10 Aug 2006, 19:52
I am running 3.6.0 Gold, I have downloaded and installed this hack.

It does work as stated...except for one aspect I am having issues with.

I click on "New Thread", it takes me to create a clendar event, I enter in the info, click "save" and it does what it should with no problems. I go into the new thread that it created and click "Post Reply" I enter in a post and click "submit" when I do that I get the error below

Database error in vBulletin 3.6.0:
Invalid SQL:
SELECT post.*
FROM post AS post
LEFT JOIN deletionlog AS deletionlog ON(deletionlog.primaryid = post.postid AND type = 'post')
WHERE threadid = 8
AND dateline > 1155014895
AND visible = 1 AND deletionlog.primaryid IS NULL
AND postid <> 10
ORDER BY dateline DESC
LIMIT 1;
MySQL Error : Column: 'dateline' in where clause is ambiguous
Error Number : 1052
Date : Wednesday, August 9th 2006 @ 12:28:15 AM
Script : http://www.battle-lands.com/lltestsite/newreply.php?do=postreply&t=8
Referrer : http://www.battle-lands.com/lltestsite/newreply.php?do=newreply&noquote=1&p=9
IP Address : xxx.xxx.xxx.xxx
Username : name
Classname : vb_database

While I am on this error page I click "refresh" for IE, then it says "This post is a duplicate of a post that you have posted in the last five minutes. You will be redirected to thread." then I get redirected to the thread and my reply post to the thread is there (1st post), I can make other post with no errors whatso ever...as long as I ONLY click "post reply" button...if I use the quick reply box and click "submit" it says "Quick Reply" The following errors occurred when this message was submitted Okay""

when I click the "Okay" all it does is go back to the normal quick reply box.

Any ideas????


This is a strange one.

Do you have any other plugins installed?
Does it do every time you make a new event and try to reply?
Does it do it for every reply or just the first?

I will try and have a look at what post reply is doing to see if I can work out what might have gone wrong.

Ipuck
10 Aug 2006, 21:10
Nice mode :D

I added a custom field for my calendar. A zip code field.

How can search events by zip code?

Thanks

adwade
11 Aug 2006, 03:25
Sorry-so-stupid, but I have a question about the FORUMDISPLAY edit. Your instructions say...

<td class="smallfont"><if condition="$show['newthreadlink']">
<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a>

Now understand I've never done a TEMPLATE Edit yet, so bare with me. In looking for that string, I found it alright and put the new code right after it. However, I went on looking thru the code to MAKE SURE I'd found the right spot and low & behold I found the same code again, on down in the text.

So, my question is: Are you suppose to find ALL occurrences of the above code and insert the new code right after it? If so, I think I can do that. If not, how do you know which occurrence to put it after?

Many thanxx for any assistance.

butty
11 Aug 2006, 04:10
cheers for the update. could you tell me please if you are working on the intergration with the event attendance plugin or if it is something you planning on working on any time soon? many thanks

CypherSTL
11 Aug 2006, 16:05
This is a strange one.

Do you have any other plugins installed?
Does it do every time you make a new event and try to reply?
Does it do it for every reply or just the first?

I will try and have a look at what post reply is doing to see if I can work out what might have gone wrong.
One of my other coders figured out the problem. It was the problem with the "Prevent Double Post" hack.

No issues with the Event Forums anymore.

cavyspirit
16 Aug 2006, 04:22
This is great. Installed.

I do have one request. Perhaps you can tell me how...

I would really prefer NOT to show the New Event button to users who are not authorized to the calendar in that forum. Plus if it's there and you can't do it because you aren't authorized, I believe google has an issue with it.

cavyspirit
16 Aug 2006, 05:30
I had the WIC and Recent events working at the top of my forum, but the events list didn't have the times, which I need.

So in Display Chatters template, I have this, which just shows chatters on the forum Home page, along with recent events:

<!-- who is in flashchat -->
<if condition="$show['upcomingevents']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_chatusers')"><img id="collapseimg_forumhome_chatusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_chatusers].gif" alt="" border="0" /></a>
$chattersdesc $totalchatters
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_chatusers" style="$vbcollapse[collapseobj_forumhome_chatusers]">
<tr>
<td class="alt2"><a href="misc.php?do=flashchat"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$chatters</div></td>
</tr>

<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
<if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
</td>
</tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
<tr>
<td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
</tr>
</tbody>
</table>
<br />
</if>
<!-- end who is in flashchat -->

HOWEVER, I want the times to display, like in your version when you are in the proper forum.

When I'm IN THE FORUM, the times display at the top, and then also that block repeats in the forum. I can resolve that, but I need the times on the forum home page.

You can see what I'm talking about here: http://www.guineapigcages.com/forum/index.php and then go to this forum: http://www.guineapigcages.com/forum/cavy-chats/

Please help me out?
Thanks,
Teresa

Delazar
16 Aug 2006, 19:06
If I klick on report bad post, I´m receiving the following message:

ERROR: Existing data passed is not an array
Called set_existing in /var/www/rpg-foren.com/htdocs/includes/class_dm_threadpost.php(910) : eval()'d code on line 3
Called eval in /var/www/rpg-foren.com/htdocs/includes/class_dm_threadpost.php on line 910
Called post_save_each in /var/www/rpg-foren.com/htdocs/includes/class_dm.php on line 823
Called save in /var/www/rpg-foren.com/htdocs/report.php on line 217
in /includes/class_dm.php (Zeile 235)

In the hook "postdata_postsave" must be the mistake.
Could you check this?

Thanks
Delazar

WATRD
16 Aug 2006, 23:16
This is a GREAT mod! If it just integrated with the event attendance plugin, it would be the PERFECT mod ;) Automatic calendar entries that users can RSVP for with a corresponding thread for discussion... I am getting all weepy... ;)

Evercraft
17 Aug 2006, 12:28
Nice mode :D

I added a custom field for my calendar. A zip code field.

How can search events by zip code?

Thanks

This isn't possible as there is currently no way to search events.

Evercraft
17 Aug 2006, 12:29
Sorry-so-stupid, but I have a question about the FORUMDISPLAY edit. Your instructions say...


Now understand I've never done a TEMPLATE Edit yet, so bare with me. In looking for that string, I found it alright and put the new code right after it. However, I went on looking thru the code to MAKE SURE I'd found the right spot and low & behold I found the same code again, on down in the text.

So, my question is: Are you suppose to find ALL occurrences of the above code and insert the new code right after it? If so, I think I can do that. If not, how do you know which occurrence to put it after?

Many thanxx for any assistance.

Add it to them all, though I think the first instance is all thats needed.

I will update the install instructions shortly.

Evercraft
17 Aug 2006, 12:41
This is great. Installed.

I do have one request. Perhaps you can tell me how...

I would really prefer NOT to show the New Event button to users who are not authorized to the calendar in that forum. Plus if it's there and you can't do it because you aren't authorized, I believe google has an issue with it.

I don't know why Google would have a problem with it, but anyhow it shouldn't be too hard to add this is in so I will try and put it in soon.

The button would atually the moment be hidden if the user isn't allowed to create a new thread, which I might need to change too.

Evercraft
17 Aug 2006, 12:43
I had the WIC and Recent events working at the top of my forum, but the events list didn't have the times, which I need.

So in Display Chatters template, I have this, which just shows chatters on the forum Home page, along with recent events:

{code snippet}

HOWEVER, I want the times to display, like in your version when you are in the proper forum.

When I'm IN THE FORUM, the times display at the top, and then also that block repeats in the forum. I can resolve that, but I need the times on the forum home page.

You can see what I'm talking about here: http://www.guineapigcages.com/forum/index.php and then go to this forum: http://www.guineapigcages.com/forum/cavy-chats/

Please help me out?
Thanks,
Teresa

Not sure if i'm just being blind, but I don't see any events block on your forum home page.

Evercraft
17 Aug 2006, 12:44
If I klick on report bad post, I´m receiving the following message:

ERROR: Existing data passed is not an array
Called set_existing in /var/www/rpg-foren.com/htdocs/includes/class_dm_threadpost.php(910) : eval()'d code on line 3
Called eval in /var/www/rpg-foren.com/htdocs/includes/class_dm_threadpost.php on line 910
Called post_save_each in /var/www/rpg-foren.com/htdocs/includes/class_dm.php on line 823
Called save in /var/www/rpg-foren.com/htdocs/report.php on line 217
in /includes/class_dm.php (Zeile 235)

In the hook "postdata_postsave" must be the mistake.
Could you check this?

Thanks
Delazar

I'll have a look at this soon as I can.

Evercraft
17 Aug 2006, 12:46
And as for Event attendance. It IS something I want, and would find useful for my own site. However I am not currently working on it, because I just simply don't have the time to put into it at the moment :(

cavyspirit
17 Aug 2006, 17:45
Not sure if i'm just being blind, but I don't see any events block on your forum home page.

Sorry. Log in as Teresa, demo

Ascor
22 Aug 2006, 02:07
installed, thank you :)
(i report that i have the same problem as Delazar with the report bad post action)

pmkb
23 Aug 2006, 12:07
Would this plug-in solve these requests:

subscribe to calendar (http://www.vbulletin.org/forum/showthread.php?t=82195)

calendar events notification / email (http://www.vbulletin.org/forum/showthread.php?t=93677)

by allowing users to subscribe to the synched event forum?

marlita
23 Aug 2006, 14:18
As of now I have to manually link my polls to my event-forum. It's not a huge deal, but it would be nice if something did this through the admin or forum instaed. Does anyone know about a program that does this or does anyone know how to make one?

If someone doesn't know what I'm talking about and would like to see what i mean, feel free to check out my polled event-forum (http://virginiareia.com/forum/showthread.php?t=4). Just type username:test & password: test. Just don't vote, please.

Thanks.

mustangdotcom
23 Aug 2006, 18:33
I installed this and it works great. I have our events split up by regions and so I set up a calendar per region and a forum per region and mapped the calendars to the forums.

Is there a way to make the default calendar show all events from all calendars?

butty
24 Aug 2006, 05:46
And as for Event attendance. It IS something I want, and would find useful for my own site. However I am not currently working on it, because I just simply don't have the time to put into it at the moment :(
what about if all the people who wanted it chipped in and paid you for your time mate could ya make time to sort it then u rek?

id be willing to donate a bit for your time. integration with event attendance would be magnificent for my site

MagikMuzik
24 Aug 2006, 17:19
absolutely same here, would chip in as well, event attendance is a must for my community :)

WolfsongNevan
25 Aug 2006, 00:48
I have a few quick questions ....

We'd like to use this hack on our parenting board for kids' birthdays. Is it possible to have the new threads post in an already established forum (which is a general forum and contains many other threads)? And is it possible to have the new threads post around midnight on the day of the event, and not several days in advance? And, most importantly, we already have *many* events (birthdays) already added to our calendar ... is there a way to edit these to include this hack, or would we have to re-add all the events?

Thanks in advance. :)

ragtek
26 Aug 2006, 11:43
I have a problem
I want to reply automatic when a event is postet
i have this code:
if ($foruminfo['forumid'] == 34)
{
$postdm =& datamanager_init('Post', $vbulletin, ERRTYPE_ARRAY, 'threadpost');

$postdm->set_info('forum', $foruminfo);
$postdm->set_info('thread', $threadinfo);

$postdm->set('threadid', $threadinfo['threadid']);
$postdm->set('userid', 150);
$postdm->set('pagetext', 'Folge dem weißen Wolf!
');
$postdm->set('allowsmilie', 1);
$postdm->set('visible', 1);
$postdm->set('dateline', TIMENOW);
$postdm->save();
}
hook: newthread_post_complete
it works great in all forums but not in the event forum!
what must i change?

COBRAws
26 Aug 2006, 18:04
what about if all the people who wanted it chipped in and paid you for your time mate could ya make time to sort it then u rek?

id be willing to donate a bit for your time. integration with event attendance would be magnificent for my site
I would donate too. I've been following this hack since... well, I cant remember, its perfect for my clubbing website with club info, etc. But cant use it because it lacks some options listed in the TODO list.

Its a pitty. Ill help with 50USD if necessary.

popowich
26 Aug 2006, 22:56
I have a small problem with this plugin. It works OK generally speaking and I have no web site errors, but it displays the events on the wrong day on my calendar. For example, I have an event from 7:00pm - 11:30pm tonight, but it displays on the calendar both today and tomorrow Sunday. My forums/users are EST if that matters. Any thoughts on this issue? You can view example events with this issue at WNYPoker.com under the Upcoming Events forum. You're looking for Ray's House.

-Raymond

popowich
26 Aug 2006, 22:57
absolutely same here, would chip in as well, event attendance is a must for my community :)

I add a poll to my threads when I want an RSVP.

Will you be there? Yes/No.

-Raymond

butty
27 Aug 2006, 00:27
I would donate too. I've been following this hack since... well, I cant remember, its perfect for my clubbing website with club info, etc. But cant use it because it lacks some options listed in the TODO list.

Its a pitty. Ill help with 50USD if necessary.

il stick 50 USD in too. come on people if you want it put yer money where ya mouth is and lets give evercraft an incentive he cant refuse ;)

please dont say youl chip in if you wont come up with the goods, this hack wont get made unless an extra mile is gone.

adwade
27 Aug 2006, 05:30
Add it to them all, though I think the first instance is all thats needed.

I will update the install instructions shortly.

Alright after I'd done a few more edits with some other mods, I became brave enough to try this.

I found the code you refer to, twice in my FORUMDISPLAY header. (Btw, I'm using vbstyles ARIA skins.)

So I added it at both locations as you suggested, and saved the template.

Next, in admincp I set 'Show the New Event button on the thread list' to YES and saved the update.

Then I go into my event forum, but all I still see is the New Thread button.:surprised:

Finally, I went back and removed the code in the 2nd spot, but still no go.:confused:

Any ideas? Here's what my code is a present in the FORUMDISPLAY...

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$foruminfo[title_clean]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>
<if condition="$show['inlinemod']"><script type="text/javascript" src="clientscript/vbulletin_inlinemod.js?v=$vboptions[simpleversion]"></script></if>
</head>
<body>
$header
$navbar

<if condition="$show['forumslist']">
<!-- sub-forum list -->

<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="21" height="31" align="center" valign="top" style="background-image: url($stylevar[imgdir_misc]/top_bg.gif)"><img border="0" src="$stylevar[imgdir_misc]/top_left.gif" width="21" height="31" alt="" /></td>
<td height="31" width="60%" align="left" valign="middle" style="background-image: url($stylevar[imgdir_misc]/top_bg.gif)"><div class="category_title">$vbphrase[subforums]: $foruminfo[title]</a></div></td>
<td width="19" align="left" valign="middle"><img src="$stylevar[imgdir_misc]/top_end.gif" alt="" width="19" height="31" border="0" /></td>


<if condition="$show['forumsearch']">
<td align="right" valign="middle" style="background-image: url($stylevar[imgdir_misc]/top_center.gif)" nowrap="nowrap">
<span class="category_title" id="forumsearch.subforums"><a href="search.php?$session[sessionurl]f=$foruminfo[forumid]" rel="nofollow">$vbphrase[search_this_forum]</a> <script type="text/javascript"> vbmenu_register("forumsearch.subforums"); </script></span></td>
</if>
<td width="14" height="31" align="right" valign="top"><img src="$stylevar[imgdir_misc]/top_right.gif" alt="" width="14" height="31" border="0" /></td>
</tr>
</table>




<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr align="center">
<td class="thead">&nbsp;</td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead">&nbsp;&nbsp;&nbsp;$vbphrase[threads]&nbsp;&nbsp;&nbsp;</td>
<td class="thead">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$vbphrase[posts]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
</tr>
</thead>
$forumbits
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="12" align="left" valign="top"><img src="$stylevar[imgdir_misc]/blc.gif" width="12" height="13" alt="" border="0" /></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/bottom.gif)"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="13" alt="" border="0" /></td>
<td width="12" align="right" valign="top"><img src="$stylevar[imgdir_misc]/brc.gif" width="12" height="13" alt="" border="0" /></td>
</tr>
</table>
<br />
<!-- / sub-forum list -->
</if>

<if condition="$show['threadslist']">
<!-- threads list -->

<form action="inlinemod.php?forumid=$forumid" method="post" id="inlinemodform">
<input type="hidden" name="url" value="$url" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="forumid" value="$forumid" />

<!-- controls above thread list -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
<td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a>
<if condition="$show['neweventlink']">&nbsp;<a href="newthread.php?$session[sessionurl]do=newevent&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newevent.gif" alt="$vbphrase[lv_vb_eventforums_phrase_post_new_event]" border="0" /></a></if>
<else />&nbsp;</if></td>
<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
<!-- / controls above thread list -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="21" height="31" align="left" valign="top" style="background-image: url($stylevar[imgdir_misc]/top_bg.gif)"><img border="0" src="$stylevar[imgdir_misc]/top_left.gif" width="21" height="31" alt="" /></td>
<td height="31" width="60%" align="left" valign="middle" style="background-image: url($stylevar[imgdir_misc]/top_bg.gif)"><div class="category_title">$vbphrase[threads_in_forum]: $foruminfo[title]</a></div></td>
<td width="19" align="left" valign="middle"><img src="$stylevar[imgdir_misc]/top_end.gif" alt="" width="19" height="31" border="0" /></td>


<td align="right" valign="middle" style="background-image: url($stylevar[imgdir_misc]/top_center.gif)" nowrap="nowrap">
<span class="category_title" id="forumtools"><a href="$show[nojs_link]#goto_forumtools" rel="nofollow">$vbphrase[forum_tools]</a> <script type="text/javascript"> vbmenu_register("forumtools"); </script></span><if condition="$show['forumsearch']">
<span class="category_title" id="forumsearch">&nbsp;&nbsp;<a href="$show[nojs_link]#goto_forumsearch" rel="nofollow">$vbphrase[search_this_forum]</a> <script type="text/javascript"> vbmenu_register("forumsearch"); </script></span>
</if> </td>


<td width="14" height="31" align="right" valign="top"><img src="$stylevar[imgdir_misc]/top_right.gif" alt="" width="14" height="31" border="0" /></td>
</tr>
</table>




<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="threadslist">
<tbody>
$announcebits
<if condition="$show['search_engine']">
<if condition="$show['threadicons']">
<td class="thead" colspan="2">&nbsp;</td>
<else />
<td class="thead">&nbsp;</td>
</if>
<td class="thead" width="100%">
<if condition="$show['threadratings']"><span style="float:$stylevar[right]">$vbphrase[rating]</span></if>
$vbphrase[thread] / $vbphrase[thread_starter]
</td>
<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[last_post]</span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[replies]</span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[views]</span></td>
<else />
<tr>
<if condition="$show['threadicons']">
<td class="thead" colspan="2">&nbsp;</td>
<else />
<td class="thead">&nbsp;</td>
</if>
<td class="thead" width="100%">
<if condition="$show['threadratings']"><span style="float:$stylevar[right]"><a href="$sorturl&amp;order=desc&amp;sort=voteavg" rel="nofollow">$vbphrase[rating]</a> $sortarrow[voteavg]</span></if>
<a href="$sorturl&amp;order=asc&amp;sort=title" rel="nofollow">$vbphrase[thread]</a> $sortarrow[title] /
<a href="$sorturl&amp;order=asc&amp;sort=postusername" rel="nofollow">$vbphrase[thread_starter]</a> $sortarrow[postusername]
</td>
<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=lastpost" rel="nofollow">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=replycount" rel="nofollow">&nbsp;&nbsp;&nbsp;$vbphrase[replies]&nbsp;&nbsp;&nbsp;</a> $sortarrow[replycount]</span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=views" rel="nofollow">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$vbphrase[views]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a> $sortarrow[views]</span></td>

<if condition="$show['inlinemod']">
<if condition="$show['popups']">
<td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"> <script type="text/javascript"> vbmenu_register('imod'); </script> </td>
<else />
<td class="thead" align="center">
<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
</td>
</if>
</if>
</tr>
</tbody>
</if>
<if condition="$show['threads']">
<!-- show threads -->
<tbody id="threadbits_forum_$foruminfo[forumid]">
<if condition="$show['stickies']">
$threadbits_sticky
</if>
$threadbits
</tbody>
<!-- end show threads -->
<else />
<!-- show no threads message -->
<tbody>
<tr>
<td class="alt1" colspan="$foruminfo[bottomcolspan]" align="center">
<div style="padding: 16px">
<if condition="$show['noposts']"><strong>$vbphrase[no_posts_in_this_forum]</strong><else /><strong><phrase 1="$daysprune">$vbphrase[no_posts_last_x_days_forum]</phrase></strong><br />
<span class="smallfont">$vbphrase[try_controls_below_for_older_posts]</span></if>
</div>
</td>
</tr>
</tbody>
<!-- end show no threads message -->
</if>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="12" align="left" valign="top"><img src="$stylevar[imgdir_misc]/blc.gif" width="12" height="13" alt="" border="0" /></td>
<td width="100%" style="background-image:url($stylevar[imgdir_misc]/bottom.gif)"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="13" alt="" border="0" /></td>
<td width="12" align="right" valign="top"><img src="$stylevar[imgdir_misc]/brc.gif" width="12" height="13" alt="" border="0" /></td>
</tr>
</table>
<!-- controls below thread list -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="top">
<td class="smallfont"><if condition="$show['newthreadlink']"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a><else />&nbsp;</if></td>
<if condition="$show['pagenav'] OR $show['inlinemod']">
<td align="$stylevar[right]">$pagenav
<if condition="$show['inlinemod']">
<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap; float:$stylevar[right]">
<if condition="$show['pagenav']"><br /></if><strong>$vbphrase[moderation]</strong><br />
<select name="do">
<optgroup label="$vbphrase[option]">
<if condition="$show['deletethread']">
<option value="deletethread">$vbphrase[delete_threads]</option>
<option value="undeletethread">$vbphrase[undelete_threads]</option>
</if>
<if condition="$show['openthread']">
<option value="open">$vbphrase[open_threads]</option>
<option value="close">$vbphrase[close_threads]</option>
</if>
<if condition="$show['approvethread']">
<option value="approvethread">$vbphrase[approve_threads]</option>
<option value="unapprovethread">$vbphrase[unapprove_threads]</option>
</if>
<if condition="$show['movethread']">
<option value="stick">$vbphrase[stick_threads]</option>
<option value="unstick">$vbphrase[unstick_threads]</option>
<option value="movethread">$vbphrase[move_threads]</option>
<option value="mergethread">$vbphrase[merge_threads]</option>
</if>
</optgroup>
<optgroup label="____________________">
<option value="viewthread">$vbphrase[view_selected_threads]</option>
<option value="clearthread">$vbphrase[clear_thread_list]</option>
</optgroup>
</select><input type="submit" class="button" id="inlinego" value="$vbphrase[go]" />
</div>
<script type="text/javascript">
<!--
inlineMod = new vB_Inline_Mod('inlineMod', 'thread', 'inlinemodform', '$vbphrase[go_x]');
//-->
</script>
</if>
</td>
</if>
</tr>
</table>
<!-- / controls below thread list -->

</form>
<br />




<!-- Active Users in this Forum (and sub-forums) and Moderators -->

<form action="forumdisplay.php" method="get">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="f" value="$forumid" />
<input type="hidden" name="page" value="$pagenumber" />
<input type="hidden" name="pp" value="$perpage" />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">$vbphrase[display_options]</td>
<if condition="$show['activeusers']">
<td class="tcat">$vbphrase[currently_active_users]</td>
</if>
<if condition="$show['moderators']">
<td class="tcat">$vbphrase[moderators]</td>
</if>
</tr>
<tr>
<td class="thead"><phrase 1="$limitlower" 2="$limitupper" 3="$totalthreads">$vbphrase[showing_threads_x_to_y_of_z]</phrase></td>
<if condition="$show['activeusers']">
<td class="thead">$totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_y_guests]</phrase>)</td>
</if>
<if condition="$show['moderators']">
<td class="thead">$vbphrase[moderators] : $totalmods</td>
</if>
</tr>
<tr valign="top">
<td class="alt1">

<table cellpadding="0" cellspacing="1" border="0">
<tr>
<td class="smallfont" style="padding-right:6px">$vbphrase[sorted_by]</td>
<td><select name="sort">
<option value="title" $sort[title]>$vbphrase[thread_title]</option>
<option value="lastpost" $sort[lastpost]>$vbphrase[last_post_time]</option>
<option value="dateline" $sort[dateline]>$vbphrase[thread_start_time]</option>
<option value="replycount" $sort[replycount]>$vbphrase[number_of_replies]</option>
<option value="views" $sort[views]>$vbphrase[number_of_views]</option>
<option value="postusername" $sort[postusername]>$vbphrase[thread_starter]</option>
<if condition="$show['threadratings']"><option value="voteavg" $sort[voteavg]>$vbphrase[thread_rating]</option></if>
</select></td>
<td class="smallfont" style="padding-right:6px; padding-left:12px">$vbphrase[sort_order]</td>
<td><select name="order">
<option value="asc" $order[asc]>$vbphrase[ascending]</option>
<option value="desc" $order[desc]>$vbphrase[descending]</option>
</select></td>
</tr>
<tr>
<td class="smallfont" style="padding-right:6px">$vbphrase[from_the]</td>
<td><select name="daysprune">
<option value="1" $daysprunesel[1]>$vbphrase[last_day]</option>
<option value="2" $daysprunesel[2]>$vbphrase[last_2_days]</option>
<option value="7" $daysprunesel[7]>$vbphrase[last_week]</option>
<option value="10" $daysprunesel[10]>$vbphrase[last_10_days]</option>
<option value="14" $daysprunesel[14]>$vbphrase[last_2_weeks]</option>
<option value="30" $daysprunesel[30]>$vbphrase[last_month]</option>
<option value="45" $daysprunesel[45]>$vbphrase[last_45_days]</option>
<option value="60" $daysprunesel[60]>$vbphrase[last_2_months]</option>
<option value="75" $daysprunesel[75]>$vbphrase[last_75_days]</option>
<option value="100" $daysprunesel[100]>$vbphrase[last_100_days]</option>
<option value="365" $daysprunesel[365]>$vbphrase[last_year]</option>
<option value="-1" $daysprunesel[all]>$vbphrase[beginning]</option>
</select></td>
<td colspan="2" align="$stylevar[right]"><input type="submit" class="button" value="$vbphrase[show_threads]" /></td>
</tr>
</table>

</td>
<if condition="$show['activeusers']">
<td class="alt1"><div class="smallfont">$activeusers</div></td>
</if>
<if condition="$show['moderators']">
<td class="alt1"><div class="smallfont">$moderatorslist&nbsp;</div></td>
</if>
</tr>
</table>

</form>
<!-- End Active Users in this Forum (and sub-forums) and Moderators -->

<if condition="$show['popups']">
<br />
<!-- popup menu contents -->


<!-- forum tools menu -->
<div class="vbmenu_popup" id="forumtools_menu" style="display:none">
<form action="moderator.php?f=$forumid" method="post" name="forumadminform">
<table cellpadding="4" cellspacing="1" border="0">
<tr><td class="thead">$vbphrase[forum_tools]<a name="goto_forumtools"></a></td></tr>
<if condition="$show['newthreadlink']"><tr><td class="vbmenu_option"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[post_a_new_thread]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread&amp;f=$foruminfo[forumid]" rel="nofollow" onclick="return mark_forum_read($foruminfo[forumid]);">$vbphrase[mark_this_forum_read]</a></td></tr>
<tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]do=addsubscription&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[subscribe_to_this_forum]</a></td></tr>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[parentid]" rel="nofollow">$vbphrase[view_parent_forum]</a></td></tr>
<if condition="$show['adminoptions']">
<tr>
<td class="thead">$vbphrase[admin_tools]<a name="goto_forumadmin"></a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<div><label for="fa_mpo"><input type="radio" name="do" id="fa_mpo" value="modposts" checked="checked" />$vbphrase[view_posts_queue]</label></div>
<div><label for="fa_mat"><input type="radio" name="do" id="fa_mat" value="modattach" />$vbphrase[view_attachment_queue]</label></div>
<div><label for="fa_mov"><input type="radio" name="do" id="fa_mov" value="move" />$vbphrase[massmove_threads]</label></div>
<div><label for="fa_prn"><input type="radio" name="do" id="fa_prn" value="prune" />$vbphrase[massprune_threads]</label></div>
<if condition="$show['addmoderator']">
<div><label for="fa_amd"><input type="radio" name="do" id="fa_amd" value="addmoderator" />$vbphrase[add_moderator]</label></div>
</if>
<if condition="$show['post_new_announcement']">
<div><label for="fa_pan"><input type="radio" name="do" id="fa_pan" value="postannouncement" />$vbphrase[post_new_announcement]</label></div>
</if>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite" align="center">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="f" value="$forumid" />
<input type="submit" class="button" value="$vbphrase[perform_action]" />
</td>
</tr>
</if>
</table>
</form>
</div>
<!-- / forum tools menu -->

<!-- inline mod menu -->
<if condition="$show['inlinemod']">
<div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]">
$threadadmin_imod_menu_thread
</div>
</if>
<!-- / inline mod menu -->

<!-- / popup menu contents -->
<else />
<!-- controls for non-popup browsers -->


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-top-width:0px">
<tr>
<td class="thead">$vbphrase[forum_tools]<a name="goto_forumtools"></a></td>
<td class="thead">$vbphrase[search_this_forum]<a name="goto_forumsearch"></a></td>
</tr>
<tr valign="top">
<!-- forum tools -->
<td class="alt1">
<div class="smallfont">
<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[mark_this_forum_read]" vspace="1" /> <a href="forumdisplay.php?$session[sessionurl]do=markread&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[mark_this_forum_read]</a></div>
<if condition="$show['member']"><div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" vspace="1" /> <a href="subscription.php?$session[sessionurl]do=addsubscription&amp;f=$foruminfo[forumid]" rel="nofollow">$vbphrase[subscribe_to_this_forum]</a></div></if>
<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[view_parent_forum]" vspace="1" /> <a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[parentid]" rel="nofollow">$vbphrase[view_parent_forum]</a></div>
</div>
</td>
<!-- / forum tools -->

<!-- search this forum -->
<td class="alt1">
<form action="search.php?do=process" method="post">
<div class="smallfont">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="forumchoice[]" value="$forumid" />
<input type="hidden" name="childforums" value="1" />
<strong>$vbphrase[search_this_forum]</strong> :<br />
<input type="text" class="bginput" name="query" size="20" style="width:175px" />$gobutton<br />
<a href="search.php?$session[sessionurl]f=$forumid" rel="nofollow">$vbphrase[advanced_search]</a>
</div>
</form>
</td>
<!-- / search this forum -->
</tr>
</table>
<br />


<!-- / controls for non-popup browsers -->
</if>

<if condition="$show['ajax_js']">
<script type="text/javascript" src="clientscript/vbulletin_ajax_threadslist.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript">
<!--
vB_AJAX_Threadlist_Init('threadslist');
//-->
</script>
</if>

<!-- ############## END THREADS LIST ############## -->
</if>

$forumhome_markread_script

<if condition="$show['popups'] AND $show['forumsearch']">
<!-- forum search menu -->
<div class="vbmenu_popup" id="forumsearch_menu" style="display:none">
<form action="search.php?do=process" method="post">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_this_forum]<a name="goto_forumsearch"></a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="forumchoice[]" value="$forumid" />
<input type="hidden" name="childforums" value="1" />
<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" accesskey="s" tabindex="1004" /></div>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<label for="rb_fd_sp0"><input type="radio" name="showposts" value="0" id="rb_fd_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
&nbsp;
<label for="rb_fd_sp1"><input type="radio" name="showposts" value="1" id="rb_fd_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php?$session[sessionurl]f=$forumid" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</form>
</div>
<!-- / forum search menu -->
</if>

<!-- icon key -->
<if condition="$show['threadslist']">
<table cellpadding="2" cellspacing="0" border="0">
<tr>
<td><img src="$stylevar[imgdir_statusicon]/thread_new.gif" alt="$vbphrase[new_posts]" border="0" /></td>
<td class="smallfont">$vbphrase[new_posts]</td>
<if condition="$vboptions['usehotthreads']">
<td><img src="$stylevar[imgdir_statusicon]/thread_hot_new.gif" alt="<phrase 1="$vboptions[hotnumberposts]" 2="$vboptions[hotnumberviews]">$vbphrase[more_than_x_replies_or_y_views]</phrase>" border="0" /></td>
<td class="smallfont">$vbphrase[hot_thread_with_new_posts]</td>
<else />
<td colspan="2">&nbsp;</td>
</if>
</tr>
<tr>
<td><img src="$stylevar[imgdir_statusicon]/thread.gif" alt="$vbphrase[no_new_posts]" border="0" /></td>
<td class="smallfont">$vbphrase[no_new_posts]</td>
<if condition="$vboptions['usehotthreads']">
<td><img src="$stylevar[imgdir_statusicon]/thread_hot.gif" alt="<phrase 1="$vboptions[hotnumberposts]" 2="$vboptions[hotnumberviews]">$vbphrase[more_than_x_replies_or_y_views]</phrase>" border="0" /></td>
<td class="smallfont">$vbphrase[hot_thread_with_no_new_posts]</td>
<else />
<td colspan="2">&nbsp;</td>
</if>
</tr>
<tr>
<td><img src="$stylevar[imgdir_statusicon]/thread_lock.gif" alt="$vbphrase[closed_thread]" border="0" /></td>
<td class="smallfont">$vbphrase[thread_is_closed]</td>
<if condition="$show['dotthreads']">
<td><img src="$stylevar[imgdir_statusicon]/thread_dot.gif" alt="$vbphrase[thread_contains_a_message_written_by_you]" border="0" /></td>
<td class="smallfont">$vbphrase[you_have_posted_in_this_thread]</td>
<else />
<td colspan="2">&nbsp;</td>
</if>
</tr>
</table>
<else />
<!-- icons -->

<table class="icon_legend" align="center" border="0" cellpadding="6" cellspacing="0" width="100%">


<tbody>
<tr align="center">
<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="" border="0" /></td>
<td align="left" class="alt1">
<div class="smallfont">$vbphrase[forum_contains_new_posts]</div>


</td>
<td class="alt2" ><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="" border="0" /></td>
<td align="left" class="alt1" ><div class="smallfont">$vbphrase[forum_contains_no_new_posts]</div></td>
<td class="alt2" ><img src="$stylevar[imgdir_statusicon]/forum_new_lock.gif" alt="" border="0" /><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="" border="0" /></td>
<td align="left" class="alt1" ><div class="smallfont">$vbphrase[forum_is_closed_for_posting]</div></td>
</tr>


</tbody>

</table>
<!-- /icons-->
</if>
<!-- / icon key -->
<div class="spacer"></div>
<!-- forum rules & forum jump -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="top">
<td width="100%">
<div class="smallfont">&nbsp;</div>
<if condition="$show['threadslist']">$forumrules</if>
</td>
<td>
$forumjump
<if condition="!$show['popups'] AND $show['adminoptions']">
<br />
<form action="moderator.php" method="get">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="f" value="$forumid" />
<div class="smallfont"><strong>$vbphrase[admin_tools]</strong> :</div>
<select name="do" onchange="this.form.submit();">
<optgroup label="$vbphrase[admin_tools]">
<option value="modposts" selected="selected">$vbphrase[view_posts_queue]</option>
<option value="modattach">$vbphrase[view_attachment_queue]</option>
<option value="move">$vbphrase[mass_move]</option>
<option value="prune">$vbphrase[mass_prune]</option>
<if condition="$show['addmoderator']">
<option value="addmoderator">$vbphrase[add_moderator]</option>
</if>
<if condition="$show['post_new_announcement']">
<option value="postannouncement">$vbphrase[post_new_announcement]</option>
</if>
</optgroup>
</select>$gobutton
</form>
</if>
</td>
</tr>
</table>
<!-- / forum rules & forum jump -->

$footer
</body>
</html>

popowich
27 Aug 2006, 20:20
Hello,

I have a second issue. If you create a new event the associated thread gets created OK. But if the thread is moved from an "upcoming" to "recent" events forum, and the original event is edited in the calendar, a new thread gets created in the forum associated with the calendar. Shouldn't it only create a new thread when a event is created and not on edits too?

-Raymond

popowich
27 Aug 2006, 20:21
I'm not exactly sure what work you all are asking to have done,
but I have no problem chipping in a $20 donation for this project.

-Raymond

Evercraft
28 Aug 2006, 10:50
Would this plug-in solve these requests:

subscribe to calendar (http://www.vbulletin.org/forum/showthread.php?t=82195)

calendar events notification / email (http://www.vbulletin.org/forum/showthread.php?t=93677)

by allowing users to subscribe to the synched event forum?

no this mod doesnt have any of those features unfortunatly. Would be a nice addition though!

Evercraft
28 Aug 2006, 10:55
Sorry. Log in as Teresa, demo

Sorry this is quite delayed reply.

I think the events you were trying to show me had passed. Could you take a screenshot of the differences so I can see which times you mean?

I think its likely that it won't be possible to exactly mirror the events block in the forum. This is because I generate all of that myself. So I took the code they use to make the forumhome one, and added extra things to improve it.

The problem is, there is no hooks where i've added code, so it would be impossible to put something in there without editing a php file (which I won't support).

Evercraft
28 Aug 2006, 10:57
I installed this and it works great. I have our events split up by regions and so I set up a calendar per region and a forum per region and mapped the calendars to the forums.

Is there a way to make the default calendar show all events from all calendars?

I don't think there is. It might be possible to be made as a plugin todo it.

Evercraft
28 Aug 2006, 11:00
I have a few quick questions ....

We'd like to use this hack on our parenting board for kids' birthdays. Is it possible to have the new threads post in an already established forum (which is a general forum and contains many other threads)? And is it possible to have the new threads post around midnight on the day of the event, and not several days in advance? And, most importantly, we already have *many* events (birthdays) already added to our calendar ... is there a way to edit these to include this hack, or would we have to re-add all the events?

Thanks in advance. :)

The only way you could delay posting of events is by moderating events on the calendar, and then they won't appear until you approve them. There might then be a way to approve threads automatically using a cronjob or something, but i'm not sure how you'd go about making that work.

Unfortunatly you would have to re-add all the old events, which I know is quite a pain. On the feature request list is for a utility that you can run which scans a calendar's events and puts them in threads, but like all the other things I want todo time is a bit of an issue atm :(

Evercraft
28 Aug 2006, 11:03
I have a problem
I want to reply automatic when a event is postet
i have this code:
if ($foruminfo['forumid'] == 34)
{
$postdm =& datamanager_init('Post', $vbulletin, ERRTYPE_ARRAY, 'threadpost');

$postdm->set_info('forum', $foruminfo);
$postdm->set_info('thread', $threadinfo);

$postdm->set('threadid', $threadinfo['threadid']);
$postdm->set('userid', 150);
$postdm->set('pagetext', 'Folge dem weißen Wolf!
');
$postdm->set('allowsmilie', 1);
$postdm->set('visible', 1);
$postdm->set('dateline', TIMENOW);
$postdm->save();
}
hook: newthread_post_complete
it works great in all forums but not in the event forum!
what must i change?

mmm I can't really see why this wouldn't work.

1 thing I could suggest trying, is changing the execution order of that plugin to 4, or 6. 4 will get run before my code, 6 after. 1 of them might work. :)

Evercraft
28 Aug 2006, 11:05
I have a small problem with this plugin. It works OK generally speaking and I have no web site errors, but it displays the events on the wrong day on my calendar. For example, I have an event from 7:00pm - 11:30pm tonight, but it displays on the calendar both today and tomorrow Sunday. My forums/users are EST if that matters. Any thoughts on this issue? You can view example events with this issue at WNYPoker.com under the Upcoming Events forum. You're looking for Ray's House.

-Raymond

I think thats todo with a difference in timezones.

Say for example I posted an event in GMT timezone, at say 1am. Then in my control panel my user timezone is set to PST (or something behind GMT) then it would show up as the day before (cos it is rightly so for that timezone).

I'm pretty sure thats what your seeing there.

Evercraft
28 Aug 2006, 11:07
Alright after I'd done a few more edits with some other mods, I became brave enough to try this.

I found the code you refer to, twice in my FORUMDISPLAY header. (Btw, I'm using vbstyles ARIA skins.)

So I added it at both locations as you suggested, and saved the template.

Next, in admincp I set 'Show the New Event button on the thread list' to YES and saved the update.

Then I go into my event forum, but all I still see is the New Thread button.:surprised:

Finally, I went back and removed the code in the 2nd spot, but still no go.:confused:

Any ideas? Here's what my code is a present in the FORUMDISPLAY...

That looks right to me. Have you uploaded the image to the right place? It should be in your style button folder (same folder as newthread.gif).

Evercraft
28 Aug 2006, 11:11
Hello,

I have a second issue. If you create a new event the associated thread gets created OK. But if the thread is moved from an "upcoming" to "recent" events forum, and the original event is edited in the calendar, a new thread gets created in the forum associated with the calendar. Shouldn't it only create a new thread when a event is created and not on edits too?

-Raymond

hmm this seems like a bug,

What should be happening with moving between a Event forum -> another event forum, it should move the event to the new calendar as well.

Might have to improve the code abit to stop it creating a thread when you just edit an event.

Evercraft
28 Aug 2006, 11:14
I appreciate all the offers to pay me to work on the Event Attendance! The main problem atm, is not that I don't want to find the time to work on it, its more I actually don't have time at all :p my job takes up alot of my time sometimes :)

I promise I will look at as soon as I have time, but I don't know when that is, maybe I can take some time of work soon :)

COBRAws
28 Aug 2006, 14:46
I appreciate all the offers to pay me to work on the Event Attendance! The main problem atm, is not that I don't want to find the time to work on it, its more I actually don't have time at all :p my job takes up alot of my time sometimes :)

I promise I will look at as soon as I have time, but I don't know when that is, maybe I can take some time of work soon :)
Ok, thanks for the reply. But we will keep checking this page just in case :P

ragtek
28 Aug 2006, 15:13
mmm I can't really see why this wouldn't work.

1 thing I could suggest trying, is changing the execution order of that plugin to 4, or 6. 4 will get run before my code, 6 after. 1 of them might work. :)
unfortunately it doesnt work

popowich
29 Aug 2006, 00:05
hmm this seems like a bug,

What should be happening with moving between a Event forum -> another event forum, it should move the event to the new calendar as well.

Might have to improve the code abit to stop it creating a thread when you just edit an event.

The way my site is set up we have an Upcoming events forum, and this forum is associated with our one calendar. When an event has passed, I manually move it to a recent events forum. This keeps the event discussion forum from getting cluttered. In fact, maybe this is a good idea for an automated option? When an event time has passed, move the thread to another forum? A cron to do this once a day at midnight would be fine :)

-Raymond

Erich2
29 Aug 2006, 07:08
My calendar is moderated. Only after release an appointment in the calendar and forum appears. This works.

But a fault arises. The latest topic isn't updated on the forum home. Also the threadcounter.

Do you have an idea?

Erich

WATRD
30 Aug 2006, 18:26
il stick 50 USD in too. come on people if you want it put yer money where ya mouth is and lets give evercraft an incentive he cant refuse ;)

please dont say youl chip in if you wont come up with the goods, this hack wont get made unless an extra mile is gone.

Adding the event attendance functionality would be a HUGE gain for my forum, so I am willing to at least match that $50 to make it happen.

Evercraft, can we pay you take a day off work and make it happen?

;)

peterska2
30 Aug 2006, 18:42
Thanks for the upgrade, I'd been missing this since we upgraded to 3.6

adwade
31 Aug 2006, 04:53
That looks right to me. Have you uploaded the image to the right place? It should be in your style button folder (same folder as newthread.gif).

Well I've checked and re-checked everything I know to. Coud you have a peek at my settings perhap to see what else it could be? Will PM you details.

P.S.
I have only modified my first skin, the Aria Chocolate one.

robertwo
31 Aug 2006, 06:33
Applogies if this has been mentioned before.

I've noticed a problem with the Daylight Saving times or even the timezones.

When the plugin is enabled it does not add the hour to the event time when in a daylight saving period. Disabling the plugin returns that feature. I've also had some reports that the timezone conversion is not working for some people but I have not confirmed that.

butty
01 Sep 2006, 14:54
thanks for the reply evercraft. im not sure what the rules are regarding coding of hacks etc and of course its your hack and your say but if you cannot sort the hack to work with event attendance would we be able to chip in and hire another coder to get this sorted for us?

up to now from those who said they would chip in there is $170 which is a fair bit of money and im sure others would chip in to get this off the ground.

gyankow
04 Sep 2006, 18:30
Anyone have or created the Aria New Thread Button

TCB
05 Sep 2006, 20:53
I have a small problem with this plugin. It works OK generally speaking and I have no web site errors, but it displays the events on the wrong day on my calendar. For example, I have an event from 7:00pm - 11:30pm tonight, but it displays on the calendar both today and tomorrow Sunday. My forums/users are EST if that matters. Any thoughts on this issue? You can view example events with this issue at WNYPoker.com under the Upcoming Events forum. You're looking for Ray's House.

-Raymond

First of all, thanks for this mod. It looks good so far, but I still have some issues.

I have the same "problem" as popowich.

Also: is it possible to change the way the summary of the next x events are shown? For example: I prefer to have the title as the link and the start/ending time in a different font/colour.

popowich
06 Sep 2006, 17:03
The 3.1 version reads at 3.0 in the admin control panel.

FYI,

-Raymond

Gerakus
11 Sep 2006, 21:46
I have the problem with Step 4 (Optional template edit), it just doesnt works for me, I am using blaze template layout. I found two occurances one for the <!-- controls above thread list --> and the other one for <!-- controls below thread list --> I make the proper changes still doesnt show up the new event button, I have already upload in both parts the button gif, one for the images/buttons and the other for blaze/buttons... I have set up on the admin panel to show up the new event button under the thread as was state on one of the steps, if you wonder.

Also when I try to delete a thread on the events it doesnt allow me to do it, I have to move the thread and then delete it.

adwade
12 Sep 2006, 02:10
I have the problem with Step 4 (Optional template edit), it just doesnt works for me, I am using blaze template layout. I found two occurances one for the <!-- controls above thread list --> and the other one for <!-- controls below thread list --> I make the proper changes still doesnt show up the new event button, I have already upload in both parts the button gif, one for the images/buttons and the other for blaze/buttons... I have set up on the admin panel to show up the new event button under the thread as was state on one of the steps, if you wonder.
I had the SAME problem. No matter what I tried, putting the code in the 1st spot, 2nd spot, or both spots I never could get it to show up. Evercraft & I never could figure out the problem.:confused:


Also when I try to delete a thread on the events it doesnt allow me to do it, I have to move the thread and then delete it.
However, I don't have this problem. When I go to delete an event of course, I use the drop down box (edit;delete;move-event) and another screen loads up asking for me to validate the deletion. Once I do that, it drops me over into the Calendar and the event (I just deleted) is gone.

JenniferK
12 Sep 2006, 05:30
Any way to have the Events summary show up in a vBa CMPS module? I tried creating a template module using the code from the lv_vb_eventforums_eventsSummary template, but that didn't work. I don't know enough about it to really figure out what might work - thought I'd give that a shot. Any one have any ideas?

kj_ugs
13 Sep 2006, 16:08
Will this be ok with the new 3.6.1 release of vbulletin?

adwade
13 Sep 2006, 17:25
Is there anyway, similar to Yahoo, that one could have a reminder msg posted into the forums of an upcoming event? Yahoo allows one to select up to 2 notices, like 7 & 14 days beforehand, etc.

I understand the email option is there for individual users to sign up on, but am looking for a general msg to post into the forum reminding users about such.

WATRD
15 Sep 2006, 18:06
I still have cash in hand for the tie in with the RSVP system...

Farcaster
16 Sep 2006, 08:37
I've modified this hack on my forums to integrate with the Event Attendance 2.0 script. This will only work if you have Event Attendance 2.0 installed as well (which does work with vb 3.6.0 if you uninstall it and reinstall it).

Below are the steps you need to merge these two products:

Find the following line of code in the "Display Event Details on Thread Page" plugin (under Product : Lv vB Event Forums):
$eventinfo['event'] = $bbcode_parser->parse($eventinfo['event'], $foruminfo['forumid'], true);

Under that add this block:
// EVENT SIGNUP HACK //////////////////////////////////////////////////////////////////////////////

$vbphrase['roll_nobody'] = fetch_phrase("roll_nobody", 'calendar');
$vbphrase['roll_cancel'] = fetch_phrase("roll_cancel", 'calendar');
$vbphrase['roll_enroll'] = fetch_phrase("roll_enroll", 'calendar');
$vbphrase['roll_text'] = fetch_phrase("roll_text", 'calendar');

//Check time till event
$time_until_event=$eventinfo['dateline_from']-(TIMENOW+$vbulletion->userinfo['timezoneoffset']*3600);
if ($vbulletin->userinfo['dstonoff'])
{
$time_until_event=$time_until_event-3600;
}
//echo $time_until_event." ";
$show['enroll']=(($time_until_event>0) || ($vbulletin->options['lateenroll'])) ? true : false;

//show enrolled people
$rollcount=0;
if ($eventinfo['useroll'])
{
// Roll for this event
unset($rollbits);
$show['userattending'] = false;
if (($roll = @unserialize($eventinfo['roll'])) && is_array($roll))
{
if ($vbulletin->options['roll_sort'])
{
uasort($roll, "strnatcasecmp");
}

if (array_key_exists($vbulletin->userinfo['userid'], $roll))
{
$show['userattending']=true;
}

while ($rollusername = current($roll))
{
$rolluserid = key($roll);
eval('$rollbits .= "' . fetch_template('calendar_rollbit') . '";');
$rollcount++;
next($roll);
}
}
else
{
$eventinfo['roll'] = "";
}


eval ('$eventinfo[roll] = "' . fetch_template('calendar_roll') . '";');
$eventinfo['event'].=$eventinfo['roll'];

// End Roll
}
else
{
$eventinfo['roll'] = "";

}

///////////////////////////////////////////////////////////////////////////////////////////////////

Next, open the plugin "redirect links to individual events to their threads instead".
Add the following code to the top:
// EVENT SIGNUP HACK //////////////////////////////////////////////////////////////////////////////

//Check time till event
$time_until_event=$eventinfo['dateline_from']-(TIMENOW+$vbulletion->userinfo['timezoneoffset']*3600);
if ($vbulletin->userinfo['dstonoff'])
{
$time_until_event=$time_until_event-3600;
}
//echo $time_until_event." ";
$show['enroll']=(($time_until_event>0) || ($vbulletin->options['lateenroll'])) ? true : false;


if ($_REQUEST['ea'] == "attend" || $_REQUEST['ea'] == "unattend" AND ($time_until_event>0 OR $vbulletin->options['lateenroll']) )
{
if (!$eventinfo['roll'])
{
$roll = array();
}
else
{
$roll = @unserialize($eventinfo['roll']);
}

if ($_REQUEST['ea'] == "attend")
{
if ($vbulletin->userinfo[userid])
{
$roll[$vbulletin->userinfo['userid']] = $vbulletin->userinfo['username'];
}
else
{
print_no_permission();
}
}
else
{
if ($vbulletin->userinfo[userid])
{
unset($roll[$vbulletin->userinfo['userid']]);
}
else
{
print_no_permission();
}
}

$eventinfo['roll'] = serialize($roll);
$db->query_write("UPDATE ".TABLE_PREFIX."event SET roll='".addslashes($eventinfo['roll'])."' WHERE eventid='".$eventinfo['eventid']."'");
$_REQUEST['do'] = "getinfo";
}
///////////////////////////////////////////////////////////////////////////////////////////////////


That's it. Enjoy!

Now, did someone say something about some cash?? :cool: *chuckle*

ragtek
16 Sep 2006, 14:51
in 3.6.1 i have a error while i want to delete a event

Schwerer Fehler: Existing data passed is not an array
Called set_existing in /home/www/doc/11759/ragtek.org/www/forum/includes/class_dm_threadpost.php(1289) : eval()'d code on line 32
Called eval in /home/www/doc/11759/ragtek.org/www/forum/includes/class_dm_threadpost.php on line 1289
Called delete in /home/www/doc/11759/ragtek.org/www/forum/inlinemod.php on line 662

WATRD
17 Sep 2006, 15:20
That's it. Enjoy!

Now, did someone say something about some cash?? :cool: *chuckle*

I am good for sending some cash your way, if you can be a bit more specific about where to find the code you modified. It is in a file or do I get at it via the template editor?

I am comfortable subbing in the code, I just don't understand where to go about doing so.

WATRD
17 Sep 2006, 15:35
I've modified this hack on my forums to integrate with the Event Attendance 2.0 script. This will only work if you have Event Attendance 2.0 installed as well (which does work with vb 3.6.0 if you uninstall it and reinstall it).

Below are the steps you need to merge these two products:

<SNIP>

That's it. Enjoy!

Now, did someone say something about some cash?? :cool: *chuckle*

Okay, I found where to put the code, but users are not being shown a link to RSVP :(

Farcaster
17 Sep 2006, 19:26
I am good for sending some cash your way, if you can be a bit more specific about where to find the code you modified. It is in a file or do I get at it via the template editor?

I am comfortable subbing in the code, I just don't understand where to go about doing so.

I was just kidding about that. No worries. I wanted to make this modification for my boards anyway, so I am happy to share it.

To find the plugins I mentioned above, you'd need to go into "Plugins & Products" section of the Admin Panel. Then go into the Plugin Manager and look for the plugins mentioned above under the product group "Product : Lv vB Event Forums". You then edit each plugin as indicated above.

But, if you'd like an easier route, I hope the original author won't mind if I post a modified XML file. You can import the product xml file I am attaching and OVERWRITE the existing product (be sure to use overwrite, do not uninstall or you may loose settings and thread to event relationships).

butty
17 Sep 2006, 23:50
im getting this error when i try and delete a event in 3.6.1, any ideas?

Fatal error: Call to undefined function: delete_thread() in /home/pianohea/public_html/forum/includes/class_dm_event.php(626) : eval()'d code on line 15

tis01
18 Sep 2006, 11:37
I was just kidding about that. No worries. I wanted to make this modification for my boards anyway, so I am happy to share it.

To find the plugins I mentioned above, you'd need to go into "Plugins & Products" section of the Admin Panel. Then go into the Plugin Manager and look for the plugins mentioned above under the product group "Product : Lv vB Event Forums". You then edit each plugin as indicated above.

But, if you'd like an easier route, I hope the original author won't mind if I post a modified XML file. You can import the product xml file I am attaching and OVERWRITE the existing product (be sure to use overwrite, do not uninstall or you may loose settings and thread to event relationships).


Thanks for your hard work...I just have a problem with extended events : I can't enroll these but work fine on simple events

Farcaster
18 Sep 2006, 15:28
If think that is standard behavior of the Event Attednance 2.0 product. It should work on single day or ranged events, but will not work on recurring events. Is yours working on ranged events at least?

butty
18 Sep 2006, 18:17
farcaster mate what ver of vbulletin u running and can you delete events ok or does it error?

ps i will gladly have ur children for sorting this event attendance tie in. you are a star my friend! :)

Farcaster
18 Sep 2006, 18:29
farcaster mate what ver of vbulletin u running and can you delete events ok or does it error?

ps i will gladly have ur children for sorting this event attendance tie in. you are a star my friend! :)

I am on version 3.6.0 at the moment, and I am able to delete events without any errors. I will be upgrading to 3.6.1 in the next week or so, so I will see if I can figure out what the delete problem is if someone else hasn't already got it fixed by then.

And, you are most welcome. :cool:

WATRD
18 Sep 2006, 18:35
Wahhhhooooooo! I now have an integrated calendar/thread system with RSVP funtionality that works flawlessly!

On top of that, Farcaster won't take my money :(

This IS the coolest thing since sliced bread and I vote we name a day after Farcaster or something similar. I am serious. This is THAT cool for my club.

Farcaster, should you ever be in the Seattle, Washington, USA area, I will have some frosty beverages of your choice waiting for you.

soulface
19 Sep 2006, 16:51
Fatal error: Existing data passed is not an array
Called set_existing in /usr/home/******/public_html/includes/class_dm_threadpost.php(910) : eval()'d code on line 3
Called eval in /usr/home/******/public_html/includes/class_dm_threadpost.php on line 910
Called post_save_each in /usr/home/******/public_html/includes/class_dm.php on line 823
Called save in /usr/home/******/public_html/report.php on line 217
Called require in /usr/home/******/public_html/vbseo.php on line 846
in /includes/class_dm.php on line 235

I m getting this Fatal error when reporting a post! I've vBSEO installed. So i asked them. they said the error happens in "postdata_postsave" plugin of this mod. I disabled this mod for temp & that fatal error is gone..

drex
20 Sep 2006, 08:56
Fatal error: Call to undefined function: delete_thread() in /home/tbyr/public_html/includes/class_dm_event.php(626) : eval()'d code on line 15

Same error. New install. Version 3.61. Only when deleting thread.

Delete works in the calendar, but NOT for the thread. the threads are still there, and cannot be manually deleted. (no replies are posted, just the initial thread)--> when I try to delete, it says "Invalid Event specified. If you followed a valid link, please notify the administrator"

Thread is no longer in the calendar, but thread is in forum and not deletable. (even with the delete post tools).

Please look into this. Thanks.

:Judge:
20 Sep 2006, 09:20
Fatal error: Call to undefined function: delete_thread() in /home/tbyr/public_html/includes/class_dm_event.php(626) : eval()'d code on line 15

Same error. New install. Version 3.61. Only when deleting thread.

Delete works in the calendar, but NOT for the thread. the threads are still there, and cannot be manually deleted. (no replies are posted, just the initial thread)--> when I try to delete, it says "Invalid Event specified. If you followed a valid link, please notify the administrator"

Thread is no longer in the calendar, but thread is in forum and not deletable. (even with the delete post tools).

Please look into this. Thanks.

Yep I have the same problem here I am unable to delete from the forum area.

When I try delete from Thread Options I recieve the following error:
Invalid Event specified. If you followed a valid link, please notify the administrator

When I try to delete from forum display "Moderation" I recieve this following error (Please note with soft or Physically remove)
Fatal error: Existing data passed is not an array
Called set_existing in /home/cecilcountyx.com/forums/includes/class_dm_threadpost.php(1289) : eval()'d code on line 32
Called eval in /home/cecilcountyx.com/forums/includes/class_dm_threadpost.php on line 1289
Called delete in /home/cecilcountyx.com/forums/inlinemod.php on line 662
in /includes/class_dm.php on line 235

Evercraft
20 Sep 2006, 12:40
Good work with the attendance patch, ill have a look when I get time and put that version in the downloads. I can proberly improve it a bit to detect whether the attendance mod is installed, and intergrate it with the latest version.

There does seem to be a problemo with the latest version of vb with this plugin. I'll try and setup my test area to 3.6.1 and see whats going wrong. Hopefully its a quick fix. I'll also try and get round to looking at the other problems reported tonight too if I can.

ragtek
20 Sep 2006, 18:00
thx
for the support und your work

JenniferK
20 Sep 2006, 18:21
Any way to have the Events summary show up in a vBa CMPS module? I tried creating a template module using the code from the lv_vb_eventforums_eventsSummary template, but that didn't work. I don't know enough about it to really figure out what might work - thought I'd give that a shot. Any one have any ideas?

anything on this?

drex
20 Sep 2006, 20:18
thanks much!

drex
21 Sep 2006, 20:50
any word yet????

kj_ugs
22 Sep 2006, 22:12
this seems to work great as long as you dont try to delete a thread.

drex
23 Sep 2006, 03:59
exactly... I can' t wait to get this thing up and running. Looked at some of the code, but not well-versed w/ 3.6.1 ....

Evercraft
23 Sep 2006, 18:06
Hi all

I've posted an update for vB Event Forums.

2 things you will find:

- Deleteing an event now works properly again.
- Event Attendance now works with this mod! Farcaster kindly posted a patch for it, which I have intergrated into the mod. It will now automatically check if the mod is installed and active, and run the correct code.

You can find the latest version, which is now 3.3, at the thread link below:

http://www.vbulletin.org/forum/showthread.php?p=1047676

Kind Regards

WATRD
23 Sep 2006, 18:27
To install the latest, do I need to uninstall? Or can I simply overwrite? Will it preserve my existing events and relationships with the calendar?

ragtek
23 Sep 2006, 18:57
thx for fast updating

JenniferK
23 Sep 2006, 21:24
Thanks for the update!

I would really like to have a CMPS module to show the Events Summary. I have tried creating a template, but the event area is blank. I realize that is because the plugin that works to put the event summary in the forum will not work in a CMPS module. I have tried looking at it to see if I could figure out myself how to do what I need, but it is beyond my abilites. Is there any chance this is something you plan to do for this hack? If not I will need to figure something else out, but I love this hack and it is perfect for my site (it is a community site), so it would be really great if that could be integrated. :)

rabidkevin
23 Sep 2006, 21:54
I find the event attendance plugin to have poor support, no updates, not working off the bat for 3.6, and has bugs/fixes that are most needed.

Why not just add your own event attendance code ?? I think it would benefit everyone here greatly and be much easier to maintain/handle.

kj_ugs
23 Sep 2006, 21:59
This, is nothing short of fantastic. Thanks very much.

BuRNZau
24 Sep 2006, 03:56
Love your work Evercraft and Farcaster. :up:

Is there a way to make the (Allow users to specify that they will be attending this event) box ticked by default or even better locked so it will always turned on?

Itworx4me
24 Sep 2006, 06:19
When clicking on the forum you selected to have your events posted in. It shows the upcoming events box. Is there a way to have it sort by event and Not by the date???

Farcaster
24 Sep 2006, 08:32
Love your work Evercraft and Farcaster. :up:

Is there a way to make the (Allow users to specify that they will be attending this event) box ticked by default or even better locked so it will always turned on?

Yes, follow these instructions and it will make the "Allow Users to Enroll" check box checked by default for new events:

1. In the AdminCP, go into Plugins & Products -> Plugin Manager.
2. Find the plugins for the product "Event Attendance".
3. Open the plugin "Event Attendance - add enroll to create form"
4. Blank out the entire code window and replace it with:

if (($type!='recur') OR (($type=='recur') AND ($vbulletin->options['enroll_reoccur']))) {

$disablesmiliesoption.='<div><label for="cb_rollcall"><input type="checkbox" checked="checked" name="useroll" value="1" id="cb_roll" tabindex="3" '.$useroll.' />'.$vbphrase['roll_allowenroll'].'</label></div>';

}

BuRNZau
24 Sep 2006, 08:46
That does the job. :)

I owe you a beer mate thanks!

:Judge:
24 Sep 2006, 10:20
Great work Evercraft, thank you very much!!

The new updated code for 3.6.1 is working great for me now, but I do have one small issue.

One of the events I tried to delete before updating to 3.3 will not go away. The event is not in the Calendar it is just in the event forum area BUT inside the event/topic there isn't anything there, just a thread title, date, time and thread starter there is no thread info.

When I try to delete I am told "No topic selected, contact admin".

Any ideas how I can remove this? If not it's no big deal I guess sooner or later it will fall behind.

butty
24 Sep 2006, 17:40
Great work Evercraft, thank you very much!!

The new updated code for 3.6.1 is working great for me now, but I do have one small issue.

One of the events I tried to delete before updating to 3.3 will not go away. The event is not in the Calendar it is just in the event forum area BUT inside the event/topic there isn't anything there, just a thread title, date, time and thread starter there is no thread info.

When I try to delete I am told "No topic selected, contact admin".

Any ideas how I can remove this? If not it's no big deal I guess sooner or later it will fall behind.
disable both the event attendance and event forums in your product manager mate then you should be able to delete the event :)

Evercraft
24 Sep 2006, 18:22
To install the latest, do I need to uninstall? Or can I simply overwrite? Will it preserve my existing events and relationships with the calendar?

to upgrade, simply import the product with the overwrite box ticked. DO NOT uninstall the previous version, as you will lose all your old settings.

Evercraft
24 Sep 2006, 18:34
Thanks for the update!

I would really like to have a CMPS module to show the Events Summary. I have tried creating a template, but the event area is blank. I realize that is because the plugin that works to put the event summary in the forum will not work in a CMPS module. I have tried looking at it to see if I could figure out myself how to do what I need, but it is beyond my abilites. Is there any chance this is something you plan to do for this hack? If not I will need to figure something else out, but I love this hack and it is perfect for my site (it is a community site), so it would be really great if that could be integrated. :)

ok well basically what you need, is for the plugin code in Show up and coming events for a specified forum id to be run on that page. Its done using hooks into the original vb files, but as far as im away, CMPS doesnt support hacks so you'd have to edit the CMPS file to display it.

basically that code generates what goes in the summary box :)

Unfortunatly I haven't really looked much at CMPS, so I don't really know much more to help.

Evercraft
24 Sep 2006, 18:36
Great work Evercraft, thank you very much!!

The new updated code for 3.6.1 is working great for me now, but I do have one small issue.

One of the events I tried to delete before updating to 3.3 will not go away. The event is not in the Calendar it is just in the event forum area BUT inside the event/topic there isn't anything there, just a thread title, date, time and thread starter there is no thread info.

When I try to delete I am told "No topic selected, contact admin".

Any ideas how I can remove this? If not it's no big deal I guess sooner or later it will fall behind.

I think you might be able to remove it by running one of the counters under the maintenace menu at the bottom of the admin CP menu. I think it might be rebuild thread info, or there might be one for fix broken threads or something (cant check right now). Let me know if it helps.

Evercraft
24 Sep 2006, 18:39
I find the event attendance plugin to have poor support, no updates, not working off the bat for 3.6, and has bugs/fixes that are most needed.

Why not just add your own event attendance code ?? I think it would benefit everyone here greatly and be much easier to maintain/handle.

I will speak to the author of the event attendance, and see about maybe intergrating it into this hack. We are certainly half way there with it working together already, and some extra admin options for it would be nice too :)

Can't promise anything, but i'll see what I can do.

Evercraft
24 Sep 2006, 18:41
When clicking on the forum you selected to have your events posted in. It shows the upcoming events box. Is there a way to have it sort by event and Not by the date???

not at the moment.

Originally when I made the summary, when it was sorted by Event, I just couldn't get it to look very good at all, it was a real mess.

It would be nice to put that option back, but i'd need to look at sorting it out a bit.

JenniferK
24 Sep 2006, 19:00
ok well basically what you need, is for the plugin code in Show up and coming events for a specified forum id to be run on that page. Its done using hooks into the original vb files, but as far as im away, CMPS doesnt support hacks so you'd have to edit the CMPS file to display it.

basically that code generates what goes in the summary box :)

Unfortunatly I haven't really looked much at CMPS, so I don't really know much more to help.

Thanks for the quick reply :) Maybe I could get someone at the vBa site to help me convert this for my needs. Thanks for a great hack!

Gerakus
24 Sep 2006, 21:35
When I submit the Save Event button, I am getting this error:

link: http://www.mysite.com/forums/calendar.php?do=update&e=

This page is not designed to be access directly.


It looks is missing the info on the link, any idea what could casue this problem.

drex
27 Sep 2006, 01:32
I'm in the same boat as Jen....

snyx
27 Sep 2006, 01:56
I have a question, im not sure if this is already a feature or if its possible. I remember trying to mod this back in the previous version without luck. Okay in the Forum view, is there a way to force the listing of event thread in order of event date. So regardless of a new post or new event thread they stay in chronological order?

Evercraft
27 Sep 2006, 14:14
I have a question, im not sure if this is already a feature or if its possible. I remember trying to mod this back in the previous version without luck. Okay in the Forum view, is there a way to force the listing of event thread in order of event date. So regardless of a new post or new event thread they stay in chronological order?

There isnt currently a way with this mod. I'm not really sure if its very well possible, it might be.

novalogix
28 Sep 2006, 03:49
I have this issue with the latest version of event forum + event attendance, when i create an event without the attendance function enabled and choose to enable it later thru event edit, the link that says "I will be attending this event" does not appear. This also happens when i create a new event and with the attendance enabled but click on the "save event" button under Add New Event instead of Additional Options.

Anyone knows what is going on with this? Great mod BTW, just the thing i need.

I am on 3.6.x BTW.

novalogix
29 Sep 2006, 03:50
I have this issue with the latest version of event forum + event attendance, when i create an event without the attendance function enabled and choose to enable it later thru event edit, the link that says "I will be attending this event" does not appear. This also happens when i create a new event and with the attendance enabled but click on the "save event" button under Add New Event instead of Additional Options.

Anyone knows what is going on with this? Great mod BTW, just the thing i need.

I am on 3.6.x BTW.

No one else got this issue? Evercraft, pls advise!:cool:

COBRAws
29 Sep 2006, 23:32
This is awesome, I just need it to have this and im happy ehehe

Extra post options support (Attachments, Post Icons, Sticky etc).

oberheimhaven
02 Oct 2006, 00:21
Beautiful hack thxs will be used often in our forums thxs again
zero issues on install 3.6.0
MarkAnthony

Lionel
02 Oct 2006, 19:40
Hi, I am using the customfieldid on calendar to display an image
$value[calendarcustomfieldid].gif

in your plugin to display in showthread you only get

$customtitle = $key;
$customoption = convert_url_to_bbcode(unhtmlspecialchars($value));


please, how can i get the customfieldid?

thank you

never mind, I redid all images so I use optiontitle instead of id, which is a pain, as titles do change sometimes, but not ID

Lionel
02 Oct 2006, 20:54
A more important question: how do you post a vbookie event in that event thread?

Evercraft
04 Oct 2006, 13:52
I have this issue with the latest version of event forum + event attendance, when i create an event without the attendance function enabled and choose to enable it later thru event edit, the link that says "I will be attending this event" does not appear. This also happens when i create a new event and with the attendance enabled but click on the "save event" button under Add New Event instead of Additional Options.

Anyone knows what is going on with this? Great mod BTW, just the thing i need.

I am on 3.6.x BTW.

I think this is related to the attendance mod patch Farcaster released, or it could be a bug in the Attendance mod itself. Does it do it if you disable the Event Forums plugin temporily?

Evercraft
04 Oct 2006, 13:55
This is awesome, I just need it to have this and im happy ehehe

Extra post options support (Attachments, Post Icons, Sticky etc).

Yes i really want this too myself :p

The event attendance sort of does this (it adds its own option), so I may be able to add a few of the options in by looking at that, but i'd like to find a better way so it shows all the same stuff as a post. The other option, is to change when you add an event, instead to take you to a new thread screen, and put the date controls there. That might work, but either way its a bit complicated :o

Evercraft
04 Oct 2006, 14:02
Theres also another mod called Post thank you (http://www.vbulletin.org/forum/showthread.php?t=122944), which is very similar but is updated often, and has some nice other features over event attendance.

All that would need to be changed would be the phrases to say something like, users who are attending, instead of thankyou.

It was suggested by someone a while ago, but I only just remembered about it.

Has anyone tried this with Event Forums?

novalogix
05 Oct 2006, 04:04
I think this is related to the attendance mod patch Farcaster released, or it could be a bug in the Attendance mod itself. Does it do it if you disable the Event Forums plugin temporily?

I have heed your advice and it turns out it is actually a bug in the Attendance Mod itself. So now the problems lies in that the Event Attendance Mod has no updates for a while. Any ideas how to fix this?

austrekkers
09 Oct 2006, 02:15
I've just installed this mod, and it seems great. I can't though seem to get the "new event" button to appear on my event forum. :confused:

What I've done so far:

Installed mod
Done template mod to FORUMDISPLAY
Checked all permissions
Uploaded gif file to images/buttons
Change the Show the New Event button on the thread list option to YES
Linked the Calendar to the Event Forum (tested this by creating an event in the calendar, and it makes a new thread in the correct forum)

What have I done wrong??? :confused: :confused: :confused:

Lionel
11 Oct 2006, 03:54
When I submit the Save Event button, I am getting this error:

link: http://www.mysite.com/forums/calendar.php?do=update&e=

This page is not designed to be access directly.


It looks is missing the info on the link, any idea what could casue this problem.

I have the same issue.
All along it was working fine. Which tells me there is a conflict somewhere.
How did you solve yours?

Lionel
11 Oct 2006, 04:21
Anyway, Gerakus I solved my issue. It was caused by the Talker Bot hack.

adwade
11 Oct 2006, 04:28
I've just installed this mod, and it seems great. I can't though seem to get the "new event" button to appear on my event forum. :confused:

What I've done so far:

Installed mod
Done template mod to FORUMDISPLAY
Checked all permissions
Uploaded gif file to images/buttons
Change the Show the New Event button on the thread list option to YES
Linked the Calendar to the Event Forum (tested this by creating an event in the calendar, and it makes a new thread in the correct forum)

What have I done wrong??? :confused: :confused: :confused:

I had the same problem. Installed & worked fine, except for getting the New Event button to show. Evercraft & myself looked over everything I had done to get it to work and never could figure out why it would not show up. My only guess is that I'm using Miko's ARIA Skins (from vbstyles) and that might have had something to do with it.:confused: So not that this helps you any, just to let you know you are not alone.

novalogix
11 Oct 2006, 08:05
I have heed your advice and it turns out it is actually a bug in the Attendance Mod itself. So now the problems lies in that the Event Attendance Mod has no updates for a while. Any ideas how to fix this?

Seriously, Any ideas?

mkdevo
11 Oct 2006, 13:34
GREAT to see that this is now working with Event Attendance! finally installed. great work!

a couple issues though:

1) i just posted my first event. any idea why it would be showing up as an event AND a post immediately after? see what i mean in the attached screenshot..

2) when viewing the forum, the thread title shows the date, but on search results, the thread title has no date.

and a couple general questions:

3) what would happen if i merge an existing thread (created before i installed this) with a NEW calendar event? there are some discussions about upcoming events which aren't linked to the calendar, and i'm wondering if this will accomplish that..

4) %custom = Event's custom fields (if any) <-- can someone explain this? where can you add custom fields to an event?

thanks!

mkdevo
12 Oct 2006, 02:24
GREAT to see that this is now working with Event Attendance! finally installed. great work!

a couple issues though:

1) i just posted my first event. any idea why it would be showing up as an event AND a post immediately after? see what i mean in the attached screenshot..

2) when viewing the forum, the thread title shows the date, but on search results, the thread title has no date.

and a couple general questions:

3) what would happen if i merge an existing thread (created before i installed this) with a NEW calendar event? there are some discussions about upcoming events which aren't linked to the calendar, and i'm wondering if this will accomplish that..

4) %custom = Event's custom fields (if any) <-- can someone explain this? where can you add custom fields to an event?

thanks!

UPDATE: got 3 & 4 figured out.. can't merge threads, but you CAN move posts into an event thread (though it's a little screwy)..

regarding #4 - it would be nice if you could separate out your custom fields in the thread title (like Custom1 (Custom2) - DateTime: Title)..

still looking for info on 1 and 2 above.. #2 being *very* important.

(another) UPDATE: just found something else that isn't quite right - when you're in the calendar and you click on an event from the weekly or monthly view, you're taken to the thread. however, if you're in the yearly view (or the small month 'preview' at the bottom) and click on a date, you're only taken to the event, and NOT to the thread.

i'm guessing that this is because there could be multiple events on one day, which makes sense. however, i think a good added functionality would be to first check for multiple events on that day, and if there is only ONE event, take you to the event thread. does that make sense? would it be possible to add that in?

bkaul
12 Oct 2006, 21:09
Anyone else had problems editing events since installing this mod? I get the following if I try:
Fatal error: Only variables can be passed by reference in E:\Inetpub\wwwroot\boards\includes\class_dm_event.php(569) : eval()'d code on line 41
I can work around this by going to Thread Tools/Move Thread (whether there are any posts besides the event or not) - then, I can edit the event, and move the posts back into the event thread. But other than immediately after moving the thread to another location, I haven't been able to edit the event. (Deleting the event, however, works fine)

rabidkevin
14 Oct 2006, 21:40
There is a new and improved Event Attendance mod with active support out ! http://www.vbulletin.org/forum/showthread.php?p=1097074#post1097074

How about integrating this instead of the old buggy code?

tako
15 Oct 2006, 18:01
it seems new & better event attendance hack has been released.... I appreciate if you can update event forum hack to work with it...

COBRAws
18 Oct 2006, 19:55
Can someone explain me how to stick this event threads and upload attachments?

Thanks!

mkdevo
20 Oct 2006, 17:06
evercraft, any word on these?

GREAT to see that this is now working with Event Attendance! finally installed. great work!

a couple issues though:

1) i just posted my first event. any idea why it would be showing up as an event AND a post immediately after? see what i mean in the attached screenshot..

2) when viewing the forum, the thread title shows the date, but on search results, the thread title has no date.

and a couple general questions:

3) what would happen if i merge an existing thread (created before i installed this) with a NEW calendar event? there are some discussions about upcoming events which aren't linked to the calendar, and i'm wondering if this will accomplish that..

4) %custom = Event's custom fields (if any) <-- can someone explain this? where can you add custom fields to an event?

thanks!

UPDATE: got 3 & 4 figured out.. can't merge threads, but you CAN move posts into an event thread (though it's a little screwy)..

regarding #4 - it would be nice if you could separate out your custom fields in the thread title (like Custom1 (Custom2) - DateTime: Title)..

still looking for info on 1 and 2 above.. #2 being *very* important.

(another) UPDATE: just found something else that isn't quite right - when you're in the calendar and you click on an event from the weekly or monthly view, you're taken to the thread. however, if you're in the yearly view (or the small month 'preview' at the bottom) and click on a date, you're only taken to the event, and NOT to the thread.

i'm guessing that this is because there could be multiple events on one day, which makes sense. however, i think a good added functionality would be to first check for multiple events on that day, and if there is only ONE event, take you to the event thread. does that make sense? would it be possible to add that in?

thanks.

ltaylor
22 Oct 2006, 16:53
Very nice, Thankyou for sharing !

Lionel
22 Oct 2006, 19:16
I love this hack. I use it for sports events mainly with option single all day event.
I now would like to use it for celebrity birthdays, which are the recurring type.

Anyway to set type per calendar instead of global?

tako
23 Oct 2006, 17:16
Farcasters Event Attendance 1.0.1 not working with Event Forums 3.3?? only 1.0.0? I haven't got it working yet.

Farcaster
23 Oct 2006, 17:39
Farcasters Event Attendance 1.0.1 not working with Event Forums 3.3?? only 1.0.0? I haven't got it working yet.

Tako, I'll be working on an integration hack soon so that my new RSVP script will work with the Event Forums. Presently, Arpy's Event Attendance 2.0 is the only one integrated.

tako
24 Oct 2006, 05:43
Oh, sorry. I didnt mean to rush you. I just misunderstood your release note. Thanks for a great hack.

Tako, I'll be working on an integration hack soon so that my new RSVP script will work with the Event Forums. Presently, Arpy's Event Attendance 2.0 is the only one integrated.

hinch
24 Oct 2006, 09:50
Installed it.

However I've either found bugs or i've done something wrong.

In the thread created on event creation there is an "event options" drop down selecting delete event option throws up the error "you selected no posts for this feature" selecting all from the quick dropdown jobbie and then selecting "delete thread" gives the error message "vb tip #42: merging a post with itself wont get you very far"
to delete an event you have to select the delete thread option from thread tools.

next little problem as in this screen shot.
http://www.vbulletin.org/forum/attachment.php?attachmentid=51833&d=1155066115
you have the upcoming events showing at the top of the forum section that is linked to the calendar, i can't get this working for me for the life of me.

soletrader
25 Oct 2006, 10:13
Thank you for the hack. However, I am experiencing a small problem. Can you please help me? The thread reply expands to the left. Please see picture.

https://www.vbulletin.org/forum/external/2006/12/12.jpg

dieselpowered
25 Oct 2006, 20:44
Have these issues been resolved yet?

* Soft delete actually hard deletes the thread.
* Search doesn't search the first post of an event thread.
* Inline ajax edit bugs thread title. Need to remove date and time from it before edit.

I am in desperate need of this hack working flawlessly :)

dieselpowered
25 Oct 2006, 20:55
HAHAHA ok are you ready for this one.

I went into the event forum and clicked on "New Thread"

I noticed that while typing, anytime I hit the space bar, it would save the thread but not close the window...I then had 4 versions of my event.

Could not get to do it again, however, thought it was odd.

I would recommend though, when you click on new thread in the event forum, the add new event dialog comes up...it lets you enter a date, however, no times or recurring options. Anyway to get it to do that?

GrendelKhan{TSU
28 Oct 2006, 12:53
clicks install.

great job. :)

Crazy Serb
07 Nov 2006, 05:32
The way my site is set up we have an Upcoming events forum, and this forum is associated with our one calendar. When an event has passed, I manually move it to a recent events forum. This keeps the event discussion forum from getting cluttered. In fact, maybe this is a good idea for an automated option? When an event time has passed, move the thread to another forum? A cron to do this once a day at midnight would be fine :)

-Raymond


I second that idea.


I have a question, im not sure if this is already a feature or if its possible. I remember trying to mod this back in the previous version without luck. Okay in the Forum view, is there a way to force the listing of event thread in order of event date. So regardless of a new post or new event thread they stay in chronological order?


There isnt currently a way with this mod. I'm not really sure if its very well possible, it might be.

Why is that impossible BUT sorting the events in the "summary box" is done by date? Why not just use the same sorting function/code from that?

Having the events all over the place and with dates in no specific order makes one hell of a mess on a forum that depends on "date sorted" events...


the easy way of fixing this issue for some of us would be to simply revert back to the old way of creating threads -> embedding the date into the thread title at creation/update time and inserting it into the database like that (so it's not just "virtually added" and goes missing once the thread is moved to another forum). that way we could still sort threads alphabetically, and that would get us threads sorted by dates (with a proper date format).

Crazy Serb
15 Nov 2006, 22:53
nobody? no answer, no help? tsk...

never mind... I hacked the code myself.

now I have it adding the date of the event (in a format customized differently from $datetime var in vb settings) and sorting the events by date instead of alphabetically or any other way... ;)

i guess you can't get anything done around here until you do it yourself.

benplanet
16 Nov 2006, 03:53
Guy can somebody help me ... I followed ALL directions to the book!
but "Upcoming events" is not showing up on the forum....anyone know?

I am using a custom theme (by extremepixels)


thanks!

shaunh
17 Nov 2006, 06:14
Is there any way to delay posting of events?

Example:

Post an entire year of events in the calendar.

Thread created when its within X days of event.

Full scope:

Id like to post the entire year's game schedule of a sports team in the calendar, and have a game-day-thread created 1 day before the event each time automatically then block users from starting threads or creating events. Keeps it uniform and automatic.

Kanustep
19 Nov 2006, 22:36
I also would like some new improvements for this hack. I don't mind to pay.

Crazy Serb
21 Nov 2006, 03:36
I also would like some new improvements for this hack. I don't mind to pay.

speaking of which, I'm willing to pay $20 for someone to either integrate the "buy thread" (http://www.vbulletin.org/forum/showthread.php?t=116605) mod or edit the buy thread mod for use with this script....

maroceve
22 Nov 2006, 11:47
Not only does the new event button disapears when you turn on the summary but the first post "meaning the event post" disapears also from the thread.

I dunno if anyone is encountering that bug also ?
I also can't seem to be able to add "Recurring Events"

mrjbs
25 Nov 2006, 22:47
I had the same problem. Installed & worked fine, except for getting the New Event button to show. Evercraft & myself looked over everything I had done to get it to work and never could figure out why it would not show up. My only guess is that I'm using Miko's ARIA Skins (from vbstyles) and that might have had something to do with it.:confused: So not that this helps you any, just to let you know you are not alone.


I have the same problem...no new event button. The button will show if the <if></if> is removed. But then it will show in all of the forums. Is there a different if statement that could be used to choose the forum that it will show up in?

adwade
26 Nov 2006, 05:11
I have the same problem...no new event button. The button will show if the <if></if> is removed. But then it will show in all of the forums. Is there a different if statement that could be used to choose the forum that it will show up in?

Good question. I see Evercraft hasn't been on since Oct though, so not sure when we might hear something back. Anyway, it's GOOD to hear it can be made to show up! So it's sounding like more of a permissions problem from what you're saying. Thanxx for the info.

AWJunkies
27 Nov 2006, 00:51
the permission problems may be directed at calendar permissions. If they can edit the calendar then they can edit the event forum etc.

AWJunkies
27 Nov 2006, 00:54
I would love this integrated with a registration mod. I know there is a few out there but they dont mesh will with this mod. I would pay to have that all integrated.

here is a good reg mod:
http://www.vbulletin.org/forum/showthread.php?t=129088

gyankow
27 Nov 2006, 16:29
Below is an error I recieve when the plug-in in enabled.

I have VB 3.6.4

Fatal error: Existing data passed is not an array
Called set_existing in /home/xxxx/public_html/xxx/forums/includes/class_dm_threadpost.php(1307) : eval()'d code on line 32
Called eval in /home/xxxx/public_html/xxx/forums/includes/class_dm_threadpost.php on line 1307
Called delete in /home/xxxx/public_html/xxx/forums/inlinemod.php on line 662
in /includes/class_dm.php on line 235

Crazy Serb
28 Nov 2006, 15:57
speaking of which, I'm willing to pay $20 for someone to either integrate the "buy thread" (http://www.vbulletin.org/forum/showthread.php?t=116605) mod or edit the buy thread mod for use with this script....

going once...

Scormen
02 Dec 2006, 15:06
Great mod, thanks!

Isn't it possible to integrate the "Username HTML Markup" option of vBulletin usergroups into this hack?

Thanks,
Kris

Jaxx
03 Dec 2006, 07:00
Ok, I must be missing something.

In your screenshots you show the Date and Time above the post. I've installed this, and all it does is post a thread with the info in it, marks the calendar, but it doesn't show the time/place like your screens show.

Is there a particular format?

MrPHD
03 Dec 2006, 10:57
Marked Installed and running 100%. Best Regards

mlucek
08 Dec 2006, 20:02
Very nice ! Just what I needed :) ** INSTALL clicked **

pcoskat
09 Dec 2006, 16:54
nice! Clicks install

:)

smoknz28
14 Dec 2006, 07:33
I would love this integrated with a registration mod. I know there is a few out there but they dont mesh will with this mod. I would pay to have that all integrated.

here is a good reg mod:
http://www.vbulletin.org/forum/showthread.php?t=129088

Look no further: http://www.vbulletin.org/forum/showthread.php?t=133970

;)

soletrader
14 Dec 2006, 07:45
Thank you for the hack. However, I am experiencing a small problem. Can you please help me? The thread reply expands to the left. Please see picture.

https://www.vbulletin.org/forum/external/2006/12/12.jpg

Can anyone help me fix this? thanks

Cocko
14 Dec 2006, 11:04
is there a .psd button file out
if its allowed to make changes on it

abramelin
14 Dec 2006, 12:51
<td class="smallfont"><if condition="$show['newthreadlink']">
<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a>
<if condition="$show['neweventlink']">&nbsp;<a href="newthread.php?$session[sessionurl]do=newevent&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newevent.gif" alt="$vbphrase[lv_vb_eventforums_phrase_post_new_event]" border="0" /></a></if>
<else />&nbsp;</if></td>

when i make this changes it shows the new event button but also it shows the new thread button too.is this normal?

smoknz28
14 Dec 2006, 16:06
Strange one here...

I installed this hack last night. I also had installed previously Farcasters Event Attendance and Farcaster's Event Attendance & vb Event Forums Integration, which he released last night.

I had waited to install this hack as Farcaster said his hack wouldn't work with this...until last night when he released Farcaster's Event Attendance & vb Event Forums Integration.

So, installed it last night along with this hack...

Problem now is that when I click on the calendar and schedule an event with a certain date....lets use the latest one I added... December 20, 2006. It adds the event in the forum I set up, but changes the date to November 30, 1999. I've added two other events...and for some reason...it changes the entire date, however...if you look at the calendar...it shows the correct date scheduled.

I'm not real good at explaining myself, so I'll attach some images to show what I'm refering to.

Any help on this will be greatly appreciated.

My forums is located at: www.f-bodyhideout.com/forums

Update
No matter what date I set in the calendar for an event...it changes them as in my attachment 2 to read 11-30-1999.

Cocko
14 Dec 2006, 16:21
Strange one here...

I installed this hack last night. I also had installed previously Farcasters Event Attendance and Farcaster's Event Attendance & vb Event Forums Integration, which he released last night.

I had waited to install this hack as Farcaster said his hack wouldn't work with this...until last night when he released Farcaster's Event Attendance & vb Event Forums Integration.

So, installed it last night along with this hack...

Problem now is that when I click on the calendar and schedule an event with a certain date....lets use the latest one I added... December 20, 2006. It adds the event in the forum I set up, but changes the date to November 30, 1999. I've added two other events...and for some reason...it changes the entire date, however...if you look at the calendar...it shows the correct date scheduled.

I'm not real good at explaining myself, so I'll attach some images to show what I'm refering to.

Any help on this will be greatly appreciated.

My forums is located at: www.f-bodyhideout.com/forums

Update
No matter what date I set in the calendar for an event...it changes them as in my attachment 2 to read 11-30-1999.


same issue here (vb 3.6.4)

in addition to farcasters event attendance and its new integration

smoknz28
14 Dec 2006, 16:28
same issue here (vb 3.6.4)

in addition to farcasters event attendance and its new integration

I had also sent Farcaster a messager on one of his threads on this. Hopefully they'll figure it out soon.

Farcaster
14 Dec 2006, 16:47
I've tried reproducing this problem on my test forums by setting up all three types of events: single day, ranged and recurring. In all cases, the date remains correct. Does anyone having the problem with the integration hack and the dates changing have a test site with debug turned on that I can look? The debug information will help me understand where it is getting the date from.

|oR|Greg
14 Dec 2006, 17:30
I have it working fine and I have tons of hacks on my board. www.amacny.com

Could it be a calendar thing? I'm using the default Calendar (ID:1).

smoknz28
14 Dec 2006, 17:42
I have it working fine and I have tons of hacks on my board. www.amacny.com

Could it be a calendar thing? I'm using the default Calendar (ID:1).

I'm using the Default Calendar (ID:1) as well and have the following hacks installed:

Add Infobar 1.0.2 Adds an Infobar to every page of your forums

Auto Database Backup 2.12 Cron based automatic backup of vbulletin database.

Bills PayPal Donate 1.31 Bills PayPal Donate

Browser on Who's Online 1.0.2 This hack will show what browser the user is using on the Who's Online list.

Cyb - Advanced Forum Rules 3.1 Cyb - Advanced Forum Rules

Farcaster's Event Attendance 1.1.0 This hack will allow users to RSVP to selected events.

Farcaster's Event Attendance & Event Forums Add-On 1.0.0 Integrates Farcaster's Event Attendance with Evercraft's Event Forums so that the RSVP system is displayed on the Event Forums thread.

FlashChat Integration 3.08 Integration of Flashchat and vBulletin 3.6

Guest Tracking 1.08 Track Guest Visits

Limited Guest Viewing 1.0.5 Limit guests to view a set number of threads before being locked out.

Links and Downloads Manager 2.2.6 Manages a document and link library

Lv vB Event Forums 3.3 Creates tight integration between a forum and a calendar.

Members who are using flashchat 4.32 Display members who are currently chatting in Flashchat.

Members who are using flashchat (Add-on) 1.01 Display members who are currently chatting in Flashchat (with extra functionality).

Members who have visited the forum 4.36 Display members who have visited the forum.

Mini Navbar 1.0.4 Places a breadcrumb from the navbar on the bottom of a thread

Multiple Login Detector 1.03 Cookie-based multiple account login detector

PayPal Donations 2.0.2 Paypal Donations For vBulletin 3.5

PhotoPost Classifieds WOL 1.0 PhotoPost Classifieds WOL

PhotoPost PRO WOL 1.0 PhotoPost Pro WOL

Referrer Statistics 1.3.1 Created By VisionScripts (www.visionscripts.com)

Time Slips Database 1.0 Time Slips Database for vb3.5

Timed Redirect 1.02 Timed Redirect

v3 Arcade 1.0.6 A multiplayer gaming system for your vBulletin forum.

vbgooglemap Member Edition by StonyArc 2.5.2 Display user location based on Google Maps API

vBGuides: Seasonal Effects 1.0.0 Add seasonal weather effects to your forum

vBStatistic Preview 1.0.0 vBStatistic Preview Edition Version 1.0.0

Vbulletin Garage 3.5.0 Garage System

Vbulletin Keep Video Links 2.1 Download Video Links.

Viper's YouTube & Google Video 2.0.1 A one-click solution to allowing your forum's users to embed YouTube and Google Video hosted videos into your forum.

Weekly Stats 1.4.0 Displays and Emails weekly stats for current forum

Zoints Profile System 1.4.4 The Zoints client forum profile linking system.

Cocko
14 Dec 2006, 18:00
I have it working fine and I have tons of hacks on my board. www.amacny.com

Could it be a calendar thing? I'm using the default Calendar (ID:1).

also have default calendar ID:1 for events

installed products (particulary german, translated on the fly for this post)

Add PhotoPost Pro to each forum 1.0 Add PhotoPost Pro to each forum

Age Lock 2.0 Beta 2 Add Forum locking based on age

Ajax Register Check 1.0.1 Ajax Register Check

AutoPM after addBuddy by Antivirus 1.0.4 This will send an automatic PM to a user after you add him/her to your Buddy List.

Post Thanks Hack 5.3 Ermöglicht es sich für nützliche Beiträge zu bedanken.

Userpages 1.06 Benutzerseiten Hack für my-vb.org & vbuletin

CinVin Forum Feed Listing 1.0.2 CinVin Forum Feed Listing

Close Old Threads 1.1 Close old forum threads after X days of inactivity.

CMPS naviguation 1.12 Better integration of CMPS with navbar

Custom WOL Locations 1.0.2 This Hack allows you to easily manage your custom WOL Locations

Cyb - Attention Zero-Posters 1.3 Cyb - Attention Zero-Posters

Debug Modus 1.2.1 This Hack allows you to activate the vBulletin Debug Mode by the ACP

EWT - eXtend Show Spider 1.0.0 by defualt the vbulletin $show['search_engine'] only works for three spiders this extends it to well over 250 spiders.

EWT - Users Registered Today 2.0.0 This gives you a nice little box showing everybody who has registered today.

Farcaster's Event Attendance 1.1.0 This hack will allow users to RSVP to selected events.

Farcaster's Event Attendance & Event Forums Add-On 1.0.0 Integrates Farcaster's Event Attendance with Evercraft's Event Forums so that the RSVP system is displayed on the Event Forums thread.

Foren von 'Neue Beiträge' ausschließen 1.1.0 Dieser Hack erlaubt es Benutzern bestimmte Foren von der 'Neue Beiträge'-Suche auszuschließen

GRPS: Groups Commune 2.0.2 This is a commune for groups.

GTOnline 1.0.0 Online Status on Member List

Track Guests visits 1.03 Zeichnet die Besuche von Gästen und Suchmaschinen auf

IBPro Arcade New Post on Highscore Addon 1.0.2 Make a new Post or New Thread on Highscore

ibProArcade CMPS 1.0 CMPS-Module for vbAdvanced

ibProArcade for vBulletin 2.5.7 ibProArcade - professional Arcade System for vBulletin

Log Logins Hack 2.0 Log Logins Hack

Lv vB Event Forums 3.3 Creates tight integration between a forum and a calendar.

Mini Navbar 1.0.4 Places a breadcrumb from the navbar on the bottom of a thread

Members who have visit today 4.35 Zeigt die Mitglieder an die heute das Forum besucht haben.

Members who have read thread 3.29 Anzeige der Mitglieder, welche ein Thema gelesen haben.

Moderation Auto-PM 2.0.1 Automaticly PMs a user when their thread is moderated

Multiple Login Detector 1.03 Cookie-based multiple account login detector

nCode Image Resizer 1.0 RC 2 Automatically resize posted images

PJIRC JavaChat Integration 2.0.10 Integrates PJIRC Java Applet With vBulletin

PM Attachments 1.55 Allows attachments inside private messages

Self Delete 1.0.0 Allow users to self-delete

Separate Sticky and Normal Threads 1.0.5 Separate Sticky and Normal Threads

ShowProfileFieldInPostBits 1.0 EMiN3M Show Profile Field In Post Bits

Smilies in QR and QE 1.0.3 Created By VisionScripts (www.visionscripts.com)

Special Forum Footer 1.0.1 Fußzeilen anlegen und den Foren zuordnen

Template Modification System 1.0.0 Beta 3 Dieser Hack erlaubt die automatische Verwaltung von Template-Modifikationen

Top Nav Bar 1.0 Top nav bar for extra drop down menues.

Un-Activated User Management 3 This hack will clean up unactivated users

Miserable Users 2.12 Unerwuenschte Benutzer vom Forum bannen.

Usergroup Messages 1.1.0 Show Usergroup(s) a message on forum home

vB Favorits 1.0.1 Fügt Favoriten-System hinzu

vB Pager 3.0.4 vB Pager is a text-based instant messaging system over your community between members.

vBadvanced CMPS 2.2.1 (vB 3.6) vBadvanced Content Management & Portal System

Who has visit my Profile 1.1.0 Dieser Hack protokolliert Profilaufrufe und zeigt die letzten X Profilbesucher.

Who quoted me? 1.0.3 Dieser Hack zeigt dem Benutzer in seinem Kontrollzentrum an, in welchen Beiträgen er zitiert wurde
TestenLöschen
Zoints SEO 2.2.2 The Zoints Search Engine Optimization Package
TestenLöschen
[APM] Advanced Product Management 3.0.4 Advanced tool to manage product, add/edit/delete product's components.
TestenLöschen
[Sniper] - Mood Manager 1.2.3 Allows users to manage there mood

kderentz
14 Dec 2006, 19:04
Awsome mod! Works flawlessly!

funinbc
14 Dec 2006, 20:14
Is there way to put the list of events at the top of the main forum instead or including inside the events forum?

Cocko
14 Dec 2006, 23:24
same issue here (vb 3.6.4)

in addition to farcasters event attendance and its new integration

Thanks to Farcaster for great support.
Thumbs up. Issue /w wrong date is fixed (http://www.vbulletin.org/forum/showthread.php?p=1138768#post1138768). ;)

smoknz28
15 Dec 2006, 00:07
I would like to ask all of you for your input about better managing my events. For instance... I run a car forums where there are members all across the U.S. I've broken my forums down to capture groups of the U.S.

Regional Gatherings and Events (This is the category)
- Eastern States (forum)
- Pacific States (forum)
- Mountain States (forum)
- Central States (forum)

What I would like to know....is currently, I have the Events Forum set up to use one calendar and it's using a seperate forum than those I've listed "Scheduled Events". Problem with using just one forum for all of our events is that there are events that I would rather capture putting them in each of their own forums.

For instance...if a member posting in the Eastern States forum wants to post up a new event in the calendar...the Events Forum will grab that and put it in the Eastern States forum. As with a member in the Pacific States....if he posts up a new event for the pacific states area...that event will go into the Pacific States forum.

I hope this is making sense...cause I'm just about feeling like I'm confusing myself. :doh:

I welcome your thoughts on this as it can better help me in managing this hack and my forums.

Gonzo
www.f-bodyhideout.com/forums

|oR|Greg
15 Dec 2006, 15:00
I have a problem.

I have 2 forums specified for 1 calendar. If I create an event in the 2nd forum, it's added to the 1st forum instead. I've tried reversing the order, I've tried other forum, I've tried more then 2... EVERYTHING goes to the first forum specified.

smoknz28
15 Dec 2006, 16:52
I have a problem.

I have 2 forums specified for 1 calendar. If I create an event in the 2nd forum, it's added to the 1st forum instead. I've tried reversing the order, I've tried other forum, I've tried more then 2... EVERYTHING goes to the first forum specified.

Yea, I had the same issue....so I was figuring that the hack just doesn't like to use multiple forums for the same calendar id. This is why I'm trying to figure out a different way to get this hack to work with my other forums....but it appears I will have to use multiple calendars...bummer...as it would be easiest for my members in all states to work off of one calendar.

Greg, sounds like your forums for your events are laid out very similar to mine then.

|oR|Greg
15 Dec 2006, 17:44
Not really the same layout, but the same problem I agree. I have a Meeting/Events forum, and I have a Universal Threads forum. The Universal Threads is a hack that allows any thread in the specified forum to show across all other forums just like an announcement would, however because it's a thread, people can comment on it. I also customized it so it shows broken out like a Sticky Thread.

Here is an example. This is my General Forum (http://www.amacny.com/vb/forumdisplay.php?f=5). You'll see the Uni's at the VERY top of the thread listing with there own header, then Stickies, then Normal threads.

So, some events are general weekly, hey are we doing anything this weekend, those stay in Meetings/Events. But we have monthly meetings and special events that go in Universal Threads because those are bigger events then just a weekend hangout. I shouldn't have to use a 2nd calendar and that is just going to confuse people even more I think. I would like this hack to work as advertised.

JoeWho
15 Dec 2006, 20:14
Hello,

Did anyone notice that you can not edit the "New Events" ?

I get this: vBulletin Message: Invalid Action Specified

When I try to edit the message/post. :(

Any help on fixing this?

Thanks.

|oR|Greg
15 Dec 2006, 20:33
I've edited them fine.

Also for the time being I added a second calendar and it works, but I REALLY would like it fixed so it's only 1 calendar, but multiple forums.

Why can't you make it array based, like instead of

1:3
1:43

Something like

1:3,43

That way you can specify which forums get which calendars?

JoeWho
15 Dec 2006, 20:47
I've edited them fine.

Also for the time being I added a second calendar and it works, but I REALLY would like it fixed so it's only 1 calendar, but multiple forums.

Why can't you make it array based, like instead of

1:3
1:43

Something like

1:3,43

That way you can specify which forums get which calendars?

Hi,

So... I am the only one having this problem? :(

Do you edit it from the calendar or forum?

I get the same message Invalid Action Specified from both.

Thanks

|oR|Greg
16 Dec 2006, 01:05
I choose Edit Event.

JoeWho
16 Dec 2006, 11:17
I choose Edit Event.

Hi,

Thank you for your response. I'm guessing no one else has this problem. I would assume that it has a conflict with something else I have installed. I will continue working with a and hopefully I can figure out why it will not let me edit, also noticed I could not move it, not that I've wanted to but I was checking. The good news is, I can delete the post/calendar event.

If anybody else has a similar problem board knows how to fix this I would appreciate your feedback.


Happy Holidays.

JoeWho
16 Dec 2006, 16:27
Evercraft,

Or anyone that can help...


I get this: vBulletin Message: Invalid Action Specified when I try to edit the Event/post.

I have found out that there is something missing but I don't know how to fix it, anybody out there that knows how?

Please see the attached photo: vBulletin STANDARD_ERROR (1)

JoeWho
18 Dec 2006, 16:06
Hi Evercraft,

As to my early post... http://www.vbulletin.org/forum/showpost.php?p=1139315&postcount=199
and
http://www.vbulletin.org/forum/showpost.php?p=1139315&postcount=199

Well... I have found that $lv_vb_eventforums_eventdetails must be placed after $navbar, if I place the $lv_vb_eventforums_eventdetails any where else the Edit/Delete will not work.

Is there a fix for this...? :confused:

Anyone else having this problem?

Thanks.

fishhub
18 Dec 2006, 16:07
Can this work on 3.5.4? TIA

Crazy Serb
20 Dec 2006, 03:34
speaking of which, I'm willing to pay $20 for someone to either integrate the "buy thread" (http://www.vbulletin.org/forum/showthread.php?t=116605) mod or edit the buy thread mod for use with this script....

going twice...

smoknz28
24 Dec 2006, 01:26
I've edited them fine.

Also for the time being I added a second calendar and it works, but I REALLY would like it fixed so it's only 1 calendar, but multiple forums.

Why can't you make it array based, like instead of

1:3
1:43

Something like

1:3,43

That way you can specify which forums get which calendars?

Brother, if you figure out how to use this with one calendar....let me know....and I'll do the same.

SportsZone
02 Jan 2007, 08:53
I have installed this hack, but when I try to post an event, I get the following message:

The following errors occurred when this message was submitted:

1. You did not specify a username for your post.

The thing is, I don't even get an option to add a username to an event. Does anyone know how to fix this problem?

Cheers :)

pcoskat
02 Jan 2007, 18:38
Is there any way to have "This Week's Event's" Listed on Forum home (in a left-hand column).

I've posted a paid request for this, too.

|oR|Greg
02 Jan 2007, 20:00
If you used vBAdvanced, and followed the tutorial on left/right side additions you could. I used to have that on my site, going back 45 days.

:Judge:
04 Jan 2007, 02:48
I do not have 2007 in the creation of a new event and if I look in the calendar page I cannot go to Jan 2007, it stays on December.

I looked through this thread but do not see anything about it. Anyone else had this issue?

Farcaster
04 Jan 2007, 02:57
I do not have 2007 in the creation of a new event and if I look in the calendar page I cannot go to Jan 2007, it stays on December.

I looked through this thread but do not see anything about it. Anyone else had this issue?

Have you checked your calendar settings for that particular calendar to make sure the range is set correctly? It is possible that your date range is set to end in 2006.

:Judge:
04 Jan 2007, 03:14
Have you checked your calendar settings for that particular calendar to make sure the range is set correctly? It is possible that your date range is set to end in 2006.


OMG that was so simple, thank you much. I have been doing this for a few years now and that was a first for me.

stomph
05 Jan 2007, 02:43
Thanks for this great hack! :)

The Events in the Summary atop the forum are grouped by date. Ranged events are then listed as often as the number of days they last. Could you change this hack to allow the upcoming events to be grouped by event? That'd be great!

Xoxideforums
08 Jan 2007, 18:00
Is there any way to delay posting of events?

Example:

Post an entire year of events in the calendar.

Thread created when its within X days of event.




This addition has come up a few times. How complex would this be to have the forum thread created X days prior to the actual event.

abhimation
08 Jan 2007, 20:50
Thats wht i needed. Thnx a million !

ragtek
13 Jan 2007, 21:17
hi
in this product is a xss flaw!!!
and evercraft was since october not online :(


for the users:

update the when saving an event, create or update the associated thread plugin

// update the existing thread
$this->dbobject->query_write("
UPDATE " . TABLE_PREFIX . "thread
SET lv_vb_eventforums_eventid = " . intval($this->fetch_field('eventid')) . ",
forumid = " . intval($lv_vb_eventforums_forumid) . ",
title = '" . $this->dbobject->escape_string(htmlspecialchars_uni($lv_vb_eventforums_threadtitle)) . "'
WHERE threadid = " . intval($this->fetch_field('lv_vb_eventforums_threadid')) . "
");
thx to andreas (http://www.vbulletin.org/forum/member.php?u=47102)
but he means that it is possible that here are more flaws, but he didn check anything, just the one "big" hole

tekstylez
15 Jan 2007, 14:34
My newevent button is not showing at all.... any known fixes for this?

adwade
15 Jan 2007, 20:19
thx to andreas (http://www.vbulletin.org/forum/member.php?u=47102)
but he means that it is possible that here are more flaws, but he didn check anything, just the one "big" hole
With Evercraft's ongoing absense, would be nice if someone could review some of the code for other flaws and tell us newbies how/what to cut-n-paste in order to fix it as best is possible.:) Thanxx for finding/fixing the above referenced problem! :D

ragtek
15 Jan 2007, 21:13
i'm planing on coding it new, when i find the time
but the problem is that i'm self no proficoder and have much to lern

stwilson
16 Jan 2007, 15:42
Can someone suggest how I might go about removing the times from the thread title on multi-day events?

Right now it looks like this:
Event Test #2: 01-18-2007 07:00 AM - 12:00 PM

And I want it to look like this in both the forumdisplay.php page and the upcoming listing:
Event Test #2: 01-18-2007

ST

stwilson
16 Jan 2007, 16:48
Can someone suggest how I might go about removing the times from the thread title on multi-day events?

Right now it looks like this:
Event Test #2: 01-18-2007 07:00 AM - 12:00 PM

And I want it to look like this in both the forumdisplay.php page and the upcoming listing:
Event Test #2: 01-18-2007

ST

Figured it out. Never mind.

ST

Mike Bucy
17 Jan 2007, 04:01
This is something I've been looking for. I need to add a twist to it. I want to use this for dispatch scheduling. For every event (Job) I need it to create a thread where installers can update notes and attach workorders using the attachment function.

Bottom like here I think is to replace the word Event with the word Job. Can this be done?

stwilson
17 Jan 2007, 04:09
This is something I've been looking for. I need to add a twist to it. I want to use this for dispatch scheduling. For every event (Job) I need it to create a thread where installers can update notes and attach workorders using the attachment function.

Bottom like here I think is to replace the word Event with the word Job. Can this be done?

Mike,

You can do that in the Language & Phrases section. Do a search for Event.

ST

Mike Bucy
17 Jan 2007, 06:37
Great idea. I'll give it a try!!

marlita
22 Jan 2007, 19:25
please help: my site's located at http://www.virginiareia.com/forum/forumdisplay.php?f=65. the login info is screen name: test & password: test. i can't for the life of me figure out why the "upcoming events" information is wrong and I don't know how to fix it. thanks in advance.

bada_bing
22 Jan 2007, 20:52
Where exactly in FORUMDISPLAY do I add this code?

<td class="smallfont"><if condition="$show['newthreadlink']">
<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a>
<if condition="$show['neweventlink']">&nbsp;<a href="newthread.php?$session[sessionurl]do=newevent&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newevent.gif" alt="$vbphrase[lv_vb_eventforums_phrase_post_new_event]" border="0" /></a></if>
<else />&nbsp;</if></td>

Cinjun
23 Jan 2007, 17:00
Beautiful mod, I love it. :)

*installed

Cinjun
23 Jan 2007, 17:21
Where exactly in FORUMDISPLAY do I add this code?

<td class="smallfont"><if condition="$show['newthreadlink']">
<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a>
<if condition="$show['neweventlink']">&nbsp;<a href="newthread.php?$session[sessionurl]do=newevent&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newevent.gif" alt="$vbphrase[lv_vb_eventforums_phrase_post_new_event]" border="0" /></a></if>
<else />&nbsp;</if></td>

bada_bing,

Look for this line in FORUMDISPLAY:
<a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newthread.gif" alt="$vbphrase[post_new_thread]" border="0" /></a>

Add this after it:
<if condition="$show['neweventlink']">&nbsp;<a href="newthread.php?$session[sessionurl]do=newevent&amp;f=$foruminfo[forumid]" rel="nofollow"><img src="$stylevar[imgdir_button]/newevent.gif" alt="$vbphrase[lv_vb_eventforums_phrase_post_new_event]" border="0" /></a>


This is what he is trying to say in the instructions above I do believe.

MJM
26 Jan 2007, 04:18
I have installed this hack, but when I try to post an event, I get the following message:

You did not specify a username for your post.

The thing is, I don't even get an option to add a username to an event. Does anyone know how to fix this problem?

Cheers :)

I have the same problem. All my permissions appear to be in order.
I wonder if it's because of the Adv. Editing Options for Mods and Admins (http://www.vbulletin.org/forum/showthread.php?t=132291) plugin

SportsZone did you find the solution or reason?

- You did not specify a username for your post.-

lxianc
26 Jan 2007, 04:38
Okay ... I would love to give this a try but I have one question. I'm sorry if this has been covered but I don't have time to read 16 pages. :P

Does it work both ways? Meaning ... can you initiate a calendar entry by posting a new event in the forum AND initiate a new event thread in the forum by posting one on the calendar? Or does it only work one way or the other?

Thanks much.

stwilson
26 Jan 2007, 04:42
Okay ... I would love to give this a try but I have one question. I'm sorry if this has been covered but I don't have time to read 16 pages. :P

Does it work both ways? Meaning ... can you initiate a calendar entry by posting a new event in the forum AND initiate a new event thread in the forum by posting one on the calendar? Or does it only work one way or the other?

Thanks much.

It works both ways. There is a new button (New Event) added to the forum, allowing you to post a new thread or a new event, which ends up on the calendar.

lxianc
26 Jan 2007, 04:43
oh god ... this could be a dream come true. my whole site's purpose is to promote music events. this could save me DAYS of work.

i gotta try this out. :)

stwilson
26 Jan 2007, 04:48
oh god ... this could be a dream come true. my whole site's purpose is to promote music events. this could save me DAYS of work.

i gotta try this out. :)

Killer!!! Remember the fine developer who coded up this MOD by showing him a little $upport. ;)

lxianc
26 Jan 2007, 04:52
trust me ... if it works like he says it works ... he'll know i appreciate it.

stwilson
26 Jan 2007, 04:56
trust me ... if it works like he says it works ... he'll know i appreciate it.

I have been testing it for a few days now and it works as advertised. I am very pleased, hence my .02cents being freely given. Good luck.

lxianc
26 Jan 2007, 05:40
so far so good. i didn't bother with the extra button. i stopped at step 3. i just need to figure out how i want to do this. i don't want everyone and their mother adding events to my calendar but i don't necessarily want to create a process where i have to add people to a special user group on an individual basis either.

that said ... i tested it on two events and so far so good so ...

*Installed*

MJM
26 Jan 2007, 10:06
I have the same problem. All my permissions appear to be in order.
I wonder if it's because of the Adv. Editing Options for Mods and Admins (http://www.vbulletin.org/forum/showthread.php?t=132291) plugin

Error 1. You did not specify a username for your post.-

Yep, I disabled this plugin and it works now.
However I can't live without Adv. Editing Options for Mods and Admins ( which is only applied to threads, not the calendar). :(

ragtek
26 Jan 2007, 11:32
put global $vbulletin in the plugin code
that it will work

nymyth
26 Jan 2007, 20:38
There is a conflict when trying to run this with FAVORITE SMILIES HACK.....when clicking on a new thread it says something about header information already passing.....after i disabled favorites hack this works fine......if anyone can get the both working please lemme know....THANKS

Peace

evotion
27 Jan 2007, 14:33
Great stuff....
In conjucjtion with the RSVP script its totally brilliant.

MJM
30 Jan 2007, 10:02
ragtek, which plugin would this be added to and would you be so kind as to provide instructions or should I ask at Advanced editing Mods plugin (http://www.vbulletin.org/forum/showthread.php?t=132291)?

Yep, I disabled this plugin (below) and it works now.
However I can't live without Adv. Editing Options for Mods and Admins ( which is only applied to threads, not the calendar). :(

put global $vbulletin in the plugin code
that it will work

gyankow
31 Jan 2007, 20:45
I was wounding if anyone knew how to run the Thread create portion of the vb forums stand alone? Editing and saving each event that was added before this was installed is a pain. I need a way to mass create all the accosiated threads by executing a script to create the thread part of the code product. Maybe check to see if event occurs int he next 30 days from today to prevent flooding. HELP please.

Evercraft
02 Feb 2007, 15:17
Hi all, I just want to apologise for the lack of updates on this. I've been very busy with work and other projects, and time for this project has unfortunatly been reduced to nil at present.

Unfortunatly I can't really say when I will be able to dedicate time to some of the requested features/issues, but when I do i'll be sure to let you know.

Swedie
04 Feb 2007, 16:06
I get two entries on the same showthread page.

http://www.sporthoj.com/forum/showthread.php?t=146213

How come?

MTVSlick
11 Feb 2007, 08:06
this mod set up fine, but when any members clicks on the new event button it say they do not have permission to view, but all setting ssay they do, anyone have any ideas on what to do here?


Mark,

thincom2000
12 Feb 2007, 08:00
They need to have permission to create calendar events.

Anyway, any other product would have been an immediate uninstall. However this rocks too much. Installing this mod pushed my showthread queries up from 12 to 43. I'm going to have to rewrite all your plugins tomorrow to get it to only use the original 12...

COBRAws
12 Feb 2007, 22:35
Zip updated with XSS flaw as per this post: http://www.vbulletin.org/forum/showpost.php?p=1158337&postcount=218

Version 3.3.1 i guess

Lionel
13 Feb 2007, 00:08
speaking of which, I'm willing to pay $20 for someone to either integrate the "buy thread" (http://www.vbulletin.org/forum/showthread.php?t=116605) mod or edit the buy thread mod for use with this script....

So Crazy Serb, how did you make out? I solved half the problem by intercepting all new events made from forum add event button, simply by executing the event forum redirect script after the buy event new_thread_start (made it number 6).

I am curious to know if you managed to control it via calendar add?