[ABD] Xbox Live Tag (1.1.0)

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
User avatar
Flash619 [GN]
Registered User
Posts: 240
Joined: Fri Apr 27, 2007 8:54 pm
Contact:

Re: [BETA] Xbox Live Tag (0.1.0)

Post by Flash619 [GN] » Wed Feb 06, 2008 11:37 pm

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.
Image

User avatar
Flash619 [GN]
Registered User
Posts: 240
Joined: Fri Apr 27, 2007 8:54 pm
Contact:

Re: [BETA] Xbox Live Tag (0.1.0)

Post by Flash619 [GN] » Thu Feb 07, 2008 9:58 pm

nvm got it fixed i was saving it wrong.
Image

User avatar
Flash619 [GN]
Registered User
Posts: 240
Joined: Fri Apr 27, 2007 8:54 pm
Contact:

Re: [BETA] Xbox Live Tag (0.1.0)

Post by Flash619 [GN] » Thu Feb 07, 2008 10:32 pm

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?
Image

User avatar
CoC
Registered User
Posts: 280
Joined: Tue Jul 18, 2006 11:16 am
Location: Coventry
Contact:

Re: [BETA] Xbox Live Tag (1.0.0)

Post by CoC » Sat Feb 09, 2008 8:53 pm

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.

stopgo
Registered User
Posts: 31
Joined: Wed Jun 06, 2007 2:48 am
Contact:

Re: [BETA] Xbox Live Tag (1.0.0)

Post by stopgo » Sun Feb 10, 2008 3:47 am

I'm an idiot. Forgot to upload one of the modded files to my site.

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

MOD works beautifully!

stopgo
Registered User
Posts: 31
Joined: Wed Jun 06, 2007 2:48 am
Contact:

Re: [BETA] Xbox Live Tag (1.0.0)

Post by stopgo » Sun Feb 10, 2008 3:59 am

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?

User avatar
Flash619 [GN]
Registered User
Posts: 240
Joined: Fri Apr 27, 2007 8:54 pm
Contact:

Re: [BETA] Xbox Live Tag (1.0.0)

Post by Flash619 [GN] » Mon Feb 11, 2008 11:03 pm

yes i believe i have made all changed and have purged the cache.
Image

u-lounge
Registered User
Posts: 5
Joined: Tue Feb 26, 2008 1:37 am

Re: [BETA] Xbox Live Tag (1.0.0)

Post by u-lounge » Tue Feb 26, 2008 1:53 am

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.

User avatar
CoC
Registered User
Posts: 280
Joined: Tue Jul 18, 2006 11:16 am
Location: Coventry
Contact:

Re: [BETA] Xbox Live Tag (1.0.0)

Post by CoC » Tue Feb 26, 2008 3:16 am

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

u-lounge
Registered User
Posts: 5
Joined: Tue Feb 26, 2008 1:37 am

Re: [BETA] Xbox Live Tag (1.0.0)

Post by u-lounge » Tue Feb 26, 2008 4:15 am

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

User avatar
CoC
Registered User
Posts: 280
Joined: Tue Jul 18, 2006 11:16 am
Location: Coventry
Contact:

Re: [BETA] Xbox Live Tag (1.0.0)

Post by CoC » Tue Feb 26, 2008 4:31 am

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.

u-lounge
Registered User
Posts: 5
Joined: Tue Feb 26, 2008 1:37 am

Re: [BETA] Xbox Live Tag (1.0.0)

Post by u-lounge » Tue Feb 26, 2008 5:15 am

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 ?

User avatar
CoC
Registered User
Posts: 280
Joined: Tue Jul 18, 2006 11:16 am
Location: Coventry
Contact:

Re: [BETA] Xbox Live Tag (1.0.0)

Post by CoC » Tue Feb 26, 2008 6:08 am

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.

u-lounge
Registered User
Posts: 5
Joined: Tue Feb 26, 2008 1:37 am

Re: [BETA] Xbox Live Tag (1.0.0)

Post by u-lounge » Tue Feb 26, 2008 1:27 pm

Let me test this ! Thanks so much.
I let you know.

u-lounge
Registered User
Posts: 5
Joined: Tue Feb 26, 2008 1:37 am

Re: [BETA] Xbox Live Tag (1.0.0)

Post by u-lounge » Wed Feb 27, 2008 4:05 am

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.

Locked

Return to “[3.0.x] Abandoned MODs”