Page 14 of 21

Re: [BETA] Xbox Live Tag (0.1.0)

Posted: Wed Feb 06, 2008 11:37 pm
by Flash619 [GN]
error

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3392: Cannot modify header information - headers already sent by (output started at /includes/session.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3394: Cannot modify header information - headers already sent by (output started at /includes/session.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3395: Cannot modify header information - headers already sent by (output started at /includes/session.php:1)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3396: Cannot modify header information - headers already sent by (output started at /includes/session.php:1)
I know this is either sql, or language files but neither seem in-correct? Any help would be greatly apreciated.

Re: [BETA] Xbox Live Tag (0.1.0)

Posted: Thu Feb 07, 2008 9:58 pm
by Flash619 [GN]
nvm got it fixed i was saving it wrong.

Re: [BETA] Xbox Live Tag (0.1.0)

Posted: Thu Feb 07, 2008 10:32 pm
by Flash619 [GN]
the gamer card does not show up in the memberlist, profile, or at the bottom of any post. It is enabled.
(EDIT)
It works but will not show up on posts?

Re: [BETA] Xbox Live Tag (1.0.0)

Posted: Sat Feb 09, 2008 8:53 pm
by CoC
Have you checked the template edits? Purged the cache?


Mod Updated: See First Post.
No update file I'm afraid, to many little changesto list them all.

Re: [BETA] Xbox Live Tag (1.0.0)

Posted: Sun Feb 10, 2008 3:47 am
by stopgo
I'm an idiot. Forgot to upload one of the modded files to my site.

Where's the "kicking myself" smiley?!?

MOD works beautifully!

Re: [BETA] Xbox Live Tag (1.0.0)

Posted: Sun Feb 10, 2008 3:59 am
by stopgo
One more stupid question...

Gamercards are displaying under avatars just as they should be. But if I wanted to move the gamercard to display above or below the profile fields (ya' know, the "Joined", "Location" and "Posts" things listed under the avatar) what file would I want to edit?

Re: [BETA] Xbox Live Tag (1.0.0)

Posted: Mon Feb 11, 2008 11:03 pm
by Flash619 [GN]
yes i believe i have made all changed and have purged the cache.

Re: [BETA] Xbox Live Tag (1.0.0)

Posted: Tue Feb 26, 2008 1:53 am
by u-lounge
Hello,

I installed the mod on this site,

Manually installed... everything went ok... except, no xboxlive tag or flash in post and memberlist, everything is enabled, UCP & ACP... profile is ok though... weird...

Note : MDTF u lounge is the only account set with an xboxlive ID, please make sure to check on this one.

Help please... interested in Fench "rough" localization by the way ?

Thanks.

Re: [BETA] Xbox Live Tag (1.0.0)

Posted: Tue Feb 26, 2008 3:16 am
by CoC
Purged the cache?

Just noticed that a couple of files are named wrong.

If you have recently installed this, change

./mods/xbox/acp_xbl.js
./mods/xbox/acp_xbl1.js

To

./mods/xbox/xbl.js
./mods/xbox/xbl1.js

Re: [BETA] Xbox Live Tag (1.0.0)

Posted: Tue Feb 26, 2008 4:15 am
by u-lounge
if you mean styles>templates>cache, yes, it has been done and actually done again with the same result.
By the way, in the install.xml, there's a wrong change in files to edit list.

there's no

Code: Select all

'S_CONTENT_FLOW_END'	=> ($user->lang['DIRECTION'] == 'ltr') ? 'right' : 'left',
in includes/acp/info/acp_users.php

Re: [BETA] Xbox Live Tag (1.0.0)

Posted: Tue Feb 26, 2008 4:31 am
by CoC
Thanks for noticing that, have fixed the download.

Tag shows fine in user profile - http://www.ilovebtb.com/phpBB3/memberli ... ofile&u=83

Could you attach your viewtopic_body.html I will have a look at it.

Re: [BETA] Xbox Live Tag (1.0.0)

Posted: Tue Feb 26, 2008 5:15 am
by u-lounge
Thanks for you help !
But actually it was a brain problem my side... I've done it again, and everything fine...
Except it does not do what I exactly want.

- The idea is kind of that
But instead of the flash gamercard, I would prefer just text like : xbolive gtag : xxxx with a link to xxxxx personal page on xbox.com. To be able to send him a message directly would be nice too.

- About the profil page, the same, only text linked to xbox.com gamertag page, no need of id graphic...

I do some php quiet ok, please can you tell where I should look at to make those customs ? Is it possible ?

Re: [BETA] Xbox Live Tag (1.0.0)

Posted: Tue Feb 26, 2008 6:08 am
by CoC
Something like this?

Open ./viewtopic.php

Find and delete,

Code: Select all

		'XBOX_LIVE_FLASH'		=> ($config['allow_xbl'] && $config['allow_xbl_small'] && $user->data['allow_xbl_small'] && $user_cache[$poster_id]['xbox_live']) ? '<object type="application/x-shockwave-flash" data="http://card.mygamercard.net/' . $user_cache[$poster_id]['xbox_live'] . '.swf" width="198" height="135">
<param name="movie" value="http://card.mygamercard.net/' . $user_cache[$poster_id]['xbox_live'] . '.swf" />
<img src="http://card.mygamercard.net/' . $user_cache[$poster_id]['xbox_live']. '.png" width="198" height="135" alt="Xbox Live Gamer Card" />
</object>' : '',
Open ./styles/prosilver/template/ucp_prefs_xbl.html

Find and Delete

Code: Select all

	<!-- IF S_XBL_ACP_FLASH -->
		<hr />
	<dl>
		<dt><label for="xbl_flash1">{L_XBL_FLASH}:</label></dt>
		<dd>
			<label for="xbl_flash1"><input type="radio" name="xbl_flash" id="xbl_flash1" value="1"<!-- IF S_XBL_FLASH --> checked="checked"<!-- ENDIF --> /> {L_YES}</label> 
			<label for="xbl_flash0"><input type="radio" name="xbl_flash" id="xbl_flash0" value="0"<!-- IF not S_XBL_FLASH --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
		</dd>
	</dl>
	<!-- ELSE -->
		<hr />
	<dl>
		<dt><label>{L_XBL_FLASH}:</label></dt>
		<dd>
			<label>{L_FLASH_DISABLED}</label> 
		</dd>
	</dl>
	<!-- ENDIF -->
Open ./styles/prosilver/template/viewtopic_body.html

Find and delete,

Code: Select all

		<!-- IF postrow.XBOX_LIVE_FLASH --><dd>{postrow.XBOX_LIVE_FLASH}</dd><!-- ENDIF -->
Find,

Code: Select all

					<!-- IF postrow.U_JABBER --><li class="jabber-icon"><a href="{postrow.U_JABBER}" onclick="popup(this.href, 550, 320); return false;" title="{L_JABBER}"><span>{L_JABBER}</span></a></li><!-- ENDIF -->
After Add,

Code: Select all

					<!-- IF postrow.XBL_ID --><li class="xblmessage-icon"><a href="http://live.xbox.com/profile/MessageCenter/SendMessage.aspx?gt={postrow.XBL_ID}" title="{L_MESSAGE_XBL}"><span>{L_MESSAGE_XBL}</span></a></li>
					<li class="xbladd-icon"><a href="http://live.xbox.com/profile/FriendsMgmt.aspx?gt={postrow.XBL_ID}&act=Add" title="{L_ADD_XBL}"><span>{L_ADD_XBL}</span></a></li><!-- ENDIF -->
Open ./styles/prosilver/theme/buttons.css

Find,

Code: Select all

.quote-icon, .quote-icon a		{ background: none top left no-repeat; }
After Add,

Code: Select all

.xblmessage-icon, .xblmessage-icon a	{ background: none top left no-repeat; }
.xbladd-icon, .xbladd-icon a	{ background: none top left no-repeat; }
Find,

Code: Select all

ul.profile-icons li.warn-icon	{ width: {IMG_ICON_USER_WARN_WIDTH}px; height: {IMG_ICON_USER_WARN_HEIGHT}px; }
After Add,

Code: Select all

ul.profile-icons li.xblmessage-icon	{ width: 20px; height: 20px; }
ul.profile-icons li.xbladd-icon	{ width: 20px; height: 20px; }
Open ./styles/prosilver/theme/colours.css

Find,

Code: Select all

.quote-icon, .quote-icon a		{ background-image: url("{IMG_ICON_POST_QUOTE_SRC}"); }
After Add,

Code: Select all

.xblmessage-icon, .xblmessage-icon a		{ background-image: url("{T_IMAGESET_PATH}/icon_message_xbl.gif"); }
.xbladd-icon, .xbladd-icon a		{ background-image: url("{T_IMAGESET_PATH}/icon_add_xbl.gif"); }
Open ./language/en/mods/xbl.php

Find,

Code: Select all

<?
Before Add,

Code: Select all

//Contact Buttons
$lang = array_merge($lang, array(
	'ADD_XBL'									=> 'Add as Xbox Live Friend',
	'MESSAGE_XBL' => 'Send Message Over Xbox Live',
));
Copy the images to ./styles/prosilver/imageset

Image Image

What that adds is a link to send the user a message on Xbox Live, or a link to add them as a friend.

I don't use the flash card on my site either, it's plain and boring, but it was requested in the mod.

Re: [BETA] Xbox Live Tag (1.0.0)

Posted: Tue Feb 26, 2008 1:27 pm
by u-lounge
Let me test this ! Thanks so much.
I let you know.

Re: [BETA] Xbox Live Tag (1.0.0)

Posted: Wed Feb 27, 2008 4:05 am
by u-lounge
Thanks ! It looks much more the way I want... I prefer this version, nice taste my friend ;-)

I've done some little ajustment myself :

viewtopic.php
- Add gamertag linked to xbox.com personal page.
- Add gamertag linked to Halo 3 stats page.
in the profile part of a post.

Would be nicer :
- may be an icon as "send a message" and "invite" as the link to Halo3 stats page

memberlist_view.php
Need help :? can't find any code to get the gamertag.
Would like to show the same xbl features as in viewtopic.php


Would be nicer :
-Add icons in memberlist general view.

Thanks for your support.
for this project, we'll translate this mod... if you want it, it's yours.