vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Ban User From A Thread (https://vborg.vbsupport.ru/showthread.php?t=109416)

cavin420 11-30-2007 12:32 AM

yeah same error for me on 3.6.8... new version?

DeltaStrata 12-02-2007 06:46 PM

Likewise here. This mod's been on my liste of things to install for a few months now, and I finally get around to it....and it don't worke. =/

Konstantinos 12-09-2007 06:23 PM

Developer last online may 2006. this person doesnt come here anymore so its obvious that someone must port it to 3.6.x , i dont think he whould mind

Borden 12-17-2007 11:23 PM

This is what i get:

Database error in vBulletin 3.6.5:

Invalid SQL:
INSERT INTO datastore VALUES ('btu','');

MySQL Error : Column count doesn't match value count at row 1
Error Number : 1136
Date : Monday, December 17th 2007 @ 06:20:57 PM

C.ooder 12-18-2007 05:01 AM

Cool , Thank you

mclark2112 02-18-2008 11:16 PM

Would love to get this updated, it was a very useful hack...

Bilderback 02-20-2008 01:19 AM

I got it working by changing the database entries but it has a glitch.
Everything works with one problem:
If I unban a member from the View All page, it unbans them but redirects me to
a permission denied page.Other than the weird redirect, everything works for me on vb3.7.0beta5
Maybe a more experienced coder can add more input.
I changed the following in the product-btu.xml file before importing.
Original Code:
Code:

<installcode><![CDATA[$db->query("INSERT INTO " . TABLE_PREFIX . "datastore VALUES ('btu','')");]]></installcode>
<uninstallcode><![CDATA[$db->query("DELETE FROM " . TABLE_PREFIX . "datastore WHERE title = 'btu'");]]></uninstallcode>

My Updated Code:
Code:

<installcode><![CDATA[$vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "datastore ADD btu INT( 10 ) UNSIGNED DEFAULT '' NOT NULL");]]></installcode>
<uninstallcode><![CDATA[$vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "datastore DROP btu");]]></uninstallcode>

I would upload my working XML rewrite but I have not reached the author for permission to update the Product and I cannot guarantee that the above code is correct for database additions since I am new at coding.

FlyBoy73 03-23-2008 03:59 PM

I'm willing to pay someone to port this hack. PM me if u can and are interested.

fly 03-23-2008 04:06 PM

Quote:

Originally Posted by FlyBoy73 (Post 1472554)
I'm willing to pay someone to port this hack. PM me if u can and are interested.

Why not just make the change listed in the post above yours? I'm sure once 7 goes gold, the author (or someone) will update it...

maestrodamuz 03-29-2008 11:48 AM

I am new to administering vbulletin.
I have edited my template as the author suggested in the original product read me, but I can't see anywhere on the thread tools that allows me to ban a user....
looks like I am doin something wrong...or not doing something at all


All times are GMT. The time now is 07:18 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.01320 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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