vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vB Event Forums (https://vborg.vbsupport.ru/showthread.php?t=102213)

Evercraft 05-01-2006 10:37 AM

Quote:

Originally Posted by soulface
Installed & 2 Uncached templates....

thanks, i'll get those cached :)

bada_bing 05-01-2006 11:39 AM

installed last night and so far good... thank you

Evercraft 05-01-2006 11:43 AM

Changelog
Version: 2.7
  • All templates should now be cached.
  • Optimised the code which hides the first post on an Event Thread.
  • Fixed a bug which was causing smilies and images, as well as possibly other BB code to not be parsed correctly.
  • Added better error handling on SQL queries, and using vb functions in all places over raw mysql functions.

bada_bing 05-01-2006 11:50 AM

How do you upgrade from 2.6 to 2.7 ? I just installed 2.6 last night too. :banana:

soulface 05-01-2006 12:02 PM

well not you know... now its not even showing the name of the uncached templates :/

Quote:

Page generated in 0.41719 seconds with 54 queries (1 queries for uncached templates) [Server Loads: 0.05 0.08 : 0.08]
Uncached templates: (1)

Kanustep 05-01-2006 12:34 PM

I like the subscription price to events, how do you add that custom field?

bada_bing 05-01-2006 12:51 PM

Quote:

Originally Posted by Kanustep
I like the subscription price to events, how do you add that custom field?

If you go to your calandar manager in admincp click edit calandar then right under Display Order you will see Custom Fields [Add New Custom Field]

Add your custom fields there

cat4m 05-01-2006 01:02 PM

"cat4m, I have written a set of upgrade instructions which you can find here. I think they are pretty clear and easy to follow, but besides logging onto your site and doing it for you (which I won't be), I don't think there is much else I can do to help you upgrade."

Thats okay only wanted advice !! Didnt want you to do it for me !!!!

bada_bing 05-01-2006 01:06 PM

Quote:

Originally Posted by cat4m
"cat4m, I have written a set of upgrade instructions which you can find here. I think they are pretty clear and easy to follow, but besides logging onto your site and doing it for you (which I won't be), I don't think there is much else I can do to help you upgrade."

Thats okay only wanted advice !! Didnt want you to do it for me !!!!

Where are the upgrade instructions?

cat4m 05-01-2006 04:11 PM

You'll find them here mate.
https://vborg.vbsupport.ru/showthrea...636#post956636

bada_bing 05-01-2006 04:30 PM

Quote:

Originally Posted by cat4m

Nope that is the instructions on going from version 1.x to 2.x I am already on version 2.6 and he just releasded 2.7 with no upgrade instructions

soulface 05-01-2006 05:08 PM

Just follow the Step 3 from this page: https://vborg.vbsupport.ru/showthrea...636#post956636

which is..

Quote:

Step 3
Download the latest product XML file.

Goto your Admin CP at your forums, then goto Plugin System -> Manage Products.

Click [Add/Import Product] at the bottom of the page. Browse to the location where you downloaded the xml file and click the OVERWRITE check box. Then click the Import button.

COBRAws 05-01-2006 11:00 PM

Thread Prefixes would be great to be integrated too. And most of all (and the most easy i believe) would be adding an attachment tool for events. Like normal threads have =D

great hacK!
testing it, but i cant put it to work in my forums because it lacks of attendance and attachments.

cya!!

sickboy6ths 05-02-2006 06:13 AM

Ty for the new version.. only error that remains is:
Warning: Invalid argument supplied for foreach() in \showthread.php on line 2216
which is in this part of the code:
Code:

  // get permissions
  $lv_vb_eventforums_permissions = array();
 
  $membergroupsql = '';
  if(isset($membergroupids) && (count($membergroupids) > 0))
  {
    foreach($membergroupids as $key => $value)
    {
          if($value != '')
          {
            $membergroupsql .= ' OR usergroupid = ' . $value;
          }
    }
  }


Quote:

Originally Posted by albertsch9
Now i get this:
Fatal error: Call to a member function fetch_array() on a non-object in /www/htdocs/v030134/v2/forum/includes/functions_forumdisplay.php(413) : eval()'d code on line 49

Hmm should've worked.. it worked for me, but now the new version is there .. and fixes it already :D

Crazy Serb 05-03-2006 02:59 AM

does this update 2.7 still mess up AJAX updates to thread titles (adding the date twice)??

Neo_obs 05-03-2006 09:07 AM

the new version works with the attendance mod. but you must view the date not the event. As when you click an event it goes straight to the thread. But if you click the date it shows you the original calendar version. Can anyone else confirm this?

Also a thought would the template variable help get the two mods together easier?

TomasDR 05-03-2006 01:32 PM

Quote:

Originally Posted by Neo_obs
the new version works with the attendance mod. but you must view the date not the event. As when you click an event it goes straight to the thread. But if you click the date it shows you the original calendar version. Can anyone else confirm this?

Also a thought would the template variable help get the two mods together easier?

I can get both products to work together on seperate calendars provided I do not intergrate the 2nd (Event Attendance) Calendar with a Forum.

I can see [I will be attending this event] when viewing the Date View of the Calendar, but when I click it in the Forum intergrated Calendar I just get redirected to the showthread view and my name is NOT added as an attendee even if I go back to the Calendar Date View.

Neo_obs 05-03-2006 02:11 PM

Yea I noticed that. But this means we are getting closer to a solution. I wish I had the time to learn all the coding for this. I do give credit to all the makers

COBRAws 05-03-2006 06:33 PM

Quote:

Originally Posted by Crazy Serb
does this update 2.7 still mess up AJAX updates to thread titles (adding the date twice)??

This is still not fixed. Just checked in my test board.



edit:

hello Evercraft, maybe a future addition: Adding a %day variable so threads also show the day of the week.
Example: %day %datetime - %title -%custom

It would result into:
Thread name: Saturday Aug 13th 2006 - Tittle here - Custom

Torqued 05-03-2006 08:09 PM

So how does this work when you have existing events before installing the hack? Can you edit the event and have it populate the forum(s)?

Nachtfalke 05-04-2006 05:10 AM

Ive got a strange sql error. Seems that I messed up something. Does anybody have an Idea how to fix this?

Code:

Invalid SQL:

                        UPDATE s49_event
                        SET lv_vb_eventforums_threadid = 461
                        WHERE eventid = 7;

MySQL-Fehler : Unknown column 'lv_vb_eventforums_threadid' in 'field list'
Fehler-Nr.  : 1054
Datum        : Wednesday, May 3rd 2006 @ 09:31:20 PM
Skript      : http://starbase-reloaded.de/base/calendar.php
Referrer    : http://starbase-reloaded.de/base/calendar.php?do=add&type=single&c=1

Any Help is gladly apreciated!

Brandon Sheley 05-04-2006 05:20 AM

ah, very great upgrade !

thank you for letting us edit the titles :)

thank you Evercraft

[high]* Brandon Sheley upgrades[/high]

zyad 05-04-2006 03:26 PM

i don't know if this has been asked yet, but how did you add the cost field to yours?? I don't seem to have it on mine...thanks in advance

TomasDR 05-05-2006 01:20 AM

Ok this post might bring on a slew of PMs and the hack is a little ugly so I don't want to post it in the open but I found a dirty solution for combining both hacks:
Event Attendance: https://vborg.vbsupport.ru/showthread.php?t=93782
vB Event Forums: https://vborg.vbsupport.ru/showthread.php?t=102213

Notes
Works: The Attendees are shown in the Showthread view in the connected forum.
Works: The Attendees are shown in the Calendar preview.
Works: You can Attend or UnAttend in either view, showthread or Calendar.
BROKEN: When Attending the Event or UnAttending you are redirected to the Calendar Preview NOT the Showthread Preview but since there are the links "View Replies to this Event" & "Post a Reply to this Event" I felt my users could live with it.

TomasDR 05-05-2006 05:57 AM

Someone asked me to post my dirty solution. rather then double posting here is the post.

https://vborg.vbsupport.ru/showpost....&postcount=172

BraindGee 05-07-2006 07:34 PM

Can this be used in the following way..

Moderator Posts Event, event is placed in Calendar.
Registered User Posts event (i.e. a suggestion) nothing is placed in Calendar?

I.e. have it permissions based, so if you usergroup x, it posts in calendar, if your y it doesnt happen?

Evercraft 05-09-2006 04:56 PM

Sorry all, I will try to go through some of the replies soon. Work is being a bit busy again.

Nachtfalke, concerning the SQL Error, it sounds like it hasn't installed properly. Have you tried uninstalled, and reinstalling again? Also, was there any errors during the install?

The Ajax editing I should be able to fix fairly easily I think (haven't checked), but problem is my home internet is down atm, so having todo work from the office >.<

Evercraft 05-09-2006 05:01 PM

Quote:

Originally Posted by BraindGee
Can this be used in the following way..

Moderator Posts Event, event is placed in Calendar.
Registered User Posts event (i.e. a suggestion) nothing is placed in Calendar?

I.e. have it permissions based, so if you usergroup x, it posts in calendar, if your y it doesnt happen?

The plugin does support Moderation of Event Threads, using the normal permissions per usergroup.

If a user's event gets moderated, the Event & Thread will be hidden until either the Event or Thread is approved. Is that what your asking?

Evercraft 05-09-2006 05:03 PM

Quote:

Originally Posted by TomasDR
Someone asked me to post my dirty solution. rather then double posting here is the post.

https://vborg.vbsupport.ru/showpost....&postcount=172

Good work there! That certainly helps me to look at intergrating the 2 together :)

It could be possible to make a product that does all of that for you. Not sure about the Event Attendance, but I could put some code in to the Event Forums, so it could check if that plugin is installed, and not run certain code (i.e the plugins you have disabled). Something to think about anyway.

Evercraft 05-09-2006 05:05 PM

Quote:

Originally Posted by zyad
i don't know if this has been asked yet, but how did you add the cost field to yours?? I don't seem to have it on mine...thanks in advance

Thats done through the Managed Calendar Options.

Goto your Admin CP, then Calendar & Calendar Manager. Edit a Calandaer, and just below the first few boxes (name and something else), you should see options to Add Custom Fields.

Add one called Cost/Price. Then when a user adds an event, it will give them the option to enter a value for that.

Hope that helps.

Evercraft 05-09-2006 05:06 PM

Quote:

Originally Posted by COBRAws
This is still not fixed. Just checked in my test board.



edit:

hello Evercraft, maybe a future addition: Adding a %day variable so threads also show the day of the week.
Example: %day %datetime - %title -%custom

It would result into:
Thread name: Saturday Aug 13th 2006 - Tittle here - Custom

Its been requested by a few poeple, so yes soon I will add a option to define a different format for the %datetime.

Evercraft 05-09-2006 05:08 PM

Quote:

Originally Posted by COBRAws
Thread Prefixes would be great to be integrated too. And most of all (and the most easy i believe) would be adding an attachment tool for events. Like normal threads have =D

great hacK!
testing it, but i cant put it to work in my forums because it lacks of attendance and attachments.

cya!!

Thread Prefixes you can do.

In the Thread Title format you can put something like this:
Quote:

[Event] %title : %datetime
and it should show up as

[Event] Cinema to see a film : fri 8th may 2006

photongbic 05-10-2006 03:49 PM

Can the forum be sorted by the %datetime? An ascending order based on the %datetime not posttime?

Crazy Serb 05-10-2006 04:08 PM

Quote:

Originally Posted by photongbic
Can the forum be sorted by the %datetime? An ascending order based on the %datetime not posttime?

+1 on that request

Deimos 05-13-2006 04:57 PM

Great hack, installed aok
One feature, as i'm sure it's been mentioned allready, is to set a default post icon to use
We have an "Event" icon, is there anyway to quickly modify the code to make it use this icon?

Deimos 05-13-2006 09:20 PM

Ok is there anyway to change the hack, so it doesn't override the "New thread" in event forums?

I have several forums which I want events posted in, but I also use those forums for general posts to.

Deimos 05-13-2006 09:23 PM

Done it, nevermind

Dewain27 05-16-2006 10:10 PM

Add me to list wanting integration to Event Attendance ! :D

FleaBag 05-17-2006 12:53 AM

I have no idea how I managed to miss this hack previously! Great work! :D

benFF 05-17-2006 04:06 AM

Quote:

Originally Posted by Dewain27
Add me to list wanting integration to Event Attendance ! :D

Yup, this is a truely great hack - really got my calendar used now :)

I'm also waiting on the event attendance and everything will be complete :)


All times are GMT. The time now is 03:59 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.01450 seconds
  • Memory Usage 1,835KB
  • 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
  • (17)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
  • (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