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)
-   -   New Posting Features - Default User Text Formatting (font styling) . Zero Query! (https://vborg.vbsupport.ru/showthread.php?t=231923)

justicechick 11-18-2013 08:42 AM

Quote:

Originally Posted by ozzy47 (Post 2451208)
Without the error, no one can help.

Hi Ozzy! I loved this mod, however it did give me a error when first installing 4.2.2 , I dont remember the exact error though. But I went back and reinstalled it to try to get the error for you and so far no error this time. It just doesnt work and looks very strange when you go to the setting area. ------>>> https://vborg.vbsupport.ru/external/2013/11/25.png

In post there is no change in anything though.

ezak 11-19-2013 08:25 AM

when enable this mod in vb 4.2.2 . its show this error
Code:

Warning: Only variables should be assigned by reference in ..../includes/class_bootstrap.php(909) : eval()'d code on line 7

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at ..../includes/class_core.php:5755) in ..../includes/facebook/facebook.php on line 49

and its doesn't work

please anyone can update it to the latest version of vb

justicechick 11-22-2013 06:32 PM

Quote:

Originally Posted by ezak (Post 2462032)
when enable this mod in vb 4.2.2 . its show this error
Code:

Warning: Only variables should be assigned by reference in ..../includes/class_bootstrap.php(909) : eval()'d code on line 7

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at ..../includes/class_core.php:5755) in ..../includes/facebook/facebook.php on line 49

and its doesn't work

please anyone can update it to the latest version of vb

I had trouble when I upgraded to 4.2.2 as well, first the error then the problem I posted prior to this post. I re downloaded the file here though and reinstalled it after uninstalling the other and it is working now. I'm thinking ( I might be wrong though) that it is a conflict this mod is having with another mod. Bc I had some other modifications still giving me that code and after removing them this modification is working. If you need any help let me know and I can try to help figure it out with you.

https://vborg.vbsupport.ru/external/2013/11/22.png

scoutz 11-29-2013 03:01 AM

It worked fine, and I set everything. When i went to the profile.php page it was really broken.

ezak 11-29-2013 08:06 PM

I found the plugin which make that all problem

plugin: NLP - User Text Formatting -init our vars
Hook: global_state_check
code:
PHP Code:

// include(DIR . "/products_svn/nlp_usertextformatting/global_state_check.php");
if($vbulletin->options['nlp_usertextformatting_active']) {
    
// Setup usertextformatting -> added to vBulletin Object.
    
$vbulletin->usertextformatting =& unserialize($vbulletin->userinfo['usertextformatting']);
    
// allowed usergorups. Init
    
$vbulletin->usertextformatting['groups'] = unserialize($vbulletin->options['nlp_usertextformatting_groups']);
    
// check Groups. (using is_member_of(); to get acutal user group. (more than one group))
    
if(!is_member_of($vbulletin->userinfo$vbulletin->usertextformatting['groups'])) {
        
// if not .. disable mod.
        
$vbulletin->options['nlp_usertextformatting_active'] = false;
    }
    
// locations init.
    
$vbulletin->usertextformatting['loc'] = unserialize($vbulletin->options['nlp_usertextformatting_locations']);
    
// check locations.
    
if(THIS_SCRIPT !== 'profile' AND (!isset($vbulletin->usertextformatting['loc'][THIS_SCRIPT]) OR $vbulletin->usertextformatting['loc'][THIS_SCRIPT] == false)) {
        
$vbulletin->options['nlp_usertextformatting_active'] = false
    }   


anyone can fix this code to make is working without problem ?

\\ edit

specially in this line
Code:

$vbulletin->usertextformatting =& unserialize($vbulletin->userinfo['usertextformatting']);
and if you remove the '&'
to be
Code:

$vbulletin->usertextformatting = unserialize($vbulletin->userinfo['usertextformatting']);
the error will gone , but the mod will not working,

anyone can test on it and fix this code ?

letsjoy 12-01-2013 02:55 AM

Coder Please fix the plugin...

shahidbaloch 12-21-2013 08:00 PM

1 Attachment(s)
Dear Coder
i am using Vbulletin 4.2.2
when i try to use this Mod it return following error

Warning: Only variables should be assigned by reference in ..../includes/class_bootstrap.php(909) : eval()'d code on line 4

and setting page looks like this

Attachment 147638

i am not using any other font mod.
please fix the error i want this Mod.
looking forward for fixing

shahidbaloch 12-23-2013 06:45 PM

no reply? :(
plz help me for this prob

ozzy47 12-23-2013 06:54 PM

Try the appropriate XML, I am guessing, the AR-[Product]-Default-User-Text-Formatting.[Hz].v2.0.1 one is Arabic, and of course the EN-[Product]-Default-User-Text-Formatting.[Hz].v2.0.1 is English.

Edit: Attachments removed, mod needs more work.

shahidbaloch 12-23-2013 07:14 PM

Quote:

Originally Posted by ozzy47 (Post 2470212)
Try the appropriate XML, I am guessing, the AR-[Product]-Default-User-Text-Formatting.[Hz].v2.0.1 one is Arabic, and of course the EN-[Product]-Default-User-Text-Formatting.[Hz].v2.0.1 is English.

I am using 2nd file English version but its givig this error

Warning: Only variables should be assigned by reference in ..../includes/class_bootstrap.php(909) : eval()'d code on line 4
Unable to add cookies, header already sent.
File: /home/...................../includes/class_core.php
Line: 5755

its is necessary to upload language pack file?if yes then in which directory?


All times are GMT. The time now is 03:10 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.02475 seconds
  • Memory Usage 1,759KB
  • 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
  • (4)bbcode_code_printable
  • (1)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