vb.org Archive

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

FleaBag 08-08-2006 08:46 PM

One of the most important hacks on my board... Thanks for the update!

Evercraft 08-08-2006 08:46 PM

Quote:

Originally Posted by Tyegurl
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 08-09-2006 01:03 AM

Quote:

Originally Posted by Evercraft
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 if you'd like, its above the shoutbox.

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

<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 08-09-2006 04:59 AM

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

Code:

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/lltestsi...=postreply&t=8
Referrer    : http://www.battle-lands.com/lltestsi...&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 08-09-2006 05:07 AM

nice hack

erinys 08-09-2006 05:48 AM

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 08-09-2006 05:04 PM

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 08-10-2006 06:47 PM

Quote:

Originally Posted by rabidkevin
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 08-10-2006 06:48 PM

Quote:

Originally Posted by erinys
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 08-10-2006 06:52 PM

Quote:

Originally Posted by CypherSTL
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

Code:

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/lltestsi...=postreply&t=8
Referrer    : http://www.battle-lands.com/lltestsi...&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.


All times are GMT. The time now is 05:17 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01628 seconds
  • Memory Usage 1,759KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete