SMF Tricks

SMF General (English) => Support for SMF Tricks Themes & Mods => Topic started by: AkShit on September 27, 2014, 11:55:39 PM

Title: Reseller theme Queries
Post by: AkShit on September 27, 2014, 11:55:39 PM
Hello again,

I have a few questions about reseller,

1. When using Ultimate profile, text in the title bars of the profile fields is at extreme left. It is normal at other places.

(http://i.imgur.com/3o0ZvHs.jpg)


2. Is SA shop mod (http://smftricks.com/index.php?topic=435.0#forum) compatible with Reseller? If no, what modifications are required? (I installed mod but did not see any credit info on profile)

3. How can I get Login via facebook option on my forum. SA facebook integration gave me API error. Is there any other way? I made my facebook app a week ago.

4. What theme does this site use?
Title: Re: Reseller theme Queries
Post by: Daniel on September 28, 2014, 12:38:15 AM
1. That is not problem of the theme, is problem of the template of the mod. Attach your UltimateProfile.template.php (Themes/Default)
2. Yes, it is compatible. When you installed the mod, you checked the box to have effected changes in the theme?
3. Sorry, I don't know another mod. Have you tried searching for support on the official website of the mod?
4. It is a unique theme for this website.
Title: Re: Reseller theme Queries
Post by: AkShit on September 28, 2014, 12:43:06 AM
Attached.

I'll try installing SA shop again. Thank you :)

Edit, (http://i.imgur.com/WBy44uK.jpg)

Will it be fine if I manually insert the code in there?
Title: Re: Reseller theme Queries
Post by: Daniel on September 28, 2014, 12:52:18 AM
Try this. | Yes, you have to do manually the code of the error. If you can't find them, I will help you.
Title: Re: Reseller theme Queries
Post by: AkShit on September 28, 2014, 01:06:31 AM
The ultimate profile issue is solved.

SA shop is installed but i still don't see credits in the profile
Title: Re: Reseller theme Queries
Post by: Daniel on September 28, 2014, 01:11:11 AM
The ultimate profile issue is solved.

SA shop is installed but i still don't see credits in the profile
ok, do this:
Display.template.php (Themes/Reseller)
Search:
Code: [Select]
// Show how many posts they have made.
if (!isset($context['disabled_fields']['posts']))
echo '
<li class="postcount"><img src="',$settings['images_url'] ,'/postcount.png" /> ', $message['member']['posts'], '</li>';

Add after:
Code: [Select]
// Begin shop Mod
echo '
<li>', $modSettings['shopprefix'], $message['member']['cash'], $modSettings['shopsurfix'], ' </li>';
echo'<li><a href="', $scripturl, '?action=shop;sa=inventory;next2=', $message['member']['username'], '">',$txt['View_Inventory'],'</a></li>
<li><a href="', $scripturl, '?action=shop;sa=gift;u=', $message['member']['username'], '">Send '.$modSettings['shopsurfix'].'/Gift </a></li>';
echo '<li>';
if ($modSettings['ShopIpDis'] == 1 && $modSettings['ShopIpPos'] == 0)
{
if (count($message['member']['shopitems']) != 0)
{
foreach ($message['member']['shopitems'] as $shopitem)
{
echo '<img src="',$settings['images_url'], '/shopimg/item_images/',$shopitem['image'],' " alt ="',$shopitem['desc'],'" />&nbsp;&nbsp;';
}

}
}
echo '</li>';
// End shop Mod

Search:
Code: [Select]
// Show the member's signature?
Add before:
Code: [Select]
if ($modSettings['ShopIpDis'] == 1 && $modSettings['ShopIpPos'] == 1)
{
if (count($message['member']['shopitems']) != 0)
{
echo '
<div class="signature">';
foreach ($message['member']['shopitems'] as $shopitem)
{
echo '<img src=" ',$settings['images_url'],'/shopimg/item_images/',$shopitem['image'],'" alt=" ',$shopitem['desc'],'" />&nbsp;&nbsp;';
}
echo '</div>';
}
}

And that's it.
Greetings!
Title: Re: Reseller theme Queries
Post by: Daniel on September 29, 2014, 08:29:09 PM
Try with this mod for the 3: http://custom.simplemachines.org/mods/index.php?mod=3580
Title: Re: Reseller theme Queries
Post by: AkShit on October 10, 2014, 11:38:00 AM
Try with this mod for the 3: http://custom.simplemachines.org/mods/index.php?mod=3580

Thanks for the mod. Works fine. Although I have one question, How do I get the buttons on login Dialogbox that appears via header button?

(http://i.imgur.com/hsEZzPQ.jpg) Login Page

(http://i.imgur.com/iHrgihM.jpg) Login Dialog box