• 0

IPB - If created a new topic Redirect to new page.


Question

Hey there guys and gals of Neowin.

 

I'm curious of if this is possible by some if statement or some php coding.

 

I know php coding is defined differently in IP.Board so this is where the support I need comes in.

 

What I'm trying to do is when a member makes a new thread in a certain forum, I want them to be redirected to a different page.

 

Is this possible, Would really love some neat help here guys.

 

Thanks,

ho0kz

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0

Why would you want such a redirection?

Sounds suspicious, even malicious

 

nonono, It's nothing like that haha.

 

What I'm wanting to do is redirect the member to a different thread after they have posted theres. there is nothing malicious about that.

I'm wanting them to be redirected to that sections rules thread.

Link to comment
Share on other sites

  • 0

You'd either need to make a plugin (if it supports doing that) or edit the files to do it. It's an incredibly non-standard thing to do though and chances are it'd either break something or mean you can't upgrade.

Link to comment
Share on other sites

  • 0

You have to use a hook to capture when a thread create call is made (there are registered hooks in IPB you can use).

 

That having been said, there are a couple of addons you can download that will direct people to the section rules the first time they view a section. Would be a much easier answer.

 

Playing with hooks in IPB is a ######, and updates break your stuff badly.

Link to comment
Share on other sites

  • 0

You have to use a hook to capture when a thread create call is made (there are registered hooks in IPB you can use).

 

That having been said, there are a couple of addons you can download that will direct people to the section rules the first time they view a section. Would be a much easier answer.

 

Playing with hooks in IPB is a ######, and updates break your stuff badly.

 

I know it kinda sounds annoying to the members, but members don't normally read the rules before posting. Which is why I'm wanting to do it.

 

and I'm also wanting to do another redirect for purchase aswell. for example

 

I need the forum ID 43 to redirect to www.benstechtips.co.uk/adspace/purchase.php

 

after they are requesting to have a adspace in the forum.

 

Hope this kinda makes sense. I'm not wanting to use any hooks just raw, code in the template.

Link to comment
Share on other sites

  • 0

Sounds annoying lol? So a member wouldn't ever see their own post after submitting, instead being redirected to a "rules page"?

Sounds perfect for Neowin. Those rule breaking hooligans would stop breaking the rules.

Link to comment
Share on other sites

  • 0

I know it kinda sounds annoying to the members, but members don't normally read the rules before posting. Which is why I'm wanting to do it.

 

 

So you want them to read the rules after posting?  Doesn't it make more sense to have them read the rules before posting.  Kinda like the link above the text entry box here on Neowin?

Link to comment
Share on other sites

This topic is now closed to further replies.