vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - Bump or de-bump thread w/ usergroup permissions (https://vborg.vbsupport.ru/showthread.php?t=156627)

pollon 09-01-2007 12:34 PM

Quote:

Originally Posted by xLYNZx (Post 1330048)
i get an image with "REP" on instead!!

Same here. If I click one it says invalid function.

I have TMS.

ringleader 09-03-2007 07:00 AM

Quote:

Originally Posted by LCN2007 (Post 1329567)
It lets me set the User permissions but its inop in the thread tools just shows two people images but no text and when i click one it says invalid function.

One other thing if you set the limit to 0 is that unlimited?

It's set to the default 'reputation' image.
The phrases are not installing, it seems.

Go to 'Languages and Phrases', 'Add New Phrase'.
Type -> Global
Product -> bump or de-bump threads
varname -> bump
Text -> Bump Thread

And add another phrase with the varname 'debump'.

ringleader 09-03-2007 07:39 AM

*update: the SQL queries in the original product were not installing phrases and table columns correctly, thereby causing the problems some people experienced. Please re-download and install again if you are experiencing problems.

Apologies to all those who were caused hassle.

pollon 09-03-2007 11:07 AM

I've reinstalled it and I've added those phrases but when i click on the link it gives me "invalid function".

ringleader 09-03-2007 02:24 PM

Do you know how to add a plugin?
There's one missing from yours.

Go to Plugins and Products System -> Add Plugin
Product: bump or de-bump threads
Hook Location: threadmanage_action_switch
Title: Action Switch
Plugin Php Code:
Code:

if ($_REQUEST['do'] == 'bump' OR $_REQUEST['do'] == 'debump')
{
        $handled_do = true;
        if (!$threadinfo['threadid'])
        {
                eval(standard_error(fetch_error('invalidid', $vbphrase['thread'], $vbulletin->options['contactuslink'])));
        }
}

I swear that'll sort it for you.
...and thanks for even bothering to troubleshoot this.

LCN2007 09-04-2007 02:54 AM

I think its working now thanks for your help but i wont be sure until my site goes live ill let you know.

misuse 09-04-2007 03:31 AM

Is it possible to debump more than 1 day at a time? Like 10 days? Thanks for the hack!

ringleader 09-04-2007 08:52 AM

Quote:

Originally Posted by misuse (Post 1331891)
Is it possible to debump more than 1 day at a time? Like 10 days? Thanks for the hack!

Yep, but you would have to change some code in the plugins as it is hardcoded into it.
Any bit that says 86400 means one day (in seconds).
So if you set it to 864000 that would de-bump by ten days.

But then that would mean you would always be de-bumping by that many days.

y2krazy 09-06-2007 02:13 AM

Just wondering, but is this accurate:

Quote:

Not Supported
Or, do you plan to provide support for this (as it seems you have been doing since it's release in this thread)?

ringleader 09-06-2007 08:11 AM

Quote:

Originally Posted by y2krazy (Post 1333297)
Just wondering, but is this accurate:

Or, do you plan to provide support for this (as it seems you have been doing since it's release in this thread)?

More of an indicator that I might forget about it, likely won't upgrade it, and probably won't be able to solve any weird errors people may potentially get that I've seen on other mod release threads.


All times are GMT. The time now is 08:17 PM.

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.01432 seconds
  • Memory Usage 1,737KB
  • 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
  • (1)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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