![]() |
1 Attachment(s)
This is the code with the hz line, items you will need to change: which calendar, how many events, and location of the hz line image; the date format used is: m/d/Y if you'd rather dashes just change the '/'s to '-'s; if you'd rather d/m/Y then switch it to that display instead in both locations.
PHP Code:
|
Quote:
1. How do I add a link/button at the bottom of the widget called somethign like "Add an Event" which simply will link to the http://****.com/calender.php? 2. Add a small icon image next to all events (https://vborg.vbsupport.ru/images/cs.../forum_new.gif ). Any help is much appreciated :) |
Quote:
Superb Idea that and one i would love to know how to implement too:up: |
1 Attachment(s)
here is code for adding a small icon in front of each event listed:
to have it as a clickable link to the listed event use PHP Code:
I'm still trying to get a clickable 'button'/image for the bottom for 'add new event' but, so far I've only been able to add that to each and every event listed (which seems a bit redundant to me); I'll continue to play with the code when I can to see if I can get it to display a single 'button'/image after the list of events. No promises ;) |
There's a way to put an external link (got inside the event) instead of a link to the calendar event?
|
BIG THANKS TO Eq4bits amazing work :)
Tr@de.. I know you can add custom fields to the event and Ive seen people import this on the events list (i.e. webpage link) for external events.. however finding anyone to help with the code has been difficult :( |
1 Attachment(s)
This is if you want an external link added (as well as a new calendar icon that is not a link itself... perhaps a bit more 'pleasing to the eye' to some (I also edited out the 'On' preceeding the date because it bugged me ;))
http://pendletonharbor.net/images/PH...st-events2.png PHP Code:
|
Thanks , but can you tell me the image path where to upload the new icons. Thanks:up:
|
ok thanks i figured it out, nice job, just fill in all the ********:o
|
if anyone can help all we are working on now is getting the "external link" to be a custom field path... so you will keep the word "External link" however this will link to whatever the web path has been listed in the custom field.... any help appreciated :)
|
I modified the code to take the link on the event description (in this way you have only to write the link in the description), and also modified the code to select a different calendar. if you want it, just let me know.
|
Quote:
Be great if we can have it please Tri@de thank you :up: |
Here you are!
Code:
ob_start(); As i said before, in the description put only the link (including http:// ) or the link doesen't work properly. |
what if in the description there is 2 links?? how does it know which to pick up?
|
in the link, you find http://firstlink-secondlink i suppose.
i made it to get only a link. The best for this widget is to make a customfield and using it for urls. |
yeah thats what I have done.. just importing the info from the custom field (the website address) and replacing it in the href="%s" target="_blank is proving tricky!!
|
Quote:
can you give me the code? |
I just went into the calender and added a custom field.. it was part of the default options!
|
Quote:
|
thats what I cant do either :( find a way of feeding that into the widget :(
|
Ah.. yes, because, the customfields record have inside also the setting of the custom field. the only way is to separate the options
|
mm.. still cant work it out :( anyone else had any joy on this?!?!
|
What I would like on this is for it to show recurring events up to 4 weeks in advance, so if i had an event scheduled for every wednesday then the widget would show this event 4 times, plus any other events inbetween them, eg:
weekly event single event weekly event weekly event monthly event weekly event etc etc with a limit of 10 events,.. possible? |
Anyone? The way it displays recurring event's is pretty bad, only shows the next one coming, not any others, and that one is at the top because it was created before all the others, not inline like the daily events are......
|
Quote:
but you set your limit of events in the widget code itself: PHP Code:
|
Quote:
|
ignore this post, wrong mod thread!!!
|
Can i use this on VBadvanced as a module is some way please?
|
great plugin, thanks! One problem though.....If I have an event set for lets say 9-11pm EST, the event disappears from the viewer right after 9pm. I would like the event to stay posted throughout the duration of the event...is there anyway to make the event stay for the duration of the event (9-11pm) instead of disappearing rite at 9pm?
Thanks! |
is it possible to display the upcoming events on top of forumhome instead of sideblock??
|
Quote:
---- I have installed & edited some Fields of this Mod : PHP Code:
I have multiple calendars. 1. Visible for guests 2. Visible for users 3. Visible for moderators On the CMS, guests can see the all the Event Titles :eek: Permissions of 2. & 3. Calendars are hidden for guests How can i hide the Titles for guests ? |
Quote:
|
still there is an issue with expired events... they still there after all while they are supposed to be removed when events finished........
Update: the expired event get removed one day after the event date... not big issue. Thanks |
Quote:
|
Quote:
Parse error: syntax error, unexpected ';' in /home/XXXXXXXX/public_html/packages/vbcms/widget/execphp.php(191) : eval()'d code on line 4 even after I deleted the widget I still get the errors!!!! so what has it changed elsewhere?? any ideas???? |
great widget, but is there a way to display the event in a color other than white?
|
works 4.2.4, php 7.2
any there a way to make it to show multiple years like a event on april 15 2023 and april 15 1999? |
All times are GMT. The time now is 01:01 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:
|