![]() |
ok the range events not displaying is fixed in this version
Code:
ob_start(); |
Awesome, tomsch! Thanks bunches!.
I added the horizontal line to mine like this: Code:
<p class="cms_widget_post_content">%s<br><img src="images/hz-line.png"></p> |
Range events are working, but when there's a recurring event the widget only displays the range.
I have created a recurring event. The range is starting Jan 01, ending Dec 31 and the event is 1st Sunday of every month. The event is listed, but the widget just displays this: My EventAnd because the range started Jan 1st, this event is always at the top of the list. |
I just tried this code and got the following error:
Parse error: syntax error, unexpected T_STRING in /home/teambuic/public_html/forums/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 32 Thanks |
[QUOTE=rcull;2215721]I just tried this code and got the following error:
Parse error: syntax error, unexpected T_STRING in /home/teambuic/public_html/forums/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 32 Thanks[/Q sounds like you either have a cut and paste error or the widget configured wrong |
Thanks,
It was a cut and paste error! |
Quote:
Where would you add this to the code? Looking for either a line between events or just a space. Thanks tomsch for all your input you have added! |
wow great updates thanks for making this even better... is it possible to add a generic icon next to each post?
if so where would you insert the code? |
Quote:
|
Hi All
Anyone know how to lose the stupid PHP icon in the upper top left? https://vborg.vbsupport.ru/external/2011/10/77.png |
Quote:
i.e. Find: Code:
<h3><img src="{vb:stylevar imgdir_siteicons}/php.png" alt="" /> {vb:raw title}</h3> Code:
<h3>{vb:raw title}</h3> |
Can anybody please post a code ?
I tried with the code in the main page and it gives a blank page. I also created an event for tomorrow to test but nothing showed up. Please help !! Quote:
|
Quote:
PHP Code:
https://vborg.vbsupport.ru/external/2011/10/65.png |
This is probably entirely off-topic to this widget specifically, but I was hoping someone could help me out. Once I create the widget, I click configure, and copy the code in. But when I hit Save, it closes out the Configure box without saving the changes, and when I hit Configure again the default PHP Widget code is still there. I have narrowed it down to pretty much just the PHP Widgets, at least as far as what I use. I can still edit and save my Static HTML Widgets just fine. Any ideas?
Edit: Nevermind, it is Widget specific. It's just not saving THIS code. I can delete the default and save it blank, or save it with random text, but it will not save this code. |
hY
Not work with 4.1.7 |
The widget only shows one date to me, even though I have two test events and even though they have names. How come?
I use the newest vB 4 installment in German. |
How do we get this installed. i have tried everything . I setup as per instructions and nothing.
|
Quote:
Thunderbird Hamfest From Sat Jan 7th 2012 to 7th Jan 2012 Board Meeting From Fri Jan 13th 2012 to 13th Jan 2014 General Meeting From Fri Jan 20th 2012 to 1st Feb 2013 Arizona Centennial On Sun Feb 12th 2012 I need it to say the date for the upcoming event, and not display the range. It's completely useless that way. Many people have asked for help on this and they have all gotten ignored. Please help us! Thx |
thanks, it's okay with 4.1.9
|
Does anyone know how to change the text colour for the header to
#00FF00 (green) but i want to leave the date as white Sorry a bit of a newb on code |
Only problem I have with this mod is that it shows an event for tomorrow just fine, but not the next one, which is two weeks away.
|
No file to download for some reason?
|
Quote:
|
This widget does not display recurring events :(
Instead, it displays an event name with a date range. Is there a way to make the widget display recurring events? For example; PHP programming 101 <---- Recurring Tuesday March 1 2012 Advanced PHP programing Wednesday March 2 2012 Weekend Coffee Morning Saturday March 5 2012 PHP programming 101 <--- Recurring repeated Tuesday March 8 2012 |
Same issue here. Its a pain to find a widget to do what we need. I really think im gonna have to keep modding the heck out of what I find for every thing I need to do.
And im not a PhP coder... |
Mate, you have made my week!!!! I have been trying to find a simple events widget for my gig guide for a long time. Perfect little tool. I also need something 'bigger' in this area, keep me posted. Thanks again, woohoo! So easy too, a mod I couldn't muck up!
|
There's a way to get events from a differend calendar?
|
Can I make this block to show events from chosen calendar not all calendars?
|
See updated code in future post.
|
1 Attachment(s)
After the latest update from vBulletin 4.1.12 the calender is not showing when using the option: Show whole article on sectionpage.
It´s have been working before, now is it only showing the raw code! When visiting the articles own page to display the article then it is working. But I want it to be displayed as before on "the multi-articles page". |
Hmm, I haven't updated to 4.1.12 yet (I usually like to have others find the remaining bugs!).
Does the widget work when that option is turned off? |
I have updated the code to work with single-day events, events that have already started but havn't ended, etc. Thanks to tomsch for the mkdate snippet!
I believe I got user time zone correction to work. Please see the following code: Note: This version checks for the user's preferred date and time display settings (i.e. UK vs US, etc) and displays things accordingly. This can also pull from one or more selected calendars, per the instructions below (see orange comments). PHP Code:
|
Quote:
http://mustangclubsweden.org/content.php/116-kalender Same article, but when it is opened: http://mustangclubsweden.org/content...%C3%A4vle-Dala It worked before 4.1.12... :/ Help :) |
This mod is meant to be used as a "Widget", so I am not sure about it being used as an Article? :(
I don't use it like that, so hopefully someone else can provide some assistance? |
I know, but it did work before. :/
//D |
When adding the code to the article, are you using the PHP Direct Execution "type"?
If so, did you leave the template as "vbcms_content_phpeval_page"? |
i want to display the next event for the next 7 days like you can at the bottom of the main forum display
however i want them to display in the cms in a sidebar using a widget anyone any ideas ? using this i get the events but it shows from and to i just want the events for that week |
Quote:
|
works perfectly as widget. Love it!
Is it possible to change to display how many signed up? |
on the main screen shot it shows a line underneath each event... however with the code copied it does show any lines???
Help?? |
All times are GMT. The time now is 09: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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|