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)

skooby 04-07-2009 10:52 PM

Disregard :)

theparentpack 04-12-2009 07:04 PM

I have imported the xml file and have not yet done the code edits. I noticed on my forums that when I click on a Group to see the Group's page, I get this message:

No Calendar specified. If you followed a valid link, please notify the administrator

When I disable the mod, I am able to click on a Group and be taken to it's page. Will this change once the edits are done? As much as I look forward to this hack, I can't commit to it if it prevents my members from checking out the groups.

BigDog56 04-13-2009 05:02 PM

What is the calender ID?

dklassen 04-17-2009 11:45 PM

Will this work with 3.7.3?

Wayne Luke 04-19-2009 02:35 AM

I was evaluating this to see if I want to keep it and click Install. However I cam across an error.

Warning: Invalid argument supplied for foreach() in [path]/calendar.php(1825) : eval()'d code on line 70

This leads to the plugin on calendar_add_complete and this code:
PHP Code:

        if (count($othergroups)>0) {
                  
$socialgrouplist .= "<option>-------------------</option>";
        }

        
// Add options to social group list.
        
foreach ($othergroups as $socialgroup) {
                 
$selected = ($groupid==$socialgroup['groupid']) ? 'selected="selected"' "";
     
$socialgrouplist .= "<option value=\"$socialgroup[groupid]\" $selected>$socialgroup[name]</option>";
        } 

I don't have any "$othergroups" as I am the owner of all groups on the site. So shouldn't the Foreach be within the if block with the divider line so that it doesn't try to process a loop without data?

I changed the above code to:
PHP Code:

        if (count($othergroups)>0) {
            
$socialgrouplist .= "<option>-------------------</option>";
            
// Add options to social group list.
            
foreach ($othergroups as $socialgroup) {
              
$selected = ($groupid==$socialgroup['groupid']) ? 'selected="selected"' "";
              
$socialgrouplist .= "<option value=\"$socialgroup[groupid]\" $selected>$socialgroup[name]</option>";
            }
        } 

Clears up the error. Wouldn't be noticeable on an active site with different groups created.

Wild Bronco 05-04-2009 03:10 PM

Sounds nice ...

Is it thene possible to view all social group events on one Event calendar? To get a cleare look at all up coming events??

Or have a menu of calendar topics like Dog events, horse events, cat events etc ...

rEd86 05-08-2009 02:06 PM

Quote:

Originally Posted by theparentpack (Post 1789732)
I have imported the xml file and have not yet done the code edits. I noticed on my forums that when I click on a Group to see the Group's page, I get this message:

No Calendar specified. If you followed a valid link, please notify the administrator

When I disable the mod, I am able to click on a Group and be taken to it's page. Will this change once the edits are done? As much as I look forward to this hack, I can't commit to it if it prevents my members from checking out the groups.

I am experiencing the same problem for a Social Group I created after installing the product. (it's the first group of a virgin board that I am working on)

Let me know what you need from me to determine what's going on.

Thanks!

--Ed

Reeve of shinra 06-08-2009 03:34 AM

I just installed it and so far things look great. It's actually making the calendar useful!

chrisesposito 06-08-2009 04:35 AM

If I want to use a calendar besides the default, what do I use for a 'Calendar ID'? I tried the name 'Social Group Calendar' but that didn't appear to work, and I tried '1' (assuming the default calendar had an ID of 0) but the event listing refers to the default calendar name instead of the new one. :confused:

Thanks,
Chris

Reeve of shinra 06-08-2009 07:44 PM

Look in the calendar section of the admincp... if you create a new one it will take you to a screen which has all the calendar id's next to the calendar names.


All times are GMT. The time now is 09:04 AM.

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.01347 seconds
  • Memory Usage 1,749KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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