Image counter & album button disappeared in viewtopic

Support for Administration, Installation, Update & Conversion
Locked until 1.1.0 was released.

Image counter & album button disappeared in viewtopic

Postby Jessica » Sun May 20, 2012 7:05 pm

Gallery Version: 1.1.6
phpBB Version: 3.0.10
Gallery-Link: http://area51.chenschool.elementfx.com/gallery/index.php

Database Version: MySQL 5.1.62-cll


Error description and message
The image counter and album button that appears in the mini profile in viewtopic were there until today, when I just noticed that they were no longer there.

I double checked that the settings "Show button to personal album on viewtopic.php:" and "Show image-counter on viewtopic.php:" were enabled -- they were, they're both set to Yes. I also checked to make sure the edits were there. They were. so I don't know why they suddenly vanished :/

Username: Test
Password: test123
Last edited by Jessica on Mon May 28, 2012 4:22 pm, edited 1 time in total.
Jessica
Posts < 10
Posts < 10
 
Posts: 3
Topics: 1
Images: 0
Joined: Thu Feb 03, 2011 4:40 am
Location: Pennsylvania
phpBB.com: Jessica

Re: Image counter & album button disappeared in viewtopic

Postby nickvergessen » Mon May 28, 2012 11:15 am

Can you please check, whether the viewtopic.php is still edited correctly?
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: Image counter & album button disappeared in viewtopic

Postby Jessica » Mon May 28, 2012 4:20 pm

Yep

images link part:

Code: Select all
<!-- IF postrow.GALLERY_IMAGES != '' --><dd><strong>{L_IMAGES}:</strong> <!-- IF postrow.U_GALLERY_SEARCH --><a href="{postrow.U_GALLERY_SEARCH}">{postrow.GALLERY_IMAGES}</a><!-- ELSE -->{postrow.GALLERY_IMAGES}<!-- ENDIF --></dd><!-- ENDIF -->
      <!-- IF postrow.POSTER_POSTS != '' --><dd><strong>{L_POSTS}:</strong> {postrow.POSTER_POSTS}</dd><!-- ENDIF -->
<!-- IF postrow.POSTER_TOPICS --><dd><strong>{L_TOPICS}:</strong> {postrow.POSTER_TOPICS}</dd><!-- ENDIF -->

      <!-- IF postrow.POSTER_JOINED --><dd><strong>{L_JOINED}:</strong> {postrow.POSTER_JOINED}</dd><!-- ENDIF -->
      <!-- IF postrow.POSTER_FROM --><dd><strong>{L_LOCATION}:</strong> {postrow.POSTER_FROM}</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 -->


album button
Code: Select all
               <!-- IF postrow.U_AIM --><li class="aim-icon"><a href="{postrow.U_AIM}" onclick="popup(this.href, 550, 320); return false;" title="{L_AIM}"><span>{L_AIM}</span></a></li><!-- ENDIF -->
               <!-- IF postrow.U_JABBER --><li class="jabber-icon"><a href="{postrow.U_JABBER}" onclick="popup(this.href, 550, 320); return false;" title="{L_JABBER}"><span>{L_JABBER}</span></a></li><!-- ENDIF -->
               <!-- IF postrow.U_ADD_FRIEND and postrow.U_ADD_FOE --><li class="buddy-icon"><a class="friend-icon" href="{postrow.U_ADD_FRIEND}" title="{L_ADD_FRIEND}"{postrow.S_ADD_FRIEND_ONCLICK}></a><a href="{postrow.U_ADD_FOE}" class="foe-icon" title="{L_ADD_FOE}"{postrow.S_ADD_FOE_ONCLICK}></a></li><!-- ENDIF -->
<!-- IF postrow.U_GALLERY --><li class="gallery-icon"><a href="{postrow.U_GALLERY}" title="{L_PERSONAL_ALBUM}"><span>{L_PERSONAL_ALBUM}</span></a></li><!-- ENDIF -->

            </ul>
Jessica
Posts < 10
Posts < 10
 
Posts: 3
Topics: 1
Images: 0
Joined: Thu Feb 03, 2011 4:40 am
Location: Pennsylvania
phpBB.com: Jessica

Re: Image counter & album button disappeared in viewtopic

Postby nickvergessen » Mon May 28, 2012 4:27 pm

viewtopic.php not viewtopic_body.html?
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5748
Topics: 217
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: Image counter & album button disappeared in viewtopic

Postby Jessica » Mon May 28, 2012 5:39 pm

ah okay so I seemed to have been missing edits from that file for some reason. I added them in and now I get this:

Code: Select all
General Error
SQL ERROR [ mysql4 ]

Unknown column 'gu.personal_album_id' in 'field list' [1054]

SQL

SELECT u.*, z.friend, z.foe, p.*, gu.personal_album_id, gu.user_images, r.rep_id AS rated FROM (phpbb_users u CROSS JOIN phpbb_posts p) LEFT JOIN phpbb_zebra z ON (z.user_id = 2 AND z.zebra_id = p.poster_id) LEFT JOIN phpbb_reputations r ON (r.rep_from = 2 AND r.post_id = p.post_id) WHERE p.post_id IN (20, 29) AND u.user_id = p.poster_id

BACKTRACE

FILE: [ROOT]/includes/db/mysql.php
LINE: 175
CALL: dbal->sql_error()

FILE: [ROOT]/viewtopic.php
LINE: 1017
CALL: dbal_mysql->sql_query()


so there's a conflict with the Reputation mod. will ask that mod's author for help
Jessica
Posts < 10
Posts < 10
 
Posts: 3
Topics: 1
Images: 0
Joined: Thu Feb 03, 2011 4:40 am
Location: Pennsylvania
phpBB.com: Jessica


Return to Support

Who is online

Users browsing this forum: No registered users and 0 guests

 

cron