vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Problem with inline moderation... (https://vborg.vbsupport.ru/showthread.php?t=190925)

kud0gfx 09-14-2008 06:02 PM

Problem with inline moderation...
 
I have a real problem here...

What happens?
The inline moderation is "not working" in some ways, for example, editing a title in showforum, it edits all ok, but when you reload (f5) this haven't been saved... it happens in some forums, not all of them, i've compared one that works and one that doesn't and there is no difference... so is not a configuration/permission thing...

I have tried with the default theme, and neither is this the problem. too have actualized from 3.7.2 to 3.7.3pl1 (uploading all files except images) so this is not a problem with a .php file...

I've been installing some mods lately, but I think I get the guilty one 'Moderator Checkpoint System' I tried to install it, but I can't finish it (problems with template edits) so I uninstalled it... I've checked the .xml file and those are the actions that do installing that plugin:
Code:

<installcode><![CDATA[$db->hide_errors();

// Alter Post Table
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "post ADD ischecked TINYINT( 1 ) NOT NULL DEFAULT '0'");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "post ADD checkedby INT( 1 ) UNSIGNED NOT NULL DEFAULT '0'");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "post ADD checkedbyu VARCHAR( 100 ) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "post ADD checkedtime INT( 10 ) UNSIGNED NOT NULL DEFAULT '0'");

// Alter Moderator Table
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "moderator ADD cancheck TINYINT( 1 ) NOT NULL DEFAULT '0'");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "moderator ADD cancheck_whole TINYINT( 1 ) NOT NULL DEFAULT '0'");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "moderator ADD canuncheck TINYINT( 1 ) NOT NULL DEFAULT '0'");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "moderator ADD canuncheck_others TINYINT( 1 ) NOT NULL DEFAULT '0'");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "moderator ADD canuncheck_whole TINYINT( 1 ) NOT NULL DEFAULT '0'");

// Alter Thread Table
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "thread ADD checkcount INT( 10 ) UNSIGNED NOT NULL DEFAULT '0'");

$db->show_errors();]]></installcode>
                        <uninstallcode><![CDATA[$db->hide_errors();

// Drop Post Columns
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "post DROP ischecked");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "post DROP checkedby");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "post DROP checkedbyu");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "post DROP checkedtime");

// Drop Moderator Columns
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "moderator DROP cancheck");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "moderator DROP cancheck_whole");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "moderator DROP canuncheck");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "moderator DROP canuncheck_others");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "moderator DROP canuncheck_whole");

// Drop Thread Columns
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "thread DROP checkcount");

$db->show_errors();]]></uninstallcode>

Well, that's the only plugin that affects the area where i've problems (moderation actions in showforum)

I don't know what to do, but I own a large forum, and is a problem can edit titles by showforum....

Thanks to everybody who helps people here ;)

Opserty 09-14-2008 06:13 PM

Quote:

The inline moderation is "not working" in some ways, for example, editing a title in showforum, it edits all ok, but when you reload (f5) this haven't been saved...
Sometimes it takes a bit of time to save the edit, just wait for about 10 seconds before you reload and it should save.

kud0gfx 09-14-2008 06:20 PM

I just tried it now, i've waited about 30 seconds, and have the same problem... :(

Opserty 09-14-2008 06:35 PM

To troubleshoot this, please create a new Style with no Parent set. Now browse the forum using this new style, do you still have the same problems?

If your problem still exists, reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server.

If so, disable your plugins, then see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

PHP Code:

define('DISABLE_HOOKS'true); 


kud0gfx 09-15-2008 05:52 AM

Quote:

Originally Posted by Opserty (Post 1622173)
To troubleshoot this, please create a new Style with no Parent set. Now browse the forum using this new style, do you still have the same problems?

Quote:

Originally Posted by kud0gfx (Post 1622144)
I have tried with the default theme, and neither is this the problem.


Quote:

Originally Posted by Opserty (Post 1622173)
If your problem still exists, reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server.

Quote:

Originally Posted by kud0gfx (Post 1622144)
too have actualized from 3.7.2 to 3.7.3pl1 (uploading all files except images) so this is not a problem with a .php file...


Quote:

Originally Posted by Opserty (Post 1622173)
If so, disable your plugins, then see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under
PHP Code:

define('DISABLE_HOOKS'true); 


I forget to mention it, but i've tried it too...

:(:(:(:(:(

--------------- Added [DATE]1221525873[/DATE] at [TIME]1221525873[/TIME] ---------------

i've a real problem here... nobody can help? :(

kud0gfx 09-16-2008 09:08 PM

bump, pleaaase some help will be really apreciated...

Lynne 09-16-2008 09:14 PM

Have you tried looking in your error_logs to see if there is an error being generated? Is it consistent in which forums it works in and which it does not - ie. it always works in forums 1,2, and 3, but never in forums 4,5, and 6?

kud0gfx 09-16-2008 09:25 PM

where can i find the errors log?

yes, it's always consistent, forum 1 always work, forum 2 always doesnt....

thx for the help

Lynne 09-16-2008 10:14 PM

On my site, the error_logs are in /home/mysite/logs

Do you have any modifications that only affect some forums and not others? As for the Moderation Checkpoint System, did this problem with moderation just start when you tried to install it? The table alters would affect all the forums, so I don't think that is it.

kud0gfx 09-19-2008 02:14 AM

Hey, finally I discovered where is the problem it's with the titles with an "ñ" a tipycal spanish character, we changed our server for a better one, and I'guess the problem will be in the ymsql configuration or something... do you know what exactly is?


All times are GMT. The time now is 08:55 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.01667 seconds
  • Memory Usage 1,747KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete