[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
CoC
Registered User
Posts: 280
Joined: Tue Jul 18, 2006 11:16 am
Location: Coventry
Contact:

[ABD] Xbox Live Tag (1.1.0)

Post by CoC »

MOD Title: Xbox Live Tag
MOD Description: Adds a profile field for users to enter an Xbox Live ID that will show their tag in their profile and posts. Can all be controled via the ACP and UCP.

MOD Version: 1.1.0
phpBB Version: phpBB 3.0.0 Gold



Updated: this now includes the gamerbar360 which is a full flash enabled bar which uses all the api's from 360voice.com to get all tag details.

Although you will need an account at 360voice.com for this tag to work, but you can still use the Mygamercard.net tags which are set to on by default.

MOD Download: Click Me

Finally got round to updating this, all edits are listed below, update file inside the contrib folder.

Images
UCP Edit Profile
Memberlist
Memberlist Search
Profile Display Options
Profile Posting Options
ACP Board Features
ACP Edit Profile

New UCP
New ACP Users
New ACP
New Profile
New ViewTopic

Updated: 1.1.0
- Updated to be compatible with phpBB 3.0.1
- Changed some things about an-all.

Updated: 1.0.0
- Updated to Mod Standard, Now compatible with Mod Manager, Fixed all XHTML, Javascript errors. Now XHTML Strict.

Updated: 0.1.0
- Updated latest MyGamerCard.net tags, Moved .js for subsilver2 style.

Updated: 0.0.9
- Removed CDATA tags around javascript, causing errors in the install.xml file.

Updated: 0.0.8
- Fixed template find for RC7.

Updated: 0.0.7
- Added GamerBar360 complete live flash card, account needed at 360voice.com to work. it's switched off by default, and Mygamercard.net tags enabled.
- Removed javascript from module template file and placed in overall_header file with switch for page loading, fixing the IE error where menu doesn't populate.
- cleaned up the code, added tokens.

Updated: 0.0.6
- Added all Mygamercard.net Tags.
- Linked Selections so each tag type selects the correct type.
- Added Flash Gamer Card to Viewtopic with switch and Admin override.

Updated: 0.0.5
- Added option for members to choose the tag colour(s) in UCP and ACP overide switch.

Updated: 0.0.4
- A few big changes.
- Removed all language edits and replaced with one lang file.
- Removed all edits from the ACP main config and replaced with module.
- Removed all edits from the ACP users config and replaced with module.
- Removed all edits from the UCP config and replaced with module.
- Removed Memberlist.php edits and saved as seperate file for add on.
- Admin selection for tags colour with preview.

Updated: 0.0.3
- Fixed Some Errors.

Updated: 0.0.2
- Tags to Posts with switch to use per post.
- UCP Switch to remove from all posts.
- UCP Switch to auto add to posts.
- Tags to Posts with switch to use per post.
- Tags to Memberlist (Removed if mod is switched off).
- Tags to Memberlist Search (Removed if mod is switched off).
- Admin switch(s) for users profiles.
- Admin Switch to turn mod on or off.
- Admin Switch for posts.
Last edited by DavidIQ on Sun Mar 22, 2009 6:06 am, edited 14 times in total.
Reason: Marked as abandoned
Panaflakin
Registered User
Posts: 37
Joined: Sun Mar 05, 2006 9:50 pm

Re: [BETA] Xbox Live Tag (0.0.1)

Post by Panaflakin »

Nice i will be testing this :D
Panaflakin
Registered User
Posts: 37
Joined: Sun Mar 05, 2006 9:50 pm

Re: [BETA] Xbox Live Tag (0.0.1)

Post by Panaflakin »

I install it on my forums and its working just fine, i want to know how can i display it also on viewtopic????
User avatar
CoC
Registered User
Posts: 280
Joined: Tue Jul 18, 2006 11:16 am
Location: Coventry
Contact:

Re: [BETA] Xbox Live Tag (0.0.1)

Post by CoC »

This will show the xbox live card in the topics, but at the moment their is no way to switch it off per post like sigs but it is something I will do later on, just done the memberlist and search by live id.

Code: Select all

#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php

#
#-----[ FIND ]------------------------------------------
#
				'sig_bbcode_bitfield'	=> (!empty($row['user_sig_bbcode_bitfield'])) ? $row['user_sig_bbcode_bitfield'] : '',

#
#-----[ AFTER, ADD ]------------------------------------------
#
				'xbox_live' => $row['user_xbl'],


#
#-----[ FIND ]------------------------------------------
#
		'SIGNATURE'			=> ($row['enable_sig']) ? $user_cache[$poster_id]['sig'] : '',

#
#-----[ AFTER, ADD ]------------------------------------------
#
		'XBOX_LIVE'   => ( $user_cache[$poster_id]['xbox_live'] ) ? '<img src="http://card.mygamercard.net/gelsig/blue/' . $user_cache[$poster_id]['xbox_live']. '.png" border=0">'  :'',

#
#-----[ OPEN ]------------------------------------------
#
prosilver/template/viewtopic_body.html

#
#-----[ FIND ]------------------------------------------
#
			<!-- IF postrow.SIGNATURE --><div id="sig{postrow.POST_ID}" class="signature">{postrow.SIGNATURE}</div><!-- ENDIF -->

#
#-----[ AFTER, ADD ]------------------------------------------
#
			<!-- IF postrow.XBOX_LIVE --><div class="signature">{postrow.XBOX_LIVE}</div><!-- ENDIF -->


#
#-----[ OPEN ]------------------------------------------
#
subsilver2/template/viewtopic_body.html

#
#-----[ FIND ]------------------------------------------
#
					<!-- IF postrow.SIGNATURE -->
						<span class="postbody"><br />_________________<br />{postrow.SIGNATURE}</span>
					<!-- ENDIF -->

#
#-----[ AFTER, ADD ]------------------------------------------
#
					<!-- IF postrow.XBOX_LIVE -->
						<span class="postbody"><br />_________________<br />{postrow.XBOX_LIVE}</span>
					<!-- ENDIF -->

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
User avatar
JunglistPerfection
Registered User
Posts: 611
Joined: Mon Apr 09, 2007 11:58 pm
Location: Chicago, IL

Re: [BETA] Xbox Live Tag (0.0.1)

Post by JunglistPerfection »

Does this mod work with the Xbox360 or just the Xbox console?
User avatar
CoC
Registered User
Posts: 280
Joined: Tue Jul 18, 2006 11:16 am
Location: Coventry
Contact:

Re: [BETA] Xbox Live Tag (0.0.1)

Post by CoC »

Neither it works with phpBB - :D

It's made for the 360 gamertag, which I assume is the same for the original xbox?.

If it will show your tag here - http://www.mygamercard.net/ then it will show them on your forums, thats where the tags are pulled from.
Panaflakin
Registered User
Posts: 37
Joined: Sun Mar 05, 2006 9:50 pm

Re: [BETA] Xbox Live Tag (0.0.1)

Post by Panaflakin »

CoC wrote:This will show the xbox live card in the topics, but at the moment their is no way to switch it off per post like sigs but it is something I will do later on, just done the memberlist and search by live id.

Code: Select all

#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php

#
#-----[ FIND ]------------------------------------------
#
				'sig_bbcode_bitfield'	=> (!empty($row['user_sig_bbcode_bitfield'])) ? $row['user_sig_bbcode_bitfield'] : '',

#
#-----[ AFTER, ADD ]------------------------------------------
#
				'xbox_live' => $row['user_xbl'],


#
#-----[ FIND ]------------------------------------------
#
		'SIGNATURE'			=> ($row['enable_sig']) ? $user_cache[$poster_id]['sig'] : '',

#
#-----[ AFTER, ADD ]------------------------------------------
#
		'XBOX_LIVE'   => ( $user_cache[$poster_id]['xbox_live'] ) ? '<img src="http://card.mygamercard.net/gelsig/blue/' . $user_cache[$poster_id]['xbox_live']. '.png" border=0">'  :'',

#
#-----[ OPEN ]------------------------------------------
#
prosilver/template/viewtopic_body.html

#
#-----[ FIND ]------------------------------------------
#
			<!-- IF postrow.SIGNATURE --><div id="sig{postrow.POST_ID}" class="signature">{postrow.SIGNATURE}</div><!-- ENDIF -->

#
#-----[ AFTER, ADD ]------------------------------------------
#
			<!-- IF postrow.XBOX_LIVE --><div class="signature">{postrow.XBOX_LIVE}</div><!-- ENDIF -->


#
#-----[ OPEN ]------------------------------------------
#
subsilver2/template/viewtopic_body.html

#
#-----[ FIND ]------------------------------------------
#
					<!-- IF postrow.SIGNATURE -->
						<span class="postbody"><br />_________________<br />{postrow.SIGNATURE}</span>
					<!-- ENDIF -->

#
#-----[ AFTER, ADD ]------------------------------------------
#
					<!-- IF postrow.XBOX_LIVE -->
						<span class="postbody"><br />_________________<br />{postrow.XBOX_LIVE}</span>
					<!-- ENDIF -->

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Thanks a Lot, it worked Just Fine but i make it to appear on the User Info you can see it Live on my Boards

Viewtopic Page http://www.gamerzone.com.mx/foros/viewt ... ?f=2&t=105
Profile Page http://www.gamerzone.com.mx/foros/membe ... rofile&u=2
User avatar
Smokeydogg
Registered User
Posts: 240
Joined: Sat Dec 06, 2003 8:02 am
Contact:

Re: [BETA] Xbox Live Tag (0.0.1)

Post by Smokeydogg »

can someone write up the install file in a txt file instead of xml
Panaflakin
Registered User
Posts: 37
Joined: Sun Mar 05, 2006 9:50 pm

Re: [BETA] Xbox Live Tag (0.0.1)

Post by Panaflakin »

Why, its easier whit the install.xml open it whit Internet Explorer
User avatar
Smokeydogg
Registered User
Posts: 240
Joined: Sat Dec 06, 2003 8:02 am
Contact:

Re: [BETA] Xbox Live Tag (0.0.1)

Post by Smokeydogg »

Panaflakin wrote:Why, its easier whit the install.xml open it whit Internet Explorer
i have tried but everytime i just get an error saying i cant view it

i dont see why it cant be in txt files like it used to be
User avatar
CoC
Registered User
Posts: 280
Joined: Tue Jul 18, 2006 11:16 am
Location: Coventry
Contact:

Re: [BETA] Xbox Live Tag (0.0.1)

Post by CoC »

Open the Xbox Live Tag.xml file with your web browser.

It has to be in the folder with the modx.prosilver.en.xsl as well. otherwise it doesn't have the style template.
User avatar
Smokeydogg
Registered User
Posts: 240
Joined: Sat Dec 06, 2003 8:02 am
Contact:

Re: [BETA] Xbox Live Tag (0.0.1)

Post by Smokeydogg »

alright now it works thanks
SpongeFreak52
Registered User
Posts: 83
Joined: Tue May 23, 2006 12:54 am
Contact:

Re: [BETA] Xbox Live Tag (0.0.1)

Post by SpongeFreak52 »

Nice MOD! I'm loving all of these gaming MODs coming out, since I just opened a gaming site!
User avatar
heatherw_01
Registered User
Posts: 164
Joined: Sun Oct 06, 2002 1:29 am
Location: UK
Contact:

Re: [BETA] Xbox Live Tag (0.0.1)

Post by heatherw_01 »

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

Re: [BETA] Xbox Live Tag (0.0.1)

Post by th2mods »

Help? i know i need to edit the SQl, but how? what file, where do i look, etc? it doesn't tell you what file to go to in the .xml file.

Code: Select all

General Error
SQL ERROR [ mysql4 ]

Unknown column 'user_xbl' in 'field list' [1054]

SQL

UPDATE phpbb1_users SET user_icq = '', user_aim = '', user_msnm = 'christian1541@hotmail.com', user_yim = '', user_jabber = '', user_website = '', user_from = 'Salt lake City', user_xbl = NULL, user_occ = '', user_interests = '', user_birthday = '24- 5-1983' WHERE user_id = 2

BACKTRACE

FILE: includes/db/mysql.php
LINE: 158
CALL: dbal->sql_error()

FILE: includes/ucp/ucp_profile.php
LINE: 348
CALL: dbal_mysql->sql_query()

FILE: includes/functions_module.php
LINE: 463
CALL: ucp_profile->main()

FILE: ucp.php
LINE: 310
CALL: p_master->load_active()
Locked

Return to “[3.0.x] Abandoned MODs”