Reseller

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

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

AkShit

Wow! that was amazingly quick response.

Thank you sir. You rock, and so does the theme.. Thanks a lot :)

moopasa


moopasa

Hi Daniel/SMF Tricks admins

I was wondering how we can improve the checkbox and search button in the search page of Reseller?

I think they are too close/overlapping to one another. Please see attached screenshot or image.



Thanks,

Daniel

Reseller.css
Add to the end:
input[type=button], input[type=submit]{margin: 0 10px;}

AkShit

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.




2. Is SA shop mod 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?
Last Edit: September 27, 2014, 11:59:26 PM by akshtsaklani7

Daniel

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.

AkShit

Attached.

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

Edit,

Will it be fine if I manually insert the code in there?
Last Edit: September 28, 2014, 12:49:11 AM by akshtsaklani7

Daniel

Try this. | Yes, you have to do manually the code of the error. If you can't find them, I will help you.

AkShit

The ultimate profile issue is solved.

SA shop is installed but i still don't see credits in the profile

Daniel

Quote from: akshtsaklani7 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
ok, do this:
Display.template.php (Themes/Reseller)
Search:
// 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:

// 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:
// Show the member's signature?

Add before:

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!
Last Edit: September 28, 2014, 01:20:15 AM by Daniel

moopasa

Quote from: Daniel on September 27, 2014, 10:18:52 PM
Reseller.css
Add to the end:
input[type=button], input[type=submit]{margin: 0 10px;}

Thanks as always Daniel.

Daniel


AkShit

hello again, and sorry for bothering so many times.

I wanted to ask a few more things.

1. I'm having an unwanted extra navigation tab (with no text) when I log in.

Attaching subs.php. Could you please check what's going wrong?

2. Is it possible that dropdowns of the navigation bar buttons appear just by hovering cursor on them and not by clicking?

3. Can I add badges depicting posts like on smf tricks site (webmaster, support etc)

4. I want to add some links in the footer, attaching details. Please help.

Thanking in anticipation. :)

Daniel

1. I don't see the error in the file. I registered on your forum and not see it.
2. It can be done. But it would be very difficult because it is being used boostrap for the menu and actually I don't know how, I have to put me to see.
3. Yes, you can. Just upload the images of the badges to  Themes/Reseller images and configure the ranges to display the badge.
4. index.template.php
Search:
<div class="col-lg-12">
', !empty($settings['reseller_copyright']) ? $settings['reseller_copyright'] : $context['forum_name'] .' &copy;' ,'
</div>';


Replace with:
<div class="col-lg-12">
', !empty($settings['reseller_copyright']) ? $settings['reseller_copyright'] : $context['forum_name'] .' &copy;' ,'
</div>
<div class="col-lg-12">
<a href="' .$scripturl . '?topic=6.0" target="_blank">Terms of Service</a>&nbsp;|&nbsp;
<a href="' .$scripturl . '?topic=4.0" target="_blank">Privacy Policy</a>&nbsp;|&nbsp;
<a href="' .$scripturl . '?topic=3.0" target="_blank">Site Rules</a>&nbsp;|&nbsp;
<a href="' .$scripturl . '?topic=12.0" target="_blank">Advertise</a>&nbsp;|&nbsp;
<a href="' .$scripturl . '?topic=9.0" target="_blank">We\'re Hiring</a>
</div>';

AkShit

The nav bar issue will be visible if you log in and read any topic.