Support for SMF Tricks Themes & Mods

0 Members and 1 Guest are viewing this topic.

*
moopasa
Sniffer
Reseller Questions and some Issues
September 06, 2014, 12:11:43 AM
First of all, congratulations on Reseller. Finally a decent (and responsive) SMF Theme.

Some issues (and suggestions)

1. How come the photo in the avatar looks pixelated?


2. Why is it that the member role/permission does not show up? (Example: Administrator, Member, Moderator)? It used to show up in my old theme (SEE ATTACHED).






*
moopasa
#1
Sniffer
Re: Reseller Questions and some Issues
September 06, 2014, 12:17:01 AM
3. How come, when replying to a thread, the title bar gets misaligned? How can we fix this? See attached.

4. How can we add our social icons: Facebook, Twitter Instagram. I see that you have that in the preview of reseller.

5. Like what the other users said, how can we add "advertisements" after the first post in the thread?



Thanks in advance. Looking forward for your support and help!
*
Daniel
#2
Webmaster
Re: Reseller Questions and some Issues
September 06, 2014, 01:04:47 PM
1. The avatar looks pixelated because the original size is smaller than the asking there.
2. I think doing the theme, I didn't put that code.
Search:
Code: [Select]
// Show the member's custom title, if they have one.
if (!empty($message['member']['title']))
echo '
<li class="title">', $message['member']['title'], '</li>';
Add after:
Code: [Select]
// Show the member's primary group (like 'Administrator') if they have one.
if (!empty($message['member']['group']))
echo '
<li class="membergroup">', $message['member']['group'], '</li>';
Search:
Code: [Select]
// Show the stars if they are not in a group.
echo '
<li class="stars">', $message['member']['group_stars'], '</li>';
Add before:
Code: [Select]
// Show the post group if and only if they have no other group or the option is on, and they are in a post group.
if ((empty($settings['hide_post_group']) || $message['member']['group'] == '') && $message['member']['post_group'] != '')
echo '
<li class="postgroup">', $message['member']['post_group'], '</li>';
3. http://www.simplemachines.org/community/index.php?topic=525855.msg3733120#msg3733120
4. Admin > Configuration > Current theme
5. http://custom.simplemachines.org/mods/?mod=255
If you configure fine the ads, and fixed the problems that I leave in latest post, It should work fine.
*
moopasa
#3
Sniffer
Re: Reseller Questions and some Issues
September 06, 2014, 09:03:58 PM
This is awesome. Let me try it.

Btw, can we add an instagram icon? :)
*
Diego Andrés
#4
Webmaster
Re: Reseller Questions and some Issues
September 07, 2014, 03:21:08 PM
This is awesome. Let me try it.

Btw, can we add an instagram icon? :)

Do you mean for members? You can add it using the custom profile fields in the admin  :P
Or use a mod, there are some of them http://custom.simplemachines.org/mods/index.php?mod=3304
and http://custom.simplemachines.org/mods/index.php?mod=3673
*
moopasa
#5
Sniffer
Re: Reseller Questions and some Issues
September 09, 2014, 03:27:20 AM
Oh sorry, I meant at the footer of the theme.

At the footer, Reseller already has icons for FB, Twitter and Youtube. I was wondering if we can add for Instagram? See attached screenshot.
*
Diego Andrés
#6
Webmaster
Re: Reseller Questions and some Issues
September 10, 2014, 09:52:43 PM
Ok then you'll need to modify 3 files.

index.template.php search
Code: [Select]
if(!empty($settings['youtube_check']))
echo'
<a href="', !empty($settings['youtube_text']) ? $settings['youtube_text'] : 'http://www.youtube.com' ,'"><img src="', $settings['images_url'], '/social_icons/youtube.png" alt="', $txt['rs_youtube'], '" /></a>';

Replace with
Code: [Select]
if(!empty($settings['youtube_check']))
echo'
<a href="', !empty($settings['youtube_text']) ? $settings['youtube_text'] : 'http://www.youtube.com' ,'"><img src="', $settings['images_url'], '/social_icons/youtube.png" alt="', $txt['rs_youtube'], '" /></a>';
if(!empty($settings['instagram_check']))
echo'
<a href="', !empty($settings['instagram_text']) ? $settings['instagram_text'] : 'http://www.instagram.com' ,'"><img src="', $settings['images_url'], '/social_icons/instagram.png" alt="', $txt['rs_instagram'], '" /></a>';

Settings.template.php search
Code: [Select]
array(
'id' => 'youtube_check',
'label' => $txt['youtube_check'],
),
array(
'id' => 'youtube_text',
'label' => $txt['youtube_text'],
'type' => 'text',
),

Replace with
Code: [Select]
array(
'id' => 'youtube_check',
'label' => $txt['youtube_check'],
),
array(
'id' => 'youtube_text',
'label' => $txt['youtube_text'],
'type' => 'text',
),
array(
'id' => 'instagram_check',
'label' => $txt['instagram_check'],
),
array(
'id' => 'instagram_text',
'label' => $txt['instagram_text'],
'type' => 'text',
),

And languages/ThemeStrings.english.php add before ?>
Code: [Select]
$txt['rs_instagram'] = 'Instagram';
$txt['instagram_check'] = 'Enable icon of Instagram';
$txt['instagram_text'] = 'URL of the page to Instagram';

And finally, just upload the instagram icon to Themes/Reseller/images/social_icons/
The name should be instagram.png
You can use this image I found https://cdn3.iconfinder.com/data/icons/erlen-s-social-media-icon-set/32/icon_instagram_32.png
*
moopasa
#7
Sniffer
Re: Reseller Questions and some Issues
September 12, 2014, 07:15:34 PM
Thank YOU Diego and Daniel

This is awesome. Works like a charm. See attached.
*
moopasa
#8
Sniffer
Re: Reseller Questions and some Issues
September 12, 2014, 07:16:58 PM
Hey,sorry if I have a few more questions.

I was wondering if you can make the menu expand automatically on mouse over without having to click it?


See attached.
*
moopasa
#9
Sniffer
Re: Reseller Questions and some Issues
September 12, 2014, 07:18:33 PM
Also, I noticed there is a very brief time period when the newsfader displays all the news items before collapsing as "one".

Is it possible to not show all the news items and make the newsfader flash the news item one at a time?
*
bry82
#10
Sniffer
Re: Reseller Questions and some Issues
November 09, 2014, 05:42:53 AM
2. I think doing the theme, I didn't put that code.
Search:
Code: [Select]
// Show the member's custom title, if they have one.
if (!empty($message['member']['title']))
echo '
<li class="title">', $message['member']['title'], '</li>';
Add after:
Code: [Select]
// Show the member's primary group (like 'Administrator') if they have one.
if (!empty($message['member']['group']))
echo '
<li class="membergroup">', $message['member']['group'], '</li>';
Search:
Code: [Select]
// Show the stars if they are not in a group.
echo '
<li class="stars">', $message['member']['group_stars'], '</li>';
Add before:
Code: [Select]
// Show the post group if and only if they have no other group or the option is on, and they are in a post group.
if ((empty($settings['hide_post_group']) || $message['member']['group'] == '') && $message['member']['post_group'] != '')
echo '
<li class="postgroup">', $message['member']['post_group'], '</li>';


I'm trying to do the same. Can you tell me which file I need to edit? Thanks :)
*
bry82
#11
Sniffer
Re: Reseller Questions and some Issues
November 09, 2014, 08:00:07 AM
Okay, I managed to find out what to edit, Display.template.php

Can I display an image instaed of "administrator", "moderator" etc...?
*
ForumMix
#12
Sniffer
Re: Reseller Questions and some Issues
November 15, 2014, 11:27:33 AM
I was wondering how to increase pages on this theme. Today, there are many temor with this adaptation-Forum width:
Ange forum width. For example: 950px, 80%, 1240px.

But this is missing this. Now I wonder where this can be? Can anyone identify this?
*
Daniel
#13
Webmaster
Re: Reseller Questions and some Issues
November 15, 2014, 01:37:36 PM
Okay, I managed to find out what to edit, Display.template.php

Can I display an image instaed of "administrator", "moderator" etc...?
You have to edit in the administration group member, there you will find how to setup the images. Remember that images should be in the following path: Themes/{yourtheme}/images

I was wondering how to increase pages on this theme. Today, there are many temor with this adaptation-Forum width:
Ange forum width. For example: 950px, 80%, 1240px.

But this is missing this. Now I wonder where this can be? Can anyone identify this?
Open another topic for this question.