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)

LCN2007 02-09-2008 11:01 PM

How to set for unlimited bumps?

ringleader 02-10-2008 03:43 AM

Quote:

Originally Posted by LCN2007 (Post 1439676)
How to set for unlimited bumps?

Actually, I never thought of that. :o
But it could be a vulnerability (somehow).

Just set it to a ridiculous number and that will work ;)

Bubble #5 02-14-2008 07:55 PM

Is this compatible with 3.7? :confused:

ringleader 02-15-2008 06:23 AM

Quote:

Originally Posted by Bubble #5 (Post 1443173)
Is this compatible with 3.7? :confused:

Haven't a clue.
I don't know anything about v3.7 to know whether it would work on it.

Since hooks aren't removed, however, I would say that it does.
The placement of the code to show the 'bump/debump' bit in SHOWTHREAD template will more than likely have changed a little.

bada_bing 02-28-2008 02:44 AM

Any chance this works for VB 3.5.x ?

Thanks

ringleader 03-03-2008 06:52 AM

Quote:

Originally Posted by bada_bing (Post 1452617)
Any chance this works for VB 3.5.x ?

Thanks

I don't think so. I think the hooks used are not available in that version.

You could check by installing it - a simple uninstall will remove it if it doesn't work for you.

bada_bing 03-03-2008 11:20 AM

Has anyone tried this in a 3.5 version yet. Id rather not test on a production site...

justchil 03-03-2008 12:13 PM

Very cool! I'm glad you added the usergroup permissions into this hack :D

*installed*

apdcanari 03-09-2008 07:27 AM

Bonjour,

Voici une petite modification :

Search in SHOWTREAD :

Code:

                        <a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>
                </if>
                &nbsp;
                </div>
        </td>

After, add :

Code:

<if condition="$permissions['bumpthreadspermissions'] & $vbulletin->bf_ugp['bumpthreadspermissions']['canbump']">
<td class="tcat" align="$stylevar[right]">
<div class="smallfont">
<a href="postings.php?$session[sessionurl]do=bump&amp;t=$threadid" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/bump.gif" border="0" alt="$vbphrase[bump]" /></a>
</div>
</td>
</if>
<if condition="$permissions['bumpthreadspermissions'] & $vbulletin->bf_ugp['bumpthreadspermissions']['candebump']">
<td class="tcat" align="$stylevar[right]">
<div class="smallfont">
<a href="postings.php?$session[sessionurl]do=debump&amp;t=$threadid" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/debump.gif" border="0" alt="$vbphrase[debump]" /></a>
</div>
</td>
</if>

C?dric ;)

ringleader 03-10-2008 07:20 AM

Merci apdcanari, that's quite a nice idea!


All times are GMT. The time now is 03:05 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.01236 seconds
  • Memory Usage 1,740KB
  • 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_code_printable
  • (3)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