vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Pig's configurable rep gems (https://vborg.vbsupport.ru/showthread.php?t=105156)

WNxWakko 01-12-2006 09:48 PM

This is frustrating. Cant figure out why your mod does this.

boozehound 01-12-2006 09:55 PM

Quote:

Originally Posted by WNxWakko
This is frustrating. Cant figure out why your mod does this.

Neither can I, it doesn't have anything to do with posting. Can you try disabling the mod's plugins one by one to determine which one the problem lies with?

WNxWakko 01-12-2006 10:01 PM

Well if I turn off Reputation gem levels - fetch_reputation_image() then i can quick reply. If I turn off the other one, I get all kinds of crazy errors. Not sure if this helps.

WNxWakko 01-12-2006 10:41 PM

Alright, I figured out how to fix this.

Change this
Quote:

if(in_array(THIS_SCRIPT, array('showthread','showpost','memberlist','member ','private')))
to this
Quote:

if(in_array(THIS_SCRIPT, array('showthread','showpost','memberlist','member ','private','newreply')))

boozehound 01-12-2006 10:45 PM

Quote:

Originally Posted by WNxWakko
Alright, I figured out how to fix this.

Change this


to this

Aha, schoolboy error on my part. Thanks. Product updated.

WNxWakko 01-13-2006 01:54 AM

Few more things. I noticed when you edit a post using the ajax editing, when you save all the rep images disappear. So you need to add editpost in your array also.

Quote:

if(in_array(THIS_SCRIPT, array('showthread','showpost','memberlist','member ','private','newreply',editpost)))
Also as a suggestion, I would recommend rather than an array, a comparison as its faster. I have a large board so optimization is important.

If you change what I posted right above with this it will be faster,

Quote:

if ((THIS_SCRIPT == 'showthread') OR (THIS_SCRIPT == 'showpost') OR (THIS_SCRIPT == 'memberlist') OR (THIS_SCRIPT == 'member') OR (THIS_SCRIPT == 'ajax') OR (THIS_SCRIPT == 'private') OR (THIS_SCRIPT == 'newreply') OR (THIS_SCRIPT == 'editpost'))

boozehound 01-13-2006 02:56 PM

Quote:

Originally Posted by WNxWakko
Few more things. I noticed when you edit a post using the ajax editing, when you save all the rep images disappear. So you need to add editpost in your array also.



Also as a suggestion, I would recommend rather than an array, a comparison as its faster. I have a large board so optimization is important.

If you change what I posted right above with this it will be faster,

Nice one.

WNxWakko 01-13-2006 09:43 PM

Hate to burst your bubble again, lol error message on annoucements,

Need to add one more,

Quote:

(THIS_SCRIPT == 'announcement')

boozehound 01-13-2006 11:12 PM

Quote:

Originally Posted by WNxWakko
Hate to burst your bubble again, lol error message on annoucements,

Need to add one more,

Cheers, updated.

OAndrea 01-25-2006 01:08 AM

can I use this hack with the extended reputation hack?


All times are GMT. The time now is 05:32 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.01246 seconds
  • Memory Usage 1,738KB
  • 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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