vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Ban Ignored/Specified Users from Replying v2.0 (https://vborg.vbsupport.ru/showthread.php?t=60844)

Catch-22|BL 02-16-2004 10:28 PM

Take your time and thanks for your efforts.

If nothing else, I can wait to see someone else with RC4 give it a try. :)

Allan 02-17-2004 06:57 AM

Quote:

Originally Posted by Catch-22|BL
Take your time and thanks for your efforts.

If nothing else, I can wait to see someone else with RC4 give it a try. :)

I am on RC4!

It misses a sentence one would say (see screen) another thing, at the time of the edition of a station or the user was banished, one cannot nothing to modify (screen2)

magnus 02-17-2004 09:37 AM

Quote:

Originally Posted by Socrate
I am on RC4!

It misses a sentence one would say (see screen) another thing, at the time of the edition of a station or the user was banished, one cannot nothing to modify (screen2)

You're missing a sentence because either a phrase is missing, more specifically:

[SQL]INSERT INTO `phrase` VALUES (17189, 0, 'banned_users_desc', 'List of users, separated by commas, who cannot reply to this thread. (ie. user1,user2)', 152);[/SQL]

or you forgot to add 'postingbans' to the $phrasegroup variable in newthread.php.

Also, you cannot modify the banned users by simply editing the first post -- you must edit the thread itself via "Thread Tools" -> "Edit Thread".

Allan 02-17-2004 10:04 AM

not, I have to check I have to add this request sql well
PHP Code:

INSERT INTO `phraseVALUES (171890'banned_users_desc''List of users, separated by commas,  who cannot reply to this thread. (ie. user1,user2)'152); 

indeed, I had to forget to add:
PHP Code:

'postingbans' 

veiled, after addition of that, I obtains this when I click on "newthread":
PHP Code:

Database error in vBulletin 3.0.0 Release Candidate 4:

Invalid SQL
        
SELECT 
        userfield
.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate,
        IF(
displaygroupid=0user.usergroupiddisplaygroupid) AS displaygroupid,
            
language.phrasegroup_threadmanage AS phrasegroup_threadmanage,
            
language.phrasegroup_posting AS phrasegroup_posting,
            
language.phrasegroup_postingbans AS phrasegroup_postingbans,
            
language.phrasegroup_global AS phrasegroup_global,
            
language.options AS lang_options,
            
language.languagecode AS lang_code,
            
language.charset AS lang_charset,
            
language.locale AS lang_locale,
            
language.imagesoverride AS lang_imagesoverride,
            
language.dateoverride AS lang_dateoverride,
            
language.timeoverride AS lang_timeoverride,
            
language.registereddateoverride AS lang_registereddateoverride,
            
language.calformat1override AS lang_calformat1override,
            
language.calformat2override AS lang_calformat2override,
            
language.logdateoverride AS lang_logdateoverride,
            
language.decimalsep AS lang_decimalsep,
            
language.thousandsep AS lang_thousandsep
        FROM user 
AS user
        INNER JOIN userfield 
AS userfield ON (user.userid userfield.userid)
        
INNER JOIN usertextfield AS usertextfield ON (usertextfield.userid user.useridINNER JOIN language AS language ON (language.languageid = IF(user.languageid 01user.languageid)) 
        
WHERE user.userid 1
    
mysql error
Champ 'language.phrasegroup_postingbans' inconnu dans field list

mysql error number1054 

AND, you known as to find this:
PHP Code:

'title' => STR 

But there are 2 text of this: ligne 472 and ligne 987, is it necessary to make the changes 2 times or right at the first ?

magnus 02-17-2004 04:40 PM

Quote:

Originally Posted by Socrate
PHP Code:

Database error in vBulletin 3.0.0 Release Candidate 4:
mysql errorChamp 'language.phrasegroup_postingbans' inconnu dans field list 


You didn't run all the queries in the .txt file, you need to run:

[SQL]INSERT INTO `phrasetype` VALUES (152, 'postingbans', 'User-Defined Posting Bans', 3);[/SQL]

Quote:

Originally Posted by Socrate
AND, you known as to find this:
PHP Code:

'title' => STR 

But there are 2 text of this: ligne 472 and ligne 987, is it necessary to make the changes 2 times or right at the first ?

Search for:
PHP Code:

        'reason' => STR,
        
'title' => STR 

Replace with:
PHP Code:

        'reason' => STR,
        
'title' => STR,
        
'bannedposters' => STR 


Allan 02-17-2004 05:57 PM

Quote:

Originally Posted by magnus
You didn't run all the queries in the .txt file, you need to run:

[SQL]INSERT INTO `phrasetype` VALUES (152, 'postingbans', 'User-Defined Posting Bans', 3);[/SQL]



Search for:
PHP Code:

        'reason' => STR,
        
'title' => STR 

Replace with:
PHP Code:

        'reason' => STR,
        
'title' => STR,
        
'bannedposters' => STR 


I remake the installation supplements 2 times, while checking well to have executer all the requests on virgin Rc4 of hack and your hack does not function, I always have same error SQL.

Then, please, take your txt file, to install Rc4 new locally and known as moa if you arrived has to make it function bus me, I do not arrive there !

magnus 02-17-2004 06:51 PM

Quote:

Originally Posted by Socrate
I remake the installation supplements 2 times, while checking well to have executer all the requests on virgin Rc4 of hack and your hack does not function, I always have same error SQL.

Then, please, take your txt file, to install Rc4 new locally and known as moa if you arrived has to make it function bus me, I do not arrive there !

I just installed this on my recently upgraded RC4 install, in fact, I was so confident I did it on my live forum. I followed my instructions, step-by-step, and it works flawlessly.

I would be glad to help you fix this, if you'd like. I'm sure it's a simple mistake. Could you create a temporary login/pass so I could check the edited files?

Allan 02-17-2004 08:12 PM

Quote:

Originally Posted by magnus
I just installed this on my recently upgraded RC4 install, in fact, I was so confident I did it on my live forum. I followed my instructions, step-by-step, and it works flawlessly.

I would be glad to help you fix this, if you'd like. I'm sure it's a simple mistake. Could you create a temporary login/pass so I could check the edited files?

the problem, I work locally for the moment, I waits left the version Gold de Vbulletin :)

I will test once again because the doubt takes to me, thank you has you to grant your time to me, I appreciate Socrate friendship :)

Allan 02-17-2004 08:55 PM

I see that you have to modify your joined file, you should still checking it because the request which follows does not exist, this:
Code:

// get special phrase groups
$phrasegroups = array('threadmanage');

does not exist in the template "newthread.php" :rolleyes:

your texte :
PHP Code:

*** Filenewthread.php

Find
:
##############################################################
// get special phrase groups
$phrasegroups = array('threadmanage');
##############################################################

Replace with:
##############################################################
// get special phrase groups
$phrasegroups = array('threadmanage''postingbans');
############################################################## 


magnus 02-17-2004 11:23 PM

Quote:

Originally Posted by Socrate
I see that you have to modify your joined file, you should still checking it because the request which follows does not exist, this:
Code:

// get special phrase groups
$phrasegroups = array('threadmanage');

does not exist in the template "newthread.php" :rolleyes:

your texte :
PHP Code:

*** Filenewthread.php

Find
:
##############################################################
// get special phrase groups
$phrasegroups = array('threadmanage');
##############################################################

Replace with:
##############################################################
// get special phrase groups
$phrasegroups = array('threadmanage''postingbans');
############################################################## 


Man, I need to stop drinking early in the afternoon. Yes, I modified the file earlier. That should be 'postings.php' -- not 'newthread.php'. It's fixed now. The added line, however, has no effect on functionality. It simply allows phrases to be used when editing the thread via Thread Tools.


All times are GMT. The time now is 09:26 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.01169 seconds
  • Memory Usage 1,796KB
  • 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
  • (12)bbcode_php_printable
  • (8)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