vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Upcoming Events on Top of Pages (https://vborg.vbsupport.ru/showthread.php?t=246092)

Front Range 07-09-2010 09:29 PM

Quote:

Originally Posted by Dark_Wizard (Post 2066819)
This wasn't to be a released mod only something done for FR.

100% accurate but I figured other people could benefit as well. It's not perfect, won't satisfy everyone's wants but it's good as it stands for anyone who has event based forums. If you like it send a donation Dark_Wizards way. If you don't like it, don't use it. If want additional features hire him to do it for you.;)

rootrider 07-10-2010 07:35 AM

Quote:

Originally Posted by Dark_Wizard (Post 2066816)
This doesn't break his mod but his mod has an array issue that will surface when this mod is used along side his and when someone tries to rsvp to an event it shows.

okay.. can you or FR detail a little more about what should be changed in the templates to alleviate this? .. or is this not possible? I seem to remember a mention of something about this originally, but I can't find it now.

Thanks guys..

Front Range 07-10-2010 04:20 PM

Go to your Plugin Manager and make Upcoming Events on Top of Pages [Auto Templates] inactive.

The manually edit each of these templates: FORUMHOME, FORUMDISPLAY, SHOWTHREAD by pasting the code below {vb:raw navbar}

<!-- upcomingevents -->
<div class="block" style="border:{vb:stylevar blocksubhead_border}">
<div class="blockhead">
<h2>
<span>{vb:rawphrase upcoming_events_for_the_next_x_days, {$vboptions.showevents}}</span>
</h2>
</div>
<div class="blockrow">
<ol class="commalist">
{vb:raw upcoming_events}
</ol>
</div>
</div>
<!-- upcomingevents -->

Note: It may be just my style but this turns some text bold in FORUMDISPLAY

Front Range 07-10-2010 05:13 PM

Quote:

Originally Posted by Front Range (Post 2067305)
Note: It may be just my style but this turns some text bold in FORUMDISPLAY

Probably not the right way to do things but it works: get rid of the bold in FORUMDISPLAY (if it shows up that way for you too is just add </b> before <!-- upcomingevents -->

HondaATC 07-10-2010 06:36 PM

Works perfectly for me, nice mod! I also made a little addition because adding events is burried down in the calender, that will show a "Add Event" button right across from the current showing dates:

open the .xml file in a text editor

Directly below this (Line #46)

Code:

<span>{vb:rawphrase upcoming_events_for_the_next_x_days, {$vboptions.showevents}}</span>
Add this:

Code:

<div id="calendar_nav">
                <a id="neweventbutton" class="textcontrol" href="calendar.php?do=add&amp;type=single&amp;c=1">Add New Event</a>
                  </div>

Save, reupload the product, overwrite the existing one. Gives you something that looks like this:

http://www.3wheelerworld.com/forum.php



My members post a ton of rides and gatherings in the local riding forum, but they don't get near the views that they should, Hopefully between this mod and my little addition that makes it easier to add them, it'll increase that a bit.

Front Range 07-10-2010 07:37 PM

Very good idea HondaATC!

I changed the location to inside the <h2><span> tags for my site but I know my users will really appreciate the button - anything to make things easier!

Thanks!

See it here: http://www.frontrange4x4.com/forums/forum.php

BTW, there's something wrong with your navabr.

HondaATC 07-10-2010 08:26 PM

Yeah...thats compliments of the vB support team. It doesn't show in Firefox or IE, but does in pretty much every other browser. I've disabled all the hacks and reverted every single template and it still happens. Spent many hours on it, only showed up after I went to 4.03 No one can tell me what it is. If anyone happens to find out, let me know :p

Front Range 07-10-2010 08:34 PM

Bummer, I use Chrome so I see the the bad stuff. Another reason I won't go to 4.0.3

rootrider 07-11-2010 05:25 AM

Quote:

Originally Posted by Front Range (Post 2067305)
Go to your Plugin Manager and make Upcoming Events on Top of Pages [Auto Templates] inactive.

The manually edit each of these templates: FORUMHOME, FORUMDISPLAY, SHOWTHREAD by pasting the code below {vb:raw navbar}

<!-- upcomingevents -->
<div class="block" style="border:{vb:stylevar blocksubhead_border}">
<div class="blockhead">
<h2>
<span>{vb:rawphrase upcoming_events_for_the_next_x_days, {$vboptions.showevents}}</span>
</h2>
</div>
<div class="blockrow">
<ol class="commalist">
{vb:raw upcoming_events}
</ol>
</div>
</div>
<!-- upcomingevents -->

Note: It may be just my style but this turns some text bold in FORUMDISPLAY

thanks.. I'll play with this and see what I can do..

Front Range 07-13-2010 02:58 PM

Quote:

Originally Posted by Dark_Wizard (Post 2066594)
Here is an updated version that places a comma after the event with the exception of the last event or a single event.

Enjoy!
Bob

I sure could use the comma but when replacing the original with this it doesn't show my events. Can I edit the comma in instead?

rootrider 07-24-2010 11:33 AM

Quote:

Originally Posted by rootrider (Post 2067520)
thanks.. I'll play with this and see what I can do..

finally got around to adding this. It seems to work perfectly.. thanks!

I also added '[ ]' brackets around each of the calendar items to better separate them in the listing.. works well, imo.

Front Range 4x4 08-02-2010 02:35 AM

1 Attachment(s)
Good idea rootrider. I used bullets and non-breaking spaces to separate one from the other.

Crotan 08-03-2010 04:44 PM

I've installed this mod and can see the Upcoming Events box, however it is empty and not pulling any events I have on the Calendar?

Front Range 4x4 08-03-2010 05:11 PM

Are your events showing in What's Going On?

Crotan 08-03-2010 06:51 PM

Quote:

Originally Posted by Front Range 4x4 (Post 2078650)
Are your events showing in What's Going On?

Oh yes, yes they are. But nothing is appearing in the mod box.

https://vborg.vbsupport.ru/external/2010/08/168.png

http://flotgaming.net/forums/forum.php

Front Range 4x4 08-03-2010 07:30 PM

I haven't seen that happen yet Croton, try using the version Dark_Wizard posted in Post #32 and see if it makes a difference.

Crotan 08-03-2010 08:00 PM

Quote:

Originally Posted by Front Range 4x4 (Post 2078706)
I haven't seen that happen yet Croton, try using the version Dark_Wizard posted in Post #32 and see if it makes a difference.

Just tried the direct xml file he posted and no dice as well. :(

I believe I had a version of this running back on 4.0.2 and had uninstalled it, but now I'm on 4.0.5 and I'm not able to get it working.

Front Range 4x4 08-03-2010 09:18 PM

How about doing the old template edit to see what happens? It only works on FORUMHOME but could answer whether or not something else is going on.

Paste below {vb:raw header}{vb:raw navbar}

<!-- upcomingevents -->
<div id="wgo" class="collapse wgo_block">
<h2>
<span>
Upcoming Events
</span>
</h2>
<div class="floatcontainer">
<div id="wgo_events" class="wgo_subblock">
<ol class="commalist">
{vb:raw upcomingevents}
</ol>
</div>
</dl>
</div>
</div>
<!-- upcomingevents -->

Videx 08-06-2010 12:28 AM

1 Attachment(s)
We've got an odd problem with dates now. Seems some of them have 1 day added. Thus, the event shows up top as 8/7 & 8/8, but down below (and in the calendar) it actually occurs on 8/6 & 8/7.

Maybe some sort of odd timezone thing?

Front Range 4x4 08-06-2010 01:30 AM

That's odd Videx but I recall it being an issue with another mod. Do you use Farcaster's Event attendance by chance?

Videx 08-06-2010 02:15 AM

No. I'm using the last one dark_wizard put up. Lots of strange date manipulation in the plugin, but I can't figure it out.

Michlerish 08-14-2010 09:43 PM

At the bottom of the forum the "Upcoming Events for the next 7 days" displays today's event, as well as this coming Friday's event.

With this installed, at the top of the forum, it only displays Friday's event, not today's.

Front Range 4x4 09-02-2010 01:36 PM

1 Attachment(s)
I just downloaded this and ran in to problems myself. Attached is the product file from my personal files that works in version 4.0.2. I do not have any idea or suggestions for later vBulletin versions. I have it working on my site along with BBR - vB Event Forums and Farcaster's Event Attendance and since my site is event based I will not be upgrading any time soon due to the loss of functionality of these 3 mods together.

okhissabigfish 09-05-2010 07:24 PM

did i miss it somewhere in the thread?

how can i set up the days in advance it will show an event on screen?

for instance: I want events within 120 days to show? or within 90 days to show?

thanks in advance!

Front Range 4x4 09-06-2010 01:38 AM

This only displays the Upcoming Events on top of the page instead of on the bottom in WGO. The setting you're looking for are default in vBulletin.

rootrider 09-10-2010 12:10 PM

Quote:

Originally Posted by Front Range 4x4 (Post 2092803)
I just downloaded this and ran in to problems myself. Attached is the product file from my personal files that works in version 4.0.2. I do not have any idea or suggestions for later vBulletin versions. I have it working on my site along with BBR - vB Event Forums and Farcaster's Event Attendance and since my site is event based I will not be upgrading any time soon due to the loss of functionality of these 3 mods together.

for what it's worth, I just updated from 4.0.1 to 4.0.6 PL1 and everything appears to be working well together (BBR's Event Forums, Farcaster's Event Attendance, and this hack).

gosiah23 09-13-2010 09:24 PM

1 Attachment(s)
I'm running VB 4.0.5. Everything looks fine except Ranged and Recurring Events. For example if the event starts on Sept 16 and ends on Sept 19 it's displayed as starts on Sept 17. In other words it always delays one day all Ranged and Recurring Events.

Please see the attached image.
Attachment 121917

Any suggestions how to fix this? I really like this mod and would love to keep it. :)

Thanks a million!

Margaret

rootrider 09-30-2010 11:37 AM

Quote:

Originally Posted by gosiah23 (Post 2097788)
I'm running VB 4.0.5. Everything looks fine except Ranged and Recurring Events. For example if the event starts on Sept 16 and ends on Sept 19 it's displayed as starts on Sept 17. In other words it always delays one day all Ranged and Recurring Events.

Any suggestions how to fix this? I really like this mod and would love to keep it. :)

it only pulls the data from the calendar database... the same information that your calendar has.

Dakoom 10-02-2010 04:08 PM

Someone knows how where is the admincp of this plug-in?
Thanks.

Videx 10-02-2010 05:22 PM

Quote:

Originally Posted by Dakoom (Post 2105935)
Someone knows how where is the admincp of this plug-in?
Thanks.

The only option is at Admin Control Panel > vBulletin Options > vBulletin Options > Forum Home Page Options > Display Calendar Events.

However, be advised this mod currently isn't working quite right, with the wrong days being displayed (I know you read all the previous posts and already know that, but just for the benefit of those that haven't).

CybaGirl 12-11-2010 01:10 AM

First of all I want to say thanks for this great mod and thanks to HondaATC for the code to add a button to add an event :).

Quote:

Originally Posted by Front Range 4x4 (Post 2092803)
I have it working on my site along with BBR - vB Event Forums and Farcaster's Event Attendance and since my site is event based I will not be upgrading any time soon due to the loss of functionality of these 3 mods together.

May I ask what vB Event Forums is and where I can get this mod? I did search for it but nothing seemed to come up.

Also if it's not to much trouble can you please tell me how do I get my upcoming events to look like the one you use on your forum?

https://vborg.vbsupport.ru/attachmen...2&d=1280720131

Thanks.

CybaGirl 12-17-2010 08:03 AM

Ok moved our forum to a VPS with the same host and now I am getting the dreaded wrong day being shown as per gosiah23's post.

Prior to this it was working on shared hosting perfectly. Nothing has changed other than the whole forum being moved to a VPS.

So what would cause this?

I also have this mod installed but is currently disabled and it was working perfectly on shared hosting as well.

https://vborg.vbsupport.ru/showthread.php?t=253239

But now it is doing exactly the same thing in regards to posting events on the calendar a day later. Since moving to the VPS.

Just like this mod is. So any ideas as to what is causing this?

I posted this same issue I am having with the other mod in the mods thread. But no one has answered me yet. Perhaps if either one of the developers can sort this issue out it will fix both of these mods at the same time.

Or does anyone else have any idea as to how this might be fixed?

Thanks.

Installed on v4.0.3 if that helps.

CybaGirl 12-19-2010 11:47 PM

Sorry but I am going to uninstall this mod as its still posting events a day later than they are set to in the calendar.

I will tag this in the hope that someone will be able to resolve this issue at some stage.

venom2124 12-21-2010 02:20 AM

Quote:

Originally Posted by Front Range 4x4 (Post 2077946)
Good idea rootrider. I used bullets and non-breaking spaces to separate one from the other.

How did you change the code to get the bullet style. I would really like to be able to get a similar effect.

Thr33 12-21-2010 08:13 PM

hey, nice mod that ive been looking for, although im curious on how to change a few things.

(like the above post) i would like each event on a new line either is bullet points or not. also i would like to add the times (from and to) as many of my events are just a few hours long. i eagerly await a reply, thanx.

venom2124 12-25-2010 01:30 AM

Anyone know why the date shows wrong if you do a ranged event. The date is off by a day.

CybaGirl 12-27-2010 07:28 AM

Any help on these issues we are having or is it in the too hard basket :)?

Videx 12-27-2010 01:59 PM

Quote:

Originally Posted by CybaGirl (Post 2139491)
Any help on these issues we are having or is it in the too hard basket :)?

Apparently the author (Dark Wizard) couldn't figure it out, and he hasn't been on all month so I wouldn't hold your breath.

I gave up and just copied the WGO block to the top of forumhome.
  1. In Style Manager, edit FORUMHOME
  2. Find the events block in WGO near the bottom. It should start just under the line "<vb:if condition="$show['upcomingevents']">"
  3. Copy that whole div. In my version it's 6 lines starting with "<div id="wgo_events" class="wgo_subblock">" and ending with "</div>"
  4. Paste it near the top just below "{vb:raw navbar}", and maybe add a line "<br/>" for spacing

utahraves 12-27-2010 11:10 PM

I have my upcoming events to show up to 3 days. this is showing events on the 31st and the 1st of January currently.

It technically shouldn't be showing anything from 12/31 or 1/1 since there are
Today is 12/27.
3 days = 12/27, 12/28/ 12/29 and possibly 12/30. The last one is debatable because I guess you could say today is 1 of the 3 days... but it is showing 5 days.

It is almost like it skips 3 days, then goes for 3 days. My event on 12/29 isn't showing at all.

I did notice that this mod says "It does not work with Farcaster's Event Attendance (RSVP)"
What doesn't work with Farcaster? I am using Farcaster currently and am seeing some days show up. Is this the bug on why they aren't compatible?


Videx 12-28-2010 01:29 AM

Quote:

Originally Posted by utahraves (Post 2139864)
Is this the bug on why they aren't compatible?

I doubt it. This is probably the bug everyone's been complaining about for the last page or two. Well, that and the fact the dates are wrong, which is probably the same bug.

If you're a coder we all welcome you to solve the problem.


All times are GMT. The time now is 08:41 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.01375 seconds
  • Memory Usage 1,842KB
  • 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
  • (16)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
  • (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