• Gear
  • Shots
  • Photo Craft
  • Video
  • Wide Angle
  • Support
  • New Stuff
  • More
Support SmugMug Customization Client proofing area

FAQtoid

Ever wanted to create an Avatar? Creating an Avatar!

Searching Dgrin with Google Searching with Google

Dgrin Challenges

Congratulations to the Winner of DSS #128 (Sunrise or Sunset), ShootingStar.

The next Dgrin Challenge DSS #129 (Silhouette Revisited ) is open for entries through May 27th, 2013 at 8:00pm PDT.

As always, we look forward to your participation but please do take a moment to read through the rules before posting your entry.

Past DSS Challenge Winners, DSS Challenge Rules, and other important DSS Challenge information is here.

Need some help with Accessories?

Tutorials

Ever find yourself wondering just how someone managed to create an image using different effects?

Here are three simple tutorials we hope will encourage you to try something new.

The Hot Seat

A lifelong interest in landscape photography has led Eyal Oren to make a study of his adopted hometown of Marblehead, MA. As you can see, his dedication is paying off!

Africa!

Dgrinners Harryb, Pathfinder, and others joined Andy Williams and Marc Muench on Safari in East Africa recently. Here are some awesome threads to check out!

 
Thread Tools Display Modes
Page 8  of  12
« First 4 5 6 7 8 9 10 11 12
Old Aug-28-2012, 11:32 AM
#141
J Allen is offline J Allen
Major grins
J Allen's Avatar
Quote:
Originally Posted by Suli View Post
Ok, got those fixed joe, what should I do next?

Looks like it's working now...if I enter some random wrong password, then I get this "wrong password screen":






But if I enter your password: trial

..I get taken to the gallery: http://www.ksartistry.com/Clients/trial/24091046_N4VGXL


on the "wrong password screen" you can change the link from white to grey...or whatever color you want by adjusting this rule:

Code:
.categoryDescription a
{color:#ffffff}
__________________
-Joe Allen
My Smugmug Site
Old Aug-28-2012, 12:32 PM
#142
Suli is offline Suli
Suli
Right on!
Joe, right on man! It works beautifully now, thank you!
Old Aug-28-2012, 12:39 PM
#143
J Allen is offline J Allen
Major grins
J Allen's Avatar
Quote:
Originally Posted by Suli View Post
Joe, right on man! It works beautifully now, thank you!

Great! If you look through your java-script, you can change the text on the "wrong pw" screen to say what ever you want also.
__________________
-Joe Allen
My Smugmug Site
Old Sep-01-2012, 09:07 AM
#144
nadya is offline nadya
Big grins
nadya's Avatar
Help...
I need help~
can please someone tell me where to put this

/Clients

?
Where do I find the nav bar in the advanced customization ?

nadyareid.com

thank you
__________________
---
www.nadyareid.com
Old Sep-01-2012, 12:30 PM
#145
J Allen is offline J Allen
Major grins
J Allen's Avatar
Quote:
Originally Posted by nadya View Post
I need help~
can please someone tell me where to put this

/Clients

?
Where do I find the nav bar in the advanced customization ?

nadyareid.com

thank you

In your custom header box....adjust this line in your nav html....


From this:


Code:
<div id="navcontainer">
<ul>
<li><a href="/">Home</a></li>
<li><a href="/galleries">My Work</a></li>
<li><a href="/Other/text/16335486_ZBbDZ">About</a></li>
<li><a href="http://nadya-reid.smugmug.com/Clients/">Clients</a></li>
<a href="/" onclick="return false;" class="customContactButton">Contact</a>
</ul>
</div>


To this:


Code:
<div id="navcontainer">
<ul>
<li><a href="/">Home</a></li>
<li><a href="/galleries">My Work</a></li>
<li><a href="/Other/text/16335486_ZBbDZ">About</a></li>
<li><a href="/Clients">Clients</a></li>
<a href="/" onclick="return false;" class="customContactButton">Contact</a>
</ul>
</div>
__________________
-Joe Allen
My Smugmug Site
Old Sep-01-2012, 12:53 PM
#146
nadya is offline nadya
Big grins
nadya's Avatar
PERFECT !!! thanks very much !


Quote:
Originally Posted by J Allen View Post
In your custom header box....adjust this line in your nav html....


From this:


Code:
<div id="navcontainer">
<ul>
<li><a href="/">Home</a></li>
<li><a href="/galleries">My Work</a></li>
<li><a href="/Other/text/16335486_ZBbDZ">About</a></li>
<li><a href="http://nadya-reid.smugmug.com/Clients/">Clients</a></li>
<a href="/" onclick="return false;" class="customContactButton">Contact</a>
</ul>
</div>
To this:


Code:
<div id="navcontainer">
<ul>
<li><a href="/">Home</a></li>
<li><a href="/galleries">My Work</a></li>
<li><a href="/Other/text/16335486_ZBbDZ">About</a></li>
<li><a href="/Clients">Clients</a></li>
<a href="/" onclick="return false;" class="customContactButton">Contact</a>
</ul>
</div>
__________________
---
www.nadyareid.com
Old Sep-07-2012, 09:13 AM
#147
andrewcato is offline andrewcato
Big grins
andrewcato's Avatar
Quote:
Originally Posted by J Allen View Post
Yes this will work with a the category "Clients" that you already have on your site. As of right now it will only work with one category.

If you want this to work for any gallery on your site...no matter what category or subcat.....try something like this...make a new unlisted gallery and add this to the album description area:

Code:
<html>


<td width="30"></td>
    <td width="400"><form name="f_login">
    <h2><u>Client Login</u></h2>
    <p>Gallery Name: <input name="pword" onkeypress="return checkEnter(event)" size="30" type="password"></p>
    <p><input value="Login" onclick="Login()" type="button"></p>
  
</form>    </td>
  </tr>
</tbody></table>


<script type="text/javascript">
<!--

 function checkEnter(e){ //e is event object passed from function invocation

  var characterCode; // literal character code will be stored in this variable

  if(e && e.which){ //if which property of event object is supported (NN4)

     e = e;

     characterCode = e.which; //character code is contained in NN4's which property

  }

  else{

     e = event;

     characterCode = e.keyCode; //character code is contained in IE's keyCode property

  }



  if(characterCode == 13){ //if generated character code is equal to ascii 13 (if enter key)

     Login(); //submit the form

  return false;

  }

  else{

     return true;

  }



}

function Login(){

var done=0;

var pword=document.f_login.pword.value;

pword=pword.toLowerCase();



if (pword=="test1") { window.location="XXXXXX_XXXXX"; done=1; }



if (pword=="test2") { window.location="XXXXXX_XXXXX"; done=1; }



if (pword=="test3") { window.location="XXXXXX_XXXXX"; done=1; }



if (done==0) { alert("Password not accepted. Please try again."); }



}

 -->

</script>

</html>
you'll have to modify this code foe every gallery you want this to apply to....just add a new if line and password along with the corresponding gallery.....marked in red here.....
Hi Joe,

I just wanted to make sure I was understanding the purpose of this - the above code is required for using subcategories within the 'Clients' area created in your original post, correct?

Thanks!

- Andrew
Old Sep-10-2012, 08:19 AM
#148
Iamamra is offline Iamamra
Beginner grinner
not working
Not sure what I am doing wrong but I copied and changed all the code like it said to but when I click on the client login part it shows nothing.


www.micahrayphotography.com
Old Sep-11-2012, 05:55 AM
#149
J Allen is offline J Allen
Major grins
J Allen's Avatar
Quote:
Originally Posted by andrewcato View Post
Hi Joe,

I just wanted to make sure I was understanding the purpose of this - the above code is required for using subcategories within the 'Clients' area created in your original post, correct?

Thanks!

- Andrew

That code will work with any gallery on your site....category and sub-cat make no difference...and you can set the password to what ever you want
__________________
-Joe Allen
My Smugmug Site
Old Sep-11-2012, 06:14 AM
#150
J Allen is offline J Allen
Major grins
J Allen's Avatar
Quote:
Originally Posted by Iamamra View Post
Not sure what I am doing wrong but I copied and changed all the code like it said to but when I click on the client login part it shows nothing.


www.micahrayphotography.com

looks like everything is working from my end....if I enter a wrong password, I get this screen:





If I enter the password "Nelson", I get taken directly to the gallery.
__________________
-Joe Allen
My Smugmug Site
Old Sep-12-2012, 07:16 AM
#151
Iamamra is offline Iamamra
Beginner grinner
Sorry for the delayed response...thank you, I guess it is working, not sure what happened on my end.
Old Sep-27-2012, 09:24 AM
#152
SLPLosCabos is offline SLPLosCabos
Beginner grinner
Quote:
Originally Posted by Allen View Post
You could add a landing page that requires a password. On it put in the gallery description a link to the
Clients-Password-Required category. See an example here that links to four cats.
It's just html so you could design it any way you'd like. Even adding instructions.
Thanks, I have many client galleries, most are hidden, and adding all those links to the gallery description will take forever. How would I add a password-protected 'Client log in' landing page to keep them from public view? I'm finding this very confusing. Is there something like a CSS shortcode I don't know about, like Wordpress or...?

Thanks again!
Old Sep-27-2012, 10:50 AM
#153
J Allen is offline J Allen
Major grins
J Allen's Avatar
Quote:
Originally Posted by SLPLosCabos View Post
Thanks, I have many client galleries, most are hidden, and adding all those links to the gallery description will take forever. How would I add a password-protected 'Client log in' landing page to keep them from public view? I'm finding this very confusing. Is there something like a CSS shortcode I don't know about, like Wordpress or...?

Thanks again!

See post number #3 & 4 of this thread
__________________
-Joe Allen
My Smugmug Site
Old Sep-30-2012, 09:27 AM
#154
bronking is offline bronking
Big grins
managed to get client login sorted

from reading posts in this thread

can I now remove this from css so that it cleared away from screen ?

<div id="Clientmessage" align="center">
<p class='ContentText' align='center'>
Incorrect Client Login. Please click <a href="/Pages/Client-Login">Client Login</a> and enter the password provided by Dueling Lenses Photography
</p>
</div>


sorry don't how to put it like in a code box

but I am getting there
Old Sep-30-2012, 09:42 AM
#155
J Allen is offline J Allen
Major grins
J Allen's Avatar
Quote:
Originally Posted by bronking View Post

can I now remove this from custom header box so that it cleared away from screen ?


__________________
-Joe Allen
My Smugmug Site
Old Sep-30-2012, 02:47 PM
#156
bronking is offline bronking
Big grins
Quote:
Originally Posted by J Allen View Post
Old Sep-30-2012, 04:49 PM
#157
bronking is offline bronking
Big grins
oops

not sure whats happened, and I don't know if the 2 are connected.. but now when I try my client contact button its taking ages to load (and sometimes dosn't. all I' ve done is got rid of some code from custom header box. and also trying to get my bio page image to line up centerally

could someone look at my coding to see where I've gone wrong.

much appreciated and I'm fighting my way through and feel I'm almost there
Old Oct-01-2012, 01:12 AM
#158
J Allen is offline J Allen
Major grins
J Allen's Avatar
Quote:
Originally Posted by bronking View Post
oops

not sure whats happened, and I don't know if the 2 are connected.. but now when I try my client contact button its taking ages to load (and sometimes dosn't. all I' ve done is got rid of some code from custom header box. and also trying to get my bio page image to line up centerally

could someone look at my coding to see where I've gone wrong.

much appreciated and I'm fighting my way through and feel I'm almost there

Working on my end
__________________
-Joe Allen
My Smugmug Site
Old Oct-01-2012, 01:42 AM
#159
bronking is offline bronking
Big grins
sorry meant to say contact button (far right on navbar)

update: just been trying it and sometimes it works and sometimes it dosn't, must be a glitch somewhere ???

update 2 if it dos work, when you click the close button on the form, that goes but another is left saying loading and you have to click the close button on that as well. have I got 2 forms one working the other not and it depends which pops up first

Last edited by bronking; Oct-01-2012 at 01:55 AM.
Old Oct-01-2012, 01:56 AM
#160
J Allen is offline J Allen
Major grins
J Allen's Avatar
Quote:
Originally Posted by bronking View Post
sorry meant to say contact button (far right on navbar)

update: just been trying it and sometimes it works and sometimes it dosn't, must be a glitch somewhere ???
Looks like it's loading two form at the same time....in your bottom java-script box, you have two versions of the script...try removing one of the versions...the one right before the client login script:



Code:
//--------------------------------------------------------------------------------------------------
// Install Email Contact Link (for pro accounts only)
// 
// Version 1.1
//--------------------------------------------------------------------------------------------------

YE.onDOMReady(InitMyContactButton);

function InitMyContactButton()
{
	InitMyContactButton.extraContactUsButtons = new Array;
	var contacts = Sizzle(".customContactButton");
	// look in Easy Customizer navbar too
	var navEntries = Sizzle("#customNav li a");
	for (var j = 0; j < navEntries.length; j++)
	{
		var str = navEntries[j].href;
		if (str.search(/\/customcontact/i) != -1)
		{
			navEntries[j].onclick = function () {return false;};
			contacts.push(navEntries[j]);
			break;
		}
	}
	var nick, o, matches;
	
	// see if the nickname is already defined in the page
	try {
		nick = NickName || SM.hostConfig.nickname ;	// get standard nickname
	} catch (e) {}
	
	// see if the nickname is in the URL
	if (!nick)
	{
		try {
			matches = window.location.host.match(/^(www.)?(.*)\.smugmug\.com$/i);
			nick = matches[2];
		} catch (e) {}
	}
	
	// see if we can get the nickname from one of the built-in contact links on the page
	if (!nick)
	{
		// hack - NickName doesn't exist on some pages so we try to pull it from the password prompt or the standard footer
		o = YD.get("contactUsButtonWrapper") || YD.get("contactUsButtonWrapperFooter");
		matches = o.onmouseover.toString().match(/ownerNickName:\s*'([^']+)'/)
		if (matches && matches.length > 1)
		{
			nick = matches[1];
		}
	}
	for (var i = 0; i < contacts.length; i++)
	{
		InitMyContactButton.extraContactUsButtons.push(new SM.buttons.contactUs
		(
			contacts[i].parentNode,
			contacts[i],
			{
				buttonText: 'Contact', 
				panelTitle: 'customer contact', 
				currentPage: window.location.toString(), 
				currentPageOverride: '', 
				referringPage: '', 
				pro: '', 
				modal: 'true', 
				popupName: 'contactOwner', 
				uniqueID: 'myContactPanel' + InitMyContactButton.extraContactUsButtons.length, 
				ownerNickName: nick, 
				width: '800px', 
				albumID: '', 
				additionalParams: 'FooterContact'
			}
		));
	}
}
__________________
-Joe Allen
My Smugmug Site
Page 8  of  12
« First 4 5 6 7 8 9 10 11 12
Tell The World!  
Similar Threads Thread Starter Forum Replies Last Post
Please help with changing color of image display area in my galleries RBgunner SmugMug Customization 1 May-08-2009 12:43 PM
Why Can't I see my Client Galleries in Firefox? deegee SmugMug Customization 2 Sep-22-2008 09:48 AM
Your Proofing and Editing process thenimirra Mind Your Own Business 5 Aug-18-2008 11:41 AM
Client proofing and bride picks her top 75 photos and I only see and print them. aacreation SmugMug Customization 4 Jul-23-2008 09:29 AM
San Francisco Bay Area Photography Group dkapp The Big Picture 3 Nov-07-2004 07:35 PM


Thread Tools
Display Modes

Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump