MyBBHacks.com Plugins for  MyBB

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pagination unreadable only for member's gallery
#1
The member/user galleries appear to be themed differently to the non-member galleries.

The member gallery theming (under MyBB 1.8.5) makes the pagination unreadable.

   

I have attached a patch that fixes this, and tweaks two other theme items to make it look the same as the non-member galleries. (whoops .. I can't attach a patch file, so I will paste it into a code block here, and hope it works):


Code:
--- ezgalleryuser.php.orig    2015-07-01 14:46:01.096609728 +1000

+++ ezgalleryuser.php    2015-07-01 14:54:30.078365903 +1000
@@ -477,7 +477,7 @@
         
         
     // Do Sorting form here
-        echo '<tr>
+        echo '<tr class="thead">
         <td align="right" colspan="', $maxrowlevel, '">
         <form method="post" action="' . $mybb->settings['bburl'] . '/ezgallery.php?su=user&cat=', $cat,'&u=', $context['usergallery_userid'],'">
         <input type="hidden" name="my_post_key" value="' . htmlspecialchars_uni($mybb->post_code) . '" />
@@ -606,7 +606,7 @@
 
     
         // Show the Pages link
-            echo '<tr class="thead">
+            echo '<tr class="trow1">
                     <td align="left" colspan="' . $maxrowlevel . '">
                     ';
     
@@ -645,7 +645,7 @@
                 echo '
                 <a href="' . $mybb->settings['bburl'] . '/ezgallery.php?su=user&u=' . $context['usergallery_userid'] . '">' . $lang->gallery_text_returngallery . '</a></td>
             </tr>
-            </table><br /><br /><br />';
+            </table><br />';
 
     }
     else
@@ -3071,4 +3071,4 @@
         }
         
 }
-?>
\ No newline at end of file
+?>
Reply
#2
Changed for next release.
Like what I do? Support me at https://www.patreon.com/vbgamer45/
Reply
#3
Thank you for your quick support response to the multiple issues that we had with ezGallery Pro under MyBB 1.8.

I am pleased to say that we have now deployed our new system (which was a migration from a much older BB system), and we are very happy with the ezGallery Pro features.

Anybody reading this should be confident that ezGallery Pro is a well supported product and well worth the money.

With kind regards.
Reply
#4
Thanks. Yeah I have a lot of other features in my SMF version but takes time to port them all need more MyBB users so I can port more mods over.
Like what I do? Support me at https://www.patreon.com/vbgamer45/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)