Admin Banner end date only to 2010?

Support for IntegraMOD 141

Moderator: Integra Moderator

Admin Banner end date only to 2010?

PostAuthor: Angelus » Thu Jan 07, 2010 4:16 pm

Hi,

in ACP -> Styles Admin -> Banner the End Time of Banners can only be set to 2010 and than to 2099. How can I insert e.g. 2011, 2012 etc.?

Regards
Thorsten

Angelus
Integra Member
Integra Member
 
Posts: 182
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 30, 2006 4:27 pm
Cash on hand: 0.00

Re: Admin Banner end date only to 2010?

PostAuthor: obiku » Thu Jan 07, 2010 11:31 pm

I saw this year selection is hardcoded in the admin_banner.php.

Search for this piece of code:
Code: Select all
        $s_time_year_begin =' <option>-               <option>2002               <option>2003               <option>2004               <option>2005               <option>2006               <option>2007               <option>2008               <option>2009               <option>2010               <option>2099';    


You can add or remove some of the options. Yes I know this isn't the way we would like it to be, but for now it will do. If the release of the new portal for phpBB 3 is taking to long, then I will check if I can change this.
http://www.familie-smit.nl
http://portfolio.familie-smit.nl

Do not tsunami my inbox... instead use the forums...
Hard work may not kill me, but why take a chance?

[hr]
User avatar
obiku
Dev Team
Dev Team
 
Posts: 218
Likes: 0 post
Liked in: 0 post
Joined: Tue May 02, 2006 11:22 am
Cash on hand: 0.00
Location: level 8

Re: Admin Banner end date only to 2010?

PostAuthor: Helter » Thu Jan 07, 2010 11:51 pm

OPEN root/admin/admin_banner.php

FIND

Code: Select all
            <option>2002             <option>2003             <option>2004             <option>2005             <option>2006             <option>2007             <option>2008             <option>2009             <option>2010             <option>2099';


REPLACE WITH

Code: Select all
              <option>2010             <option>2011             <option>2012             <option>2013             <option>2014             <option>2015             <option>2016             <option>2017             <option>2018             <option>2019             <option>2020             <option>2099';
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4168
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 187.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: Admin Banner end date only to 2010?

PostAuthor: Angelus » Fri Jan 08, 2010 2:35 am

Thank you both very much. Works fine!

Regards
Thorsten

Angelus
Integra Member
Integra Member
 
Posts: 182
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 30, 2006 4:27 pm
Cash on hand: 0.00

Re: Admin Banner end date only to 2010?

PostAuthor: Helter » Fri Jan 08, 2010 3:04 am

<img> I didnt know obiku had posted while I was working out a fix...lol
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4168
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 187.60
Location: Seattle Wa
IntegraMOD version: IM 3


Return to IntegraMOD 141

Who is online

Registered users: Bing [Bot], Majestic-12 [Bot], Vendethiel