× Joomla Facebook Connect support forum

Topic-icon Login Button Shows double image

Active Subscriptions:

None
14 years 3 months ago #19908 by felray
Alex,

I do not have this guests.denied.php in my template (JS Quartz) folder. Also the JFB Modules show everywhere and in any position except in Jomsocial.
The topic has been locked.
Support Specialist
14 years 3 months ago #19954 by alzander
Felicia,
I think you're looking in the wrong folder. That file isn't in /templates/js_quartz or whatever, it should be in the folder I mentioned above:
/components/com_community/templates/<YOUR_JS_TEMPLATE>/guests.denied.php
<YOUR_JS_TEMPLATE> is likely "default"

Hope that helps,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 3 months ago #19996 by felray
Alex,

Here is the code in the file. I inserted the tag and it made no changes to the page:

<?php
/**
* @package JomSocial
* @subpackage Template
* @copyright (C) 2008 by Slashes & Dots Sdn Bhd - All rights reserved!
* @license GNU/GPL, see LICENSE.php
*
*/
defined('_JEXEC') or die();
?>

<div class="denied-box">
<h3 style="margin: 0;"><?php echo JText::_('COM_COMMUNITY_MEMBER_LOGIN');?></h3>
<?php echo JText::_('COM_COMMUNITY_PERMISSION_DENIED_WARNING');?>
<div class="loginform" style="padding-top: 15px;">
<form action="<?php echo CRoute::getURI();?>" method="post" name="login" id="form-login" >

<label for="username" style="display:inline; float: left; width: 100px;"><?php echo JText::_('COM_COMMUNITY_USERNAME'); ?></label>
<input type="text" class="inputbox frontlogin" name="username" id="username" style="width: 200px; margin-bottom: 5px;" />

<div style="clear: left;"></div>

<label for="passwd" style="display:inline; float: left; width: 100px;"><?php echo JText::_('COM_COMMUNITY_PASSWORD'); ?></label>
<input type="password" class="inputbox frontlogin" name="<?php echo COM_USER_PASSWORD_INPUT;?>" id="password" style="width: 200px; margin-bottom: 5px;" />

<div style="clear: left;"></div>

<?php if(JPluginHelper::isEnabled('system', 'remember')) : ?>
<label for="remember" style="padding: 4px 0 4px 100px;">
<input type="checkbox" alt="<?php echo JText::_('COM_COMMUNITY_REMEMBER_MY_DETAILS'); ?>" value="yes" id="remember" name="remember"/>
<?php echo JText::_('COM_COMMUNITY_REMEMBER_MY_DETAILS'); ?>
</label>
<?php endif; ?>

<div style="padding: 4px 0 0 100px">
<input type="submit" value="<?php echo JText::_('COM_COMMUNITY_LOGIN_BUTTON');?>" name="submit" id="submit" class="button" />
<input type="hidden" name="option" value="<?php echo COM_USER_NAME;?>" />
<input type="hidden" name="task" value="<?php echo COM_USER_TAKS_LOGIN;?>" />
<input type="hidden" name="return" value="<?php echo $return; ?>" />
<?php echo JHTML::_( 'form.token' ); ?>
</div>

<div style="padding: 12px 0 0 100px">
<a href="<?php echo CRoute::_( 'index.php?option='.COM_USER_NAME.'&view=reset' ); ?>" class="login-forgot-password"><span><?php echo JText::_('COM_COMMUNITY_FORGOT_PASSWORD'); ?></span></a>
<br/>
<a href="<?php echo CRoute::_( 'index.php?option='.COM_USER_NAME.'&view=remind' ); ?>" class="login-forgot-username"><span><?php echo JText::_('COM_COMMUNITY_FORGOT_USERNAME'); ?></span></a>
<br/>
<a href="<?php echo CRoute::_( 'index.php?option=com_community&view=register' ); ?>"><span><?php echo JText::_('COM_COMMUNITY_CREATE_ACCOUNT'); ?></span></a>
</div>
</form>
<?php echo $fbHtml;?> {JFBCLogin}

</div>
</div>
The topic has been locked.
Support Specialist
14 years 3 months ago #20010 by alzander
Felicia,
Can you check:
* What template you have configured in JomSocial. Make sure that you're in the right themes directory for that file
* Check that the guests.denied.php file does not exist in the /templates/<YOUR_TEMPLATE>/com_community/ folder. If so, edit it there instead.
* Disable any caching you have enabled and re-test
* Try adding other text to the file and see if that shows.. like TEST {JFBCLogin} TEST. That will help narrow down if it's the wrong file, or the tag simply isn't being parsed.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 3 months ago #20031 by felray
Alex,

The file that I have tried to plug the JFB tag into is /public_html/components/com_community/templates/default/guests.denied.php this file does not exist in /templates/<YOUR_TEMPLATE>/com_community/ folder. There is only one file in /templates/<YOUR_TEMPLATE>/com_community/ folder and it is frontpage.guests.php.

I have entered the text TEST {JFBCLogin} TEST in the file guests.denied.php and there are no changes, this text does not appear anywhere. I have cleared the cached many times.
The topic has been locked.
Support Specialist
14 years 3 months ago #20035 by alzander
In JomSocial, you can select the template you want to use. If you're not using the default JomSocial template, you'll need to go to the correct directory in the com_community/templates folder. My guess is that you're simply not editing the right template's file.

If you are in the right file, then another thing to do would be to disable SEF URLs and then go to the login denied page. Post the URL back to us, as that will likely have the correct template file to edit. You don't need to leave SEF URLs disabled after the test.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 3 months ago #20087 by felray
Alex,

You have been very helpful over the past week. Unfortunately these instructions are not working and we are now engaged in a series of back and forth emails. I have tried all that you have instructed and not only is my issue not resolved, but now I have a strange msg on my blog sphynxmp.com/news (please look at it). I can't help but feel like I have aggravated something while trying to fix JFB and caused this msg to appear. At this point I would like to create an admin login for you. It is obvious that I am unable to resolve this issue, however it still needs to be resolved. What email address would you like for me to send the admin login to?
The topic has been locked.
Support Specialist
14 years 3 months ago #20091 by alzander
Felicia,
By policy, we don't modify other extensions on user's site. If JFBConnect has an issue, we'll gladly make any changes necessary to get you going. However, we can't make changes to 3rd party extensions because we obviously don't know all of them and we don't know what unknown affects changes might have. We simply can't assume the liability for ill-effects that could be caused.

I'm sorry we haven't been able to tackle this issue for you, but it just proves that we don't know JomSocial as well as we'd need to to help you in this case. If the changes you're making aren't appearing, we'd strongly urge you to contact JomSocial and simply say "I need to modify page 'xyz', how do I do that?" They should be able to very quickly point you to the right file and then it's a simple matter of inserting our {JFBCLogin} tag, which we can help you with. Alternatively, if you have a developer for your site, they should know it well enough to be able to understand how it's configured and what needs to be done. They also can investigate it further if there is an underlying issue that's preventing the change from happening.

If you'd like to create an admin account for us, we can gladly make sure that JFBConnect is configured correctly (but it already sounds like it is). Again though, we won't be able to make the change you're looking for as it's modifying 3rd party extensions. To send me any private details, you can Private Message them to me by clicking the arrow under my picture (<----) and hitting the mail icon.

Thanks,
Alex
The topic has been locked.