Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]SteamAuth Błąd
Cridoz
post 10.11.2019, 12:25:53
Post #1





Grupa: Zarejestrowani
Postów: 18
Pomógł: 0
Dołączył: 29.08.2019

Ostrzeżenie: (0%)
-----


Kawałek kodu


  1. <?php
  2.  
  3. require 'steamauth/steamauth.php';
  4.  
  5. ?>



  1. <div class="navbar-collapse collapse w-100 ord er-3 dual-collapse2">
  2. <ul class="navbar-nav ml-auto">
  3. <li class="nav-item">
  4. <a class="nav-link" href="#"><?php include "steamauth/userInfo.php"; echo $steamprofile['personaname']; ?></a>
  5. </li>
  6. <li class="nav-item">
  7. <div class="dropdown pull-xs-right">
  8. <button class="btn bmd-btn-icon dropdown-toggle" type="button" id="lr1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  9. <img src=<?php include "steamauth/userInfo.php"; echo $steamprofile['avatar']; ?> >
  10. </button>


Chodzi o to że nie wyświetla się nazwa użytkownika oraz nick (po zalogowaniu oczywiście)
Wcześniej działało, jak to naprawić?

Link do skryptu którego używam https://github.com/SmItH197/SteamAuthentication

Ten post edytował Cridoz 10.11.2019, 12:28:23
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
gitbejbe
post 11.11.2019, 20:05:24
Post #2





Grupa: Zarejestrowani
Postów: 515
Pomógł: 63
Dołączył: 27.08.2012

Ostrzeżenie: (0%)
-----


no to masz problem : )

pozostaje rest api:
https://steamcommunity.com/dev?l=polish

https://github.com/DPr00f/steam-web-api-php

Ten post edytował gitbejbe 11.11.2019, 20:07:05
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 19.04.2024 - 07:46