Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 221
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 209
Total: 209

Author Topic: Problems with unapprove  (Read 6075 times)

0 Members and 1 Guest are viewing this topic.

Offline Michel68

  • SMF Gallery Pro Customer
  • Full Member
  • *****
  • Posts: 165
    • View Profile
Problems with unapprove
« on: November 17, 2013, 03:17:08 am »
If someone hits inside a Gallery the unapprove button and than approve the picture again than

- The new Date of the post in the Forum is today and not the original date

- All postings from the Forum are deleted its like a complete new picture puhhhh

How can I disable that function also for my other Gallery members which are also admins. It seems sometimes one from us is hitting on a smartephone while he scrolls with the fingers on it.


Offline Jonas1975

  • Sr. Member
  • ****
  • Posts: 318
    • View Profile
    • The Mobile Photography Blog
Re: Problems with unapprove
« Reply #1 on: November 17, 2013, 04:18:19 am »
Hitting the "Unapprove" accidentally is really easy, specially managing from a smartphone. A simple "Are you sure?" pop-up box might solve the problem. Regarding the other things mentioned, like the date, I agree.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Problems with unapprove
« Reply #2 on: November 17, 2013, 10:28:56 am »
If you want to remove the function completely to disable. Edit Sources/Gallery.php or Sources/Gallery2.php

Find and remove
Code: [Select]
'unapprove' => 'UnApprovePicture',
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 Michel68

  • SMF Gallery Pro Customer
  • Full Member
  • *****
  • Posts: 165
    • View Profile
Re: Problems with unapprove
« Reply #3 on: June 06, 2015, 01:24:18 am »
If someone hits inside a Gallery the unapprove button and than approve the picture again than

- The new Date of the post in the Forum is today and not the original date


This is like an running gag, but I have evertime this problem, while I forgot after an update to remove the code inside Gallery2.php

If the poster is now a guest and no longer exist and if you approve the picture, than there is a error in the log

index.php?action=gallery;sa=approve;id=7257
1024: createPost(): Invalid member id 9
Datei: /homepages/Sources/Subs-Post.php
Line: 1782

Anyway this wrong, because the post already exist with the first create of this User and should not repost in the forum again.


 

Related Topics

  Subject / Started by Replies Last post
2 Replies
4197 Views
Last post July 21, 2007, 08:27:27 am
by nicosa68
2 Replies
5234 Views
Last post September 10, 2007, 02:27:08 pm
by ZipCrash
6 Replies
6121 Views
Last post May 21, 2008, 10:26:14 pm
by sturmkatze
9 Replies
8239 Views
Last post August 19, 2014, 04:50:50 am
by Michel68
4 Replies
3701 Views
Last post March 26, 2017, 12:30:17 pm
by Darkshadow

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

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

Powered by EzPortal