vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Error after style update when editing posts, smileys dissapear (https://vborg.vbsupport.ru/showthread.php?t=235536)

falco008 02-10-2010 07:47 PM

Error after style update when editing posts, smileys dissapear
 
hi all,

I modified our forum with a new style , that I copied from a test version,
now when we make posts we have the following issue :

when entering a smiley in a post I get a smiley

but when i edit the post and save it its adds a \ and shows the image url

<img src=\"http://www.pokerclub.be/forum/images/smilies/smiley.gif\" alt=\"\" title=\"Smile\" smilieid=\"211\" class=\"inlineimg\" border=\"0\">

also typing something like "that's" , it rewrites the post to "thats\' "

any ideas

to view in action :

http://www.pokerclub.be/forum/showthread.php?t=13921

Lynne 02-11-2010 02:03 AM

I would upload another copy of the style and start reverting templates until you get it to work correctly. I am kinda surprised a style is doing this.

falco008 02-11-2010 06:49 AM

Actually you were right it is not the style..

I discovered the style also had this in the test version

I wanted to integrate wordpress headers in the vbulletin forum so I activated a plugin to call the header info from wordpress...

this works as you can see on the site.. but apparantly somehow a trailing slash gets added when using ' " or editting smileys ..?

anyone any idea ?

when I disable the plugin everything works fine..but I need the plugin to get a header/logo/ in the forum

this is the code in the plugin that calls the header from wordpress

ob_start();
include($_SERVER['DOCUMENT_ROOT'].'/wp-load.php');
include($_SERVER['DOCUMENT_ROOT'].'/wp-content/themes/gazette/header.php');
$wp_header = ob_get_contents();


All times are GMT. The time now is 03:04 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.01915 seconds
  • Memory Usage 1,710KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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