I have purchased this script from php jabbers Member Login Script | PHP Login Script | PHPJabbers and the install seemed to be pretty simple but I now see that I have no idea how to install this. Is there anyone that has installed this before that can help me?
I am in the same boat as Nate. Got the Php Jabbers Member Login script, went through all the steps and installed it successfully, however I’m failing to see how to do the pasting of the generated code into FW document.
I tried the HTML markup option in the Page menu to protect a selected page and went through all the options it suggests (Before , After …all of them) and it did not work.
After I contacted Php Jabbers, they fixed the problem but clearly I can’t ask them to do it for every single page I’m going to design in the future. They suggesting editing the page in a word processor and paste the text there, however, how can I then continue with the design back in FW? Will it nor overwrite the pasted text with what it thinks is current and correct?
Another thing is the styling of the pasted code for the login text and dialog boxes into a “CrowBar” action on the login page. There don’t seem to be an option to change styles, font, sizes, colours… other than editing the page in a word processor. But then you need to know coding and FW and it’s ease of use goes out the window.
Phew…there it is then. Does anyone have any experience with this and can suggest a solution for a non coder. Thanks in advance.
I haven’t used it but if the code is for a log in dialogue box then it is more likely that you want to use Insert>Markup Item (paste in there) then resize the subsequent 100px box and position it where it should be on your page.
thanks for your reply, I used the Insert>Markup Item and the “CrowBar” script to insert the code to create a login dialog box. It worked in terms of insertion on the page, but I could not change the style of the text or dialog boxes after that.
I used the HTML Markup option where a piece of code needed to be placed “at the top of the page”. I assumed that code was to control the whole page rather than insert a functional item on the page itself.
the code that needed to be placed “at the top of the page” is a bit that protects the page from opening and instead redirects the user to the member login page. It is not to be displayed, just work in the background. Furthermore the page needs to be a .php. I’m making a wild guess that using a “HTML Markup” conflicts in some way with the php bit. HTML versus PHP? That’s just a guess.
I got the idea of crowbar script from a Dan Jasker tutorial.
The web site (www.figuredrawingonline.com) has only three buttons working at the top of the page. Home, Tutorials and Members Area. The members Area should be protected. When selected it should redirect you to the login page. The redirection doesn’t work so I put in a link on the Home page to get to the login page at all. It is at the right bottom of the Home page – words: “Start Here”.
That takes you to the login page. I guess I’d like it to look similar in style to the Home page. Kind of unified in looks.
Just going through the FreewayActions and ActionsForge to see if there is anything that I could use to be able to put that code at the top of the page. The thing is, PHP Jabbers did it for me last night manually, however, the moment I continued the design in Freeway, everything got overwritten. I need to able to do this from inside FW. Thanks.
I haven’t looked at your page or the script, but one thing that is
absolutely true about PHP and login scripts is the following: if there
is a decision point in the code, whereby the user is either challenged
for a login or gets to see the page, then that decision point MUST
occur in the code above anything else that might cause any page
content to be sent to the browser from the server.
Usually when working with Freeway, the only way to do inject code at
that point is to use the Page / HTML Markup dialog and choose the
Before HTML section in the picker. Unless you put the part of the code
that does the decision-making into that “slot”, you will have all
manner of heartache.
Any other part of the code that is visual, like a login screen or a
banner explaining that the user has successfully logged in, must be
placed in the visual part of the page, as Dave recommended. Use the
Crowbar if your code will generate its own HTML, and use a regular
Markup Item if you want to have Freeway generate the HTML and the code
will only provide the content (text, basically).
On Aug 23, 2011, at 8:01 PM, Robert Stollar wrote:
the code that needed to be placed “at the top of the page” is a bit
that protects the page from opening and instead redirects the user
to the member login page.
Gaaaaa! Source Code Snooper is a great and powerful tool, but it will
make you tear your hair out if you use it to fix the issue you are
The moment that you add it to your page, any further changes you make
to that page will be ignored. The only way to get it to understand
your design changes will be to clear its cache, re-publish, make your
code change again, and then look at the finished page.
In this particular case, it is using a sledgehammer to kill a fly. The
collateral damage will be tremendous.
On Aug 23, 2011, at 8:39 PM, Robert Stollar wrote:
I thought I had it. Mind you it did work. Put the code at the top of the page the redirection was fine to the login page…like a charm.
But… yes, well…you’re right. I got rid of it and inserted the Page / HTML Markup dialog and chose the Before HTML section in the picker as you suggested and it worked. Very strange as yesterday I tried everything and it would not work. Hmmm…still testing.
yes, the page protection and redirection to the login page works fine. However…
The next problem I have is that I need to be able to edit the style of the login and register text and dialog boxes. For some reason all the text defaults to 1px size and practically disappears.
Dave has posted styling code above, but…again I would have to edit the published / uploaded page in order to insert a code, right? Wouldn’t that again remove the chance of going back to FW for more design work on the same page? I’ve edited the px size of that text on the uploaded page on the server and the text appears…till I update the design from FW. Very tricky.
I tried actions, Form Element Styler and the Form Element CSS with not much luck. Is there anything else that I could try. I really need the member login and later a shopping cart functionality. Can it be done without coding?
If you draw an HTML box, and don’t put any text inside it, Freeway
will set the font-size to 1px. I just tried here, and couldn’t find a
combination of Markup Item or Crowbar and HTML box that would result
in the font-size remaining at 1px once you put anything – just one
character of text or a non-breaking space – inside it.
So try this:
Draw an HTML box on the page where you want your form elements to
Double-click inside that box, and use Insert / Action Item /
Crowbar to insert an inline code container. Click on the Code button
and paste in your PHP echo code to display the form.
Click back on the HTML box so you see its handles showing. Add some
background color, padding, borders, whatever other style you like to
make the form look good.
On Aug 23, 2011, at 11:30 PM, Robert Stollar wrote:
yes, the page protection and redirection to the login page works
The next problem I have is that I need to be able to edit the style
of the login and register text and dialog boxes. For some reason all
the text defaults to 1px size and practically disappears.
Dave has posted styling code above, but…again I would have to
edit the published / uploaded page in order to insert a code, right?
Wouldn’t that again remove the chance of going back to FW for more
design work on the same page? I’ve edited the px size of that text
on the uploaded page on the server and the text appears…till I
update the design from FW. Very tricky.
I tried actions, Form Element Styler and the Form Element CSS with
not much luck. Is there anything else that I could try. I really
need the member login and later a shopping cart functionality. Can
it be done without coding?
that worked. If you go to www.figuredrawingonline.com and click on the Members Area link, it should take you to the login page. I just did some fast formatting, however other than tweaking the background graphic box can’t really touch it. I’d love to change the font and it’s colour and link behaviour, but…it’s there and functional.
Make a new style in your Styles palette. In the Tag field, enter this
Tab into the Name field, delete whatever is there, and then tab back
Now you can build up your styles, using any property you like. Font,
size, color, etc. You won’t see anything in Freeway when you do this,
but you will see it when you view it on your server.
Do the same thing for the name:
and you can style the error and success messages, too. These tag-only
styles are never applied to anything, and you don’t have to do
anything besides create them, then they just seek out the elements
they apply to.
On Aug 24, 2011, at 12:31 AM, Robert Stollar wrote:
I just did some fast formatting, however other than tweaking the
background graphic box can’t really touch it.
Thanks Walter, that’s better. Would you know what Tag name would apply to the dialogue boxes (if any). Also the Logout button doesn’t seem to be affected by styling. Nevertheless, the is much better already. Thanks a lot.