Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 297
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 267
Total: 267

Author Topic: Order most commented  (Read 4531 times)

0 Members and 1 Guest are viewing this topic.

Offline SoehnelS

  • Member
  • *
  • Posts: 6
    • View Profile
Order most commented
« on: April 16, 2008, 11:30:05 am »
Hi,

found a ugly bug in Gallery.template.php:
Line 3311,3299 and 3322:
Code: [Select]
WHERE ((s.private =0 || s.private IS NULL ) AND (s.password = '' || s.private IS NULL ) AND p.USER_ID_CAT !=0 AND p.approved =1) || (p.approved =1 AND p.USER_ID_CAT =0)
schould be:
Code: [Select]
WHERE ((s.private =0 || s.private IS NULL ) AND (s.password = '' || s.password IS NULL ) AND p.USER_ID_CAT !=0 AND p.approved =1) || (p.approved =1 AND p.USER_ID_CAT =0)
hth.

Sven

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Order most commented
« Reply #1 on: April 16, 2008, 08:53:17 pm »
Thanks has been fixed.

1.3.20
!Fixed bug with blocks not showing the correct information for galleries that were private/password protected.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline SoehnelS

  • Member
  • *
  • Posts: 6
    • View Profile
Re: Order most commented
« Reply #2 on: April 17, 2008, 03:24:26 am »
Thanks! 8)

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
3639 Views
Last post August 06, 2007, 02:43:58 pm
by rumboogy
10 Replies
8900 Views
Last post November 25, 2007, 04:28:53 pm
by rumboogy
5 Replies
6393 Views
Last post August 23, 2009, 04:09:39 am
by davieb
1 Replies
4264 Views
Last post August 24, 2009, 09:19:02 pm
by SMFHacks
0 Replies
3931 Views
Last post June 10, 2012, 10:46:16 am
by shaka

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal