HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Ability to show discussion between a certain date?
-
Re: Ability to show discussion between a certain date?
Seems there is a calculate function in class.dicussionmodel.php it does some setting of data in there... // Fix up output $discussion->Name = htmlspecialchars($discussion->Name); $discussion->Attributes = dbdecode($discussion->Attributes); $discussion->Url = discussionUrl($discussion); $discussion->CanonicalUrl =… -
Re: Ability to show discussion between a certain date?
If you re-use the discussions view, that piece of code should be responsible for the link: function writeDiscussion($discussion, $sender, $session) { $cssClass = cssClass($discussion); $discussionUrl = $discussion->Url; ... <div class="ItemContent Discussion"> <div class="Title" role="heading" aria-level="3"> <?php echo… -
Re: Ability to show discussion between a certain date?
-
Re: Ability to show discussion between a certain date?
So i am confused. Should I be calling the discussions view and then filtering it for my Day view. Or should I be doing my own query to the Database and then asking it to use the discussions view to render it.. I am still a bit lost on how I should achieve this. Sorry to bug I'm trying to look at the documentation and other… -
Re: Ability to show discussion between a certain date?
Thanks @R_J I will clean it up once i am done as right now i am doing it all in a case statement in that function. I will break it out after for now I want to just get this code running and also understand it :) This is the code i have in the day view <?php if (!defined('APPLICATION')) exit(); // This will load in the… -
Re: Ability to show discussion between a certain date?
-
Re: Ability to show discussion between a certain date?
-
Re: Ability to show discussion between a certain date?
This is how I believe it should be done: I have a function called "public function vanillaController_eventCalendar_create($sender, $args = []) {}" this is where I set all my code based on if the user is looking at the Year, Month, Day. If the user is looking at https://forumURL/EventCalendar/2002/02/28 then I render the… -
Re: Ability to show discussion between a certain date?
So @R_J if I have 3 different views for the EventsPage Year, Month, Day. If the user hits http://forum.com/EventsCalendar/2002 to will go to the year view, http://forum.com/EventsCalendar/2002/02 will go to the month view and http://forum.com/EventsCalendar/2002/02/28 will go to the day view. So I don't want to render out…
17 results