News:

Wondering if this will always be free?  See why free is better.

Main Menu

SMF Gallery

Started by SMFHacks.com Team, September 16, 2006, 07:13:02 PM

Previous topic - Next topic

vbgamer45

Then the tab should appear as long as that file is uploaded and there were no failures noted in the mod install.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

roaldgold

There weren't any errors with the mod install. What should I do?

roaldgold

Should I delete the original index.template.php rom the bright forest theme??

vbgamer45

Try this file.
Hardcoded the gallery text
And removed the permission check for the button
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

roaldgold

SUCCESS!!! Thanks so much for all your help. That gallery is essential for the forum I am trying to make. Thank you again.  :D

vbgamer45

Glad it is finally working that was a tricky one!
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

B.SkiLLs

Quote from: vbgamer45 on August 23, 2009, 08:46:20 PM
Needs the user id.
What I would suggest is to hide the tab from guests.
But everyone else gets to view the tab and you can grab the member id from
$ID_MEMBER for SMF 1.1.x or $user_info['id'] SMF 2.0.x
Hi Thxs VB..


What do you mean exactly ?? and do you understand what i am actually trying to do ?? Sorry i just re-read that what i wrote and must of been tried writing it that night..lol. Cause was a little hard for me to understand re-reading it .. haha

Basically just like i can set the profile settings with no member id.. like so

?action=profile;sa=forumProfile

instead of

?action=profile;u=1;sa=forumProfile

That way it works for everybody and with no member ID set in the URL but so it brings them right to there own images only page.
oohh and yes, the tab dropdown links is visible but i have the gallery set private for guest so when they do try if they even do click on on of the links it takes them to the login page.




VICKTORY THE UNDERDOG Documentary – Pitbulls the untold true story

This is a must read & watch. Then Buy your DVD today. You will not regret it. Totally AWESOME. Best i ever seen. --
 
____________________
Message approved by
: [B. SkiLLs]
 


vbgamer45

There is no way to currently do that it looks it up by by the member id that is passed to it.

You could probably hardcode in there just to look for the current member's id but may not be best
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

GadgetNutt

Quote from: vbgamer45 on September 17, 2006, 09:05:55 AM
I need to see examples of log errors. I need to know the version of SMF you are using.

I hope I am doing this right and in the correct place.

I am getting errors like this on version 2.0.7 of this mod using SMF version 1.1.10:

8: Undefined index: gallery_text_views
File: /usr/shared/web/MYSITE/mj/Sources/Subs-EzPortalMain.php
Line: 1514

Thanks, Mark
As always,
Thank You to this forum and its support people.

Mark

vbgamer45

Are you using a custom theme?
Is that the only error are you getting or others?
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

GadgetNutt

#2330
I am using the Extreme6 theme.

That is the only unexplained error I am getting, and the only one that has to do with the gallery.

p.s. There we about 37 of these errors in a row.
As always,
Thank You to this forum and its support people.

Mark

B.SkiLLs

Quote from: vbgamer45 on September 06, 2009, 12:10:51 PM
There is no way to currently do that it looks it up by by the member id that is passed to it.

You could probably hardcode in there just to look for the current member's id but may not be best

whats did you mean by the way you said above tho ?? By adding that to the end of the URL or by hand coding when you mentioned the <i>$ID_MEMBER for SMF 1.1.x or $user_info['id'] SMF 2.0.x </i>

I already have all the rest set, including the add picture. They can click add picture right from there private top navlink for each member.Just cant get that "one' freakin one to work.
VICKTORY THE UNDERDOG Documentary – Pitbulls the untold true story

This is a must read & watch. Then Buy your DVD today. You will not regret it. Totally AWESOME. Best i ever seen. --
 
____________________
Message approved by
: [B. SkiLLs]
 


vbgamer45

You can alter the myimages function in the template to grab $ID_MEMBER then you do not have to pass anything and could drop the u from the url
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

B.SkiLLs

Quote from: vbgamer45 on September 07, 2009, 01:59:45 PM
You can alter the myimages function in the template to grab $ID_MEMBER then you do not have to pass anything and could drop the u from the url
Ok i think i get what your saying but.. How would i go about doing that ?? Where is it located also ??

Sorry been a long day / weekend. Brain isnt thinkin right..right now.

Thxs for the help and replies so far tho ;)
VICKTORY THE UNDERDOG Documentary – Pitbulls the untold true story

This is a must read & watch. Then Buy your DVD today. You will not regret it. Totally AWESOME. Best i ever seen. --
 
____________________
Message approved by
: [B. SkiLLs]
 


vbgamer45

Would be found in gallery.template.php in the themes/default folder
then in the template_myimages function.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

johnduffy

Hi I have just installed v 2.0.7  All is fine uploading an image but when the thumbnail is clicked I get "You don't have permission to access /94board/index.php on this server."
Can any one give me a pointer?
url of the test image:
hxxp:duffy-eu.com/94board/index.php?action=gallery;cat=3 [nonactive]

vbgamer45

Quote from: johnduffy on September 10, 2009, 10:25:21 AM
Hi I have just installed v 2.0.7  All is fine uploading an image but when the thumbnail is clicked I get "You don't have permission to access /94board/index.php on this server."
Can any one give me a pointer?
url of the test image:
http://duffy-eu.com/94board/index.php?action=gallery;cat=3
Check out this post on mod_security for a fix
http://www.simplemachines.org/community/index.php?topic=3427
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Uncle Don

Hey VB, 117 pages for not reading thru everyone 1st.  How do I upgrade to Gallery Pro.  Already got the 2.0 Beta 3 but not sure how to do the upgrade.  Found the instructions but don't even know where to find ./index.php.  I have Cpanel and Filezilla if either will help.  Please be specific.

Thanks.
In times like these it is wise to remember that there has always been times like these. - Paul Harvey

vbgamer45

You would just need to uninstall the lite edition. The install the pro edition using the package manager.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Uncle Don

Currently my Gallery version is 1.4.5 and it is says the latest version is 2.5.3.  So I should go into packages and uninstall the current and then install the new one which should show up on the list?  Or is there another way to update the version I have now?

OK When I try to Uninstall the lite version it says Error, cannot be found.  I looked in the list and the Pro version is there as ver. 1.4.5  Hmmmmmm.
In times like these it is wise to remember that there has always been times like these. - Paul Harvey

Advertisement: