Strict Standards: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /homepages/34/d258180810/htdocs/phpAR/viewtopic.php on line 954

Strict Standards: getdate(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /homepages/34/d258180810/htdocs/phpAR/viewtopic.php on line 954
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2088: Array to string conversion
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2088: Array to string conversion
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2088: Array to string conversion
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2088: Array to string conversion
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2088: Array to string conversion
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2088: Array to string conversion
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2088: Array to string conversion
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2088: Array to string conversion
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2088: Array to string conversion
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2088: Array to string conversion
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3778: Cannot modify header information - headers already sent by (output started at /viewtopic.php:954)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3780: Cannot modify header information - headers already sent by (output started at /viewtopic.php:954)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3781: Cannot modify header information - headers already sent by (output started at /viewtopic.php:954)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3782: Cannot modify header information - headers already sent by (output started at /viewtopic.php:954)
Arcade Room • View topic - Trophies showing twice

Trophies showing twice

Get support for phpAR here.

Moderator: Support Team

Forum rules
Support will NOT be giving for 0.6.9 however you can get support for 0.6.9b and later releases.

Trophies showing twice

Postby neal121 » Sun May 10, 2009 12:25 am

Here is a post in my forums, check my profile on the right to see the profiles showing twice.

http://www.deviantgaming.org/forums/vie ... ?f=7&t=582

Its weird. And in some other areas, some members are only showing it once listed not twice.

If needed, a test user can be used:

User: test
PW: test
Deviant Gaming Web Administrator @ http://www.deviantgaming.org - Bringing the Best Games
neal121
Jr Member
Jr Member
 
Posts: 13
Cash: 17
Donate
Joined: Sat May 09, 2009 8:10 pm

Trophies

gold: 0
silver: 0
bronze: 0

Re: Trophies showing twice

Postby Un1matr1x » Sun May 10, 2009 12:32 am

Hi,

maybe you can post your code of the styles/your style/template/viewtopic_body.html

erverything between:
Code: Select all
<!-- IF postrow.POSTER_GENDER --><dd><strong>{L_GENDER}:</strong> {postrow.POSTER_GENDER_IMG}</dd><!-- ENDIF -->


and

Code: Select all
               <!-- IF postrow.U_PM --><li class="pm-icon"><a href="{postrow.U_PM}" title="{L_PRIVATE_MESSAGE}"><span>{L_PRIVATE_MESSAGE}</span></a></li><!-- ENDIF -->
Image
Un1matr1x
Global Moderator
Global Moderator
 
Posts: 91
Cash: 105
Donate
Joined: Thu Nov 27, 2008 1:35 am

Trophies

gold: 1
silver: 2
bronze: 3

Re: Trophies showing twice

Postby neal121 » Sun May 10, 2009 12:42 am

As requested:

Code: Select all
      <!-- IF postrow.POSTER_GENDER --><dd><strong>{L_GENDER}:</strong> {postrow.POSTER_GENDER_IMG}</dd><!-- ENDIF -->
      
      <!-- IF postrow.S_PROFILE_FIELD1 -->
         <!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
         <dd><strong>{postrow.PROFILE_FIELD1_NAME}:</strong> {postrow.PROFILE_FIELD1_VALUE}</dd>
      <!-- ENDIF -->

      <!-- BEGIN custom_fields -->
         <dd><strong>{postrow.custom_fields.PROFILE_FIELD_NAME}:</strong> {postrow.custom_fields.PROFILE_FIELD_VALUE}</dd>
      <h3 style="font-size:9px; width:50px; margin:3px 2px 2px 8px; padding:0px 0px 0px 0px">{L_TROPHIES}</h3>
        <dd style="height:20px"><strong>{GOLD}:</strong> {postrow.USER_GOLD}</dd>
        <dd style="height:20px"><strong>{SILVER}:</strong> {postrow.USER_SILVER}</dd>
        <dd style="height:20px"><strong>{BRONZE}:</strong> {postrow.USER_BRONZE}</dd>
      <!-- END custom_fields -->

      <!-- IF not S_IS_BOT -->
      <!-- IF postrow.U_PM or postrow.U_EMAIL or postrow.U_WWW or postrow.U_MSN or postrow.U_ICQ or postrow.U_YIM or postrow.U_AIM or postrow.U_JABBER -->
Deviant Gaming Web Administrator @ http://www.deviantgaming.org - Bringing the Best Games
neal121
Jr Member
Jr Member
 
Posts: 13
Cash: 17
Donate
Joined: Sat May 09, 2009 8:10 pm

Trophies

gold: 0
silver: 0
bronze: 0

Re: Trophies showing twice

Postby neal121 » Sun May 10, 2009 11:51 am

Again, hope i dont get yelled at for a double post :(

But I fixed it somehow.

I took out the

Code: Select all
      <h3 style="font-size:9px; width:50px; margin:3px 2px 2px 8px; padding:0px 0px 0px 0px">{L_TROPHIES}</h3>
        <dd style="height:20px"><strong>{GOLD}:</strong> {postrow.USER_GOLD}</dd>
        <dd style="height:20px"><strong>{SILVER}:</strong> {postrow.USER_SILVER}</dd>
        <dd style="height:20px"><strong>{BRONZE}:</strong> {postrow.USER_BRONZE}</dd>


And moved it up and under the gender code and it fixed the problem.

It was REALLY weird because if I took the code out completely for the trophies, both of the lists of trophies would disappear and if I added them back, both would re-appear. It was really odd. Strange enough though. moving the code to a different line fixed the problem.

Strange I tell ya! STRANGE!
Deviant Gaming Web Administrator @ http://www.deviantgaming.org - Bringing the Best Games
neal121
Jr Member
Jr Member
 
Posts: 13
Cash: 17
Donate
Joined: Sat May 09, 2009 8:10 pm

Trophies

gold: 0
silver: 0
bronze: 0

Re: Trophies showing twice

Postby patrikStar » Sun May 10, 2009 2:42 pm

that is weird but i will work on it in a later release
User avatar
patrikStar
Site Admin
Site Admin
 
Posts: 244
Cash: 442
Donate
Joined: Tue Sep 16, 2008 8:17 am
Location: Phoenix, AZ

Trophies

gold: 5
silver: 4
bronze: 2


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron