Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Default User Text Formatting (font styling) . Zero Query! Details »»
Default User Text Formatting (font styling) . Zero Query!
Version: 2.0.1, by Almotmaiz.Net Almotmaiz.Net is offline
Developer Last Online: Oct 2013 Show Printable Version Email this Page

Category: New Posting Features - Version: 4.0.x Rating:
Released: 01-01-2010 Last Update: 01-02-2010 Installs: 209
Uses Plugins Template Edits Auto-Templates
Code Changes Translations  
No support by the author.

Default User Text Formatting 2.0.1

Default User Text Formatting - Allow users to chose there default text formatting from (User CP).and applied on new threads, new replies and group discusses With inline styling preveiw and Zero Query!

AdminCP controller.[hr]100%[/hr]
  1. ability to turn it on or Off.
  2. ability to set font types
  3. ability to set font colors.
  4. ability to set font sizes.
  5. ability to set groups (Allowed Groups.) - new
  6. ability to set woking locations. - new
    • New thread
    • New reply / Quick reply box.
    • Visitor messages.
    • Private messages ( New & reply).
    • Groups discussion.
  • for my bad English so, the screen shots will be more descriptive (2nd Post.).
Installing & Upgrading.[hr]100%[/hr]
  1. download latest version on attachment.
  2. upload XML file via Upload/Add Product. (chose Over-write if Upgrade.)
  3. Edit your admincp settings.
  4. Finish.
MAKE SURE YOU CLICK INSTALL!
You will get an email when a new version is released.

IF YOU LIKE IT Nominate for MOTM
thats will support me a lot.


History.[hr]100%[/hr]
  • 2.0.1
    • fix - BR on posting reply via Quick Reply.
  • 2.0
    • upgraded to work with vb4.
    • add - groups support ( Working for allowed groups only ).
    • add - support font size with arr (1 - 7), if more than 7 will be converted via formella.
    • add - woking on Specific locations (New thread, new reply, visitor messages, groups discusses.)
    • add - italic Support.
    • improved how product works .. with more speed performance.
  • 1.0
    • first release.

Download Now

File Type: zip Default-User-Text-Formatting.[Hz].v2.0.1.zip (113.0 KB, 1646 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #92  
Old 11-18-2013, 08:42 AM
justicechick justicechick is offline
 
Join Date: Oct 2012
Location: Arkansas
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
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. ------>>>

In post there is no change in anything though.
Reply With Quote
  #93  
Old 11-19-2013, 08:25 AM
ezak ezak is offline
 
Join Date: Nov 2004
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #94  
Old 11-22-2013, 06:32 PM
justicechick justicechick is offline
 
Join Date: Oct 2012
Location: Arkansas
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ezak View Post
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.

Reply With Quote
  #95  
Old 11-29-2013, 03:01 AM
scoutz scoutz is offline
 
Join Date: Feb 2007
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It worked fine, and I set everything. When i went to the profile.php page it was really broken.
Reply With Quote
  #96  
Old 11-29-2013, 08:06 PM
ezak ezak is offline
 
Join Date: Nov 2004
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ?
Reply With Quote
  #97  
Old 12-01-2013, 02:55 AM
letsjoy's Avatar
letsjoy letsjoy is offline
 
Join Date: Jun 2006
Location: Dhump State
Posts: 197
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Coder Please fix the plugin...
Reply With Quote
Благодарность от:
scoutz
  #98  
Old 12-21-2013, 08:00 PM
shahidbaloch shahidbaloch is offline
 
Join Date: Dec 2013
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #99  
Old 12-23-2013, 06:45 PM
shahidbaloch shahidbaloch is offline
 
Join Date: Dec 2013
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no reply?
plz help me for this prob
Reply With Quote
  #100  
Old 12-23-2013, 06:54 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #101  
Old 12-23-2013, 07:14 PM
shahidbaloch shahidbaloch is offline
 
Join Date: Dec 2013
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
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?
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 07:48 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.08989 seconds
  • Memory Usage 2,359KB
  • Queries Executed 28 (?)
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
  • (4)bbcode_code
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete