Facebook Slide Like Box

Started by Adrek, August 28, 2011, 01:30:30 PM

Previous topic - Next topic

user86


Sankalp Loomba

Sorry for bumping this old thread but I am not able to use this mod with my current theme. But if I switch to the curve defualt theme then it works.
Can anyone tell me how to make it work with my current theme.
My website is - xqsdelhi.tk [nofollow]

Steve

Did you install the theme before or after this mod?
DO NOT pm me for support!

Sankalp Loomba

I installed the theme before.

Steve

Then uninstall the mod and reinstall it. That's what I'd try first.

Any theme you add won't work with mods you've previously installed as a rule.
DO NOT pm me for support!

Adrek

My guess is that FB is not in correct folder (you didn't check other themes when you installed this mod). Mod is using hooks, so it does not matter if theme was installed after mod.
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

Sankalp Loomba

Folder ? I just uploaded the zip file to the forums and it did everything.
It's working if I switch to the default theme that is Curve but isn't working with my current theme.
Is there any way of fixing it.
And yes I tried reinstalling it . That didn't work!

And yes, phantom, I installed the mod with this same theme not anyother theme. It's working in one forums xbros.in [nofollow] but isn't working in another forums I administrate @ xqsdelhi.tk [nofollow]

Adrek

Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

Sankalp Loomba

Just edited the previous comment !
And yes, the box is showing, but the slider isn't working. Just shows the fb default button there.
EDIT: and yes, it isn't giving my any option of choosing all themes for the package. When I click on install (after uninstalling it just simply redirects to the settings page)

Adrek

Both sites (xbros.in and xqsdelhi.tk) have removed SMF and theme copyright in footer. For me no copyright = no support. Maybe someone else doesn't care and will help you.
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

Sankalp Loomba

Actually I hid that because our enemy clans cheat us.
I hope that you wouldn't mind that.
Just tell me if you want me to add that back I have no issues with that. But please do respond.

Steve

Actually, you won't get any support from anyone in any area since the copyrights have been removed. They must be put back.
DO NOT pm me for support!

Sankalp Loomba

Aye aye sir! Done!
Now please help me!

Steve

Please don't pm me for support. I am not on the support team and this needs to be answered by the mod author.

@ phantomm ... I checked and he has put the copyrights back.
DO NOT pm me for support!

Sankalp Loomba

Sir, Sorry for that. And yes I assure you that I will not remove the copyrights ever again!

And Yes I have a suggestion. Can we add this tagging feature in SMF. Like you just did @and then the username so that we can tag the person in our post. ( Sorry for this off topic but just recalled it after seeing your post @Steve sir!)

Adrek

#215
In file ./Themes/flatline/index.template.php:
Code (Find and remove) Select

echo '

<script type="text/javascript">

$(document).ready(function() {
$("ul.dropmenu").superfish();
});

</script>
<script type="text/javascript">
jQuery(document).ready(function($){
$("#gototop").click(function() {
$("body,html").animate({scrollTop:0},800);
});
});
</script>';




Code (Find and remove) Select

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/jquery-migrate-1.0.0.js"></script>
<script type="text/javascript" src="', $settings['theme_url'], '/scripts/superfish.js"></script>


Code (Find) Select

echo $context['html_headers'];

echo '

Code (Replace with) Select

echo $context['html_headers'];

echo '
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/jquery-migrate-1.0.0.js"></script>
<script type="text/javascript" src="', $settings['theme_url'], '/scripts/superfish.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$("ul.dropmenu").superfish();
});
</script>

<script type="text/javascript">
jQuery(document).ready(function($){
$("#gototop").click(function() {
$("body,html").animate({scrollTop:0},800);
});
});
</script>';

echo '


Both menu and slider should work now.
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

Sankalp Loomba


Steve

Quote from: Sankalp Loomba on July 01, 2015, 12:38:12 PMCan we add this tagging feature in SMF. Like you just did @and then the username so that we can tag the person in our post.

I wasn't tagging anybody ... just letting phantomm know that I checked your sites. There are a couple of tagging mods:

http://custom.simplemachines.org/mods/index.php?mod=3860

http://custom.simplemachines.org/mods/index.php?mod=3861
DO NOT pm me for support!

Sankalp Loomba

Thank you to both of you @Steve sir @phantomm sir

Pyrhel

Hi, a little edit from me, because the option to disable in certain actions doesn't work when more than one action is listed:

File Subs-FBSlideLikeBox.php, line 183:
if (!empty($modSettings['fb_slide_box_actions']) && in_array($context['current_action'], array(''.$modSettings['fb_slide_box_actions'].''))) return;

must be edited to:
if (!empty($modSettings['fb_slide_box_actions']) && in_array($context['current_action'], explode(",", $modSettings['fb_slide_box_actions']))) return;

Advertisement: