Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-26-2006, 03:14 AM
AtoZ AtoZ is offline
 
Join Date: Jul 2002
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default troubleshooting problem with [img] code in signatures

I have the global setting for img code in signatures set to OFF. However, when a user puts image code in their signature, it still gets through. I can't figure out where the problem is occuring.

I tried posting this at vbulletin.com but I couldn't any leads other than "uninstall all modifications and turn off plugins then it will work." First of all, I don't have a TON of modifications, I only have a few custom templates, and I am not even sure where all my hacks are since I've had vbulletin for so long. Of course I am not going to start over from scratch and break a million things to get one thing working.

What I was asking there, and hope someone will answer here, is where can I look to find the problem that is causing this? I'm not asking for someone to solve the problem, but give me some information about how vbulletin controls this setting so I can investigate and find out why this is happening.

TIA for any ideas.
Reply With Quote
  #2  
Old 06-27-2006, 09:41 PM
AtoZ AtoZ is offline
 
Join Date: Jul 2002
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anyone that knows how vbulletin blocks the [img] code in signatures? If I can find where the global setting blocks the image I can investigate to see if I can manually switch it off in the code, or solve the problem with whatever is not allowing it to work.
Reply With Quote
  #3  
Old 06-28-2006, 12:47 AM
Guest210212002
Guest
 
Posts: n/a
Default

Are you perchance allowing HTML in sigs?
Reply With Quote
  #4  
Old 06-28-2006, 01:55 AM
AtoZ AtoZ is offline
 
Join Date: Jul 2002
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, HTML is not allowed. bbcode is allowed and smilies are allowed. Image code IS allowed in regular posts, but not sigs. I wondered if that was causing a problem, but I didn't think that it would.

I've looked through the code to see what I could figure out... My modifysignature template is the original so that is not the problem. I found in profile.php the part where it checks to see if the image code is on or off and displays 'On' or 'Off' in the forum rules box. This part of the code works, as it displays correctly that the img code is OFF:

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

I haven't been able to find anything else so far.

I'm hoping to find someone who knows the logic behind this setting so I can know where to look in the code for the problem. I've sorted through several files and can't find where the signature is checked for img code.

--------------------------------------------------------
This "doublepost" is an update. I'm glad I don't have this mod on my forum.

I figured out that this is not only affecting signatures... IMG code works all over the forum whether it is enabled or not. I had IMG code enabled on most forums, but when I tested it, images still were allowed even when it was turned off. I don't think anyone will be able to help me... I'll just live with it I guess. I have upgraded several times from version 2, so who knows where the problem is. After 3.5 I lost a lot of mods and only have a few minor ones remaining.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:16 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08565 seconds
  • Memory Usage 2,181KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (3)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete