Opening a topic loads a different topic/ category
2 posters
Page 1 of 1
Opening a topic loads a different topic/ category
Technical Details
Forum version : #phpBB2
Position : Founder
Concerned browser(s) : Google Chrome
Who the problem concerns : Yourself
Forum link : ( link is hidden, you must reply to see )
Description of problem
Hey everybody!So basically what I want to do:
- user clicks on a TOPIC A name to open it
- when the TOPIC A is opened (or instantly) user is redirected to TOPIC B
Do you think this is possible?
Links in the name do not work
Re: Opening a topic loads a different topic/ category
Sorry, for double posting, but just figured it out myself
Easier, then expected:
We can close this case then, if no one has a better solution
Easier, then expected:
- Code:
//Code by KamiSama
$(document).ready(function(){
if(document.URL.indexOf("TOPIC A LINK") >= 0){
window.location = "TOPIC B LINK";
}
});
We can close this case then, if no one has a better solution
Re: Opening a topic loads a different topic/ category
Thank you for showing us how this can be done Good work
Have a great weekend
Have a great weekend
Problem solved & topic archived.
|
Similar topics
» Our new form when opening a topic
» error when opening the topic
» [Only Topic]URGENT: Forum Not Opening / Loading
» Category/Topic color change from white to black
» Category Permissions and New Topic button
» error when opening the topic
» [Only Topic]URGENT: Forum Not Opening / Loading
» Category/Topic color change from white to black
» Category Permissions and New Topic button
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum