Double Recent/Random in UCP

Forum rules
Support ended: 31.12.2011

Double Recent/Random in UCP

Postby Ciarin » Sun Apr 24, 2011 11:55 am

Gallery Version: 1.0.5
phpBB Version: 3.0.8
Gallery-Link: http://heathenboard.com

PHP Version: 5.2.13
Database Version: 5.0.91


Error description and message
I just upgraded to version 1.0.6. In my UCP I noticed the recent/random images showing up 4 times. I googled for the problem, no answer anywhere. So I tried to figure it out myself. I finally was able to edit the memberlist_view.html in prosilver/template/ and deleted a double entry of:

Code: Select all
<!-- INCLUDE gallery/recent_body.html -->


So, it went from 4 times to 2 times. Can't figure out how to remove the extra recent/random. I currently have it set to random only. So, even though random shows up twice, it'll still show different images, which isn't too bad. I'd still like to know how to fix this.

It doesn't show up twice in ACP, nor does it show up twice in system->ACP, or system->UCP.
Ciarin
Posts < 10
Posts < 10
 
Posts: 1
Topics: 1
Joined: Sun Apr 24, 2011 11:45 am

Re: Double Recent/Random in UCP

Postby nickvergessen » Thu Apr 28, 2011 11:35 pm

Can you please post a test-account?
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: Double Recent/Random in UCP

Postby nikodim » Sat Sep 10, 2011 12:34 pm

My problem was solved after all:

Problem:
In UCP I have the Recent/Random images doubled. In memberlist_view.html I have <!-- INCLUDE gallery/recent_body.html --> only once.

Solution:
In memberlist.php there was a double entry

Code: Select all
      if (class_exists('phpbb_gallery_integration'))
      {
         phpbb_gallery_integration::memberlist_viewprofile($member);
      }


So after removing the doubled entry the problem was solved.

Thanks!
nikodim
Posts < 10
Posts < 10
 
Posts: 1
Joined: Sat Sep 10, 2011 12:21 pm


Return to Support & Administration

Who is online

Users browsing this forum: No registered users and 1 guest