Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 05:48 am EST

Geeklog Forums

Changing "Site Events" in Events block


Status: offline

soydog

Forum User
Chatty
Registered: 08/18/03
Posts: 49
Currently, in the Events block, when it displays an upcoming event, it shows:

Site Events

Tuesday 11-Nov
Event description...

Where do I go so I can change "Site Events" to say something else, like "Upcoming Events"? Or even remove that line altogether?

I've looked in the language files, calendar files and all the obvious places but can't figure this one out. Thanks for your help!

Anarchist Football Network - http://www.passionbomb.com/soccer
"If I can't play soccer, I want no part of your revolution."
 Quote

Status: offline

geKow

Forum User
Full Member
Registered: 01/12/03
Posts: 445
language / english.php (145): 102 => 'Site Events'

Is that what you mean?
 Quote

Status: offline

soydog

Forum User
Chatty
Registered: 08/18/03
Posts: 49
Wow. Thanks so much for the super quick response.

Yes. That was it. I did search for "site events" in my text editor and for some reason it wouldn't find it...
Anarchist Football Network - http://www.passionbomb.com/soccer
"If I can't play soccer, I want no part of your revolution."
 Quote

Status: offline

soydog

Forum User
Chatty
Registered: 08/18/03
Posts: 49
So that answers my question about how to change what it says for that line. Now I'm curious as how to get rid of that line altogether.

It's probably in the plugin's function.inc file, right? I assume I'd probably have to look for something like LANG(102) and also the hardcoded html to remove...
Anarchist Football Network - http://www.passionbomb.com/soccer
"If I can't play soccer, I want no part of your revolution."
 Quote

Status: offline

cyber_777

Forum User
Newbie
Registered: 07/27/03
Posts: 2
awake
I also would like to ask help if there's anybody could fix the problem that I've found in the calendar system. The problem is that it allows posting event even if the end date is older than the start date. This is a logical problem. I think there is no such event that the start date is more current than the end date but what if the user commits error in posting event. Arrow Example: Start Date: November 5, 2003, End Date: October 30, 2003. It did not say an error or prevent the system to post it to the calendar. An ordinary logged-in user can't also edit his/her event post. Please help us to fix this problem.
 Quote

Status: offline

cyber_777

Forum User
Newbie
Registered: 07/27/03
Posts: 2
my problem was solved... i just put this code before saving the event at submit.php ...

//make sure the end date is before start date

if ($A['dateend'] return COM_errorLog("End date is before start date!");
}
 Quote

Status: offline

Stubdoo

Forum User
Junior
Registered: 03/14/03
Posts: 24
Does it matter where the code is placed, i.e. top, middle bottom or within specific part of the code Question
 Quote

All times are EST. The time is now 05:48 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content