This hack allows your moderators to bump a thread without posting in it. This is different from making a thread sticky in two ways: First, this will not append the thread title with "Sticky", and second, the thread will only be at the top of the thread list until another post is made, at which point it becomes second, so this is somewhat temporary (moreso on larger boards ).
If you wish, there is also a version in which you can allow any registered user, and/or the first, last, or any poster of any given thread to bump it. That is located here.
There is no demo or screenshot, but trust me, it works and looks lovely.
For version: v2 beta 3 (may also work on beta 1 and beta 2, but it is untested on those versions).
Files needed: postingsadd.txt, redirect_bump_template.txt (see attached zip file).
Files to edit: postingsadd.txt, postings.php, showthread.php (see instructions below).
Templates to edit/create: showthread, redirect_bump (see instructions below).
Instructions
1] Unzip the file posttingsadd.txt and redirect_bump_template.txt to your hard drive.
2] Open postings.php in an ASCII text editor, such as Notepad (Windows), SimpleText (Mac), EditPlus, UltraEdit, TextPad, etc. (DO NOT use WYSIWYG HTML editors such as FrontPage, HotDog, DreamWeaver, etc. They will in all likelyhood screw up the file! I will not be able to support you if you edit the file in one of these programs.)
3] Right below
insert the contents of posttingsadd.txt.
4] Create a new template called redirect_bump and add the contents of redirect_bump_template.txt.
5] In the showthread template, find
and replace it with
That's it.
Instructions are also included in the zip file (bump.txt).
FEEDBACK WANTED! Likes/dislikes/modification requests all gladly accepted.
If you wish, there is also a version in which you can allow any registered user, and/or the first, last, or any poster of any given thread to bump it. That is located here.
There is no demo or screenshot, but trust me, it works and looks lovely.
For version: v2 beta 3 (may also work on beta 1 and beta 2, but it is untested on those versions).
Files needed: postingsadd.txt, redirect_bump_template.txt (see attached zip file).
Files to edit: postingsadd.txt, postings.php, showthread.php (see instructions below).
Templates to edit/create: showthread, redirect_bump (see instructions below).
Instructions
1] Unzip the file posttingsadd.txt and redirect_bump_template.txt to your hard drive.
2] Open postings.php in an ASCII text editor, such as Notepad (Windows), SimpleText (Mac), EditPlus, UltraEdit, TextPad, etc. (DO NOT use WYSIWYG HTML editors such as FrontPage, HotDog, DreamWeaver, etc. They will in all likelyhood screw up the file! I will not be able to support you if you edit the file in one of these programs.)
3] Right below
PHP Code:
require("./global.php");
4] Create a new template called redirect_bump and add the contents of redirect_bump_template.txt.
5] In the showthread template, find
Code:
Stick / Unstick</a></smallfont>
Code:
Stick / Unstick</a><br> <a href="postings.php?s=$session[sessionhash]&action=bump&threadid=$threadid">Bump</a></smallfont>
Instructions are also included in the zip file (bump.txt).
FEEDBACK WANTED! Likes/dislikes/modification requests all gladly accepted.
Comment