SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 25, 2012, 01:33:48 am

Login with username, password and session length
Members
Total Members: 10071
Latest: cdavidson012
Stats
Total Posts: 28687
Total Topics: 4977
Online Today: 45
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 47
Total: 47
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
| | | | |-+ 
0 Members and 3 Guests are viewing this topic. « previous next »
Pages: 1 [2] Go Down Print
Author Topic: Most Recent Pictures Bug  (Read 1828 times)
marcbkk
Full Member
***
Offline Offline

Posts: 152


View Profile
« Reply #15 on: June 09, 2011, 09:59:43 am »

I'm not sure I understand the question.

Here is everything listed in packages:

Mod Name    Version    
1.    SMF Gallery Pro    3.0.15    
2.    SMF Gallery Pro    3.0.21    
3.    SMF Gallery Pro    3.0.13    
4.    SMF 1.0.21 / 1.1.13 Update    1.0    
5.    SMF 1.0.19 / 1.1.11 Update    1.0    
6.    SoLoSMiLeYS    1.0    
7.    SMF 1.0.20 / 1.1.12 Update    1.0    
8.    SMF Gallery Pro Recent Images    2.0    
9.    SMF 1.0.7 / 1.1 RC2 Update    1.0    
10.    SMF Gallery Pro    3.0.14    
11.    Ad Managment    3.0.1    
12.    SMF 1.0.16 / 1.1.8 Update    1.0    
13.    SMF 1.0.11 / 1.1.3 Update    1.1
14.    Tapatalk SMF Plugin    1.2.0    
15.    SMF Gallery Pro    3.0.20    
16.    Ad Managment    2.3    
17.    Quick Reply Permission    1.0    
18.    SMF 1.0.17 / 1.1.9 / 2.0 RC1 Update    1.0    
19.    SMF 1.1.1 Update Package    1.1.1    
20.    SMF Gallery Pro Upgrade    1.3.1    
21.    Anti-Spam Verification Questions    1.02    
22.    SMF Gallery Pro Recent Comments Board Index    1.0    
23.    SMF Gallery Pro Upgrade    1.3.5    
24.    SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update    1.0    
25.    SMF 1.0.15 / 1.1.7 Update    1.0    
26.    SMF 1.0.16 / 1.1.8 Update    1.0
27.    SMF 1.0.18 / 1.1.10 / 2.0 RC1-2 Update    1.1    
28.    SMF Gallery Pro Upgrade    1.3    
29.    SMF Gallery Pro    3.0.10    
30.    SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update    1.0    
31.    Tapatalk SMF Plugin    1.0.3    
32.    SMF 1.0.9 and 1.1 RC3-1 Security Patch    1.0.8/1.1 RC3    
33.    SMF 1.0.15 / 1.1.7 Update    1.0
34.    SMF Gallery Pro Upgrade    1.2    
35.    SMF Gallery Pro Recent Images Board Index    2.0.1    
36.    SMF 1.1.2 Update Package    1.1.2    
37.    SMF Sitemap    1.2.1    
38.    SMF 1.0.14 / 1.1.6 Update    1.0    
39.    Quick PM    1.1    
40.    SMF Gallery Pro    3.0.11    
41.    Tapatalk SMF Plugin    0.9.14    
42.    Member Color Link    3.0.8    
43.    SMF Gallery Pro    1.1.2    
44.    SMF 1.0.8 Update Package    1.0.8    
45.    SMF Gallery Pro    3.0.16    
46.    Favicon    1.0    
47.    Enhanced Quick Reply Box 2.0.2    2.0.2    
48.    Tapatalk SMF Plugin    1.1.0    
49.    New RSS Button Per Board    1.0
Logged
marcbkk
Full Member
***
Offline Offline

Posts: 152


View Profile
« Reply #16 on: June 10, 2011, 02:09:07 am »

I just uninstalled the following 2 addon packages from my forum:

1 - SMF Gallery Pro Recent Images 2.0
2 - SMF Gallery Pro Recent Images Board Index 2.0.1

But the Most Recent images box is still there. At this point there shouldn’t even be the thumbnail window showing the 4 most recent images on the forum Index page, but as I said, it is still there.

I thought these 2 packages controlled the Recent Images box on the Index page? Shouldn't it be gone now that I uninstalled these 2 packages?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #17 on: June 10, 2011, 08:30:46 am »

Attach your themes/default/index.template.php
And Sources/Load.php and I can remove that code
Logged
marcbkk
Full Member
***
Offline Offline

Posts: 152


View Profile
« Reply #18 on: June 10, 2011, 10:36:46 am »

The reason I was trying to remove it is because the view permission check on the code block isn't working. After you remove it, which addon of yours should I install to get it to do a permission check on the code block to prevent it from showing thumbnails of photos uploaded to blocked categories?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #19 on: June 10, 2011, 11:25:03 am »

Attached updated files copy them to those folders.

Then redownload and upload and install the recent images addon. You had an old version installed in those files.
Logged
marcbkk
Full Member
***
Offline Offline

Posts: 152


View Profile
« Reply #20 on: June 10, 2011, 11:41:34 am »

Thanks. I put the 2 files you edited for me and replaced the existing files. Then I installed the new plugins. Everything is OK, except the only users that can see the Recent Pictures window now is Admin level. All other guests and users can not see the window at all. What is the problem do you think?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #21 on: June 10, 2011, 11:44:59 am »

The entire recent pictures box is controlled by SMF Gallery View permission if they don't have that permission they can't see the block.
Logged
marcbkk
Full Member
***
Offline Offline

Posts: 152


View Profile
« Reply #22 on: June 10, 2011, 11:51:00 am »

That makes sense. Thank you. But I just checked and all member groups on my forum have permission to see the View SMF Gallery permission enabled already. I have only disabled access to certain categories in the Gallery, but all users, including guests have permission to view the general SMF Gallery. Could it be another issue possibly?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9678


View Profile
« Reply #23 on: June 10, 2011, 11:55:48 am »

You can try removing if (allowedTo('smfgallery_view')) from those two files that is what controls if the block is seen or not.
Logged
marcbkk
Full Member
***
Offline Offline

Posts: 152


View Profile
« Reply #24 on: June 10, 2011, 12:04:51 pm »

That was magic. Working perfectly now. Thanks!

Also, pictures in categories with blocked access no longer show as thumbnail when uploaded. Perfect!

I'm happy.
 
Logged
marcbkk
Full Member
***
Offline Offline

Posts: 152


View Profile
« Reply #25 on: June 11, 2011, 03:24:02 am »

By the way, can you please add the "List All" link to the new plugin?
Logged
Pages: 1 [2] Go Up Print 
« previous next »
Jump to:  

Recent
[May 24, 2012, 08:02:50 am]

[May 24, 2012, 04:11:41 am]

[May 21, 2012, 08:54:11 am]

[May 20, 2012, 11:06:52 am]

[May 20, 2012, 05:58:11 am]

[May 19, 2012, 06:16:58 pm]

[May 19, 2012, 05:42:37 pm]

[May 18, 2012, 03:08:38 pm]

[May 17, 2012, 06:07:46 pm]

[May 17, 2012, 02:22:07 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 4.743 seconds with 19 queries.