TEMiZ

Started by Snrj, March 09, 2017, 09:03:42 AM

Previous topic - Next topic

Caseeno8

I really like this theme.  I am trying to use it and start a forum.  Very hard for me since I'm not a computer guy.   Where yours says Temiz, I want mine to say Pennsylvania basketball coaches association.  How do I make that fit and center it?  On some computers it is missing the word association.  Any help would be great.

Snrj

admin>current theme
Logo image URL:
(leave blank to show forum name or default logo.)
Site slogan:
Add your own text for a slogan here. It will replace the SMF logo.

or
ftp
Themes/Temiz/languages/ThemeStrings.english.php
$txt['logotext']='TEMiZ';

Caseeno8

Where yours says Recep Tayyip erdogan fan club, I would like mine to say Pennsylvania basketball coaches association.  It would be just text.  Or do I have to make a text logo the exact with a certain size.  My forum currently says my board on top left and want to change it.  I tried putting a 200x200 text logo in there but looked real bad tiny and low on page.  My forum is www.pabca.org [nofollow] if u want to take a look.

Thanks
Chris

rafaeldiel

Good evening

I have installed the TEMiZ theme in my forum and the design is amazing.

However, I would like to clarify one detail: whenever we include an image, it is being displayed with a much higher size than the original image. Please check the sample in the link below:


Could you please let me know how to address this issue? (keep the original image size)

Kind Regards, Rafael

GerryM

Excellent theme. Perfect for the look of my site.

I'd like to mod the theme, and replace the top section with my own header.

1. What would I need to remove, and from what pages (I assume from index.template, but there may be others) to take out the section marked in red in the image below?

2. Can I import the new section from my site using php include?

Snrj

Quote from: GerryM on September 13, 2017, 05:49:03 AM
1. What would I need to remove, and from what pages (I assume from index.template, but there may be others) to take out the section marked in red in the image below?
1.
index.template.php find
<div id="top_section">
<h1 class="forumtitle">
<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>
</h1>';

echo '
', empty($settings['site_slogan']) ? '<div class="floatright logotext">' .$txt['logotext']. '</div>' : '<div  class="floatright logotext">' . $settings['site_slogan'] . '</div>', '
</div>


2. I did not understand :(
Modifications and Packages board your question

Secureas

I think your theme is great, I am having a hard time adding generic icons to the navigation buttons. Thank you for your help.

Snrj

Quote from: Secureas on November 16, 2017, 02:19:51 PM
I think your theme is great, I am having a hard time adding generic icons to the navigation buttons. Thank you for your help.

sorry https://www.simplemachines.org/community/index.php?topic=557226.msg3948740#msg3948740

-Rock Lee-

It seems a very good topic we are going to see and to prove it to see that such ... just looked if I change the theme of my forum :D


Regards!
¡Regresando como cual Fenix! ~ Bomber Code
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

arcadios

hi there,

i just installed the Temiz theme on my forum, and noticed a bug on the breadcrumb section, don't know if it's in theme or core SMF

as you can see on the attached the moderators are shown out of the brackets . Any idea what can be wrong?

Snrj

http://smf.konusal.com/index.php?topic=81.msg8851#msg8851

Quote from: snrj on November 04, 2017, 04:54:14 PM
linktree den Moderator kısmını silme
Sources/MessageIndex.php de bul
$context['linktree'][count($context['linktree']) - 1]['extra_after'] = ' (' . (count($context['link_moderators']) == 1 ? $txt['moderator'] : $txt['moderators']) . ': ' . implode(', ', $context['link_moderators']) . ')';
değiştir
$context['linktree'][count($context['linktree']) - 1]['extra_after'];

Sources/Display.php de bul
$context['linktree'][count($context['linktree']) - 2]['extra_after'] = ' (' . (count($context['link_moderators']) == 1 ? $txt['moderator'] : $txt['moderators']) . ': ' . implode(', ', $context['link_moderators']) . ')';
değiştir
$context['linktree'][count($context['linktree']) - 2]['extra_after'];

arcadios

thank you very much.  :)

North East Man

How do I change the icon that shows that a post is new.  The generic icon of a little speech bubble and a green + sign is a little bland.  There is an orange new.gif that is used by Tinyportal on the recent posts tab that I would like to use.

br360

In Themes/Temiz/MessageIndex.template.php

Find

<a href="', $topic['new_href'], '" id="newicon' . $topic['first_post']['id'] . '"><span class="generic_icons im_on"></span></span></a>';

Replace with-

<a href="', $topic['new_href'], '" id="newicon' . $topic['first_post']['id'] . '"><img src="', $settings['lang_images_url'], '/new.gif" alt="', $txt['new'], '" /></a>';

Tested and it works, but back up the file before you make the change just to play it safe ;)

North East Man

Excellent, that works perfectly.   

Thank you br360.   Great support.


Richard

North East Man

I am trying to get it so that the member posting box next to the post shows the full details available.  At the moment it shows a contracted box with a "more" link to enlarge (See image 1).  I want to have it set so that a member doesn't have to click the more button and just has all the info shown (See image 2).

I have looked in the web page inspector and I can find the "more" link, but can't find which script I need to change to open the link by default.

Would be very grateful if someone can point me in the right direction.

Snrj

Themes\Temiz\Display.template.php find and delete
#265
<section>
<article>
<details><summary>',$txt['more'],'</summary>

find and delete
#415

</details>
</article>
</section>

North East Man

Thanks for your reply,

Deleting these lines triggered an error in the line following the top instance of the section to be deleted

Quoteif (!empty($modSettings['onlineEnable']) && !$message['member']['is_guest'])

I have no idea why.  It popped up with a syntax error, expected a ; or ,

If I deleted the line above the section to be deleted -

Quoteecho'<h4><span class="teknosol"></span>', $message['member']['link'], '<span class="teknosag"></span></h4>

The code was accepted and the page rendered as I want it to.  My question now is, is it OK to delete the extra line or am I doing something that will have other consequences?  I have only amended the code on my test site so far.

Snrj

deleting codes
'and; attention

echo'<h4><span class="teknosol"></span>', $message['member']['link'], '<span class="teknosag"></span></h4>
<section>
<article>
<details><summary>',$txt['more'],'</summary>';

replace
echo'<h4><span class="teknosol"></span>', $message['member']['link'], '<span class="teknosag"></span></h4>';

echo '
</ul>
</details>
</article>
</section>
</div>

replace
echo '
</ul>
</div>

Advertisement: