Facebook Likes Hide

Started by vbgamer45, December 24, 2012, 06:11:55 AM

Previous topic - Next topic

vbgamer45

Link to the mod



[glow=black,2,300]Facebook Likes Hide[/glow]
Developed by 4Kstore for SMFSimple.com
SMF 2.0 - 2.0.X



[glow=black,2,300]El soporte oficial de los desarrolladores de nuestros mods lo encontraras en SMFSimple.com
Official Support in www.SmfSimple.com
[/glow]





[glow=black,2,300]Description:[/glow]
With this mod you can hide content selected in any post and will only be visible if you click on the facebook like button

[glow=black,2,300]Descripcion:[/glow]
Con este mod podras ocultar contenido que selecciones dentro de cualquier post y solo sera visible si se da click en el boton me gusta de facebook



[glow=black,2,300]Features:[/glow]
1. Hooks used
2. Enable - Disable
3. Allow users to unhide the topic when they replied to
4. Show the button to guests
5. Time before reload the page
6. Facebook lang

[glow=black,2,300]Caracteristicas:[/glow]
1. Usa Hooks
2. Habilitar - Deshabilitar mod
3. Permitir a los usuarios ver el contenido oculto si responden al topic
4. Mostrar el boton a los invitados
5. Tiempo antes de recargar la pagina
6. Configurar el idioma de Facebook

Language Support | Lenguajes Soportados
English


Settings
Administration Center » Modification Settings » FBlikes Mod
(index.php?action=admin;area=modsettings;sa=Fblike)

Notes:
This Mod Uses Jquery.
This Mod Uses CSS3.
This Mod Uses Hooks.

License:
 * This SMF modification is subject to the Mozilla Public License Version
 * 1.1 (the "License"); you may not use this SMF modification except in compliance with
 * the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/
 
[glow=black,2,300]Facebook Likes Hide[/glow]
[glow=black,2,300]IMAGES | IMAGENES:[/glow]











Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

4Kstore


¡¡NEW MOD: Sparkles User Names!!!

johnpaul2k2

well . i am happy to be the first to comment, commend and complain!

This mod will boost your traffic via facebook and i think it's commendable, but on the aspect of "complain"

Please i need any expert or all our masters here.

I need to remove restrictions on Guests. that is i need to edit some codes to enable Guests to "like" without registering or logging on my forum because what i am after is "like". people now finds it difficult to register on forum cos they meet many site by the day.
so i am not even after anybody registering. all i want is to "like" .

please somebody should help and tell me how to remove the "login or register" on Guest under cpanel , so they can just "like"


hope it will be possible :D

4Kstore

Can you put the list of your installed mods in your forum?

¡¡NEW MOD: Sparkles User Names!!!

johnpaul2k2

here they are

1.      SMF Gallery Lite    3.1.4    
2.    Optimus Brave    1.8.4    
4.    Tagging System SMFSIMPLE    1.0    ( removed)
5.    Google Translate for SMF 2.0    1.3    
6.    SEO Sitemap    2.2.1    
7.    Ohara YouTube Embed    1.0    
8.    Thank-o-matic    3.0    
9.    Custom Form Mod    1.7    
10.    Related Topics    1.401    
11.    Copyright and Footer Links    3.2    
12.    Google Tagged    2.0    
13.    SA Facebook    2.0.2    
14.    SA Affiliates    3.3.5.6    
15.    SMF 2.0.3 Update    1.0    
16.    Topic Rating Bar    0.7.2    
17.    Registered Links    3.0    (removed)
18.    Invitation Message In Your Face (IMIYF)    0.3.1    
19.    Remember Position After Login/Logout v1.0.3    1.3    
20.    Popos Smiley    1.0    
21.    Social Buttons    2.0    
22.    Redirect Error 404    1.0    (removed)
23.    Anti-Spam Links    1.0.1    
24.    Facebook Likes Hide    1.4    
25.    Ad Managment    3.0.1    
26.    Google Analytics Code    
27.    SimplePortal    2.3.5
28.    Aeva Media

4Kstore

The mod Registered Links put that text in your forum when you surf as guest...
Remove that mod and try.

¡¡NEW MOD: Sparkles User Names!!!

johnpaul2k2

i don't think it's from "registered link" mod because after removing , i still saw it. well i saw this code under
default/languages/Fblike.english.php  look at the bottom code ;)

<?php
global $scripturl;
$txt['fblike_admin_title'] = 'FBLikes Mod';
$txt['fblike_admin_title_desc'] = 'FBLikes Mod Settings';
$txt['fblike_enable'] = 'Enable FBlike';
$txt['fblike_guest_can'] = 'Show to guests';
$txt['fblike_message_unhide'] = 'Unhide When topic reply';
$txt['fblike_count'] = 'Time before reload the page';
$txt['fblike_count_seconds'] = 'Seconds';
$txt['fblike_button_lang'] = 'FB Language';
$txt['fblike_bbc'] = 'Hide content using facebook';
$txt['fblike_all_ok'] = 'Thanks for sharing, now you can see the content!!';
$txt['fblike_all_bad'] = 'Something went wrong, contact the administrator';
$txt['fblike_hidden_txt'] = 'This content is hidden, if you want to see you need to click in facebook button';
$txt['fblike_guest_txt'] = 'The guest can\'t se this content, Please <a href="'.$scripturl.'?action=register">Register</a> or <a href="'.$scripturl.'?action=login">Logging</a>';

4Kstore

You need to check in the admin panel the option "show to guests"

¡¡NEW MOD: Sparkles User Names!!!

johnpaul2k2

Quote from: 4Kstore on December 24, 2012, 06:25:59 PM
You need to check in the admin panel the option "show to guests"
if i click "show on guest" it means they wouldn't the "like" button anymore rather the hidden contents.....
all i need is to remove the "login or register" restrictions for guest so they can only the "like" button rather than "login or register"  and i think it's all about editing

4Kstore

Try removing this part from Sources/Fblike-hooks.php


if(empty($modSettings['fblike_guest_can']) && $user_info['is_guest']) //Show message to guests if the mod is disabled to guests
{
$fbml = '<div class="fblike" id="fblike">
'.$txt['fblike_guest_txt'].'
</div>';
return $fbml;
}


I am in vacations and this is not my computer, I can't help you anymore from here.. sorry

¡¡NEW MOD: Sparkles User Names!!!


4Kstore


¡¡NEW MOD: Sparkles User Names!!!

johnpaul2k2

Some of my visitors are complaining of "not seeing the hidden content(s)" while browsing through Nigeria popular Mobile Browser called Operamini. though i tried it myself and i noticed it. i know that this Mod is made of jQuery which works like Java script .

when you click, it will reload immediately and open the "hidden content" and such isn't applicable to such browser.

any solution to that browser??


i am using wap2 for mobile

4Kstore

I can't reproduce that error because I don't use opera mini, but a possible solution is disable this mod for cellphones..

¡¡NEW MOD: Sparkles User Names!!!

johnpaul2k2

how will i disable it for mobile users

carlosgq

Hola, podrían de favor decirnos que archivo modificar para poder traducir al español este grandioso mod? solo quiero que el mensaje que los visitantes ven, que está en ingles, lo pueda modificar y traducir al español, o ponerle lo que quiera, como "contenido oculto, registrese o logueese para verlo" 
gracias por el mod, saludos

Advertisement: