[Release v2] Bump without Post (Moderators-Only Version)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tubedogg
    Senior Member
    • Feb 2001
    • 13602

    [Release v2] Bump without Post (Moderators-Only Version)

    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:
    require("./global.php"); 
    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
    Code:
    Stick / Unstick</a></smallfont>
    and replace it with
    Code:
    Stick / Unstick</a><br>
    <a href="postings.php?s=$session[sessionhash]&action=bump&threadid=$threadid">Bump</a></smallfont>
    That's it.

    Instructions are also included in the zip file (bump.txt).

    FEEDBACK WANTED! Likes/dislikes/modification requests all gladly accepted.
    Last edited by tubedogg; Thu 29 Mar '01, 4:05am.
  • PeF
    Senior Member
    • Oct 2000
    • 767

    #2
    If you wish, there is also a version in which you can allow any registered user, the first poster, or the last poster of any given thread to bump it. That is located here.
    The link doesn't work. <http:///>

    Suggestion:
    It'd be good if it can be enabled / disabled using the control panel.

    Comment

    • tubedogg
      Senior Member
      • Feb 2001
      • 13602

      #3
      Yeah sorry about the link I was in the process of posting the other one and didn't have the link yet. hehe

      As for the suggestion, I think that would take someone with a bit more knowledge than me.

      Comment

      • GameGalaxy
        New Member
        • Mar 2001
        • 24

        #4
        Why would you need to have it on/off?

        Don't you trust your mods enough to know they won't just go bumping threads.


        Thanks alot for making these 2 hacks, now I just need to decide which to use, the mod or the user one.

        Comment

        • Cygnus
          Member
          • Dec 2000
          • 85

          #5
          Tried this for 1.1.5 and it was a no go.

          Any ideas what I would need to change to make this work?

          Thanks!
          Cygnus

          Comment

          • CJ
            Member
            • Nov 2000
            • 81

            #6
            great hack tubedogg!

            Comment

            • tubedogg
              Senior Member
              • Feb 2001
              • 13602

              #7
              Thanks, CJ!

              Cygnus: I have no idea. I started working with vB at v2 beta 2, so I have no idea what the nuances of vB1 are. Sorry.

              Comment

              • markrt
                Member
                • Jun 2001
                • 45

                #8
                Hi

                I am installing your Auto bump for admins hack. I am having trouble finding Stick / Unstick</a></smallfont> in the showthread template??

                Please can you give me some idea where this is located as I cant even find the word Stick in this template?

                Thanks
                Mark

                Comment

                • GB
                  Member
                  • Feb 2001
                  • 95

                  #9
                  I dont see that code in the showthread template either. The only template i find something remotely close to that is the showthread admin template

                  [QUOTE5] In the showthread template, find
                  Code:
                  Stick / Unstick</a></smallfont>
                  and replace it with
                  Code:
                  Stick / Unstick</a><br>
                  <a href="postings.php?s=$session[sessionhash]&action=bump&threadid=$threadid">Bump</a></smallfont>
                  [/QUOTE]

                  Comment

                  • Thomas P
                    Senior Member
                    • Apr 2001
                    • 1497
                    • 5.6.4

                    #10
                    Hi there,

                    in vB 2.0 Gold the admin options for showthread went to the showthread_adminoptions template.

                    Since it isn't a link based thingy anymore, you have to add the following to get it into the dropdown box:

                    find:
                    Code:
                    <option value="stick">Stick / Unstick Thread</option>
                    below that add (you can place it wherever you want between the <select> statements):
                    Code:
                    <option value="bump">Bump</option>
                    Very easy...

                    Thanks for that great hack, tube!
                    cu,
                    -Tom
                    Last edited by Thomas P; Sat 28 Jul '01, 12:08am.
                    www.MCSEboard.de
                    German Windows Server & IT Pro Community dedicated to Windows Client & Server Systems. MVPs inside

                    Comment

                    • markrt
                      Member
                      • Jun 2001
                      • 45

                      #11
                      Thanks works wel now.

                      Great little hack.

                      mark

                      Comment

                      • GB
                        Member
                        • Feb 2001
                        • 95

                        #12
                        thanks ThomasP....works like a charm now

                        Comment

                        • Chen
                          Senior Member
                          • Jun 2001
                          • 8388

                          #13
                          Superb! Perfect hack!
                          Chen Avinadav
                          Better to remain silent and be thought a fool than to speak out and remove all doubt.

                          גם אני מאוכזב מסיקור תחרות לתור מוטור של NRG הרשת ע"י מעריב

                          Comment

                          • dxb
                            Senior Member
                            • Mar 2001
                            • 126

                            #14
                            dose this work with 2.0.3 i didnt try but i want to know if somebody tried it

                            Comment

                            • FWC
                              Senior Member
                              • Jul 2001
                              • 282

                              #15
                              Originally posted by dxb
                              dose this work with 2.0.3 i didnt try but i want to know if somebody tried it
                              I installed in on 2.0.3 a few days ago. Works great!
                              FWC
                              White Sox Interactive Forums

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...