Reseller

Started by Daniel, July 28, 2014, 09:19:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Diego Andrés

Ok then you'll need to modify 3 files.

index.template.php search
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
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
array(
'id' => 'youtube_check',
'label' => $txt['youtube_check'],
),
array(
'id' => 'youtube_text',
'label' => $txt['youtube_text'],
'type' => 'text',
),


Replace with
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 ?>
$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

Limkos

Tiene un fallo, no sale la imagen de verificación

moopasa

Thank YOU Diego and Daniel

This is awesome. Works like a charm. See attached.

moopasa

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

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?

szaszekk56

Hello everyone, super theme, gratulations!
Unfortunately, Internet Explorer errors, Chrome works fine. What could be wrong?


Diego Andrés

Internet explorer do not support properly CSS 3 and HTML 5

szaszekk56

Oh! the great IE...

thx!

Derby

please is this theme reponsive? and what is the logo.zip used for as attached on the smf site

Diego Andrés

Quote from: Derby on September 17, 2014, 11:40:38 AM
please is this theme reponsive? and what is the logo.zip used for as attached on the smf site

Yes it's responsive.
You can use the psd for edit the default logo.

Derby

Quote from: Diego Andrés on September 17, 2014, 12:57:26 PM
Yes it's responsive.
You can use the psd for edit the default logo.
yeah how the blue background where the logo reselller is ?i want to change it

moopasa

I understand that Reseller is a responsive theme. However, when viewing from a mobile device, i find the profile pictures to be quite big. Is it possible to shrink the way the "wrap" theme does it?


See attached?

Daniel

Index.css
Search and delete:
.poster li.avatar img
{
width: 100%;
}


AkShit

Hello,

I'm using smf 2.0.8 with simpleportal. There is no vertical spacing between the blocks that makes it look a bit ugly. Is there a way to adjust spacing between the blocks?


How it should look.



how it looks
Last Edit: September 27, 2014, 12:56:26 AM by akshtsaklani7

Daniel

Reseller.css (Themes/Reseller/css)
Add to the end:
#sp_center
{
     padding: 0 5px;
}