"Reply to all" missing in Alak theme

Started by Col, December 06, 2009, 03:04:03 PM

Previous topic - Next topic

Col

Hi,

I'm playing with Alak theme, but the "reply to all" option is missing from Personal Messages. The Alak theme does NOT have its own PM template, so the default is used instead. Since the default is used, how is it that the "reply to all" option is missing?

Any ideas?

Thanks.

Typo: added omitted "not".

Arantor

That statement seems contradictory... it "does have" its own template?

Please can you point me to the theme in question?
Holder of controversial views, all of which my own.


Col

Hi,

Sorry, just a typo - I've edited my opening post.

Alak theme.

Thanks.

Arantor

Hmm.

Is it on every PM it's missing? IIRC it only appears when there are 2+ people in the original recipients list.
Holder of controversial views, all of which my own.


Col

Hi,

Yeah, I am aware that it only appears when the PM has been sent to two or more people. I view the same PM in different themes (default and Alak), but the "reply to all" option is missing when using the Alak theme. If Alak had its own theme, at least I could begin by looking for missing code, but since the the two themes use the very same default template, I'm stumped.

Arantor

Do you get any errors in the error log at the time?
Holder of controversial views, all of which my own.


Col


Col

I've half solved the problem. I had the relevant text strings in modifications.english.php, and this seemed to work for reply, quote and delete, but not reply all. I copied across the personalMessage.english.php file, and all the test strings now work. However, no matter where I place the buttons in the Alak theme (including the buttons directory), the "Reply to all" button does not appear. I've checked the error log again, and still no errors.

Arantor

That suggests you're missing the relevant image for it, then.
Holder of controversial views, all of which my own.


Col

Hi Arantor,

No, the image is there, in the default theme, and copied to the Alak theme!

Arantor

I don't know then, sorry.

You could always ask in the dedicated thread for that theme.
Holder of controversial views, all of which my own.


Col

I did ask, in July, and there has been no response to the thread since.

There is no error connected with this missing image. If I remove or rename other reply images, I get the broken image icon displayed - this does occur with the "reply_to_all".

Col

I have a partial answer to the problem. In index.template.php, change:


    /* Use plain buttons - as oppossed to text buttons? */
   $settings['use_buttons'] = false;


to true:


    /* Use plain buttons - as oppossed to text buttons? */
   $settings['use_buttons'] = true;


I did not want to use text for the PM reply options (through the theme optin in Admin) because this setting also sets text for profile links under post avatars. Changing the above setting to "true" means that both text and the buttons appear in PMs, but images remain under post avatars. This works for me, but it is a compromise. I'm posting this in case it is a good enough solution for someone else with the same problem. I'd still like to see the bug ironed out.

tom_il

I had this problem to using versatility2 theme.

What i did was change in the PersonalMessage.template.php (located in the default theme) this line

if ($message['number_recipients'] > 1 && (!empty($settings['use_buttons']) || !$settings['use_image_buttons']))

into

if ($message['number_recipients'] > 1 )

and also create a im_reply_all.gif in the buttons folder of the template as it wasn't there.

Is this a template issue or not ?

Arantor

You've edited a template, so yes, it's a template issue, especially seeing that the list of buttons is driven by the theme.
Holder of controversial views, all of which my own.


tom_il

Quote from: Arantor on February 15, 2010, 03:58:16 PM
You've edited a template, so yes, it's a template issue, especially seeing that the list of buttons is driven by the theme.

Sry what i meant to say is, if this is a issue with smf default theme also or just the theme i use ? As i had to modify a file in the default theme. Just putting the image in the themes folder didn't help.
Have no experience with the default theme as i didn't start the forum myself.

Arantor

No, it's not an issue in the default themes, it is limited to your theme, because your theme does things in a way the default one doesn't normally.
Holder of controversial views, all of which my own.


Rav33n

Quote from: tom_il on February 15, 2010, 03:21:59 PM
I had this problem to using versatility2 theme.

What i did was change in the PersonalMessage.template.php (located in the default theme) this line

Had a similar problem, and this worked for me. Thanks.

Advertisement: