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)

goxy63 05-07-2010 08:51 PM

Installed nominated rated....Thanks
Quote:

Originally Posted by MindTrix (Post 1953478)
Any chance of getting this to work on the Blogs too?

Yeah, in blogs this would be great
Cheers

LightFatality 05-24-2010 11:37 PM

I really like this mod, but is there any chance you could add the option for members to type in a hex code? This is the only thing holding me back from installing it at the moment.

abdulbasitsaeed 05-31-2010 07:01 AM

That's actually a pretty nice idea! I second it, if possible. :)

KURTZ 05-31-2010 11:28 AM

runs correctly onto the latest platform ... (4.0.3 PL1)

anyway i'm wondering about the previous written posts ... is there an option to reformatting all the post made by a specific usergroup?

Lancelance 06-08-2010 09:09 AM

lol. You keep spelling preferred wrong.

krustyx 09-09-2010 06:23 PM

Any way to configure this with specific forums? Like only for classfied section

Thank you

LordVader 10-05-2010 06:26 AM

Unfortunately won't work for me at all :(

Running vb-4.07

I have tried all sorts, but oddly it lets me save the settings in my profile but does nothing at all elsewhere.

I will leave it installed for the moment & hope somebody can tell me what i did wrong ?

Thanks

Will. :)

sulasno 10-05-2010 08:59 AM

tagged and thanks

I saw this in another vB 4.0.7 and I think it's pretty cool

songphuong 11-24-2010 10:56 AM

sorry for my english !

I find a bug when i use a spoiler bbcode.
ie, opera =>it ok
firefox => bbcode spoiler can not expand when user who used this mod, other user who not used this mod ,bbcode spoiler is work.
please fix it, thank you very much!

OldSchoolDSL 01-10-2011 09:37 PM

Installed and working

4.1 PL2

OldSchoolDSL 01-20-2011 04:14 AM

Quote:

Originally Posted by OldSchoolDSL (Post 2147266)
Installed and working

4.1 PL2

Working 4.1.1

TosaInu 01-21-2011 06:39 PM

Nice hack,

I'm interested to limit it to a certain style. So users can choose to see all posts in either one font style, size and color or view them in the way the other made it.

pachel 01-28-2011 08:41 PM

It doesn't work with vbulletin 4.1.0 so probably because of the jquery text areas?

creative-friend 02-04-2011 06:21 PM

Sir Can We Add Any More Fonts to This??

emath 02-05-2011 04:00 PM

works with vb4.1

but is there an option not to change "quote" texts when posting as well ?

Deirdre 02-08-2011 08:26 PM

Works on 4.1.1 but I had to edit the formatting because it was completely off.

Used post 40 as a guide.

LightFatality 04-03-2011 05:37 PM

Quote:

Originally Posted by LightFatality (Post 2042900)
I really like this mod, but is there any chance you could add the option for members to type in a hex code? This is the only thing holding me back from installing it at the moment.

I am still wondering about this :)

baileyjojoms 04-17-2011 10:33 AM

Excellent! installed 4.1.2 working perfectly

Subah 05-06-2011 11:03 PM

Excellent! installed 4.1.3 working perfectly

mikem164 05-12-2011 12:28 AM

Hmm, not working. I think I know why. When I installed forum, I chose to do Default font as Italic. How do I eliminate it so this can take over?

top dogs 360 05-30-2011 07:11 PM

Nice!

Special Pages 05-31-2011 01:06 AM

This is one of the best mods I have ever seen! :D Great job!

COL NIL SATIS 06-01-2011 05:21 PM

works on 4.1.2 superb

akke 06-19-2011 07:12 AM

Any update for 4.1.4+ as it's now using the new CKEditor?

Juggernaut 06-19-2011 07:26 AM

This works for 4.1.4 only on posts, you can't see the formatted text while typing in the editor.

akke 06-19-2011 07:56 AM

Quote:

Originally Posted by Juggernaut (Post 2209769)
This works for 4.1.4 only on posts, you can't see the formatted text while typing in the editor.

so it's not usable :)

wipedout 08-04-2011 08:46 PM

Update for ckeditor anywhere in sight?

rafiul 08-08-2011 02:35 PM

Need update for ckeditor.

Kiran-E-Sehar 09-25-2011 06:18 PM

1 Attachment(s)
formatting is not correct

look

under font type is font size in front of font size there is font type etc

CoffeeLovesYou 09-27-2011 11:18 PM

Not working with 4.1.6. Lets me choose a font and stuff but when I post.. nada..

elbais 10-08-2011 06:40 PM

Quote:

Originally Posted by Oyabun (Post 2021530)
https://vborg.vbsupport.ru/attachmen...1&d=1271314397

I don't know if the code is pretty good but I changed my nlp_usertextformatting template to this and wanted to share it with you guys:


PHP Code:

<script type="text/javascript" language="javascript">
<!--
var 
prefix 'sel_nlp_usertextformatting_';
function 
nlp_usertextformatting(req) {
    switch(
req) {
        case 
'color':
            
fetch_object(prefix 'fontcolor').style.backgroundColor fetch_object(prefix 'fontcolor').value;
            
nlp_usertextformatting('set');
        break;
        case 
'set':
            
fetch_object(prefix 'preveiw').style.color = (fetch_object(prefix 'fontcolor').value != -1) ? fetch_object(prefix 'fontcolor').value '';
            
fetch_object(prefix 'preveiw_size').setAttribute("size", (fetch_object(prefix 'fontsize').value != -1) ? fetch_object(prefix 'fontsize').value '');        
            
fetch_object(prefix 'preveiw').style.fontFamily = (fetch_object(prefix 'fonttype').value != -1) ? fetch_object(prefix 'fonttype').value '';
            
fetch_object(prefix 'preveiw').style.fontStyle fetch_object(prefix 'italic').checked 'italic' 'normal';
            <
vb:if condition="is_browser('ie')">document.all.sel_nlp_usertextformatting_preveiw.style.fontWeight<vb:else />fetch_object(prefix 'preveiw').style.fontWeight</vb:if> = fetch_object(prefix 'fontweight').checked 'bold' 'normal';
        break;
        case 
'reset':
            
fetch_object(prefix 'fontcolor').value fetch_object(prefix 'fonttype').value fetch_object(prefix 'fontsize').value '-1';
            
fetch_object(prefix 'fontweight').checked false;
            
fetch_object(prefix 'preveiw_size').removeAttribute('size');
            
fetch_object(prefix 'preveiw').style.color fetch_object(prefix 'preveiw').style.fontFamily fetch_object(prefix 'preveiw').style.fontWeight fetch_object(prefix 'fontcolor').style.backgroundColor fetch_object(prefix 'preveiw').style.fontStyle '';
    }
}
//-->
</script>
<
fieldset class="blockrow">
    <
legend>{vb:rawphrase nlp_usertextformatting_title}</legend>
    <
class="description">{vb:rawphrase nlp_usertextformatting_description}</p>
    <
table width="100%">
      <
tr>
        <
td width="50%"><label for="sel_nlp_usertextformatting_fonttype">{vb:rawphrase nlp_usertextformatting_fonttype}</label></td>
        <
td width="50%"><select onchange="nlp_usertextformatting('set');" name="nlp_usertextformatting_fonttype" id="sel_nlp_usertextformatting_fonttype">
        <
option value="-1">{vb:rawphrase use_forum_default}</option>
        {
vb:raw UserTF.Fonts}
    </
select></td>
      </
tr>
    </
table>
    <
br>
    <
table width="100%">
      <
tr>
        <
td width="50%"><label for="sel_nlp_usertextformatting_fontsize">
{
vb:rawphrase nlp_usertextformatting_fontsize}</label></td>
        <
td width="50%"><select onchange="nlp_usertextformatting('set');" name="nlp_usertextformatting_fontsize" id="sel_nlp_usertextformatting_fontsize">
        <
option value="-1">{vb:rawphrase use_forum_default}</option>
        {
vb:raw UserTF.Size}
    </
select></td>
      </
tr>
    </
table>
    <
br>
    <
table width="100%">
      <
tr>
        <
td width="50%"><label for="sel_nlp_usertextformatting_fontcolor">{vb:rawphrase nlp_usertextformatting_fontcolor}</label></td>
        <
td width="50%"><select 
          
<vb:if condition="$GLOBALS['vbulletin']->usertextformatting['font'] != -1">style="background-color: {vb:raw usertextformatting.color};"</vb:if> onchange="nlp_usertextformatting('color');" name="nlp_usertextformatting_fontcolor" id="sel_nlp_usertextformatting_fontcolor">
        <
option value="-1" style="background-color: white;">{vb:rawphrase use_forum_default}</option>
         {
vb:raw UserTF.Colors}
    </
select></td>
      </
tr>
    </
table>
    
    <
br>
    <
table width="100%">
      <
tr>
        <
td width="49%"><label for="sel_nlp_usertextformatting_fontweight">
          <
input onChange="nlp_usertextformatting('set');" onClick="nlp_usertextformatting('set');" type="checkbox" name="nlp_usertextformatting_fontweight" value="1" id="sel_nlp_usertextformatting_fontweight" {vb:raw usertf.weight} />
        {
vb:rawphrase nlp_usertextformatting_fontweight} </label>
          <
br>
    <
label for="sel_nlp_usertextformatting_italic" style="font-style: italic">
    <
input onChange="nlp_usertextformatting('set');" onClick="nlp_usertextformatting('set');" type="checkbox" name="nlp_usertextformatting_italic" value="1" id="sel_nlp_usertextformatting_italic" {vb:raw usertf.italic} />
    {
vb:rawphrase nlp_usertextformatting_italic} </label></td>
        <
td width="51%"><class="description">&nbsp;</p>
    <!-- 
start -->

    <
class="description" align="center" id="sel_nlp_usertextformatting_preveiw" style="<vb:if condition="$GLOBALS['vbulletin']->usertextformatting['font'] != -1">font-family: {vb:raw usertextformatting.font};</vb:if><vb:if condition="$GLOBALS['vbulletin']->usertextformatting['color'] != -1">color: {vb:raw usertextformatting.color};</vb:if><vb:if condition="$GLOBALS['vbulletin']->usertextformatting['weight'] == 'bold'">font-weight: bold<vb:else />font-weight: normal</vb:if>">
        <
font id="sel_nlp_usertextformatting_preveiw_size" <vb:if condition="$GLOBALS['vbulletin']->usertextformatting['size'] != -1">size="{vb:raw usertextformatting.size}"</vb:if>>{vb:rawphrase nlp_usertextformatting_preveiw}</font>    </p></td>
      </
tr>
    </
table>
    
    
    
    
    
    <
br><br>

<
div align="left">
  <
input type="button" class="button" onclick="javascript:nlp_usertextformatting('reset');" value="{vb:rawphrase nlp_usertextformatting_reset}" />
      </
div>
</
fieldset


very nice;)

K!nG 10-08-2011 09:36 PM

Any update for 4.1.7 ????

WxP 10-10-2011 05:20 AM

1 Attachment(s)
Quote:

Originally Posted by K!nG (Post 2254864)
Any update for 4.1.7 ????

Work Greate if you have activate this:

The Librarian 03-14-2012 05:29 PM

nevermind.

Destruction2 04-23-2012 09:43 AM

Is this running with VB 4.1.11?
I have it installed without problems, but the text is not auto when i write.
Does anybody advice or an alternative program for this?

Mr_Devlin 04-23-2012 11:26 AM

Quote:

I have it installed without problems, but the text is not auto when i write.
You will see the formatted text after sending your post, not while writing. In the editor you'll see the "normal" font with it's default settings

Pure Dope 06-20-2012 06:28 PM

it annoys me that all these mods have so many problems.

jelsoft really needs to do something about this.

Post Reader 07-09-2012 06:14 AM

i can't find where to set the default formatting, i am using version 4.2

final kaoss 07-09-2012 02:42 PM

Interesting, it would make for a nice purchasable item for shop mods.

Cydefense 07-19-2012 04:01 PM

It don't work on Vbulletin 4.1.11


All times are GMT. The time now is 08:19 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.02494 seconds
  • Memory Usage 1,878KB
  • 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)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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