vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - [AJAX] Thread Bumping 1.1 (https://vborg.vbsupport.ru/showthread.php?t=137796)

sebbe 01-27-2007 10:00 PM

[AJAX] Thread Bumping 1.1
 
1 Attachment(s)
[AJAX] Thread Bumping 1.2

What is this?
This hack well let you bump threads and make them show up at the top of the forum again even though no new post has been added to it. This is done by simply double clicking in a cell on forumdisplay (see screenshots). On bump it will update the thread's lastpost date to the current time, the last post inside will not be affected.

Installation
See install.txt in the .zip archive. (~ 3 minutes)

Upgrade (from 1.0 to 1.1)
Revert the template "threadbit" and then repeat all steps in install.txt. Make sure to have the option "Allow Overwrite" checked when importing the product again. Also don't forget to overwrite the old threadbump.js with the new one.

Upgrade (from 1.1 to 1.2)
You need only import the product.xml found in the .zip package and make sure to have the option 'Allow Overwrite' set to Yes. No template edits required and no need to upload threadump.js.

Version 1.1
* Updates forumhome so the bumped thread will show up there, just as it should
* Correctly displays the new bumped thread for the bumper
* Correctly displays the new bumped thread under stickys in that forum, if there are any


Version 1.2
* Security fix


* Note
If you have the "separate stickys" hack installed you can edit the plugin executed at hook "forumdisplay_start" and replace $tstickys = 0; with $tstickys = 1;. I haven't tested this but that should work.

Pleas click INSTALL if you're using this hack.

sebbe 01-28-2007 09:32 PM

*Reserved*

Jon_Simmonds 01-28-2007 09:41 PM

nice idea :)

instaled

FleaBag 01-28-2007 10:33 PM

Can I limit a thread bump to thread starter, and once per x hours?

sebbe 01-28-2007 10:44 PM

Quote:

Originally Posted by FleaBag (Post 1169349)
Can I limit a thread bump to thread starter, and once per x hours?

At the moment no, but definitely possible features for next version, if more wants it that is.

Snake 01-28-2007 11:07 PM

Wow this is awesome!

Jorrit787 01-28-2007 11:48 PM

Why would you make it use AJAX if you can't satisfactorily do what you want it to do without refreshing the page? :rolleyes:

Hornstar 01-29-2007 07:22 AM

I have been waiting for this for so long. There is another one on vb, that Is working for 3.6.4 however it is a little buggy now as it was made for a much earlier version, and it doest work as good as this.

I would also love a debump feature. also a setting to debump it by x hours, days etc. with a limit of course, just incase a mod desides to debump it too much. (Limit set in admincp)

I know this may be a little hard, but it is something that I would love so much.

Thanks.

soulface 01-29-2007 08:47 AM

nice. installed. working fine but it should also update the last post info in FORUMHOME aswell.

sebbe 01-29-2007 11:15 AM

Quote:

Originally Posted by Jorrit787 (Post 1169398)
Why would you make it use AJAX if you can't satisfactorily do what you want it to do without refreshing the page? :rolleyes:

Because one can bump threads very quickly. In next release that's fixed ;)


Next version fixes the sticky bug so that it's placed below stuck threads, makes the title bold, adds new statusicon, replaces timestamp. So far also added the fix on FORUMHOME.

I'm a bit busy atm but it will be released any day soon.


All times are GMT. The time now is 02:25 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01156 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete