vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Moderators Functions - Ban from Thread (https://vborg.vbsupport.ru/showthread.php?t=158445)

FullyTested 10-13-2007 08:11 AM

tiredoff, please check your PM.

tiredoff 10-13-2007 07:32 PM

Quote:

Originally Posted by FullyTested (Post 1358829)
tiredoff, please check your PM.

hi
You received my PM?

tiredoff 10-13-2007 07:50 PM

Hi
I cannot find this in postbit_legacy 3). Find $template_hook[postbit_user_popup]
just i found i8t in postbit

FullyTested 10-15-2007 03:35 AM

Quote:

I cannot find this in postbit_legacy 3). Find $template_hook[postbit_user_popup]
Just add the code right ABOVE
Code:

        </table>
</div>
<!-- / post $post[postid] popup menu -->


I got your PM and emailed you the info you requested.

tiredoff 10-15-2007 10:10 AM

Quote:

Originally Posted by FullyTested (Post 1360383)
Just add the code right ABOVE
Code:

        </table>
</div>
<!-- / post $post[postid] popup menu -->


I got your PM and emailed you the info you requested.

above here ?
</table>
</div>
<!-- / post $post[postid] popup menu -->

tiredoff 10-15-2007 11:32 AM

Hi
After i add that above the code , i can see the link :) thank you
but just the ban from the thread or from the all forum ?

FullyTested 10-15-2007 04:40 PM

This mod only bans from threads.
I have one that will do both but it is not free :eek:

oceanizer 10-17-2007 05:36 AM

Hrm, I don't see "ban user" link under the username. What did possibly go wrong?

Also, is this correct from banning_PHP.txt?
Quote:

3). Find if (!$canbanuser)
and ABOVE insert:

// start code 'ban from thread'
// added ,'threadid' => TYPE_INT
// above
// end code 'ban from thread'
All quoted out? And there were multiple "if (!$canbanuser)."


= Edit =
Trying out the fix you gave to Tiredoff...

FullyTested 10-17-2007 05:45 AM

Hi,

First of all the ban from thread link under the username has to do with code in the postbit and/or postbit_legacy templates and not 'banning.php'.

Secondly,
Quote:

All quoted out? And there were multiple "if (!$canbanuser)."
Yes, all commented out as it is there only as reference for future VB file upgrades.
The "if (!$canbanuser)" is the one found right after step 2.

I hope this helps.

oceanizer 10-17-2007 05:49 AM

Thanks, Fullytested.

It turned out I was modifying postbit_legacy/postbit for a different skin. It shows up now. Sorry for the trouble.


All times are GMT. The time now is 10:39 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.01194 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_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