In total there are 767 users online :: 3 registered, 0 hidden and 764 guests
Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm
Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot] based on users active over the past 60 minutes
Moderator: Integra Moderator
"Michaelo";p="1391" wrote:The message should be automatic? Can no one see it?
I think the who's on line can be disabled in the ACP just check to see it is not.
############################################################### ## Mod Title: Redirecting After Post## phpBB Version## supported: 1.4x## Author: Acid## Description: After posting (new topic, reply, edit) youÂÂÂ ´ll## be redirected to your post on the last page.## Files To Edit: viewtopic.php, page_header.php############################################################### ############################################################### >>>>viewtopic.php----------------- AFTER !: $pagetype = "viewtopic"; ADD: if ($redirect=='page'){ $sql = "SELECT post_id, forum_id FROM posts WHERE topic_id = '$topic' ORDER BY post_time DESC LIMIT 1"; if(!$result = mysql_query($sql, $db)) error_die("<font>An Error Occured</font><hr>Could not connect to the forums database."); if(!$myrow = mysql_fetch_array($result)) error_die("Error - The forum/topic you selected does not exist. Please go back and try again."); if (!$topic) $topic=$myrow[topic_id]; if (!$forum) $forum=$myrow[forum_id]; $replys = (get_total_posts($topic, $db, "topic")); settype ($replys, "integer"); if (($replys-$posts_per_page)>= 0) { $hc_dlink_times = 0; for ($x = 0; $x </a>>>>page_header.php------------------- REPLACE: echo "<META>"; WITH: echo "<META>";
REDIRECTION SUITE
Current Release: 10.2.1
Table of Contents:
1) Introduction
2) About Version Numbers
3) Release Notes
4) Installing and Upgrading Global Redirection Suite
5) License
6) Known Bugs
7) Updates, Support, Suggestions, Requests
----------------------
INTRODUCTION
----------------------
Redirection Suite is a collection of phpBB 2.0.x modifications with the common theme
of sending a user somewhere they normally would not go. Currently, the following
modifications are included:
Redirect to Forum, redirect_forum.txt:
Changes the automatic redirection after successfully posting a message. Instead of
automatically going back to the topic, the user will be sent to the forum
(viewforum.php). The in-between page that gives the option to view the posted
message is still displayed. Not compatible with Redirect to Post or Redirect to
Topic.
Redirect to Forum II, redirect_forum2.txt:
This has the same effect as the original Redirect to Forum above, except for one
difference: it skips the confirmation message entirely.
Redirect to Topic, redirect_topic.txt:
Bypasses the message displayed when a message is successfully posted. It will
instead redirect the user back to the topic's first post without waiting. Not
compatible with Redirect to Post or Redirect to Forum.
Redirect to Post, redirect_post.txt:
After posting, user is redirected to their post (or the last post of the topic,
which would be the same thing usually) without a confirmation message. You can also
redirect users after they send a private message. Not compatible with Redirect to
Topic or Redirect to Forum.
NOTE: This modification is not compatible with the popular Attachment modification.
Redirect After Voting, redirect_voting.txt:
After a voting form (or a poll choice) is submitted, the user is redirected to a
page of your choice instead of the topic. It's intended for use with modifications,
like phpBB Fetch All, that allow you to have a phpBB poll on non-phpBB pages. You
could redirect the user to the page the poll is on or your own custom results page.
Or somewhere completely different, it would be up to you.
Redirect From Private Forum, redirect_private.txt
If a user tries to access a forum for which they do not have the proper viewing
permissions (a private forum), they are directed to a page of your choice instead of
getting a "forum does not exist" error message.
Redirect After Registration, redirect_register.txt
After a user registers, you can send them to a page you've specified. Like so many
of the Redirection Suite modifications, this is mostly useful for sites with
register links on non-phpBB pages. You can redirect a user to a log in page, your
main page, a rules or FAQ page, or wherever you want. If you're redirecting them to
a phpBB enabled page, you can also log them in automatically - no log in form
required!
Redirect After Mark All Read, redirect_mark.txt
After a user clicks the "Mark all forums read" or "Mark all topics read" links, you
can send them to a page you've specified.
Redirect After Mark All Read II, redirect_mark2.txt
This has the same effect as the original Redirect After Mark All Read above, except
for one difference: it skips the confirmation message entirely.
Redirect For Wrong Login, redirect_badpass.txt
If a user tries to login with a non-existent username, wrong password or when their
account is inactive, they are redirected to a page you specify. You can have
separate pages for wrong usernames, passwords, and inactive users.
redirect() Enhancement, function_change.txt
phpBB 2.0.4's new redirect() function specifies a full URL for redirecting users -
but that URL always points to the phpBB directories! This enhancement allows for
redirecting users outside of the phpBB directories.
Redirect Outside phpBB After Log In/Out, redirect_outside.txt
A guide to modifying phpBB so that you redirect users outside of the phpBB
directories when they log in or out.
Global Redirection Suite, global/redirect_global.txt
This is the "crown jewel," if you will, of the Redirection Suite package. It
incorporates the abilities all the above Redirection Suite modifications into one
central, more flexible modification. This means that it offers redirection for
registering (with automatic log in), marking forums or topics read, voting, posting,
editing or deleting posts, sending private messages, wrong login information, and
failing the authorization check for private forums. There are also some unique
features: an Administration Panel interface; User Preferences; turn voting, mark all
read, registration, and posting confirmation messages on or off; default URLs for
voting and logout redirection; and override voting and logout redirects.
-------------------------------
ABOUT VERSION NUMBERS
-------------------------------
As Redirection Suite is a collection of modifications, the version numbering system
used is a bit strange. Let me explain it to you.
Each individual modification has it's own unique version number, in the format
x.x.x. The first number represents the stable release version, the second number is
the update number, and the third number is the bugfix number. So, a modification
numbered 1.2.3 would be a modification that has one stable release, two minor
features added to that release, and three bugs fixed.
Redirection Suite, as a whole, has a version number in the format x.x.x. The
first number represents the major addition number, the second number is the minor
update number, and the third number is the bugfix number. So, Redirection Suite
version 2.2.3 would include two major additions (e.g., new modifications added), two
minor updates to included modifications, and three bugfixes to included
modifications. There are variations on how this is used sometimes.
-----------------------
RELEASE NOTES
-----------------------
Version 10.2.1 - Mar 20, 2004 3:00 am Eastern Time
phBB 2.0.7a was released yesterday afternoon. It seems they introduced a redirection
bug in 2.0.7, so they needed some code changes. This release reflects these changes.
Version 10.2.0 - Mar 17, 2004 3:00 pm Eastern Time
It's been nearly a year since I did any work with Redirection Suite. This release's
main focus is updates to code modifying login.php, which had a lot of security
improvements when phpBB 2.0.7 was released. Nearly all of those fixes also needed
to be applied to Redirection Suite. I've also done some tweaking to Global RDS that
may give some performance improvements and bug fixes.
---------------------------------------------------------
INSTALLING & UPGRADING GLOBAL REDIRECTION SUITE
---------------------------------------------------------
When upgrading from a previous version of Global Redirection Suite, it is not
necessary to reinstall the entire modification. Only new or changed portions of the
modification need to be installed or re-installed. These portions are usually listed
in the changelog.txt entry for each version. The files affected are usually listed
in parentheses. A particular label may be listed after the file, e.g. (posting.php,
no post message). If so, you can search for that label to find the changed part(s)
of the file more quickly.
---------
IMPORTANT
---------
Redirection Suite is tested on MySQL only. This means that if you use another
type of database software, like PostgreSQL, you'll have to adapt the MySQL database
schemas in the mysql_rds_schema.sql file and create the database tables yourself. If
anyone would like to send me an adapted schema file for any other database type, I'd
be glad to include it with the Redirection Suite package.
When upgrading, it should not be necessary to do any database modifications
yourself; the installer script should take care of them.
---------
IMPORTANT
---------
When installing or upgrading Global Redirection Suite, you should upload the new
rds_install.php and mysql_rds_schema.sql before uploading any of the edited files.
You should then run rds_install.php by opening the uploaded file in your browser.
This needs to be done for every version, starting with Global Redirection Suite
2.0.0. This will install some database changes, including new configuration settings
in the phpBB configuration table and new database tables. When finished, be sure to
delete both of those files from your web server as a security precaution. Now upload
the edited files, and you can then modify Global Redirection Suite's options by
going to the General Admin > Configuration page in the phpBB Administration Panel.
When setting the URL options in the Admin Configuration, keep these things in mind,
because they are very important:
1) DO use URLs consisting only of a path from the root of your site and file
name, like these:
/index.htm <<< to go to http://yoursite.com/index.htm
/phpBB/index.php <<< to go to http://yoursite.com/phpBB/index.php
2) DO NOT use relative URLs (which are URLs containing the "../" shortcut, like
"../index.html"). While these will usually work, the HTTP/1.1 specification
(which phpBB uses) says they won't work. Some of your users may encounter
problems with relative URLs.
3) DO NOT use absolute URLs (which are full URLs like http://site.com/index.htm).
Absolute URLs will not work because phpBB will add the http://site.com/ part
automatically. If you include it, you'll be redirected to something like
http://site.com/http://site.com/index.html.
-----------------
LICENSE
-----------------
This modification, hack, or add-on is free software distributed under the GNU
General Public License as published by the Free Software Foundation. A copy
of this license is found in the gpl.txt file that comes with these files.
This modification, hack, or add-on contains code from phpBB 2.0.7 (or earlier)
which is copyright (C) the phpBB Group. All original code and images in this
modification, hack, or add-on are copyright (C) Jeremy Rogers.
--------------------
KNOWN BUGS
--------------------
A bug in some web browsers, including at least some versions of Internet Explorer,
can break certain types of URLs under certain conditions. I won't go too deep into
the details, except to say that forms of redirection to a particular post will not
work correctly when the File Attachment modification is installed on a forum.
Global Redirection Suite and the Protect useraccount mod by Niels Chr. RÃÂÂ ¸d Denmark
have a conflict - please see protect_useraccount.txt to find a way around this.
-------------------------------------------------
UPDATES, SUPPORT, SUGGESTIONS, REQUESTS
-------------------------------------------------
To get older or new versions of my modifications, please visit the following sites:
DarkMods: http://darkmods.sourceforge.net (Old and New versions)
phpBBHacks.com: http://www.phpbbhacks.com/ (Latest version only)
Shaded Wings: http://cyborgcentral.dynip.com/~pd/ (Latest version only)
If you are having a problem with one of my modifications and would like support,
please visit either the DarkMods or phpBBHacks.com forums. I visit both of these
regularly and will try to answer any questions I see. phpBBHacks.com also has a
helpful Support Team that can answer many questions. It is not necessary to post
the same question on both forums unless you post at DarkMods and I (Thoul) cannot
answer your question.
If you would like to suggest a new feature, support the development of my
modifications with a donation, or discuss other aspects of them, you can do so at
the DarkMods site and/or forums. Demonstrations of some of my modifications are
also available there.
If you wish to be informed by e-mail when I release an update to this or my
other modifications, there's a mailing list you can subscribe to at:
http://lists.sourceforge.net/mailman/li ... s-announce
Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot]