Safe GamerTag 1.1.0 (eng)

Forum dedicato allo script Safe GamerTag, che permette il display della usercard di XboX, Playstation 3, Nintento Wii.
Forum about Safe GamerTag scripts: display your XboX, Playstation 3, Nintento Wii usercard.

Safe GamerTag 1.1.0 (eng)

Messaggioda Soshen » 31/07/2010, 17:29

Modification Name: Safe GamerTag
Author: Soshen

Modification Description:With this mod all forum users can add in - user control panel / profile - their XboX Live, Playstation 3 PSN network, Nintendo Wii network gamertag card. Those will be display on every forum, in the poster info row ( i mean where are the Avatar image).
This script do no load your server or your bandwidth cose the card images will be loaded only when someone click on respective text link.
Modification Version: 1.1.0
Requirements: PHP5, Mysql >= 4

1.1.0 Addon:
  • Added support to US PSN
  • Added Steam GamerTag
  • Fixed permession entries

Features:
  • Work with XboX Live, PSN, Wii, Steam gamer card
  • Wii gamer card are generated by the script on "Wii Gamer Card creator" page.
  • Safe system: do not load your server or the bandwidth.
  • Come with English base installer and Italian language addon in a different installer. No problem for all that dont have "it" folder.
  • Easy installing, less than a minute
  • Work fine with automod.


Demo URL: www.nipponart.org
Demo Username:
Just navigate the form like a guest for see how it works or create a user for test.

Modification Download: YES
http://www.nipponart.org


IMPORTANT

For those who use style based on prosilver but that have the X stable: you can use the base prosilver style mod.

For those who use style based on prosilver but that have the poster info (the avatar row in viewpost) on the left use this code:

FIND
Codice: Seleziona tutto
<!-- END custom_fields --> 


ADD AFTER
Codice: Seleziona tutto
      
      <dd>&nbsp</dd>
      <!-- IF postrow.GT_XBOX --><dd><b>XboX GamerTag:</b></dd>
      <dd><a href="#" onclick="if(this.parentNode.getElementsByTagName('div')[0].innerHTML != '') { this.parentNode.getElementsByTagName('div')[0].innerHTML=''; this.parentNode.getElementsByTagName('div')[0].style.display = 'none'; this.innerHTML='[+] {postrow.GT_XBOX}'; } else { this.parentNode.getElementsByTagName('div')[0].innerHTML='<iframe src=&#092;'http://gamercard.xbox.com/{postrow.GT_XBOX}.card&#092;' scrolling=&#092;'no&#092;' frameBorder=&#092;'0&#092;' height=&#092;'140&#092;' width=&#092;'204&#092;' align=&#092;'left&#092;'></iframe>'; this.parentNode.getElementsByTagName('div')[0].style.display = 'block'; this.innerHTML='[-] {postrow.GT_XBOX}'; } return false" alt="SHOW GAMER CARD">[+] {postrow.GT_XBOX}</a><br /><div style="display:none;position:relative;width:204px;height:140px"></dd></div><!-- ENDIF -->
      <!-- IF postrow.GT_PSN --><dd><b>Psn GamerTag:</b></dd>
      <dd><a href="#" onclick="if(this.parentNode.getElementsByTagName('div')[0].innerHTML != '') { this.parentNode.getElementsByTagName('div')[0].innerHTML=''; this.parentNode.getElementsByTagName('div')[0].style.display = 'none'; this.innerHTML='[+] {postrow.GT_PSN}'; } else { this.parentNode.getElementsByTagName('div')[0].innerHTML='<iframe src=&#092;'{postrow.PSN_URL}/{postrow.GT_PSN}.png&#092;' scrolling=&#092;'no&#092;' frameBorder=&#092;'0&#092;' height=&#092;'175&#092;' width=&#092;'570&#092;' align=&#092;'left&#092;'></iframe>'; this.parentNode.getElementsByTagName('div')[0].style.display = 'block'; this.innerHTML='[-] {postrow.GT_PSN}'; } return false" alt="SHOW GAMER CARD">[+] {postrow.GT_PSN}</a><br /><div style="display:none;position:relative;width:550px;height:125px"></dd></div><!-- ENDIF -->
      <!-- IF postrow.GT_WII --><dd><b>{L_WII_AMICO}:</b></dd>
      <dd><a href="#" onclick="if(this.parentNode.getElementsByTagName('div')[0].innerHTML != '') { this.parentNode.getElementsByTagName('div')[0].innerHTML=''; this.parentNode.getElementsByTagName('div')[0].style.display = 'none'; this.innerHTML='[+] {postrow.GT_WII}'; } else { this.parentNode.getElementsByTagName('div')[0].innerHTML='<iframe src=&#092;'{postrow.U_GT_WII}&#092;' scrolling=&#092;'no&#092;' frameBorder=&#092;'0&#092;' height=&#092;'150&#092;' width=&#092;'304&#092;' align=&#092;'left&#092;'></iframe>'; this.parentNode.getElementsByTagName('div')[0].style.display = 'block'; this.innerHTML='[-] {postrow.GT_WII}'; } return false" alt="SHOW GAMER CARD">[+] {postrow.GT_WII}</a><br /><div style="display:none;position:relative;width:283px;height:126px"></dd></div><!-- ENDIF -->
      <!-- IF postrow.GT_STEAM --><dd><b>Steam GamerTag:</b></dd>
      <dd><a href="#" onclick="if(this.parentNode.getElementsByTagName('div')[0].innerHTML != '') { this.parentNode.getElementsByTagName('div')[0].innerHTML=''; this.parentNode.getElementsByTagName('div')[0].style.display = 'none'; this.innerHTML='[+] {postrow.GT_STEAM}'; } else { this.parentNode.getElementsByTagName('div')[0].innerHTML='<iframe src=&#092;'http://steamprofile.com/steam/profile/default/{postrow.GT_STEAM}.png&#092;' scrolling=&#092;'no&#092;' frameBorder=&#092;'0&#092;' height=&#092;'68&#092;' width=&#092;'250&#092;' align=&#092;'left&#092;'></iframe>'; this.parentNode.getElementsByTagName('div')[0].style.display = 'block'; this.innerHTML='[-] {postrow.GT_STEAM}'; } return false" alt="SHOW GAMER CARD">[+] {postrow.GT_STEAM}</a><br /><div style="display:none;position:relative;width:225px;height:48px"></dd></div><!-- ENDIF -->
      <dd>&nbsp</dd>




IF you want a new voice "Safe GamerTag" under Profile menù on UCP like that:
Immagine

Just lunch this sql query on your phpmyadmin:

Codice: Seleziona tutto
INSERT INTO `phpbb_modules` (`module_id`, `module_enabled`, `module_display`, `module_basename`, `module_class`, `parent_id`, `left_id`, `right_id`, `module_langname`, `module_mode`, `module_auth`) VALUES
(266, 1, 1, 'profile', 'ucp', 178, 19, 20, 'UCP_SAFE_GAMER_TAG', 'safe_gamer_tag', '');


Remember to change 266 id number with the first id free on your modules phpbb table!
Remember to check the 178 number: it must be the id of voice UCP_PROFILE on modules table!

NB
The beta version do not come with wii gc creator. For now it's esternal on my site.
Allegati
safe_gamertag_1.1.zip
(126.66 KiB) Scaricato 87 volte
Vedi le mie collezioni
Avatar utente
Soshen
Site Admin
 
Messaggi: 1357
Iscritto il: 09/07/2010, 23:54
Nazionalità: Italy (it)
Numero MVP totali: 4
Gamername: Soshen

Torna a Safe GamerTag

Chi c’è in linea

Visitano il forum: Nessuno e 1 ospite

cron