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
  #22  
Old 01-22-2002, 11:06 AM
Stretchr's Avatar
Stretchr Stretchr is offline
 
Join Date: Dec 2001
Location: Georgia, USA
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

According to this it should work since 2.2.1 was a bug fix. HTH leased:
Quote:
Originally posted by dahamsta
Installed on 2.2, seems to be working ok.

adam
Reply With Quote
  #23  
Old 01-25-2002, 10:10 PM
Xelation's Avatar
Xelation Xelation is offline
 
Join Date: Jan 2002
Location: Buffalo, New York
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed it and it works fine! I added the modifications that Arie made to. Keep up the good work!
Reply With Quote
  #24  
Old 02-11-2002, 08:09 PM
irn-bru's Avatar
irn-bru irn-bru is offline
 
Join Date: Feb 2002
Location: Scotland
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanx for the nice hack works well

cheers
Reply With Quote
  #25  
Old 02-12-2002, 12:48 AM
Austin Dea's Avatar
Austin Dea Austin Dea is offline
 
Join Date: Dec 2001
Location: Denver, CO, USA
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does it work on 2.2.2?
Reply With Quote
  #26  
Old 02-12-2002, 02:21 AM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Austin Dea
Does it work on 2.2.2?
Yes.
Reply With Quote
  #27  
Old 02-14-2002, 04:10 PM
CloudBurst CloudBurst is offline
 
Join Date: Dec 2001
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

2.2.2 , works fine cool hack!
Reply With Quote
  #28  
Old 02-24-2002, 10:22 PM
Joshua Clinard Joshua Clinard is offline
 
Join Date: Nov 2001
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I couldn't find this text

code:
Stick / Unstick</a></smallfont>

Or anything similar in the template, so I couldn't install it!
Reply With Quote
  #29  
Old 02-25-2002, 02:36 AM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Joshua Clinard
I couldn't find this text

code:
Stick / Unstick</a></smallfont>

Or anything similar in the template, so I couldn't install it!
Try showthread_adminoptions.
Reply With Quote
  #30  
Old 03-19-2002, 01:36 AM
ZiRu$'s Avatar
ZiRu$ ZiRu$ is offline
 
Join Date: Jan 2002
Location: Manitoba, Canada
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Hack I will test it on 2.2.4
Reply With Quote
  #31  
Old 03-19-2002, 01:47 AM
Joshua Clinard Joshua Clinard is offline
 
Join Date: Nov 2001
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's not in that template either. Sorry.
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 12:54 AM.


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.04626 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_code
  • (1)bbcode_php
  • (3)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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