Edit Login and Permission page with IPB styled message
2 posters
Page 1 of 1
Edit Login and Permission page with IPB styled message
So my question is simple. Few forums out there changed their "Sorry, but only users granted special access can read topics in this forum" and /login page with IPB designed message such as:
I know it's done by javascript but just can't get a way how to do it.
I know it's done by javascript but just can't get a way how to do it.
Re: Edit Login and Permission page with IPB styled message
Hello Shadow.,
This is for when users are redirected to the log in page ? You could probably do something like :
I don't exactly know what the page looks like, but the above should only display if you have been redirected to the log in page.
For the permissions page, it should be the following template :
Administration panel > display > templates > general > message_body
This is for when users are redirected to the log in page ? You could probably do something like :
- Code:
$(function() {
if (window.location.href.indexOf('/login?redirect') > 0) {
$('#pun-head').after('<div><span style="font-size:18px;">Sorry, we couldn\'t find that!</span></div>')
}
});
I don't exactly know what the page looks like, but the above should only display if you have been redirected to the log in page.
For the permissions page, it should be the following template :
Administration panel > display > templates > general > message_body
Re: Edit Login and Permission page with IPB styled message
I created something using if (location.pathname == "/login" && GetParam("redirect") !== null) { Like return this.innerHTML.replace('Sorry, but only <strong>users granted special access</strong> can read topics in this forum.', special_access);
Thanks for help, this can be put as solved.
Thanks for help, this can be put as solved.
Similar topics
» [question] how to edit permission list?
» Moderator without edit/delete permission
» How to edit message editor
» What happened to message page "Your message has been posted..."?
» how do i put a login bar at the top of the page
» Moderator without edit/delete permission
» How to edit message editor
» What happened to message page "Your message has been posted..."?
» how do i put a login bar at the top of the page
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum