vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Social Group and Album Enhancements - Social Group Calendars (https://vborg.vbsupport.ru/showthread.php?t=203352)

bgg 02-17-2010 01:35 AM

Is there a Social Group Calendar mod for CMS 4.0 or is it built in somewhere that I just can't find it? Sounds like an obvious need and with the RSVP it can replace meetup.com - which is my goal.

Any input welcome.
James

Farcaster 03-04-2010 05:26 AM

Quote:

Originally Posted by chsmith700 (Post 1918548)
Anyone want to help make this into a Vbulletin 4.0 Mod? I am on the right track I think but cant get it to display for some reason.

Quote:

Originally Posted by bgg (Post 1984252)
Is there a Social Group Calendar mod for CMS 4.0 or is it built in somewhere that I just can't find it? Sounds like an obvious need and with the RSVP it can replace meetup.com - which is my goal.

Any input welcome.
James

Hello, all. I am finishing up the updates to this mod and will be posting a vb4 version very soon. I am also planning on creating a CMS widget for the front page that will show members events from social calendars that they are a member of.

theparentpack 04-15-2010 10:14 AM

I have installed, edited the two files, uploaded them. Then I edited the templates, and configured. Now when I try to view or add an event I get the permissions error. How can I fix this?:

Tina, you do not have permission to access this page. This could be due to one of several reasons:

1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.



Also, in the admincp when I go into my calendar manager and edit I get this vB database error, however, the changes I made are saved:

Database error in vBulletin 3.8.2:

Invalid SQL:

SELECT eventid, userid, event.title, recurring, recuroption, dateline_from, dateline_to, event.calendarid, IF (dateline_to = 0, 1, 0) AS singleday, customfields,
dateline_from AS dateline_from_user, dateline_to AS dateline_to_user, utc, dst , event.socialgroupcalendar, sg.name as socialgroupname
FROM event AS event
INNER JOIN calendar AS calendar USING (calendarid)
LEFT JOIN (SELECT groupid, name FROM socialgroup) sg ON sg.groupid = event.socialgroupcalendar
WHERE ((dateline_to >= 1271157014 AND dateline_from < 1274008214) OR (dateline_to = 0 AND dateline_from >= 1271157014 AND dateline_from <= 1274008214 ))
AND visible = 1
AND calendar.options & 512
ORDER BY dateline_from;

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT groupid, name FROM socialgroup) sg ON sg.groupid = event
Error Number : 1064
Request Date : Thursday, April 15th 2010 @ 07:10:14 AM
Error Date : Thursday, April 15th 2010 @ 07:10:14 AM
Script : http://sonoma.ca.theparentpack.org/f....php?do=update
Referrer : http://sonoma.ca.theparentpack.org/f...hp?do=edit&c=1
IP Address : XXXXXXXXXX
Username : Tina
Classname : vB_Database
MySQL Version : 4.0.27-max-log



Even when I disable the mod, I get the permission error. What can I do to fix these two issues?

theparentpack 04-15-2010 10:29 AM

sorry accidental double post.

|Jordan| 10-13-2010 10:30 PM

I did all the edits but when a member of the group tries to post an event (Allow Members to Post Events is enabled in group options) they get a permission denied message. How do i fix this?

chrisbeau 02-22-2011 07:41 PM

When I try to import this the main page on the admincp goes white, tried disabling the hooks and it made no difference.

viper357 06-21-2011 10:28 AM

Quote:

Originally Posted by theparentpack (Post 2021589)
I have installed, edited the two files, uploaded them. Then I edited the templates, and configured. Now when I try to view or add an event I get the permissions error. How can I fix this?:

Tina, you do not have permission to access this page. This could be due to one of several reasons:

1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Quote:

Originally Posted by |Jordan| (Post 2109916)
I did all the edits but when a member of the group tries to post an event (Allow Members to Post Events is enabled in group options) they get a permission denied message. How do i fix this?

I managed to solve this problem.
  • Go to template "socialgroups_events"
  • Find the 4th line down, the code that starts with this <if condition="$show[new_event_button]"> and ends with |</if>
  • Change it to this <if condition="$show[new_event_button]"><a id="add_event_link" class="smallfont" href="calendar.php?do=add&type=single&c=$calendari d">$vbphrase[new] $vbphrase[event]</a> |</if>

Woks fine for me on 3.8.5

Thanks Farcaster.

ywwz 03-12-2012 02:57 AM

can someone do the same thing for version 4.x?


All times are GMT. The time now is 02:16 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.01008 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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