Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: , by tubedogg tubedogg is offline
Developer Last Online: Dec 2016 Show Printable Version Email this Page

Version: 2.0.x Rating:
Released: 03-28-2001 Last Update: Never Installs: 41
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-29-2001, 11:03 AM
Guest
 
Posts: n/a
Default

Quote:
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.
Reply With Quote
  #3  
Old 03-29-2001, 11:06 AM
Guest
 
Posts: n/a
Default

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.
Reply With Quote
  #4  
Old 03-30-2001, 01:54 AM
Guest
 
Posts: n/a
Default

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.
Reply With Quote
  #5  
Old 04-14-2001, 06:52 PM
Cygnus Cygnus is offline
 
Join Date: Nov 2001
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 04-21-2001, 05:35 PM
CJ
Guest
 
Posts: n/a
Default

great hack tubedogg!
Reply With Quote
  #7  
Old 04-21-2001, 07:22 PM
tubedogg's Avatar
tubedogg tubedogg is offline
 
Join Date: Oct 2001
Location: Medina, OH
Posts: 785
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 07-28-2001, 02:52 AM
markrt
Guest
 
Posts: n/a
Default

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
Reply With Quote
  #9  
Old 07-28-2001, 03:11 AM
GB
Guest
 
Posts: n/a
Default

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]
Reply With Quote
  #10  
Old 07-28-2001, 07:05 AM
ThomasP
Guest
 
Posts: n/a
Default

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
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:07 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10003 seconds
  • Memory Usage 2,279KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete