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 25, 2012, 04:25:48 am
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Stats
Members
Total Members: 10071
Latest:
cdavidson012
Stats
Total Posts: 28687
Total Topics: 4977
Online Today: 58
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 56
Total: 56
SMFHacks.com
Forum
SMF Gallery Pro
Support
Feature Requests
Page after "Add Picture"
0 Members and 2 Guests are viewing this topic.
« previous
next »
Pages:
[
1
]
Author
Topic: Page after "Add Picture" (Read 2649 times)
Harald
SMF Gallery Pro Customer
Newbie
Offline
Posts: 12
Page after "Add Picture"
«
on:
March 02, 2007, 11:20:02 am »
Ok there is another thing i miss :-)
Where you are in a category and upload a picture, you always get to "MyImages" afterwards. Is it possible to get to same page where i started the upload? It's a little bit confusing, that you suddenly aren't anymore on that page where you started the upload...
Thanks
Harald
Logged
Harald
SMF Gallery Pro Customer
Newbie
Offline
Posts: 12
Re: Page after "Add Picture"
«
Reply #1 on:
March 02, 2007, 11:38:43 am »
I think i got this one already. I changed in the procedure AddPicture2
the line
redirectexit('action=gallery;sa=myimages;u=' . $ID_MEMBER);
to
redirectexit('action=gallery;su=user;cat=' . $cat . ';u=' . $ID_MEMBER);
Is this a correct way?
Thanks Harald
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 9678
Re: Page after "Add Picture"
«
Reply #2 on:
March 02, 2007, 11:56:56 am »
That's the correct way if you are using only user gallery pictures. But would cause some problems if you use the main gallery it will try to redirect to a users gallery and nothing will be found.
Logged
Harald
SMF Gallery Pro Customer
Newbie
Offline
Posts: 12
Re: Page after "Add Picture"
«
Reply #3 on:
March 02, 2007, 12:00:43 pm »
of course you are right!
i changed it to
if ($userid) {
redirectexit('action=gallery;su=user;cat=' . $cat . ';u=' . $userid);
}
else {
redirectexit('action=gallery;cat=' . $cat);
}
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 9678
Re: Page after "Add Picture"
«
Reply #4 on:
March 02, 2007, 01:00:16 pm »
Hmm. Do you like the redirect to the category by default better?
The reason I did redirection to MyImages was to show all images in case they have not been approved. So the user can see their images.
Logged
Harald
SMF Gallery Pro Customer
Newbie
Offline
Posts: 12
Re: Page after "Add Picture"
«
Reply #5 on:
March 02, 2007, 05:05:44 pm »
Hmm, I think that's a question of taste. For me it seems more logical, to be on the same page after an upload than before the upload. And it's the same for deleteing end editing images.
Propably the best solution would be to make it an option, so everybody can decide himself :-)
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
Feature Request: Ban indi...
by
ApplianceJunk
[May 24, 2012, 08:02:50 am]
Custom Fields
by
davejo
[May 24, 2012, 04:11:41 am]
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]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Loading...