SMFHacks.com
SMFHacks
Community Suite
SMF Gallery Pro
SMF Store
SMF Classifieds
Newsletter Pro
Downloads System Pro
Ad Seller Pro
Hacks and Mods
Latest SMF Hacks
TopTen Hacks
Styles and Themes
Add a Hack
Manage Hacks
Earn Money from Your Forum with these tips
SMF Theme Generator
SMF Package Parser
Free SMF Hosting
HostRocket Webhosting for SMF
Site Showcase
Search Forums
Advanced search
User
Welcome,
Guest
. Please
login
or
register
.
May 22, 2012, 02:26:25 pm
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Stats
Members
Total Members: 10066
Latest:
khoeidong
Stats
Total Posts: 28682
Total Topics: 4975
Online Today: 87
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 62
Total: 62
SMFHacks.com
Forum
SMF Gallery Lite
SMF Gallery Lite
Guest Reporting Problem
0 Members and 1 Guest are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: Guest Reporting Problem (Read 6887 times)
RagingEagle
Newbie
Offline
Posts: 4
Guest Reporting Problem
«
on:
September 28, 2006, 01:57:13 am »
Hi,
I setup the SMF Gallery Lite and upon testing it I came across a couple problems I hope can be looked at.
The first is whenever a Guest reports an image, it records the report, even increases the number in "Images reported:" however when you go into the admin area to view those reports they don't show up. But if a member leaves a report, that shows up in the admin area.
The other is also involving Guests. I enabled their Permissions so they could add images but when you go to click on Add Image it asks that you login.
Does anyone know of any solutions for my problems?
Thanks,
RE
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 9676
Re: Guest Reporting Problem
«
Reply #1 on:
September 28, 2006, 06:43:22 am »
Guest's are not allowed to add images or do certain things, they are mostly just allowed to view the gallery.
It would cause some problems if they were actually allowed to add images since a lot of it is member based.
I will try to think of some ways to fix that but it will kind of difficult.
SMFHacks.com
Logged
RagingEagle
Newbie
Offline
Posts: 4
Re: Guest Reporting Problem
«
Reply #2 on:
September 28, 2006, 07:03:32 am »
My main concern right now is that Guests can report images, but I have no way of viewing those reports. Nor can I set the permissions to disallow Guests from posting reports, so they can make a thousand reports and "Images reported:" could say "Images reported: 1000" but I'd have no way of handling those issues.
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 9676
Re: Guest Reporting Problem
«
Reply #3 on:
September 28, 2006, 08:49:29 am »
There should be a permission for guests that says "Report Pictures/Comments"
which you can disable?
Not sure if you do want guests to actually report images??
Logged
RagingEagle
Newbie
Offline
Posts: 4
Re: Guest Reporting Problem
«
Reply #4 on:
September 28, 2006, 03:34:43 pm »
I like to keep my website as open as I can, that's why I wanted to allow Guests to submit and report images. I can make it work the other way, but it's just not my preference.
I tried setting Guests permissions to disallow "Report Pictures/Comments" but Guests are still able to click on "Report Picture" which takes them to the report form, where after they make their report it's hidden somewhere. However if a Guest clicks on "Add Comment" it takes them to the login screen, which I'd be cool with if it happened with the "Report Pictures/Comments" link, but it appears as though there is a bug.
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 9676
Re: Guest Reporting Problem
«
Reply #5 on:
September 28, 2006, 03:56:17 pm »
hmm suprised the permission didn't work well here is a fix to make it the same way as adding a picture for guests
open Sources/Gallery.php
Find
Code:
function ReportPicture()
{
global $context, $mbname, $txt;
isAllowedTo('smfgallery_report');
Change it to
Code:
function ReportPicture()
{
global $context, $mbname, $txt;
is_not_guest();
isAllowedTo('smfgallery_report');
Logged
RagingEagle
Newbie
Offline
Posts: 4
Re: Guest Reporting Problem
«
Reply #6 on:
September 28, 2006, 04:54:51 pm »
Thanks, but I tried uninstalling and reinstalling the script and it fixed the problem. Mustn't of installed right or something.
I have another question though, is there anyway to call images via XML? Like let's say I wanted to call the 4 most recent images and display them else where on my website, is that at all possible?
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 9676
Re: Guest Reporting Problem
«
Reply #7 on:
September 28, 2006, 05:28:45 pm »
That is not possible with the Lite Edition. I will look into doing that for the pro edition.
You could run a mysql query to gather that information if you needed to you. Picutres are located in the smf_gallery_pic table.
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
SMFHacks.com
-----------------------------
=> News
=> Site Discussion
===> Suggestions
===> Bugs
-----------------------------
SMF Gallery Pro
-----------------------------
=> Announcements
=> Presales
=> Support
===> Bugs
===> Feature Requests
-----------------------------
SMF Store
-----------------------------
=> Announcements
=> Presales
=> Support
===> Guides and Tips
===> Feature Requests
===> Bugs
-----------------------------
SMF Classifieds
-----------------------------
=> Announcements
=> Presales
=> Support
===> Bugs
===> Feature Requests
-----------------------------
Downloads System Pro
-----------------------------
=> Announcements
=> Presales
=> Support
===> Feature Requests
===> Bugs
-----------------------------
Ad Seller Pro
-----------------------------
=> Presales
=> Support
-----------------------------
Newsletter Pro
-----------------------------
=> Presales
=> Support
===> Feature Requests
-----------------------------
Social Login Pro
-----------------------------
=> Presales
-----------------------------
Badge Awards
-----------------------------
=> Presales
-----------------------------
Tweet Topics/FB Post System
-----------------------------
=> Presales
-----------------------------
SMF Gallery Lite
-----------------------------
=> SMF Gallery Lite
-----------------------------
Modifications/Themes
-----------------------------
=> General SMF Forum
=> Modifications Talk
===> Latest Mods
===> Modification Showcase
=> Theme Talk
===> Theme Showcase
===> Latest Themes
Recent
Store IPN AMOUNT CHANGE
by
ApplianceJunk
[May 21, 2012, 08:54:11 am]
Transferring Db data from...
by
~ Phåråoh ~
[May 20, 2012, 11:06:52 am]
SMF vs PhpBB
by
channgam
[May 20, 2012, 05:58:11 am]
Any news?
by
SMFHacks
[May 19, 2012, 06:16:58 pm]
Social Login Pro domain c...
by
SMFHacks
[May 19, 2012, 05:42:37 pm]
licence information and q...
by
SMFHacks
[May 18, 2012, 03:08:38 pm]
no pictures after upgrade
by
SMFHacks
[May 17, 2012, 06:07:46 pm]
Viewers?
by
ApplianceJunk
[May 17, 2012, 02:22:07 pm]
Incorrect download counts...
by
SMFHacks
[May 17, 2012, 12:38:16 pm]
SMF V2.0.2 compatibility ...
by
~ Phåråoh ~
[May 15, 2012, 09:32:27 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Loading...