News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Newsleetters

Started by bharat, September 30, 2015, 09:00:49 AM

Previous topic - Next topic

bharat

If I want to send newsletters to all members and in the subject it shows :Subject instead of Bharat forum: Subject, how can I fix it?

margarett

I'm confused. In a normal install, you get the community name already suggested in the subject (see attached "My Community").
Doesn't it show up to you?

Do you have a forum name defined in Configuration --> Server Settings?
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

bharat

I removed Forum name because I have the name on our new logo, that's why I wonder what can be done?

Illori

put the name back and that will solve this issue.

if you have issues with your logo, then we can look into those separately.

bharat

I removed the name of the forum because we have the same name in Logo so why to have 2 times?

Illori

because it is used in many other places as you can see here. if you need the forum name removed from your template we can do that. but you NEED to have it in that field due to where it is used in SMF.

bharat

I tried to put some other message instead of forum name and it appeared in the center not on the left side as it used to be. Is it possible to have it on the left and I need to keep the logo in the center.

Oldiesmann

Whatever you put in the "subject" box there will be used as the subject of the email. If you want "Forum name: subject", then use that as the subject...
Michael Eshom
Christian Metal Fans

Kindred

Oldiesmann....  the user has apparently tried to bypass some OTEHR things that he wants changed by blanking out the forum name in the settings...

bharat, this is the wrong way to "fix" things...   don't do it.
Put the forum name back into the settings and address the other locations that it is appearing by changing the code -- not by blanking a NECESSARY FIELD
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

bharat

I can put it back but now it appears right in the center and I would like to keep it in the left how it used to be. Can I change it somehow?

margarett

I'm guessing it appears in the center because of the other code of mine. Because it's supposed to center the name/logo which usually shows on the left and not the slogan on the right ;)
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

bharat

I understand that it happened because I put logo in the center but can it be still in the left or right, because I want to keep the logo in the center. Also is it possible that the name of the forum look smaller on the main page?

margarett

Everything is possible. But you are shooting so many questions at once that it becomes impossible to follow :o

First things first: your logo. Can you take a printscreen of the complete header and draw in the picture what you'd like to get?
And can we have a link to your forum, to check?
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

bharat

I am sorry but the question is actually only one, how to write Bharat forum on the left and make the letters smaller and banner in the center in the same time? Here is the link: http://forum.bharatconnect.net

bharat

I was thinking that maybe I need to put the same code again and when I write the name of the forum the banner will move to the center by itself?

margarett

Please attach your index.template.php
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

bharat


bharat

Please let me know if you won't be able to open this file.

margarett

OK so...

When you have a logo defined you don't get the forum name. It's on the code
<a href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? $context['forum_name'] : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" />', '</a>
It's easy to have both displayed, it's not that easy to have the name on the left and the logo on the center because they are both part of #top_section which has text-align:center
And I seriously suck that this CSS stuff :P

Why do you want the forum name, though? The name is on the logo already, not?
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Illori

Quote from: margarett on October 01, 2015, 07:08:24 AM
Why do you want the forum name, though? The name is on the logo already, not?

i dont think the OP wants the forum name to show, but wants it to be "present" so it can used in the other SMF functions.

bharat

Well, I don't want forum name to be displayed twice but when I removed it the newsletters subject doesn't look correct that's why I was wondering if I can still add it in the Subject.

bharat

I add Welcome for now so I really wonder if I can change size and color of letters? http://forum.bharatconnect.net

margarett

I think not, but I'm all messed up now :P
Quote from: bharat on October 01, 2015, 04:55:28 AM
how to write Bharat forum on the left and make the letters smaller and banner in the center in the same time?
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Kindred

bharat -- would you please stop trying to do things piecemeal?

Please indicate SPECIFICALLY what the FINAL outcome you want should be


don't say "well, I want this" in one post... and then say that you want something slightly different in another... and something even more different in a third.

You have put your forum into a bad state of code because you have not been clear about what you want - or you have changed your mind or your requirements after applying code given to you to do the first thing.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

bharat

I think I explained earlier what I really want and as I understood it is not possible, please correct me if I am wrong. I would like to keep the banner in the center but to have forum name on the left side how it is used to be because if I remove it completely the newsletters Subject doesn't look correct. So if I really need to keep the name in the center now, I would like to make it smaller and different color.

margarett

You don't need to keep the name. Please add it back in Server Settings so that we can see how it looks.
Based on the code I've shown, when you have the logo you shouldn't have the name but we'll see.
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

bharat

I made it like this but the banner is not completely in the center and the name Welcome doesn't really match. Can you please take a look: http://forum.bharatconnect.net

Illori

did you make your forum name "Welcome"? if so that is why. your forum name most likely should not be welcome.

bharat

I put welcome just to test but as you can see there is a name of the forum in the banner itself.

margarett

I see no name at all...
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

bharat

I just removed it as it doesn't look great, I thought you saw already.

Kindred

if you want us to HELP you, you need to stop doing random things
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

bharat

Ok, I will add it again now so please let me know if something can be done.

bharat

Can you please check it now?

margarett

Exactly as I told you before.

You replaced SMF's logo with your own, and that logo usually stays on the right side of the template, yours is centered just because of your theme's layout.
You should put this image's URL
http://forum.bharatconnect.net/Themes/default/images/smflogo.png
in ACP --> Configuration --> Current Theme --> Logo image URL
and this will put the logo where the site name is.

But you also need to do the other code change I pointed you, or else you'll end up with 2 logos!
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

bharat

Thanks a lot for the explanation, do I need to change the code, do I understand you right?

margarett

Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

bharat

I did what you told just now, first logo disappeared when I changed the code and then I added the logo here: ACP --> Configuration --> Current Theme --> Logo image URL
The problem is that when I want to send Newsletters the Subject still look like this: : Subject, instead of Bharat forum: Subject

Kindred

and that is because -- as we have told you about 23 times now -- you have blanked out the forum name in the forum server settings.  PUT THE NAME BACK IN TO THE FIELD!
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

bharat

I understood that very well that's why I was asking if I can keep this line on the left and change it's color and size, as I don't want to keep forum name twice I had to put something else.

margarett

Which line on the left?

Please put the forum name back in the field. You'll be pleasantly surprised that it will NOT show up around your logo now.
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

bharat

Sorry, I meant the name of the forum on the left and not in the center. I just wrote the name again and it is not shown on the main page!!! That's what exactly what I needed, thanks a lot for your help, it was very useful for me!!!

Advertisement: