[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
th2mods
Registered User
Posts: 151
Joined: Sat Jul 14, 2007 2:24 am

Re: [BETA] Xbox Live Tag (0.1.0)

Post by th2mods »

well i jsut want to make it like the gel theme, it would match the fourm better

EDIT: im using a subsilver based theme

Code: Select all

	<td class="row1"><b class="genmed">{L_CONFIRM_PASSWORD}: </b></td>
	<td class="row2"><input class="post" type="password" name="password_confirm" size="25" value="{PASSWORD_CONFIRM}" /></td>
</tr>



<tr>
	<td class="row1"><b class="genmed">{L_LANGUAGE}: </b></td>
	<td class="row2"><select name="lang" onchange="change_language(this.value); return false;">{S_LANG_OPTIONS}</select></td>
</tr>

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

Re: [BETA] Xbox Live Tag (0.1.0)

Post by CoC »

open styles/subsilver2/template/ucp_register.html

Find

Code: Select all

	<td class="row2"><input class="post" type="password" name="password_confirm" size="25" value="{PASSWORD_CONFIRM}" /></td>
</tr>
After Add

Code: Select all

	<!-- IF S_XBL_ENABLED -->
<tr>
	<td class="row1"><b class="genmed">{L_XBOX_LIVE}: </b></td>
	<td class="row2"><input class="post" type="text" name="xbl" size="25" value="{XBL}" /></td>
</tr>
	<!-- ENDIF -->
viewtopic.php
Find-

Code: Select all

 'XBOX_LIVE_FLASH' => ($config['allow_xbl'] && $config['allow_xbl_small'] && $user->data['allow_xbl_small'] && $user_cache[$poster_id]['xbox_live']) ? '<embed src="http://card.mygamercard.net/' . $user_cache[$poster_id]['xbox_live'] . '.swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" type="application/x-shockwave-flash" width="198" height="135"></embed>' : '',
Replace -

Code: Select all

 'XBOX_LIVE_FLASH' => ($config['allow_xbl'] && $config['allow_xbl_small'] && $user->data['allow_xbl_small'] && $user_cache[$poster_id]['xbox_live']) ? '<img src="http://card.mygamercard.net/gel/blue/' . $user_cache[$poster_id]['xbox_live']. '.png" border=0" />' : '',
Where the blue is change to the colour you want.
black, blue, gold, green, orange, pink, purple, red, teal, violet, white, yellow.

User avatar
th2mods
Registered User
Posts: 151
Joined: Sat Jul 14, 2007 2:24 am

Re: [BETA] Xbox Live Tag (0.1.0)

Post by th2mods »

thank you, on full release i think it should be in the install.xml for enabling it on registration. if you want to see what iv done check it out here ;) http://forge.midnightreignpro.com/

User avatar
th2mods
Registered User
Posts: 151
Joined: Sat Jul 14, 2007 2:24 am

Re: [BETA] Xbox Live Tag (0.1.0)

Post by th2mods »

how come all of the sudden my Gt on posts has disappeared?

http://forge.midnightreignpro.com/viewtopic.php?p=39#39

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

Re: [BETA] Xbox Live Tag (0.1.0)

Post by CoC »

Has another Administrator switched the mod off?

User avatar
th2mods
Registered User
Posts: 151
Joined: Sat Jul 14, 2007 2:24 am

Re: [BETA] Xbox Live Tag (0.1.0)

Post by th2mods »

CoC wrote:Has another Administrator switched the mod off?
http://img255.imageshack.us/img255/3656 ... e26ky1.png

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

Re: [BETA] Xbox Live Tag (0.1.0)

Post by CoC »

You have added any other mods?

Can you post your viewtopic_body.html here -> http://www.phpbb.com/pastebin/add.php and give me the link.

User avatar
th2mods
Registered User
Posts: 151
Joined: Sat Jul 14, 2007 2:24 am

Re: [BETA] Xbox Live Tag (0.1.0)

Post by th2mods »

CoC wrote:You have added any other mods?

Can you post your viewtopic_body.html here -> http://www.phpbb.com/pastebin/add.php and give me the link.
http://www.phpbb.com/pastebin/view.php?paste=535

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

Re: [BETA] Xbox Live Tag (0.1.0)

Post by CoC »

You or someone who has access to you're server has removed the code.

Find

Code: Select all

<!-- INCLUDE overall_header.html -->
After Add

Code: Select all

		<script type="text/javascript" src="./mods/xbox/gamerbar360/swfobject.js"></script>
Find

Code: Select all

						<span class="postbody"><br />_________________<br />{postrow.SIGNATURE}</span>

					<!-- ENDIF -->
After Add

Code: Select all

	<!-- IF postrow.XBL_360_VOICE -->
	<!-- IF postrow.XBOX_LIVE -->
	<span class="postbody"><br />_________________<br />
		<div id="{postrow.POST_ID}">
		<!--
		GamerBar360
		Author: McWilliams
		Web: http://gamerbar360.com/
		Powered by: 360Voice.com
		Note: The contents of this area are not to be altered
		-->
			<p><strong>{L_360_NOT_SEEN}</strong></p>
			<p><strong>{L_360_NO_FLASH}</strong></p>
		</div>
	</span>
			<script type="text/javascript">
			// <![CDATA[
			var so = new SWFObject('./mods/xbox/gamerbar360.swf', 'gamerbar360', '800', '145', '8', '#60c6fc');
			so.addVariable('gamertag', '{postrow.XBL_ID}'); // required
			so.addVariable('bkg_alpha', '30'); //optional: range is 0 - 100
			so.addParam('wmode', 'transparent'); // optional: use if changing transparency
			so.write('{postrow.POST_ID}');
			// ]]>
			</script>
	<!-- ENDIF -->
			<!-- ELSE -->
		<!-- IF postrow.XBOX_LIVE --><span class="postbody"><br />_________________<br />{postrow.XBOX_LIVE}</span><!-- ENDIF -->
	<!-- ENDIF -->

User avatar
th2mods
Registered User
Posts: 151
Joined: Sat Jul 14, 2007 2:24 am

Re: [BETA] Xbox Live Tag (0.1.0)

Post by th2mods »

must of been me adding my google adsence code. thanks

User avatar
th2mods
Registered User
Posts: 151
Joined: Sat Jul 14, 2007 2:24 am

Re: [BETA] Xbox Live Tag (0.1.0)

Post by th2mods »

i now notice that only my GT shows up in posts..
http://forge.midnightreignpro.com/viewt ... 5&p=44#p44

and even mine only shows up one time

EDIT: i think that registered users, it doesn't show up their GT in posts, but in memberslist. They have to edit it manualy to make it show in posts. how can i make it by default?

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

Re: [BETA] Xbox Live Tag (0.1.0)

Post by CoC »

You sure?

I have just posted a few posts on there (deleted them as well) and the tag always showed up.

Are you talking about previous posts? you cannot add the tag to those post, only editing and re-submitting will show them.

mainnetwork
Registered User
Posts: 9
Joined: Sun Dec 16, 2007 10:40 am

Re: [BETA] Xbox Live Tag (0.1.0)

Post by mainnetwork »

This screwed up my registration,
General Error
SQL ERROR [ mysql4 ]

Field 'user_xbl' doesn't have a default value [1364]

An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.
Worst of all i put it on a live forum, please tell me how to remove this mod so users may sign up.

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

Re: [BETA] Xbox Live Tag (0.1.0)

Post by CoC »

I thought that had been fixed - :?

run this query,

Code: Select all

ALTER TABLE phpbb_users CHANGE user_xbl user_xbl VARCHAR(40) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '';
Changing phpbb_ to your table prefix.

User avatar
Jaymie1989
Registered User
Posts: 1991
Joined: Thu Aug 02, 2007 5:21 pm
Name: Jaymie

Re: [BETA] Xbox Live Tag (0.1.0)

Post by Jaymie1989 »

Dose this work with GOLD?
Dear creators of Sesame Street,
Kids are still fat. Can I come back now?
Sincerely, Cookie Monster.

View my MODs - Need phpBB help with MODs and Styles? Take a look at my phpBB3 services

Locked

Return to “[3.0.x] Abandoned MODs”