|
Page 1 of 1
|
mort 
 Spam Basher

Joined: August 2010
Posts: 998
Location:  Up a tree
|
 Remove Images From Lofi_profile_view_body.tpl
In the zip
Copy:
lofi_profile_view_body.tpl
To:
/templates/common/lofi_profile_view_body.tpl
Open:
/includes/usercp_viewprofile.php
Find:
'ONLINE_STATUS_IMG' => $online_status_img,
After Add:
'ONLINE_STATUS' => $user_online_status,
Find:
'U_VISITS' => '<a href="' . append_sid('profile_view_user.' . PHP_EXT . '?' . POST_USERS_URL . '=' . $profiledata['user_id'] . '&' . POST_POST_URL . '=0') . '"> <img src="' . $images['icon_view'] . '" alt="' . $lang['Views'] . '" /></a>',
After Add:
'U_VISITS_LOFI' => '<a href="' . append_sid('profile_view_user.' . PHP_EXT . '?' . POST_USERS_URL . '=' . $profiledata['user_id'] . '&' . POST_POST_URL . '=0') . '">' . $lang['Views'] . '</a>',
Find:
full_page_generation('profile_view_body.tpl', htmlspecialchars($profiledata['username']), '', '');
Replace With:
if ((isset($_GET['lofi']) && (intval($_GET['lofi']) == 1)) || (isset($_COOKIE[$config['cookie_name'] . '_lofi']) && (intval($_COOKIE[$config['cookie_name'] . '_lofi']) == 1)))
{
(full_page_generation('./../../templates/common/lofi/lofi_profile_view_body.tpl', htmlspecialchars($profiledata['username']), '', ''));
}else{
full_page_generation('profile_view_body.tpl', htmlspecialchars($profiledata['username']), '', '');
}
And wait and see if MG is going to make any other changes by simply deleting all the other images except the avatar.
Edit:
I've updated the lofi_profile_view_body.tpl file and removed all images except the avatar.
Demo:
http://bitzagames.com/forum/profile...file&u=2&lofi=1
Description: |
|
 Download |
Filename: |
lofi_profile_view_body.zip |
Filesize: |
2.74 KB |
Downloaded: |
230 Time(s) |
|
#1 Sat 23 Feb, 2013 09:06 |
|
Sponsors

|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
Joshua203 
Joshua 203
Dutch A Go Go

Joined: August 2008
Posts: 1754
Location:  Earth, Europe, the Netherlands, Rotterdam
|
 Re: Remove Images From Lofi_profile_view_body.tpl
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#2 Sat 23 Feb, 2013 21:49 |
|
Joshua203 
Joshua 203
Dutch A Go Go

Joined: August 2008
Posts: 1754
Location:  Earth, Europe, the Netherlands, Rotterdam
|
 Re: Remove Images From Lofi_profile_view_body.tpl
If you please yeah  it's not happening here and also not on the latest member link in your portal (only bottom forum page afaics ), the posted link was a direct copy from your page.
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#4 Sat 23 Feb, 2013 22:46 |
|
mort 
 Spam Basher

Joined: August 2010
Posts: 998
Location:  Up a tree
|
 Re: Remove Images From Lofi_profile_view_body.tpl
Haha!
I know the bad link was wysiwyg
It looks like it was a cache problem while I was playing and setting the Unix-Path
If you would like to re-test, in the meantime I'll see if I can change the LoFi unix path to ROOT Blah!
But I think I had problems with the IP_ROOT and that's why I went with Unix - -
BACK to the drawing board for another look!
|
#5 Sat 23 Feb, 2013 23:15 |
|
Joshua203 
Joshua 203
Dutch A Go Go

Joined: August 2008
Posts: 1754
Location:  Earth, Europe, the Netherlands, Rotterdam
|
 Re: Remove Images From Lofi_profile_view_body.tpl
Looks fine now  , back to topic
____________ www.DutchaGoGo.com (development/under construction ...Forever?¿?)
|
#6 Sat 23 Feb, 2013 23:49 |
|
mort 
 Spam Basher

Joined: August 2010
Posts: 998
Location:  Up a tree
|
 Re: Remove Images From Lofi_profile_view_body.tpl
I wish people would stay on-topic.
Anyway Josh,
There's no way I can add or redefine IP_ROOT_PATH to the .tpl path, so it looks like Unix has to stay unless MG does something a little MORE complicated.
But when he gives something the green light here - I'll see about shortening the script with divs.
Now! Where was that topic - - - BOOM!
|
#7 Sun 24 Feb, 2013 00:10 |
|
Mighty Gorgon 
Luca Libralato
Joined: August 2006
Posts: 7192
Location:  Borgo San Michele
|
 Re: Remove Images From Lofi_profile_view_body.tpl
Nice idea mort, I think I'll port your file.
____________ Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
|
#8 Sat 02 Mar, 2013 10:14 |
|
mort 
 Spam Basher

Joined: August 2010
Posts: 998
Location:  Up a tree
|
 Re: Remove Images From Lofi_profile_view_body.tpl
I bet you'll change it!
|
#9 Tue 05 Mar, 2013 10:16 |
|
|
Page 1 of 1
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
You cannot post new topics You cannot reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls You cannot attach files You can download files You cannot post calendar events
|
|
|
|