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-12-2007 05:34 AM

Well I'm afraid I cannot read that :)
Do you at least get the ban link in the postbit?
Do you have the ban option in the admin/mod cp?

It all should work. You must have cut-and-pasted something wrong.

tiredoff 10-12-2007 05:43 AM

Quote:

Originally Posted by FullyTested (Post 1358033)
Well I'm afraid I cannot read that :)
Do you at least get the ban link in the postbit?
Do you have the ban option in the admin/mod cp?

It all should work. You must have cut-and-pasted something wrong.

well sorry for u cannot read it
i see only in th admincp {view banned from thread user}
i didnt see the ban link in the postbit

FullyTested 10-12-2007 05:53 AM

It looks like the 'ban_from_thread' product was not imported properly.
Perhaps it stopped half way through.
Try importing it again and don't forget to select 'allow overwrite' when doing so.

tiredoff 10-12-2007 05:59 AM

Quote:

Originally Posted by FullyTested (Post 1358046)
It looks like the 'ban_from_thread' product was not imported properly.
Perhaps it stopped half way through.
Try importing it again and don't forget to select 'allow overwrite' when doing so.

I imported it again and still the same thing
i dont see the image too in the thread , i uploded it to image/buttom too

tiredoff 10-12-2007 06:07 AM

I will check every thing again and will reply you
sorry for bothering you

tiredoff 10-12-2007 06:21 AM

1). Open the banning.php file
2). Find 'period' => TYPE_STR
and REPLACE it with:

'period' => TYPE_STR,
'threadid' => TYPE_INT <---this dont need (,) or just like seen ?

FullyTested 10-12-2007 07:43 AM

It does not matter if you add a comma or not.

It's no bother. It's just that I cannot help you without looking at your php files to see where you went wrong.
But if you do not see the ban link in the username drop down menu then that would mean that you either did not modify the template properly or the product was not imported correctly somehow.
Or perhaps you have another mod installed that is causing this one to break.

By the way, a moderator would not see the ban link (or little ban icon when the user is banned) unless they have banning rights for that particular forum.

ehsanix 10-12-2007 10:53 AM

Excellent

pollon 10-12-2007 05:31 PM

Great. Installed :up:

tiredoff 10-13-2007 08:03 AM

Quote:

Originally Posted by FullyTested (Post 1358100)
It does not matter if you add a comma or not.

It's no bother. It's just that I cannot help you without looking at your php files to see where you went wrong.
But if you do not see the ban link in the username drop down menu then that would mean that you either did not modify the template properly or the product was not imported correctly somehow.
Or perhaps you have another mod installed that is causing this one to break.

By the way, a moderator would not see the ban link (or little ban icon when the user is banned) unless they have banning rights for that particular forum.

If you like i can make a link to the php files , and u can check all them :)
and taking screenprint to the post_legacy and postbit too
i will be greatfull with you


All times are GMT. The time now is 10:58 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.01051 seconds
  • Memory Usage 1,734KB
  • 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
  • (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