The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
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 PHP Code:
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. Show Your Support
|
Comments |
#32
|
||||
|
||||
Quote:
<option value="stick">Stick / Unstick Thread</option> You want to put it under that. |
#33
|
||||
|
||||
thats right
you'll see <option value="stick">Stick / Unstick Thread</option> in showthread_adminoptions put THIS under it..... not what it says <option value="postings.php?s=$session[sessionhash]&action=bump&threadid=$threadid">Bump Thread</option> |
#34
|
|||
|
|||
Well mine doesn't have it. I searched for the word stick, and and instick and neither one of them are there. I have reverted my templates as well. Maybe my upgrade didn't overwrite that template or somthing. I'll create a support ticket, and see if they can fix it.
|
#35
|
||||
|
||||
Nice Hack but the zip file needs to have updated instructions. If not for reading all the way through this thread this hack would not work. Editing/updating the first post with current info would be wise, too.
|
#36
|
|||
|
|||
Or someone else could just re-write it as I suppose files have changed A LOT since 2.0.0 to 2.2.6
|
#37
|
||||
|
||||
I want this hack, but figuring it was made for vB2 beta 3 and I have 2.2.6, I am kind of ify that it will work right....
|
#38
|
||||
|
||||
If you do everything right, it will work. Read the whole thread.
|
#39
|
||||
|
||||
The text file says to add the bump code to the showthread template. You must mean showthread_adminoptions. I'm using vB 2.2.9. The code that works in that template for that is;
under Code:
<option value="stick">Stick / Unstick Thread</option> Code:
<option value="bump"><a href="postings.php?s=$session[sessionhash]&action=bump&threadid=$threadid">Bump</a></option> |
#40
|
|||
|
|||
this hack works on v2.3.0 nice job.
|
#41
|
|||
|
|||
great hack, i've just installed it on 2.3.0
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|