PDA

View Full Version : on/off eSyndicat for Visitors ?


TMP
08-27-2006, 01:42 PM
Hello,


is there an easy way to change eSyndicat between
online and offline, only for Visitors ?

This time i work at the Links and Directorys within
the Admin-Configuration, but I don`t want that everyone can see my Directory before the side is really ready.

Thanks for help and best regards from Germany,


TMP

Greg
08-27-2006, 04:27 PM
No there isn't TMP, but this would be a nice feature to have.

TMP
08-27-2006, 04:58 PM
Hello Greg,


thanks for your answer.

I have fix the problem by create a blank index.htm. So if I want to work and see what I do without Visitors, I use the Link www.domain.com/index.php to see the page. Every other see the blank index.htm

If I want to disabled this function I renamed the file into
-index.htm

Best regards from Germany,


TMP

Sergey Ten
08-27-2006, 06:37 PM
Hello TMP,

Ok, I know how do it.

*** Open your header.php ***
*** Find such code ***


if ($directory)
{
header("Location: install/index.php");
exit;
}


*** After add this code ***


if(isset($_COOKIE['admin_name']))
{
exit;
}


*** Save change ***

TMP
08-27-2006, 07:25 PM
Hello Sergey,


it`s a nice feature, but if I use this function
I can`t see the Directory by my self. So it`s
not easy to test the Directory or switch
between /admin and Visitor to see my results.

Have you also a php-entry for this problem ?

Thanks,

TMP

Sergey Ten
08-27-2006, 07:47 PM
Hello TMP,

I am sorry, it is my fauilt. This is feature will not work.

TMP
08-28-2006, 12:06 AM
Hello Sergey,

> I am sorry, it is my fauilt

no problem

Regards from Germany,

TMP

Christabelle67
07-13-2007, 04:22 AM
Hi Guys

Has this been resolved as yet? While building my Directory the site is online for all to view and I really don't want anyone to see it until it is complete and ready for launch, yet I need to be able to see the website to check in on my work? This is such a vital area to the eSyndicat that I feel really needs to be addressed, being able to go Offline/Online, yet still Admin still view while building or maintenance.

My Directory address is a name that can easily be typed in the Search Engines, even though I have not listed it officially with either of them, and when people do this, which they are, it brings up my site. I don't want this as yet. Is there a way around this?

Hope someone can help.
Warm Regards
Christel

Christabelle67
07-13-2007, 04:24 AM
Hello TMP


I have fix the problem by create a blank index.htm. So if I want to work and see what I do without Visitors, I use the Link www.domain.com/index.php (http://www.domain.com/index.php) to see the page. Every other see the blank index.htm

If I want to disabled this function I renamed the file into
-index.htm

Did this work for you without messing up your database etc? By simply changing to a blank index and changing it back when you were ready, there were no major problems?
Look forward to your response and hope this can help me.
Warm Regards
Christel