vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Display Enhancements - Encheferizer (https://vborg.vbsupport.ru/showthread.php?t=134327)

Tulsa 12-25-2006 11:51 AM

Even though I have both "victims see self encheferized" and "victims see all encheferized" both set to no, the encheferized member see their own posts encheferized.

If I'm reading this right, they are supposed to see their posts normal. Is this acting properly or am I misunderstanding the options use?

da420 12-25-2006 04:29 PM

Quote:

Originally Posted by Tulsa (Post 1144854)
Even though I have both "victims see self encheferized" and "victims see all encheferized" both set to no, the encheferized member see their own posts encheferized.

If I'm reading this right, they are supposed to see their posts normal. Is this acting properly or am I misunderstanding the options use?

I get the same thing. Also, when I set it to 'victims see all encheferized' they only see themselves encheferized, but not everyone else, and everyone can see the victims posts encheferized..

cheesegrits 12-26-2006 04:13 AM

Just to let y'all know I got to my destination ... three days of traveling, almost a thousand miles driven, half a dozen relatives and friends visited with ... it's great to finally be able to sit down and know we don't have to go anywhere for a couple of weeks (till that long haul back home!).

Anyway, it's midnight on Christmas night ... so Ho Ho Ho! I hope Santa was good to y'all, and I'll be back online tomorrow to answer your questions.

-- hugh

Tulsa 12-28-2006 12:54 AM

Another thing you need to look at is private messages. The titles become encheferized regardless of the user or thier status with this mod.

Tulsa 12-28-2006 02:36 AM

Hows this for weird?

I had one poster encheferized for testing, she replied in a thread and a few others did after her. I deleted their posts but left hers up. I had set her first so she couldn't see the effect then set it so she could. I then took her userid out of the mod, and saved it. She could still see that particular post encheferized. I could see it encheferized with her userid out of the mod.

Here's the really weird part though, I disabled the hack and we both could still see it encheferized. I then went to her post, edited it, without changing anything and saved it and then it was presented normal to everyone.

So it would appear at least from what I've seen that if you delete a post in a thread where someone has posted after they have been encheferized, it will stay that way even if the hack is disabled. How in the world is that happening?

OmniBuzz 12-29-2006 08:37 PM

Quote:

Originally Posted by Tulsa (Post 1146122)
Another thing you need to look at is private messages. The titles become encheferized regardless of the user or thier status with this mod.

I have the same issue : the title is encheferized when you open a PM. The bug is there even when the mod is not enabled (empty fields)
Weird

Adrian Schneider 12-29-2006 08:53 PM

To prevent it from mucking up your private messages, try this:

In the "Encheferizer - main postbit" plugin, replace this
PHP Code:

global $thread$encheferize_all_perps$encheferize_perps$chef_parser$swedish_chef$chefids$chefforumids$vuserid$chef_tag_list;

if (
in_array($GLOBALS['forumid'],$chefforumids) or (in_array($this->post['userid'],$chefids) and (!$vuserid or !in_array($vuserid,$chefids) or $encheferize_all_perps or ($encheferize_perps and $this->post['userid'] == $vuserid)))) 

with this
PHP Code:

global $thread$encheferize_all_perps$encheferize_perps$chef_parser$swedish_chef$chefids$chefforumids$vuserid$chef_tag_list;

$safeScripts = array(
    
'showpost',
    
'showthread'
);

if (
    
in_array(THIS_SCRIPT$safeScripts) and (
        
in_array($GLOBALS['forumid'],$chefforumids) or (
            
in_array($this->post['userid'],$chefids) and (
                !
$vuserid or
                !
in_array($vuserid,$chefids) or
                
$encheferize_all_perps or (
                    
$encheferize_perps and
                    
$this->post['userid'] == $vuserid
                
)
            )
        )
    )


Basically it prevents it from running in the private messages.

cheesegrits 12-30-2006 02:52 AM

Just so folk know, I asked Aj to take a look at the PM issue this afternoon, as I was absolutely slammed with Pesky Real Work, and simply couldn't take the time out. I'm about to roll his fix into a new ZIP. Thanks, Adrian.

As for the Encheferization sometimes remaining on some posts even after the product is disabled, I've only ever been able to duplicate this once, and I'm still not sure a) how the heck it was happening, or b) what I did to cure it. I'm absolutely, definitely, posolutely not touching the database - I checked when it happened to me, and the three affected posts were in plain text in the database.

It's obviously something to do with being cached elsewhere in vB, and / or some other mod or hack. I just can't work out where or how! Literally all my code does is modify template display variables, as close to where they are rendered in the templates as the hook locations allow. I just can't imagine what would then be taking just some of those variables and caching them. And the normal cache rebuild ACP options don't seem to help.

I'm going to try again tonight to duplicate the effect. If nothing else, I might try some defensive measures, like resetting the display variables as soon as possible after the templates are eval'ed.

Until then, all I can do is assure you the database is still intact, and it is a temporary situation. I just wish I knew what I'd done to cure the only time it's happened to me!

More news when there is news,

-- hugh

cheesegrits 12-30-2006 09:28 PM

OK, I finally tracked down the post caching bug. The new v1.04 I just uploaded fixes that, along with the PM title bug, and has improvements to bbcode handling.

If you have "ghost posts" you need to un-cache so they return to normal, you just have to edit the post and save it. This will re-cache the normal text version.

Upgrade instructions are in the main doc. It's a 30 second upgrade. Just upload bb_encheferizer.php to your ./includes folder, and re-import the product XML (remembering to "Allow Overwrite").

-- hugh

cheesegrits 12-30-2006 09:46 PM

Quote:

Originally Posted by Tulsa (Post 1144854)
Even though I have both "victims see self encheferized" and "victims see all encheferized" both set to no, the encheferized member see their own posts encheferized.

If I'm reading this right, they are supposed to see their posts normal. Is this acting properly or am I misunderstanding the options use?

Tulsa - Sorry about the delay responding, I've been travelling over the holidays, and then had to concentrate on the post caching bug.

Yes, you are reading it correctly. And I do apologize for the confusing nature of those descriptions - it's not an easy thing to explain in a consice fashion! I'll have another go here:

If both options are set to No, victims should see no encheferization at all - not of their own posts, or any other victims posts.

If "Victims See Self Encherized" is set to Yes, victims should see their own posts chefed, but they should see other victims (and everyone else) as normal text.

If "Victims See All Encheferized" is set to Yes, all victims will see their own and all other victims posts chefed. This setting overrides a "Self" setting of "No".

Non-victims always show in normal text, except of course in fully chefed forums, where all posts from anyone are chefed, and seen by everyone that way.

If your board really is behaving differently, let me know, and I can take a look. Make sure you upgrade to 1.04 first though, see if that has any effect.

-- hugh


All times are GMT. The time now is 02:08 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.01139 seconds
  • Memory Usage 1,765KB
  • 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_php_printable
  • (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