Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Redirect if 'not' logged in

13»

Answers

  • Options

    When I made the change to avoid clicking the link twice I noticed that there was not a semicolon at the end so I added one - was that the right thing to do?
    I am now getting this error when I click on Gallery from the All Discussions home page:

    Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home3/nevilsst/public_html/oachegroup/plugins/Galleries/views/gallery.php on line 67

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    ok no problem here is a new zip with those changes and also added a link to the title of the page so you can go back to main gallery via that link too.

  • Options

    Beautiful! Thanks!

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    Is there a way to upload a bunch of pictures?

    Well if you want to upload a whole batch you can ftp the images into the uploads/picgal/nameofalbum

    then you need to copy the names into the notes.dat.php of the album . They don't need to be named image , you can keep the original names, just copy them the same into the notes.dat.php.

    I have been working on a drag drop thing for this but have not yet been successful as soon as I nail it I will add it.

  • Options

    Due to other time-demands I will wait on your drag-n-drop solution rather than mess with ftp just now.
    I'm going to turn ForceRedirect back on and see if it creates any conflicts for Gallery.
    If not then I need to address how to add a "More Info" page link from the Sign-In page for visitors.
    Thanks!

  • Options

    OK, no apparent conflict from ForceRedirect to Gallery ... so onward to edit Sign-In ...

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    The link to the gallery does not appear to guests. It does not conflict because I use it too. To get help with the link please start a new discussion under the plugin you will use for the extra page. Or just a new discussion how to add link .... but the info is all over the forum you just input your question in the search bar. :)

  • Options

    What is the difference between signin.php and signin2.php, please?
    At a glance they appear to contain the same code.

  • Options

    OK, will do - start with Search then join or start a new thread if needed, thanks!

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    What is the difference between signin.php and signin2.php, please? At a glance they appear to contain the same code.

    one is the page the other the popup

  • Options

    Line 59 of gallery.php

    echo '<div class="pics"><a class="fancybox" target="_blank" rel="group" href="/'.$dir.$folder.$title.'/'.$pg[0].'" title="'.stripslashes(htmlentities(urldecode($pg2[1]))).'"><img src="'.$dir.$vv.'/'.$pg[0].'" alt="User Images"/></a></div>';

    Is href="/" correct?

  • Options

    Is Line 58 of gallery.php correct? Especially href="/

    echo '<div class="pics"><a class="fancybox" target="_blank" rel="group" href="/'.$dir.$folder.$title.'/'.$pg[0].'" title="'.stripslashes(htmlentities(urldecode($pg2[1]))).'"><img src="'.$dir.$vv.'/'.$pg[0].'" alt="User Images"/></a></div>';

    Also, Line 64?

    echo '<div class="clr"></div><div class="linkBar"><a class="Button" href="oachegroup/gallery/'.$vv.'">View or Upload More Pictures From '.$title.'</a></div>

  • Options

    Line 59 of gallery.php

    echo '<div class="pics"><a class="fancybox" target="_blank" rel="group" href="/'.$dir.$folder.$title.'/'.$pg[0].'" title="'.stripslashes(htmlentities(urldecode($pg2[1]))).'"><img src="'.$dir.$vv.'/'.$pg[0].'" alt="User Images"/></a></div>';

    Is href="/" correct?

  • Options

    Is Line 58 of gallery.php correct? Especially href="/

    echo '<div class="pics"><a class="fancybox" target="_blank" rel="group" href="/'.$dir.$folder.$title.'/'.$pg[0].'" title="'.stripslashes(htmlentities(urldecode($pg2[1]))).'"><img src="'.$dir.$vv.'/'.$pg[0].'" alt="User Images"/></a></div>';

    Also, Line 64?

    echo '<div class="clr"></div><div class="linkBar"><a class="Button" href="oachegroup/gallery/'.$vv.'">View or Upload More Pictures From '.$title.'</a></div>

Sign In or Register to comment.