News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

[Depreciated]

Started by Depreciated, July 24, 2008, 03:18:45 PM

Previous topic - Next topic

Antechinus

Cool. Thanks. I'll put that in soon.

Powerbob

Installed your RC2 version. Went like a dream and works great!

Thanks
Bob



My SMF 2.1 Beta test site; http://www.pplb.net/smf21/index.php

haiwasnm

nice mod, more intuitive and easy to use for beginners user

TiPsY

it have problems on 1.1.10

hope u'll update it soon.

Antechinus

It is not being ported to 1.1.x. Ever.

meko me

hi i installed this mod manually bt i'm having 1 problem :(



edit i'm using SMF 2.0 RC1.2

Antechinus

That text was removed from the mod completely. I think it is useless because everyone with any brain cells already knows it is a quick reply box.

ɔɔɔɔɔɔuɥoɾ

Yea, I remember when I used this mod, everything was out of alignment, removing that text and a few other things fixed everything


SMF 2.0 RC5

   
Webhost to New Webhost file transfer service, PM me - Fast transfers

meko me

Quote from: Antechinus on October 05, 2009, 07:04:57 PM
That text was removed from the mod completely. I think it is useless because everyone with any brain cells already knows it is a quick reply box.

i insalled this mod manually will ya please tell me where did i mistake  :)

thank u  :)

ExWizzard

Hello. I cant seem to get the "install" button to show on the package manager for the RC2 . i use smf rc1.2

Antechinus

Meko me: read the parser instructions carefully and check your template again.

ExWizzard: why are you attempting to use an RC2 mod on RC1.2? Read the warning on the download page, please. I wrote it for a reason.

LP

Quote from: Antechinus on October 09, 2009, 05:17:55 PM
ExWizzard: why are you attempting to use an RC2 mod on RC1.2? Read the warning on the download page, please. I wrote it for a reason.

Antechinus, are you saying this mod is NOT compatible with SMF 2.0 RC1.2?  As far as I can tell, the download page says "For SMF 2.0 RC1.2 only."  What warning are you referring to?

Just wondering, because the "install" link doesn't show up on my SMF 2.0 RC1.2 forum either.

LP

Quote from: probinson77 on September 24, 2009, 09:55:15 AM
I have a bit of a problem with WYSIWYG quick reply and an interaction with SMG 2.0b6.  I originally posted this on the SMG support thread, but no one seemed to know why I was having this problem.  So I'm asking you here now, hoping maybe you can shed some light on the issue.

I have a highly modded forum, so I created a clean test environment in XAMPP to verify the problem.  The problem is, when you install WYSIWYG Quick Reply, the SMG tag, which allows you to link images in the gallery, breaks.

To recreate the problem, I installed SMG 2.0b6 on the test forum and uploaded a single picture.  I then used the SMG tag in a post and verified that it worked correctly.  I saw the image in place of the tag, and everything worked as expected.

Then, I installed WYSIWYG Quick Reply RC1.  Going back to the thread where I posted the SMG tag, the tag now displayed as just a text tag (i.e. [smg id=1]).  Removing WYSIWYG Quick Reply RC1 fixed the problem, and the image displayed again.

So I dug a little deeper, reinstalled the WYSIWYG Quick Reply mod and started commenting lines out to see if I could determine what was causing the tag to break.  These are the edits required to Sources/Display.php by the WYSIWYG Quick Reply mod, and I found that if I commented out one line, the SMG tag works as expected.  The line is create_control_richedit($editorOptions); as shown here in the code

 
  
// Start of WYSIWYG Quick Reply
 // Load the editor file
 
require_once($sourcedir.'/Subs-Editor.php');
 
// Prevent Errors
 
$context['submit_label'] = isset($_REQUEST['msg']) ? $txt['save'] : $txt['post'];
 
$context['attached'] = '';
 
$context['allowed_extensions'] = '';
 
$context['make_poll'] = 0;
   
 
// Now create the editor.
 
$editorOptions = array(
  
'id' => 'message',
  
'value' => !empty($context['message']) ? $context['message'] : '',
  
'labels' => array(
   
'post_button' => $context['submit_label'],
  ),
  
// We do XML preview here.
  
'preview_type' => 1,
 );
  
  
/**** THIS IS THE LINE THAT BREAKS THE SMG TAG ****/
  
create_control_richedit($editorOptions);
  
/**************************************************/
 // Store the ID.
 
$context['post_box_name'] = $editorOptions['id'];
 
 
// Set if unset (and avoid php undefined variable errors - default is FULL WYSIWYG with bbc buttons and smilies (unless set via profile OR admin)
 
$options['wysiwyg_quick_reply'] = isset($options['wysiwyg_quick_reply']) ? (int) $options['wysiwyg_quick_reply'] : ;
 
 
// To avoid intefering with the wysiwyg for post - we temporarily override the setting, THEN, restore it after we've written the wysiwyg
 
$context['controls']['richedit']['message']['rich_active_original'] = !empty($context['controls']['richedit']['message']['rich_active']) ? ;
 
// Active
 
$context['controls']['richedit']['message']['rich_active'] = in_array($options['wysiwyg_quick_reply'], array(0123)) ? ;
 
// End of WYSIWYG Quick Reply


Obviously if I comment that line out, the WYSIWYG Quick Reply no longer works properly.  So I'm hoping that someone can shed some light on why that would interfere with the SMG tag.

Thanks in advance for your help.


Disabling this line in Subs-Editor.php makes this problem go away for my forum, but probably introduces other potential problems.
$context['smg_disable'] = 1;

Antechinus

Quote from: LP on October 13, 2009, 11:48:05 AM
Quote from: Antechinus on October 09, 2009, 05:17:55 PM
ExWizzard: why are you attempting to use an RC2 mod on RC1.2? Read the warning on the download page, please. I wrote it for a reason.

Antechinus, are you saying this mod is NOT compatible with SMF 2.0 RC1.2?  As far as I can tell, the download page says "For SMF 2.0 RC1.2 only."  What warning are you referring to?

Just wondering, because the "install" link doesn't show up on my SMF 2.0 RC1.2 forum either.

There are two zips on the download page.

This one is for RC1.2: http://custom.simplemachines.org/mods/index.php?action=download;mod=1299;id=94781

This one is for RC2: http://custom.simplemachines.org/mods/index.php?action=download;mod=1299;id=118093

I think you grabbed the wrong one. I added the warning to the bottom of the download page, which I admit probably wasn't the best place for it, but this is a temporary arrangement anyway because the public release of RC2 will be out shortly at which point the RC1.2 zip will be removed.

Kimmie

Installed fine, however it caused the Hide Tag Mod I have installed to stop working.

Any ideas?

probinson77

Hi Antechnius,

I've been talking with Nao over in the SMG thread, trying to figure out why the SMG tags don't play nicely with WYSIWYG Quick Reply.  However, in this post, he asked me to talk to you, to see if you and Nao could work together to figure out what the incompatibility is;

http://www.simplemachines.org/community/index.php?topic=260821.msg2320994#msg2320994

I would be very appreciative if you would contact Nao and see if a solution could be found to this incompatibility.  I've been forced to stop using this mod, and my users would be thrilled to have the WYSIWYG Quick Reply back.

Thanks!

skullmonkey

I get
"Installations actions for "Wysiwyg Quick Reply RC2":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF."
after I press Apply.

I'm RC2 1.2
Any suggestions?

Antechinus

Yes. I suggest you use the right zip.

Iviiik

i have problem with RC2 Theme Core.

Display.template.php

I cant adjust, because i dont found
Find
Quote<div class="roundframe">
                  <p class="smalltext">', $txt['quick_reply_desc'], '</p>
Replace
Quote<div class="roundframe">

Find
Quote
echo '
                        <textarea cols="75" rows="7" style="', $context['browser']['is_ie8'] ? 'max-width: 95%; min-width: 95%' : 'width: 95%', '; height: 100px;" name="message" tabindex="1"></textarea><br />
                        <input type="submit" name="post" value="', $txt['post'], '" onclick="return submitThisOnce(this);" accesskey="s" tabindex="2" class="button_submit" />
                        <input type="submit" name="preview" value="', $txt['preview'], '" onclick="return submitThisOnce(this);" accesskey="p" tabindex="4" class="button_submit" />';

         if ($context['show_spellchecking'])
            echo '
                        <input type="button" value="', $txt['spell_check'], '" onclick="spellCheck(\'postmodify\', \'message\');" tabindex="5" class="button_submit" />';

         echo '
                        <input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
                        <input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '" />
                     </form>

Replace
Quote// Start of WYSIWYG Quick Reply

         // Only show bbcode bar if BBCodes are enabled, AND if its a quick reply mode with bbcode bar         
         if ($context['show_bbc'] && (in_array($options['wysiwyg_quick_reply'], array(0, 1, 4, 5))))
            echo '<div id="bbcBox_message"></div>';          

         // Only show smilies if smiliesare enabled AND if its a quick reply mode with smilies
         if (!empty($context['smileys']['postform']) && (in_array($options['wysiwyg_quick_reply'], array(0, 2, 4, 6))))
            echo ' <div id="smileyBox_message"></div>';             

         // Show the quick reply (WYSIWYG vs NON-WYSIWYG dealt with already decided in source file)
         echo  template_control_richedit($context['post_box_name'], 'smileyBox_message', 'bbcBox_message'), '';
         
         // End of WYSIWYG Quick Reply
         
         echo '
         <div id="qr_buttons">
            <input type="submit" name="post" value="', $txt['post'], '" onclick="return submitThisOnce(this);" accesskey="s" tabindex="2" />
            <input type="submit" name="preview" value="', $txt['preview'], '" onclick="return submitThisOnce(this);" accesskey="p" tabindex="4" />';
      if ($context['show_spellchecking'])
         echo '
            <input type="button" value="', $txt['spell_check'], '" onclick="spellCheck(\'postmodify\', \'message\');" tabindex="5" />';
      echo '
            <input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
            <input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '" />
         </div>   
         </form>

Iviiik

Hi, i have problem with Core theme in RC2

I cant find and replace this


Find: [Select]
               
Quote<div class="roundframe">
                  <p class="smalltext">', $txt['quick_reply_desc'], '</p>
Replace With: [Select]
               
Quote<div class="roundframe">

Advertisement: