In holidays picture ?

Support for IntegraMOD 140

Moderator: Integra Moderator

In holidays picture ?

PostAuthor: modrish » Tue Jan 02, 2007 5:23 pm

In user's profile panel, it's possible to declare itself 'in holidays'. until another modification, on the profile column attached to every message, 'in holidays' will be writting.
Is it possible to replace the text 'in holidays' by a picture ??

I tryed to do it... but I have to resign myselfà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦ <img>
Last edited by modrish on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

modrish
Newbie
Newbie
 
Posts: 1
Likes: 0 post
Liked in: 0 post
Joined: Fri May 12, 2006 12:24 pm
Cash on hand: 0.00

Re: In holidays picture ?

PostAuthor: Frost » Wed Jan 03, 2007 9:11 pm

I'll probably need to know what template you are using and what version of integramod you're using but I'll go ahead and figure out how to do it for you if I can
Last edited by Frost on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[size=99px]PhpBB3 Themes[/url] ]PhpBB3 Development Center[/url] [/size]

Frost
Sr Integra Member
Sr Integra Member
 
Posts: 776
Likes: 0 post
Liked in: 0 post
Joined: Wed Sep 13, 2006 1:04 am
Cash on hand: 0.00
Location: Photoshop CS3

Re: In holidays picture ?

PostAuthor: Teelk » Thu Jan 04, 2007 12:59 am

You'll need to change the user_holiday display function, most likely found in profilcp/def/def_userfuncs_std.php. I'd take a look at it, but I don't have the time atm. I'll bookmark and take a look when I can.
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada

Re: In holidays picture ?

PostAuthor: Whisky » Thu Jan 04, 2007 6:45 am

you can do it easily without modifying any php file:

go to ACP => P.C.P. => Maps definition

Click the PHPBB sub-map, then clic viewtopic, then clic left

Below the fields list, clic the Edit button

On the right column of the "user_holidays" field line, clic the Edit button again

Edit field, Here we are:
There the image field should normally be empty, populate it with your image's URL
Clic the "Send" button to save your changes.

Return on the "user_holidays" Edit field by pressing the Edit button again

Choose the "Output" option above
and there set the following options like this:
Display the text value => NO
Display the image value => YES

Clic the "Send" button to save your changes.

You are done <img>
Last edited by Whisky on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
I am the Lizard King, I can do anything

Whisky
Sr Integra Member
Sr Integra Member
 
Posts: 256
Likes: 0 post
Liked in: 0 post
Joined: Thu May 18, 2006 1:28 am
Cash on hand: 0.00
Location: Brussels

Re: In holidays picture ?

PostAuthor: Whisky » Thu Jan 04, 2007 6:48 am

Ha zut j'avais pas vu que t'etais franÃÂÂ §ais et j'ai mis mon portail en anglais pour t'expliquer <img>

Bah si tu veux les explications en franÃÂÂ §ais, demande ^^
Last edited by Whisky on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
I am the Lizard King, I can do anything

Whisky
Sr Integra Member
Sr Integra Member
 
Posts: 256
Likes: 0 post
Liked in: 0 post
Joined: Thu May 18, 2006 1:28 am
Cash on hand: 0.00
Location: Brussels

Re: In holidays picture ?

PostAuthor: Teelk » Thu Jan 04, 2007 2:25 pm

Nicely done Whisky <img>
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada


Return to IntegraMOD 140

Who is online

Registered users: Bing [Bot], Google [Bot], Helter, Vendethiel