[Release] Warcraft Guild Recent Activity Extension V2.2.0 Board3V2.1

User avatar
tnbf1983
V.I.P
V.I.P
Posts: 18
Joined: January 28th, 2017, 3:29 pm
Location: Texas
Contact:

Re: [Release] Warcraft Guild Recent Activity Extension V2.2.0 Board3V2.1

Post by tnbf1983 » February 12th, 2017, 5:35 pm

Perrrrrrrrrrrrrrrrrrrrrrrrrrfect. Check it and those things do the trick chief. :D

User avatar
macksan
Posts: 3
Joined: October 5th, 2016, 11:32 am
Contact:

Re: [Release] Warcraft Guild Recent Activity Extension V2.2.0 Board3V2.1

Post by macksan » February 15th, 2017, 8:44 am

Hello great work.

if I can help you with French translation ?

Code: Select all

<?php

/**
*
* @package Board3 Portal v2.1+ - World of Warcraft Guild Recent Activity Module
* @copyright (c) Board3 Group ( www.board3.de )
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @World of Warcraft Recent Guild Activity Feed by Talonos v2.2.0 @ http://pretereo-stormrage.co.uk
*/



/**
* DO NOT CHANGE
*/

if (!defined('IN_PHPBB'))
{
	exit;
}



if (empty($lang) || !is_array($lang))
{
	$lang = array();
}





$lang = array_merge($lang, array(

	'PORTAL_WOW_RECENT_TITLE'		=> 'WoW Activité Guilde',
	'PORTAL_WOW_RECENT_TITLE_EXP'	=> 'Utilisez cette page pour modifier les paramètres du bloc WoW Activité Guilde. <BR>V2.2.0 by Talonos @ <a target="_blank" href="http//pretereo-stormrage.co.uk">Pretereo-Stormrage</a>',
	'WOWRECENT_IMAGE'				=> 'Afficher les images d\'objets',
	'WOWRECENT_IMAGE_EXP'			=> 'Afficher les images des objets dans le bloc WoW Activité Guilde',
	'WOWRECENT_GUILD' 				=> 'Nom de la Guilde',
	'WOWRECENT_GUILD_EXP'			=> 'Veuillez entrer le nom de votre guilde ici',
	'WOWRECENT_REALM' 				=> 'Nom du Royaume',
	'WOWRECENT_REALM_EXP'			=> 'Veuillez entrer le nom de votre Royaume ici',
	'WOWRECENT_REGION'				=> 'Région',
	'WOWRECENT_REGION_EXP'			=> 'Veuillez entrer le nom de votre région ici. eu/us',
	'WOWRECENT_TOTAL'				=> 'Total à afficher',
	'WOWRECENT_TOTAL_EXP'			=> 'S\'il vous plaît, fixez un nombre pour combien d\'activité vous voulez afficher dans le bloc',
	'WOWRECENT_OPTIONS'				=> 'Options de WoW Activité Guilde',
	'WOWRECENT_API'					=> 'Clé API Battle.net',
	'WOWRECENT_API_EXP'				=> '<font color="red">IMPERATIF: Assurez-vous d\'utiliser la clé qui est <br>fourni dans votre compte<br><a target="_blank" href="https//dev.battle.net/">https://dev.battle.net</a><br> ne pas utiliser une clé API fournie par <br>dev.battle.net rendra le bloc non fonctionnel</font>',
	'WOWRECENT_UPDATE'				=> 'Limite de mise à jour',
	'WOWRECENT_UPDATE_EXP'			=> 'A quelle fréquence pour mettre à jour le bloc en minutes 1-99 (redémarre à chaque rafraichissement de la page)',
	'WOWRECENT_LOOTED'				=> 'Pillé',
	'WOWRECENT_CRAFTED'				=> 'Fabriqué',
	'WOWRECENT_ACHIEVED'			=> 'Réalisé',
	'WOWRECENT_PURCHASED'			=> 'Acheté',
	'WOWRECENT_CLASS'				=> 'Afficher les images de la classe des joueurs',
	'WOWRECENT_CLASS_EXP'			=> 'Afficher des images de classe de joueur dans le bloc Activité récente',
	'WOWRECENT_LANG'				=> 'Définir la langue',
	'WOWRECENT_LANG_EXP'			=> 'Utilisez cette option pour sélectionner la langue de l\'info-bulle et des liens d\'élément dans l\'extension',
	
	// times
	'WOWRECENT_TODAY'				=> 'Aujourd\'hui',
	'WOWRECENT_YESTERDAY'			=> 'Hier',
	'WOWRECENT_TOMORROW'			=> 'Demain',
	'WOWRECENT_AT'					=> 'à',
	'WOWRECENT_FROMNOW'				=> 'À partir de maintenant',
	'WOWRECENT_AGO'					=> 'Depuis',
	'WOWRECENT_RIGHTNOW'			=> 'Maintenant',
	'WOWRECENT_JUSTNOW'				=> 'Juste maintenant',
	'WOWRECENT_PLURALIZE'			=> 's', // pluralize converts (minute ago) to (minutes ago)
	'WOWRECENT_MILLISECOND'			=> 'Milliseconde',
	'WOWRECENT_SECOND'				=> 'Seconde',
	'WOWRECENT_MINUTE'				=> 'Minute',
	'WOWRECENT_HOUR'				=> 'Heure',
	'WOWRECENT_DAY'					=> 'Jour',
	'WOWRECENT_MONTH'				=> 'Mois',
	'WOWRECENT_YEAR'				=> 'Année',
	
	'WOWRECENT_SUNDAY'				=> 'Dimanche',
	'WOWRECENT_MONDAY'				=> 'Lundi',
	'WOWRECENT_TUESDAY'				=> 'Mardi',
	'WOWRECENT_WEDNSDAY'			=> 'Mercredi',
	'WOWRECENT_THURSDAY'			=> 'Jeudi',
	'WOWRECENT_FRIDAY'				=> 'Vendredi',
	'WOWRECENT_SATURDAY'			=> 'Samedi',
));


I have a test forum that allows me to test modules, and this does not work.
The block is still trying to read the data.

I generated a new API key

the same.

I installed several versions of forum + portal with the module.
Some work, others not

Test phpbb3.1.0 + board3 2.1.0 + block 2.1.3 ==> http://tests.deathrage.net/phpbb31/app.php/portal, PHP version: 5.6

Test phpbb3.2.0 + board3 2.1.0 + block 2.2.0 ==> http://tests.deathrage.net/phpbb32/app.php/portal, PHP version: 5.6

Target forum: phpbb3.2.0 + board3 2.1.0 + block 2.2.0 ==> http://deathrage.net/forum/app.php/portal, PHP version: 7.0

I have some sites on local computer with WAMP, and same results. Any idea ?
Each time the API key used is the same.

User avatar
talonos
Site Admin
Site Admin
Posts: 128
Joined: May 6th, 2014, 8:32 pm

Re: [Release] Warcraft Guild Recent Activity Extension V2.2.0 Board3V2.1

Post by talonos » February 15th, 2017, 11:43 am

i think its to do with your language file. i quick fix would be this.

PHPBBROOT/ext/talonos/b3pwowrecent/styles/prosilver/template/wow_recent.html
Find This may be a partial find and not the whole line

Code: Select all

var TEXTS = {today:		'{L_WOWRECENT_TODAY}',
Replace with Replace the preceding lines with the following

Code: Select all

var TEXTS = {today:		"{L_WOWRECENT_TODAY}",
i've tested it and it works for me that way.

User avatar
macksan
Posts: 3
Joined: October 5th, 2016, 11:32 am
Contact:

Re: [Release] Warcraft Guild Recent Activity Extension V2.2.0 Board3V2.1

Post by macksan » February 16th, 2017, 7:23 am

Thank you Talonos

It works perfectly.

User avatar
tnbf1983
V.I.P
V.I.P
Posts: 18
Joined: January 28th, 2017, 3:29 pm
Location: Texas
Contact:

Re: [Release] Warcraft Guild Recent Activity Extension V2.2.0 Board3V2.1

Post by tnbf1983 » March 9th, 2017, 4:39 pm

With wowhead being down. Is there any backup sites that can be used? Because of wowhead being down, gear is not showing.

User avatar
talonos
Site Admin
Site Admin
Posts: 128
Joined: May 6th, 2014, 8:32 pm

Re: [Release] Warcraft Guild Recent Activity Extension V2.2.0 Board3V2.1

Post by talonos » March 9th, 2017, 6:12 pm

tnbf1983 wrote:
March 9th, 2017, 4:39 pm
With wowhead being down. Is there any backup sites that can be used? Because of wowhead being down, gear is not showing.

wowhead is the most reliable. they do have downtime sometimes but they are minimal. adding another would proberly cause issues. whole reason wowhead is best is due to its compatability AND reliablity

User avatar
tnbf1983
V.I.P
V.I.P
Posts: 18
Joined: January 28th, 2017, 3:29 pm
Location: Texas
Contact:

Re: [Release] Warcraft Guild Recent Activity Extension V2.2.0 Board3V2.1

Post by tnbf1983 » May 4th, 2017, 2:49 pm

Image

Mind telling me what I need to fix to address the problems with the times on that?

User avatar
talonos
Site Admin
Site Admin
Posts: 128
Joined: May 6th, 2014, 8:32 pm

Re: [Release] Warcraft Guild Recent Activity Extension V2.2.0 Board3V2.1

Post by talonos » May 4th, 2017, 6:38 pm

tnbf1983 wrote:
May 4th, 2017, 2:49 pm
Image

Mind telling me what I need to fix to address the problems with the times on that?

PHPBB_ROOT/ext/talons/b3pwowrecent/styles/prosilver/template/wow_recent.html
Find This may be a partial find and not the whole line

Code: Select all

var x = new Date( wowitem.timestamp );
Replace with Replace the preceding lines with the following

Code: Select all

var x = new Date( wowitem.timestamp - 3600000);
clear forum cache and that should be it fixed.

User avatar
tnbf1983
V.I.P
V.I.P
Posts: 18
Joined: January 28th, 2017, 3:29 pm
Location: Texas
Contact:

Re: [Release] Warcraft Guild Recent Activity Extension V2.2.0 Board3V2.1

Post by tnbf1983 » May 4th, 2017, 11:38 pm

Looks like I needed to do + 7200000. I think I may have got it.

Post Reply