[DEV/BETA] Redirection Suite

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Postby Thoul » Thu Aug 22, 2002 9:55 am

Redirection Suite 4.2.2 is released. The only change in this version is fixing an error I made in the "find" action for viewtopic.php in Redirect From Private Forum. I copied & pasted the code from viewforum.php by mistake.

I've decided that for 5.0.0, I'm going to make a configuration section in the Administration Panel and store several variables in the database. The redirection options will be a little more flexible as a result.
User avatar
Thoul
Registered User
 
Posts: 809
Joined: Sun Jun 23, 2002 1:25 am
Location: USA

Postby phpbb-fan » Thu Aug 22, 2002 3:07 pm

Thoul?

What about a redirection after registering? I have a register-link on a non-phpbb page. How should I do that?
phpbb-fan
Registered User
 
Posts: 275
Joined: Fri Oct 12, 2001 5:03 am

Postby Thoul » Thu Aug 22, 2002 11:35 pm

Hmm... come to think of it, I could use that, too. I'll look into doing it.
User avatar
Thoul
Registered User
 
Posts: 809
Joined: Sun Jun 23, 2002 1:25 am
Location: USA

Postby jk1 » Fri Aug 23, 2002 5:17 am

I did this, it may help.

When you are viewing a forum and you click the "Mark all topics read" link, it takes you to an info page saying "All topics in this forum are now read. Click here to go back to the forum."

If you want to add a link to go back to the Forum index as well, find this line in Viewforum.php:

Code: Select all
$message = $lang['Topics_marked_read'] . '<br /><br />' . sprintf($lang['Click_return_forum'], '<a href="' . append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id") . '">', '</a> ');


And replace it with this:
Code: Select all
$message = $lang['Topics_marked_read'] . '<br /><br />' . sprintf($lang['Click_return_forum'], '<a href="' . append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id") . '">', '</a> ') . '<br /><br />' . sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a> ');


This works on a 2.0.2 board.
jk1
Registered User
 
Posts: 103
Joined: Sun Jul 21, 2002 10:55 pm
Location: USA

Postby Thoul » Sun Aug 25, 2002 4:54 am

Thoul wrote:I've decided that for 5.0.0, I'm going to make a configuration section in the Administration Panel and store several variables in the database. The redirection options will be a little more flexible as a result.


This is done... next, I'll work on the redirection after registering, and then I'll release it all as 5.0.0. It'll probably be in a day, maybe two, depending on how complex the registering bit is.
User avatar
Thoul
Registered User
 
Posts: 809
Joined: Sun Jun 23, 2002 1:25 am
Location: USA

Postby jaweeji » Mon Aug 26, 2002 7:39 am

very nice thoul... great mods, thank you
::yeeeeup::
User avatar
jaweeji
Registered User
 
Posts: 30
Joined: Fri Nov 30, 2001 6:47 pm

Postby Aristotle » Mon Aug 26, 2002 8:09 pm

I have a board that might really beneift from this. I'll definately be grabbing it once the new version is ready.
Aristotle
Registered User
 
Posts: 83
Joined: Mon Nov 05, 2001 5:30 am

Postby Thoul » Thu Aug 29, 2002 3:20 am

Redirection Suite 5.0.0 is released.

This version brings two new additions: Redirect After Registration and Global Redirection Suite. Global RDS is the Admin Panel version, which incorporates all the other MODs into one MOD. There are also some other unique features: redirection after editing posts; turn voting, registration, and posting confirmation messages on or off; default URLs for voting and logout redirection; and override voting and logout redirects.

I was going to add redirection after marking all topics/forums read also, (there's been a request elsewhere similar to, but different from, what jk1 posted above), but decided to let that wait for a little bit since I'm already a couple of days late on this release. I'll try to put that in the next release (which will probably be 5.1.0).

Also, a little warning - Global Redirection Suite, if you choose to use it, may not be compatible with the other, individual MODs, as it contains enhanced or completely rewritten versions of those MODs. I don't (and won't) test Global RDS being used alongside the others. If you've applied the others and want to use Global RDS now instead, I would remove the others and then apply Global RDS.
User avatar
Thoul
Registered User
 
Posts: 809
Joined: Sun Jun 23, 2002 1:25 am
Location: USA

Postby Thoul » Sun Sep 01, 2002 9:30 pm

Redirection Suite 5.1.1 is released.

Got four updates in this release: Redirect After Mark All Read 1.0.0, Redirect After Registration 1.0.1, Redirect After Voting 1.1.1, and Global Redirection Suite 1.1.1. Exact changes are listed in the README file, and I've added a link to that in the first post, too.
User avatar
Thoul
Registered User
 
Posts: 809
Joined: Sun Jun 23, 2002 1:25 am
Location: USA

Postby phpbb-fan » Thu Sep 05, 2002 1:18 am

Great job Thoul!

I can't wait to have this running!
phpbb-fan
Registered User
 
Posts: 275
Joined: Fri Oct 12, 2001 5:03 am

Postby Thoul » Sat Sep 14, 2002 7:18 pm

Redirection Suite 5.1.2 is released.

There's a minor bugfix in one of the FIND actions in Global Redirection Suite.
User avatar
Thoul
Registered User
 
Posts: 809
Joined: Sun Jun 23, 2002 1:25 am
Location: USA

Postby Thoul » Thu Oct 10, 2002 5:26 pm

Been a long time since I've had something to add here, eh? I just wanted to mention that one of the mods in Redirection Suite, Redirect to Forum, is now in phpBB.com's MOD-Database. I've also set up a support forum for all of my mods, including these. There's a link to it in the mods section of my site.
User avatar
Thoul
Registered User
 
Posts: 809
Joined: Sun Jun 23, 2002 1:25 am
Location: USA

Postby RammsteinNicCage » Tue Oct 15, 2002 5:34 pm

I'm having one problem with the global redirection mod....

In includes/usercp_register.php, you say to find:

Code: Select all
$message = $message . '<br /><br />' . sprintf($lang['Click_return_index'],  '<a href="' . append_sid("index.$phpEx") . '">', '</a>');

$template->assign_vars(array(
"META" => '<meta http-equiv="refresh" content="5;url=' . append_sid("index.$phpEx") . '">')
);

message_die(GENERAL_MESSAGE, $message);


I don't have an exact match for that, but I have these two that are close:

Code: Select all
            $message = $lang['Profile_updated'] . '<br /><br />' . sprintf($lang['Click_return_index'],  '<a href="' . append_sid("index.$phpEx") . '">', '</a>');
         }

         $template->assign_vars(array(
            "META" => '<meta http-equiv="refresh" content="5;url=' . append_sid("index.$phpEx") . '">')
         );

         message_die(GENERAL_MESSAGE, $message);


and this:

Code: Select all
         $message = $message . '<br /><br />' . sprintf($lang['Click_return_index'],  '<a href="' . append_sid("index.$phpEx") . '">', '</a>');

         message_die(GENERAL_MESSAGE, $message);


What should I do? And thanks for the great mod. ;)
RammsteinNicCage
Registered User
 
Posts: 254
Joined: Wed Sep 18, 2002 6:06 pm
Location: New York

Postby Thoul » Tue Oct 15, 2002 9:17 pm

Oh, my mistake. :oops: That Find should have been the second match you posted there. Replace that one with the code the mod says to use for that Find. If you come across any more things like that, let me know. :)
User avatar
Thoul
Registered User
 
Posts: 809
Joined: Sun Jun 23, 2002 1:25 am
Location: USA

Postby RammsteinNicCage » Wed Oct 16, 2002 2:45 am

Ah, thank you! Everything else on the global redirect worked great for me. :)

Jennifer
RammsteinNicCage
Registered User
 
Posts: 254
Joined: Wed Sep 18, 2002 6:06 pm
Location: New York

PreviousNext

Return to [2.0.x] MODs in Development

Who is online

Users browsing this forum: Tbot [Bot] and 5 guests