vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - vBulletin-Yellow Pages with advertising management (https://vborg.vbsupport.ru/showthread.php?t=256995)

crowshead 08-06-2011 01:28 AM

How do I change ownership?

Can I set it up to do that automatically?

WarLion 08-06-2011 09:26 AM

tag hoping will update for 4.1.x

WarLion 08-06-2011 09:45 AM

fixed in the file vbyellowpages.php find in the line 881
PHP Code:

    // convert WYSIWYG
    
if ($vbulletin->GPC['wysiwyg'])
    {
        require_once(
DIR '/includes/functions_wysiwyg.php');
        
$message convert_wysiwyg_html_to_bbcode($vbulletin->GPC['message'], $catinfo['allowhtml']);
    }
    else
    {
        
$message =& $vbulletin->GPC['message'];
    } 

change for
PHP Code:

    // convert WYSIWYG
    
if ($vbulletin->GPC['wysiwyg'])
    {
        require_once(
DIR '/includes/class_wysiwygparser.php');
        
$html_parser = new vB_WysiwygHtmlParser($vbulletin);
        
$message $html_parser->parse_wysiwyg_html_to_bbcode($vbulletin->GPC['message'], $catinfo['allowhtml']);
    }
    else
    {
        
$message =& $vbulletin->GPC['message'];
    } 

in the line 3202 find
PHP Code:

    // convert WYSIWYG
    
if ($vbulletin->GPC['wysiwyg'])
    {
        require_once(
DIR '/includes/functions_wysiwyg.php');
        
$vbulletin->GPC['message'] = convert_wysiwyg_html_to_bbcode($vbulletin->GPC['message'], $vbulletin->options['allowhtml']);
    } 

change it for
PHP Code:

    // convert WYSIWYG
    
if ($vbulletin->GPC['wysiwyg'])
    {
        require_once(
DIR '/includes/class_wysiwygparser.php');
        
$html_parser = new vB_WysiwygHtmlParser($vbulletin);
        
$message $html_parser->parse_wysiwyg_html_to_bbcode($vbulletin->GPC['message'], $catinfo['allowhtml']);
    } 

and thats all

bjarne2 08-06-2011 12:06 PM

Can not see what these lines helps. There will be the same as before in the code. Yes it is newer link, but it does not help anything.....

Gripi 08-06-2011 12:19 PM

no more update from the developer?

really love this addon

bjarne2 08-07-2011 06:06 AM

Sorry Warlion - can see that the table will be formatted with the new code. I had more focus on images instead of a link and video instead of a link.

WarLion 08-07-2011 06:14 AM

im fixing too the images problems but the fist i find was the editor ;P

is been a while since my last mod and vb change so many from vb3 to vb4 lol

bjarne2 08-07-2011 07:26 AM

I can see the database that BB image tag is well saved. So it must be by reading it will be formatted incorrectly. The image should appear as it does in the Editor instead comes only link.

woffie 08-10-2011 09:24 AM

Quote:

Originally Posted by WarLion (Post 2230025)
fixed in the file vbyellowpages.php find in the line 881
PHP Code:

    // convert WYSIWYG
    
if ($vbulletin->GPC['wysiwyg'])
    {
        require_once(
DIR '/includes/functions_wysiwyg.php');
        
$message convert_wysiwyg_html_to_bbcode($vbulletin->GPC['message'], $catinfo['allowhtml']);
    }
    else
    {
        
$message =& $vbulletin->GPC['message'];
    } 

change for
PHP Code:

    // convert WYSIWYG
    
if ($vbulletin->GPC['wysiwyg'])
    {
        require_once(
DIR '/includes/class_wysiwygparser.php');
        
$html_parser = new vB_WysiwygHtmlParser($vbulletin);
        
$message $html_parser->parse_wysiwyg_html_to_bbcode($vbulletin->GPC['message'], $catinfo['allowhtml']);
    }
    else
    {
        
$message =& $vbulletin->GPC['message'];
    } 

in the line 3202 find
PHP Code:

    // convert WYSIWYG
    
if ($vbulletin->GPC['wysiwyg'])
    {
        require_once(
DIR '/includes/functions_wysiwyg.php');
        
$vbulletin->GPC['message'] = convert_wysiwyg_html_to_bbcode($vbulletin->GPC['message'], $vbulletin->options['allowhtml']);
    } 

change it for
PHP Code:

    // convert WYSIWYG
    
if ($vbulletin->GPC['wysiwyg'])
    {
        require_once(
DIR '/includes/class_wysiwygparser.php');
        
$html_parser = new vB_WysiwygHtmlParser($vbulletin);
        
$message $html_parser->parse_wysiwyg_html_to_bbcode($vbulletin->GPC['message'], $catinfo['allowhtml']);
    } 

and thats all

Just tested this and it fixes the problem. Thanks!

vb.help 08-27-2011 06:07 AM

I am able to install install this in my forum but when a registered user adds an entry it gets displayed for everybody without waiting for moderator or admin to review... i got PM message though as an Admin .. please help


All times are GMT. The time now is 06:21 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.01384 seconds
  • Memory Usage 1,785KB
  • 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
  • (8)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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