Wat vragen over men website

Gestart doorSfpmarc6 reacties33 weergaven

7 berichten · pagina 1 van 1

Sfpmarc

Lid · Topicstarter

Berichten
1.289
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Quote:
Vraag1:
Ik wil graag de loginsysteem in men layout gaan zetten, alleen heb ik geen idee hoe ik dit zou moeten doen.

Indeling site (images)
Spoiler tonen
Afbeelding
Online demo orginele loginsysteem
http://scriptside.woelmuis.nl

Quote:
Vraag2 opgelost door Jvdw

Mvg,
Marc van Houten
0
Jvdw

Lid

Berichten
4.321
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
met .htaccess heb ik dit gevonden:

RewriteEngine On

# Check if this is the noredirect query string
RewriteCond %{QUERY_STRING} (^|&)noredirect=true(&|$)
# Set a cookie, and skip the next rule
RewriteRule ^ - [CO=mredir:0:%{HTTP_HOST},S]

# Check if this looks like a mobile device
# (You could add another [OR] to the second one and add in what you
#  had to check, but I believe most mobile devices should send at
#  least one of these headers)
RewriteCond %{HTTP:x-wap-profile} !^$ [OR]
RewriteCond %{HTTP:Profile}       !^$
# Check if were not already on the mobile site
RewriteCond %{HTTP_HOST}          !^m.
# Check to make sure we havent set the cookie before
RewriteCond %{HTTP:Cookie}        !smredir=0(;|$)
# Now redirect to the mobile site
RewriteRule ^ http://m.example.org%{REQUEST_URI} [R,L]


idk of het werkt he..anders zou ik php gebruiken?

toevoeging op 25 december 2012, 191008:
of hier http://ohryan.ca/2007/10/29/htaccess-mobile-browser-redirect/
0
Sfpmarc

Lid · Topicstarter

Berichten
1.289
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Jvdw schreef:
met .htaccess heb ik dit gevonden:

RewriteEngine On

# Check if this is the noredirect query string
RewriteCond %{QUERY_STRING} (^|&)noredirect=true(&|$)
# Set a cookie, and skip the next rule
RewriteRule ^ - [CO=mredir:0:%{HTTP_HOST},S]

# Check if this looks like a mobile device
# (You could add another [OR] to the second one and add in what you
#  had to check, but I believe most mobile devices should send at
#  least one of these headers)
RewriteCond %{HTTP:x-wap-profile} !^$ [OR]
RewriteCond %{HTTP:Profile}       !^$
# Check if were not already on the mobile site
RewriteCond %{HTTP_HOST}          !^m.
# Check to make sure we havent set the cookie before
RewriteCond %{HTTP:Cookie}        !smredir=0(;|$)
# Now redirect to the mobile site
RewriteRule ^ http://m.example.org%{REQUEST_URI} [R,L]


idk of het werkt he..anders zou ik php gebruiken?
toevoeging op 25 december 2012, 191008:
of hier http://ohryan.ca/2007/10/29/htaccess-mobile-browser-redirect/

Dankjewel voor je goede, maar ook snelle hulp! biggrinpompom
0
Jvdw

Lid

Berichten
4.321
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
En om je 2de vraag te beantwoorden, wees iets duidelijk?

Natuurlijk kan je er een andere layout omheen doen, gewoon het script "uitpakken" uit je layou, en "inpakken" in een nieuwe yummie maar als je duidelijker bent kunnen we je beter helpenwink
0
Sfpmarc

Lid · Topicstarter

Berichten
1.289
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Jvdw schreef:
En om je 2de vraag te beantwoorden, wees iets duidelijk?

Natuurlijk kan je er een andere layout omheen doen, gewoon het script "uitpakken" uit je layou, en "inpakken" in een nieuwe yummie maar als je duidelijker bent kunnen we je beter helpenwink
Done! biggrin
0
Jvdw

Lid

Berichten
4.321
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
het zal lukken maar dan moet je hem dus uitpakkenyummie
0
Sfpmarc

Lid · Topicstarter

Berichten
1.289
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Jvdw schreef:
het zal lukken maar dan moet je hem dus uitpakkenyummie
Wat uitpakken?
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren