Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
Redirect nakon logina na forum

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side
View previous topic :: View next topic  
Author Message
blackshtef
mi3.crew


Joined: 13 Sep 2003
Posts: 661

PostPosted: 04.09.2008 19:52    Post subject: Redirect nakon logina na forum Add user to your forum ignore list Reply with quote

Zanima me, kako postići da kad mi se određeni user logira na forum, da ga se redirecta negdje drugdje?
Isto kako je ovdje bio slučaj: http://www.mi3dot.org/forum/viewtopic.php?t=3490

Radi se o phpBB2 forumu.

Hvala!
Back to top
View user's profile Send private message Send e-mail MSN Messenger
maratz
mi3.crew


Joined: 24 Nov 2003
Posts: 1207
Location: ZAG

PostPosted: 05.09.2008 08:23    Post subject: Add user to your forum ignore list Reply with quote

ručno :)

_________________
STOP HITTING YOURSELF! | NETIQUETTE | TYPETESTER | Hypertext rulez™ | CREATIVE NIGHTS | ACCOMMODATIONS
Back to top
View user's profile Send private message Visit poster's website Twitter profile
blackshtef
mi3.crew


Joined: 13 Sep 2003
Posts: 661

PostPosted: 05.09.2008 08:59    Post subject: Add user to your forum ignore list Reply with quote

maratz wrote:
ručno Smile
uf, kako bi bilo dobro znati to Smile
Back to top
View user's profile Send private message Send e-mail MSN Messenger
nevio



Joined: 25 Dec 2007
Posts: 173
Location: New Jersey / Rijeka

PostPosted: 20.09.2008 23:29    Post subject: Add user to your forum ignore list Reply with quote

Evo ja ti dam dvije pocenite metode kako to napravit tj 3.

1 hack je da zapravo otvoris fajl di se logiras i redirecting page promjenis u neki drugi.

2. je da napravis unutar redirecting pagea
header("Location: path-to-new-page.php-ili-stagod");
no postoji svakojakih caka sa redirectanjem tj. koristenjem header metode... zna bit pain in da ass totalno ( echoing before header call will make ur smile disappear soo fast Smile )

3. je da napravis javascript document.location funkciju tipa
document.location = 'path-to-new-page.php-ili-stagod';
unutar naravno script tagova...

_________________
http://hr.linkedin.com/in/neviovesic
Back to top
View user's profile Send private message AIM Address
blackshtef
mi3.crew


Joined: 13 Sep 2003
Posts: 661

PostPosted: 24.09.2008 11:12    Post subject: Add user to your forum ignore list Reply with quote

da, ali to bi redirectalo sve, meni treba točno određeni user biti redirectan.
Back to top
View user's profile Send private message Send e-mail MSN Messenger
nevio



Joined: 25 Dec 2007
Posts: 173
Location: New Jersey / Rijeka

PostPosted: 24.09.2008 11:23    Post subject: Add user to your forum ignore list Reply with quote

pa saznaj iz baze ili iz sesije koji je user taj koji browsa i napravis

if ( $user == 'someuser' )
header("Location: path-to");

_________________
http://hr.linkedin.com/in/neviovesic
Back to top
View user's profile Send private message AIM Address
maratz
mi3.crew


Joined: 24 Nov 2003
Posts: 1207
Location: ZAG

PostPosted: 24.09.2008 12:10    Post subject: Add user to your forum ignore list Reply with quote

nevio wrote:
pa saznaj iz baze ili iz sesije koji je user taj koji browsa i napravis

if ( $user == 'someuser' )
header("Location: path-to");

kao što rekoh, ručno Very Happy

_________________
STOP HITTING YOURSELF! | NETIQUETTE | TYPETESTER | Hypertext rulez™ | CREATIVE NIGHTS | ACCOMMODATIONS
Back to top
View user's profile Send private message Visit poster's website Twitter profile
nevio



Joined: 25 Dec 2007
Posts: 173
Location: New Jersey / Rijeka

PostPosted: 24.09.2008 12:12    Post subject: Add user to your forum ignore list Reply with quote

maratz wrote:
nevio wrote:
pa saznaj iz baze ili iz sesije koji je user taj koji browsa i napravis

if ( $user == 'someuser' )
header("Location: path-to");

kao što rekoh, ručno Very Happy


lol Laughing

_________________
http://hr.linkedin.com/in/neviovesic
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group