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 - Canned Replies v4.x - User Saved Text for Replies, Threads, PMs & Infractions (https://vborg.vbsupport.ru/showthread.php?t=241309)

inigo 08-18-2011 07:30 AM

Quote:

Originally Posted by Charlie98902 (Post 2234148)
So does this or does this not work with 4.1.5 PL1? The newer files.

Yes, it works, but with the <br> problem at the beginning of each line,

xtremecoders 08-18-2011 07:42 PM

1 Attachment(s)
Ok my friends.
I really like this mod But it Breaks my SKIN when press ADD or EDIT.

So i made a fix for all those issues with new CKeditor.

This MOD now can work again without any strange problems with any VBulletin 4.1.4+ or 4.1.5+ Version.

Please also Note that ...

If you want to avoid the <br> problem, just add a space at the end of each row.
Is an editor issue which adds html <br> automatically when you have empty rows on your text or use some BB codes.


I hope this will work fine for you also.
Just read and follow the instructions inside the zip.:up:

Take the attached zip....

Attachment 132077

sevenmix 08-18-2011 08:00 PM

Quote:

Originally Posted by xtremecoders (Post 2235048)
Ok my friends.
I really like this mod But it Breaks my SKIN when press ADD or EDIT.

So i made a fix for all those issues with new CKeditor.

This MOD now can work again without any strange problems with any VBulletin 4.1.4+ or 4.1.5+ Version.

I hope this will work fine for you also.
Just read and follow the instructions inside the zip.:up:

Take the attached zip....

Attachment 132077

Thanks, it works fine, the only problem is that keeps inserting a <br> too.

Im using [CKEditor] MARCO1 Advanced Quick Reply And Edit, maybe thats the problem.

xtremecoders 08-18-2011 08:08 PM

You was FAST !!!! :D

I added comments about <br> Issue...

Quote:

Please also Note that ...

If you want to avoid the <br> problem, just add a space at the end of each row.
Is an editor issue which adds html <br> automatically when you have empty rows on your text or use some BB codes.
I'am working on this problem and probably will update the zip with new code.

inigo 08-19-2011 06:32 AM

I can“t remove de <br> although I insert a space at the end of all lines,.. any idea?

Eric 08-19-2011 11:00 AM

I do not see any difference in this zip and the changes I posted? Unless you were just zipping up the mod with my changes :/

As far as the <br> issue, I will try to work it out.

Quote:

Originally Posted by xtremecoders (Post 2235048)
Ok my friends.
I really like this mod But it Breaks my SKIN when press ADD or EDIT.

So i made a fix for all those issues with new CKeditor.

This MOD now can work again without any strange problems with any VBulletin 4.1.4+ or 4.1.5+ Version.

Please also Note that ...

If you want to avoid the <br> problem, just add a space at the end of each row.
Is an editor issue which adds html <br> automatically when you have empty rows on your text or use some BB codes.


I hope this will work fine for you also.
Just read and follow the instructions inside the zip.:up:

Take the attached zip....

Attachment 132077


sevenmix 08-19-2011 05:16 PM

Thanks, we will be waiting the perfect mod (finally)

:D

xtremecoders 08-19-2011 05:43 PM

Quote:

Originally Posted by Eric (Post 2235309)
I do not see any difference in this zip and the changes I posted? Unless you were just zipping up the mod with my changes :/

As far as the <br> issue, I will try to work it out.


BTW the Difference is on cannedreplies.php file at edit & add Functions

My file has.....

Code:

      $templater = vB_Template::create('USERCP_SHELL');
                $templater->register_page_templates();
                $templater->register('navbar', $navbar);
                $templater->register('onload', $onload);
                $templater->register('template_hook', $template_hook);
                $templater->register('cpnav', $cpnav);
                $templater->register('headinclude', $headinclude);
                $templater->register('pagetitle', $pagetitle);
                $templater->register('HTML', $HTML);
                $templater->register('header', $header);
                $templater->register('footer', $footer);
        print_output($templater->render());




Your file has.....


Code:

        $templater = vB_Template::create('USERCP_SHELL');
                $templater->register('navbar', $navbar);
                $templater->register('headinclude', $headinclude);
                $templater->register('pagetitle', $pagetitle);
                $templater->register('cpnav', $cpnav);
                $templater->register('HTML', $HTML);
                $templater->register('header', $header);
                $templater->register('footer', $footer);
        print_output($templater->render());



and in my case this was the reason which my style was complete broken on ADD or Edit... (VB 4.1.5 PL1)

And see how affects on my site....

BEFORE the patch (your File)

https://vborg.vbsupport.ru/

AFTER the Patch (my File).....

https://vborg.vbsupport.ru/

Nice ehhhh ?????

Eric 08-20-2011 03:55 AM

Quote:

Originally Posted by xtremecoders (Post 2235465)
BTW the Difference is on cannedreplies.php file at edit & add Functions

My file has.....

Code:

      $templater = vB_Template::create('USERCP_SHELL');
                $templater->register_page_templates();
                $templater->register('navbar', $navbar);
                $templater->register('onload', $onload);
                $templater->register('template_hook', $template_hook);
                $templater->register('cpnav', $cpnav);
                $templater->register('headinclude', $headinclude);
                $templater->register('pagetitle', $pagetitle);
                $templater->register('HTML', $HTML);
                $templater->register('header', $header);
                $templater->register('footer', $footer);
        print_output($templater->render());




Your file has.....


Code:

        $templater = vB_Template::create('USERCP_SHELL');
                $templater->register('navbar', $navbar);
                $templater->register('headinclude', $headinclude);
                $templater->register('pagetitle', $pagetitle);
                $templater->register('cpnav', $cpnav);
                $templater->register('HTML', $HTML);
                $templater->register('header', $header);
                $templater->register('footer', $footer);
        print_output($templater->render());



and in my case this was the reason which my style was complete broken on ADD or Edit... (VB 4.1.5 PL1)

And see how affects on my site....

BEFORE the patch (your File)

http://www.xtremecoders.org/forums/images/before.jpg

AFTER the Patch (my File).....

http://www.xtremecoders.org/forums/images/after.jpg

Nice ehhhh ?????

Ah, I see. I do not mind, I was just curious what the changes were :)

Andyrew 08-20-2011 10:42 AM

This no longer works on my forum, when I pick the canned reply nothing appears in my editor box. ?

RE installed and it's working again, just got the <br> problem now.


All times are GMT. The time now is 01:47 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.01321 seconds
  • Memory Usage 1,764KB
  • 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
  • (6)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