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)

SamirDarji 06-04-2009 05:49 PM

Has anyone had a problem posting HTML to an event with this mod? I've got HTML enabled for my calendars and when I post the following, it won't work. If I post it to another calendar that is not integrated with a forum, it displays fine. Any ideas where to look? It seems to be disabling html in a calendar somehow.
Code:

<embed src="http://www.smugmug.com/ria/ShizamSlides-2007090601.swf?AlbumID=8426926&AlbumKey=kuxig&transparent=true&crossFadeSpeed=500&showThumbs=false&showButtons=false&showLogo=false&forceSize=MediumURL&clickUrl=http://dougwright.huntsvillecarscene.com/gallery/8426926_kuxig" wmode="transparent" type="application/x-shockwave-flash" allowScriptAccess="always" allowNetworking="all" height="450" width="600"></embed>

alfaowner 06-07-2009 08:09 PM

Works great on my 3.8.2? It was installed orignally on a 3.6.4 and upgraded to 3.8.2, re did template edits and all cool, no white pages yet?

SVTCobraLTD 06-09-2009 03:31 PM

How to add attachments to first post? 3.6.11

RichieBoy67 06-15-2009 02:18 PM

I finally have it working with 3.8.2--I would like to modify it now so when you click on the "New Event" button you can still have a selection of either posting a ranged event, etc..

Has anyone done this yet? I was thinking of either making the new event button a drop down or I could add a table to the events page below the post box...

If anyone has already written this it would save me from having to do it myself..lol Anyone??lol

Thanks

Rich
webdevoman.com

SamirDarji 06-15-2009 03:01 PM

Quote:

Originally Posted by RichieBoy67 (Post 1830086)
I finally have it working with 3.8.2--I would like to modify it now so when you click on the "New Event" button you can still have a selection of either posting a ranged event, etc..

I'm still trying to get around the html problem. :( I think I've figured out a way to use bbcode. I've been experimenting with replacement variables, but with only intermittant success. There's a youtube embedding plugin that I'm going to try and see if it works.

For your request, I think it would be as simple as putting in a conditional in the thread display template (sorry don't remember the name) that would have a drop-down box like under "community" when the new event button is clicked. And you can have the different calendar options there. I've thought about doing the same thing and may code it up in the next month or so.

SamirDarji 06-16-2009 02:07 PM

HTML problem solved. :)

Because this plugin does store calendar events in the first post of the linked thread, the calendar event is actually searchable. However, a caveat to this design is that forum permissions override calendar permissions. I had my calendar set to allow html and my linked forum set to HTML not allowed. The forum permissions were overriding the calendar ones. When I set the forum permission to allow HTML, all my calendar events with HTML allowed HTML. :)

This also explains why moving a post older than the calendar event thread to that thread changes the calendar event. It's why merging threads is turned in event forums. But it is still possible to move individual posts, so your staff must know not to move a post older than an calendar event thread to that thread. There's no protection from moving posts like for merging threads.

I will be working on this conditional in the next two weeks now that the HTML problem is solved.

SamirDarji 07-04-2009 04:26 PM

Anyone tried turning on moderation for calendar and/or threads? It doesn't seem to work. :(

corsacrazy 08-21-2009 11:49 AM

does this work for vb 3.8

SamirDarji 08-21-2009 06:04 PM

Quote:

Originally Posted by corsacrazy (Post 1871574)
does this work for vb 3.8

It will if you follow the directions above. I've got it working in 3.8.3.

rabidkevin 08-23-2009 03:45 PM

It works with my 3.8.4 out of the box I had no make no changes or alterations..

corsacrazy 08-24-2009 09:54 PM

i have hidden threads to guests, hidden calendar to guests but when i visit the event forum i have it still shows the "https://vborg.vbsupport.ru/external/2009/08/8.gif Upcoming Events for the Next X Day(s)" with the Thread /event titles!! how can this be?

should it not say a message or hide this section all together?

SamirDarji 08-25-2009 03:00 AM

If you are visiting, it may be using your permissions. Set up a test user and put them in the same usergroup as your registered users and see what happens.

Permissions are a bit funny with event forums. I never figured out a way to get thread/event moderation to work.

corsacrazy 08-25-2009 07:52 AM

Quote:

Originally Posted by SamirDarji (Post 1873813)
If you are visiting, it may be using your permissions. Set up a test user and put them in the same usergroup as your registered users and see what happens.

Permissions are a bit funny with event forums. I never figured out a way to get thread/event moderation to work.

im definately visiting as a guest as i logged out and opened a different browser, it hides all the posts fine but the event summary bar in $navbits still shows

SamirDarji 08-25-2009 12:35 PM

Strange. I just looked for the same issue on my test system, but mine is working correctly. :confused:

Try reinstalling the plugin overriding the existing installation. This will disconnect all existing event forums so this better be on a test system.

corsacrazy 08-25-2009 01:26 PM

on live site :( its not such a big deal i suppose, because if they click it then cant see anything apart from the stndard vb access error. just would be nice to have something like this: see photoshop below

http://img193.imageshack.us/img193/5214/14735268.jpg

SamirDarji 08-25-2009 01:41 PM

Something didn't install right. It won't show any events if they don't have permissions...wait...permissions. I think I know why!

Check BOTH your calendar AND forum permissions. I bet the calendar permissions still allow guests.

corsacrazy 08-25-2009 01:44 PM

Quote:

Originally Posted by SamirDarji (Post 1874075)
Something didn't install right. It won't show any events if they don't have permissions...wait...permissions. I think I know why!

Check BOTH your calendar AND forum permissions. I bet the calendar permissions still allow guests.

think again bat man..

Can View Calendar - Yes No

SamirDarji 08-25-2009 01:55 PM

Was that it?

corsacrazy 08-25-2009 02:43 PM

Quote:

Originally Posted by SamirDarji (Post 1874083)
Was that it?

nah.. the permissions were correct and set to NO, meaning users cant see this calendar.. but they can within the event forum still

SamirDarji 08-25-2009 03:23 PM

If they can still see the forum, then that's the problem. Try turning off the thread viewing permission for the group. That should do it.

The permissions work funny sometimes in event forums when both forum and calendar permissions are set to two different settings. I had this issue when I couldn't get HTML to show in my event listings even though the HTML was on for the calendar. I had to turn it on for the thread too.

corsacrazy 08-25-2009 03:27 PM

If i turn that off then the block will dissappear from forum home..

i like the way it still shows the forum and in last poster coloumn has the word "private"

SamirDarji 08-25-2009 04:03 PM

Hmm...it's a limitation of the plugin.

But a way you can get he same effect is this. Go ahead and set the permissions on the hidden forum to make it dissappear. Then create a new forum with the same name as the one that is an event forum. Make this one private and only displayed to guests. This way, guests see the forum too, but can't access it anyways since they don't have permission. When they fully register, they see the other forum, but won't know that it's technically a different forum.

corsacrazy 08-25-2009 10:08 PM

or just figure out how to apply the standard cal permissions to the events being shown inside the forum :p hehe

corsacrazy 08-26-2009 08:24 AM

I just noticed... recurring events dont seem to work any more! also how can i change the %datetime out put to have a nicer layout and show D/M/Y not m-d-y

SamirDarji 08-26-2009 01:04 PM

Quote:

Originally Posted by corsacrazy (Post 1874409)
or just figure out how to apply the standard cal permissions to the events being shown inside the forum :p hehe

Did you do this and it work, or are you suggesting a change in the way the plugin works?

SamirDarji 08-26-2009 06:14 PM

Quote:

Originally Posted by corsacrazy (Post 1874616)
I just noticed... recurring events dont seem to work any more! also how can i change the %datetime out put to have a nicer layout and show D/M/Y not m-d-y

What do you mean by they don't work? Can you not create them? Are you talking about existing events?

To change the date/time format you have to modify the code. I modified the install script to only put only the month and day.

corsacrazy 08-26-2009 06:25 PM

i mean, i have set up an event that repeats every last tuesday of the month and it doesnt show up on each calendar month, only the month i created it ?

SamirDarji 08-26-2009 06:45 PM

Quote:

Originally Posted by corsacrazy (Post 1874945)
i mean, i have set up an event that repeats every last tuesday of the month and it doesnt show up on each calendar month, only the month i created it ?

Have you checked the dates and the year? Try making a second non-event forum linked calendar and see if it will create the event there.

trotskid 09-04-2009 02:00 AM

Definitively in my forum (3.8.3) doesn't appear the new event button in two differents styles (including default). Anyway works well at the moment.

SamirDarji 09-04-2009 02:43 AM

The new event button requires changing your styles manually, so that's normal.

trotskid 09-04-2009 03:53 AM

I know that.. but doesn't work on my forum.

Quote:

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>



SamirDarji 09-04-2009 04:22 AM

Did you check under the plugin options that you have this enabled as well?

trotskid 09-04-2009 05:21 AM

I've read first post, yes.

SamirDarji 09-04-2009 07:26 AM

Hmmm...try taking out the condition of the template mod to see if the button shows at all. If it doesn't, then something is wrong with the image part of it. If it does, then something is wrong with the conditional part of it.

dragtech 09-06-2009 12:35 AM

Worked perfect for 3.8.4 install. I haven't gotten the "New Event" button working, but i think that is more of the style i have.

Now i need to find out if "Thread Prefixes" will work on Event post and how? Anyone know?

SamirDarji 09-06-2009 02:29 AM

I just started playing with prefixes on my test system after I read your post. I think because this mod works by creating a calendar item and copying it to the first post of a thread that the prefix system won't work on an event forum. I'm going to try it in a second and see what happens...

SamirDarji 09-06-2009 02:36 AM

It's just as I suspected. A new thread is actually creating a new event so the thread title and all that isn't even being used. It would take a lot to make thread prefixes work. :(

SamirDarji 09-07-2009 08:23 PM

Setting "Posted Events are Not Moderated" to "No" on a usergroup breaks this mod. Someone correct me if I'm wrong.

dragtech 09-08-2009 12:44 AM

I have my board as Not Moderated and not having any problems.

SamirDarji 09-08-2009 01:14 AM

Do you have any of the usergroups "Posted Events are Not Moderated" set to "No"?


All times are GMT. The time now is 03:52 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.01685 seconds
  • Memory Usage 1,827KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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