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)

Ipuck 08-10-2006 08:10 PM

Nice mode :D

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

How can search events by zip code?

Thanks

adwade 08-11-2006 02:25 AM

Sorry-so-stupid, but I have a question about the FORUMDISPLAY edit. Your instructions say...
Quote:

<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 08-11-2006 03:10 AM

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 08-11-2006 03:05 PM

Quote:

Originally Posted by Evercraft
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 08-16-2006 03:22 AM

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 08-16-2006 04:30 AM

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

If I klick on report bad post, I?m receiving the following message:

Code:

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

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 08-17-2006 11:28 AM

Quote:

Originally Posted by Ipuck
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 08-17-2006 11:29 AM

Quote:

Originally Posted by adwade
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.


All times are GMT. The time now is 09:59 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.01764 seconds
  • Memory Usage 1,753KB
  • 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
  • (1)bbcode_code_printable
  • (4)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