Register Problem
3 posters
Page 1 of 1
Register Problem
So I tried to do a bit of CSS coding...
At any rate, the way it looks is what I aimed for but not the function. For some odd reason, when a person tries to register, it always ends up in the home page, same goes for navigation bar registration button.
Did I use the proper selectors or anything?
I asked what's wrong and here's what they said:
- One: Sometimes redirects to home page
- Two: Sometimes redirects to the login page
- Three: Sometimes nothing at all
It only works (For me) not sure yet for others that when I click on it in a new tab.
Can someone check on this because I'm really confuzled @.@.
- Code:
#popup {
position: fixed;
bottom: 0px;
line-height: 16px;
right: 5px;
z-index: 999;
opacity: 0.8;
width: 260px;
border-radius: 3px;
}
#popup:hover {
opacity: 1;
}
- Code:
<center><a href="/register" id="popup"><img src="http://i.imgur.com/Xl3vuD0.png"></img></a></center>
At any rate, the way it looks is what I aimed for but not the function. For some odd reason, when a person tries to register, it always ends up in the home page, same goes for navigation bar registration button.
Did I use the proper selectors or anything?
I asked what's wrong and here's what they said:
- One: Sometimes redirects to home page
- Two: Sometimes redirects to the login page
- Three: Sometimes nothing at all
It only works (For me) not sure yet for others that when I click on it in a new tab.
Can someone check on this because I'm really confuzled @.@.
Kaizer Lee- Active Poster
-
Posts : 1064
Reputation : 54
Language : English, Tagalog, Spanish and Chinese
Location : Philippines
Re: Register Problem
I tried your widget and it's works fine for me. It redirects me to the register page. Try changing the link to whole (www.forum.forumtl.com/register)
romanzo- Forumember
- Posts : 75
Reputation : 3
Language : English
Re: Register Problem
Hello Kaizer Lee,
When I am on the /forum and click the register bouton it redirects me back to the forum. However, when I am on other pages all is fine.
I went and search your scripts for any that contained the substring /forum and came up with this:
When I am on the /forum and click the register bouton it redirects me back to the forum. However, when I am on other pages all is fine.
I went and search your scripts for any that contained the substring /forum and came up with this:
- Code:
$(function(){$('a').filter(function(){var internal=!!(this.href.charAt(0)==='/'||this.href.indexOf(location.host)!==-1),url=this.href.replace(/(^http:\/\/)|(\?.*$)/g,'').replace(location.host,'').substr(1),tester=/^(|#\w+|portal|calendar|post|privmsg|memberlist|faq|forum|search|groups|profile|login|modcp|statistics|contact|abuse|admin(\/index.forum)?|viewonline|rss|ailto:|([tfhc]\d+(?:[pn]\d*)?-.*?)|(u\d+(\w+)?)|(s[tp]a\/.*?))$/g;return internal&&!tester.test(url)}).click(function(e){e.preventDefault();window.location='http://medievalchaos.topicboard.net/forum'})});
Ange Tuteur- Forumaster
-
Posts : 13244
Reputation : 2990
Language : English & 日本語
Location : Pennsylvania
Re: Register Problem
Yeah, that's the one I use for the custom 404 Page I made yesterday.
Is that possible to fix because I don't want to get rid of the 404 page :s
Is that possible to fix because I don't want to get rid of the 404 page :s
Kaizer Lee- Active Poster
-
Posts : 1064
Reputation : 54
Language : English, Tagalog, Spanish and Chinese
Location : Philippines
Re: Register Problem
Have you tried temporarily disabling it to see if that's what is causing the issue? When you try, be on the index (/forum) and click any link which contains the location of the registration page to see if it works correctly.
If it still doesn't work this issue may be occurring from somewhere else.
If it still doesn't work this issue may be occurring from somewhere else.
Ange Tuteur- Forumaster
-
Posts : 13244
Reputation : 2990
Language : English & 日本語
Location : Pennsylvania
Re: Register Problem

Thanks once again for the service, but I managed to solve it ^^
- Code:
$(function(){$('a').filter(function(){var internal=!!(this.href.charAt(0)==='/'||this.href.indexOf(location.host)!==-1),url=this.href.replace(/(^http:\/\/)|(\?.*$)/g,'').replace(location.host,'').substr(1),tester=/^(|#\w+|portal|calendar|post|privmsg|memberlist|faq|forum|search|groups|profile|login|modcp|statistics|contact|abuse|admin(\/index.forum)?|viewonline|rss|ailto:|([tfhc]\d+(?:[pn]\d*)?-.*?)|(u\d+(\w+)?)|(s[tp]a\/.*?))$/g;return internal&&!tester.test(url)}).click(function(e){e.preventDefault();window.location='http://medievalchaos.topicboard.net/forum'})});

Best Regards,
Kaizer Lee
Kaizer Lee- Active Poster
-
Posts : 1064
Reputation : 54
Language : English, Tagalog, Spanish and Chinese
Location : Philippines
Re: Register Problem
Ah, I just noticed that too! 
Can we consider this solved? Nevermind I misread
Topic Solved and Archived

Topic Solved and Archived
Ange Tuteur- Forumaster
-
Posts : 13244
Reputation : 2990
Language : English & 日本語
Location : Pennsylvania
Re: Register Problem
Topic unarchived as requested by the user
Ange Tuteur- Forumaster
-
Posts : 13244
Reputation : 2990
Language : English & 日本語
Location : Pennsylvania
Re: Register Problem
Yo,
I also consulted this problem with Blood Bath from AW. He said to just remove the | from the equation so it'd look a bit different.
Anyway, I have no experience in Regex lol. If anyone who's good at it can help, thanks a lot
I also consulted this problem with Blood Bath from AW. He said to just remove the | from the equation so it'd look a bit different.
- Code:
/^(|#\w
- Code:
/^(#\w
Anyway, I have no experience in Regex lol. If anyone who's good at it can help, thanks a lot

Kaizer Lee- Active Poster
-
Posts : 1064
Reputation : 54
Language : English, Tagalog, Spanish and Chinese
Location : Philippines
Re: Register Problem
Just found out this isn't installed anymore. You guys can archive this back again 

Kaizer Lee- Active Poster
-
Posts : 1064
Reputation : 54
Language : English, Tagalog, Spanish and Chinese
Location : Philippines
Re: Register Problem
Thanks for letting us know.
Archived
Archived
Ange Tuteur- Forumaster
-
Posts : 13244
Reputation : 2990
Language : English & 日本語
Location : Pennsylvania

» Register Problem
» Register Problem
» register has problem!
» problem with register
» register problem
» Register Problem
» register has problem!
» problem with register
» register problem
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum