Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

"Hello me" have some bugs =/

10 years 8 months ago
  • Sven's Avatar
    Topic Author
  • Sven
  • Offline
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Licenses:
JomSocial Expired

Hello,

I tryed to use the module "hello me" but i have so bugs with it...

the logout button dont worked for first but i fixed this with help of this nice guy: www.jomsocial.com/forum/modules-plugins-...is-not-working#99377

now i see that the icons dont load to... and the "edito status" button dont work to =(

Here a screenshot:

Attachment Unbenannt-3.png not found



It look like "Hello me" dont load the own css file...

i have the version with that i have problems in a local xampp installation...


This is my untouched template file from hellp me... what is wrong with this file?
<?php
/**
 * @copyright (C) 2013 iJoomla, Inc. - All rights reserved.
 * @license GNU General Public License, version 2 (http://www.gnu.org/licenses/gpl-2.0.html)
 * @author iJoomla.com <[email protected]>
 * @url https://www.jomsocial.com/license-agreement
 * The PHP code portions are distributed under the GPL license. If not otherwise stated, all images, manuals, cascading style sheets, and included JavaScript *are NOT GPL, and are released under the IJOOMLA Proprietary Use License v1.0
 * More info at https://www.jomsocial.com/license-agreement
 */
defined('_JEXEC') or die('Restricted access');
?>

<div id="cModule-HelloMe" class="cMods cMods-HelloMe<?php echo $params->get('moduleclass_sfx'); ?>">

    <?php
    if ($my->isOnline() && $my->id != 0) {
        $inboxModel = CFactory::getModel('inbox');
        $notifModel = CFactory::getModel('notification');
        $friendModel = CFactory::getModel('friends');
        $profileid = JRequest::getVar('userid', 0, 'GET');
        $filter = array(
            'user_id' => $my->id
        );

        $toolbar = CToolbarLibrary::getInstance();
        $newMessageCount = $toolbar->getTotalNotifications('inbox');
        $newEventInviteCount = $toolbar->getTotalNotifications('events');
        $newFriendInviteCount = $toolbar->getTotalNotifications('friends');
        $newGroupInviteCount = $toolbar->getTotalNotifications('groups');

        $myParams = $my->getParams();
        $newNotificationCount = $notifModel->getNotificationCount($my->id, '0', $myParams->get('lastnotificationlist', ''));
        $newEventInviteCount = $newEventInviteCount + $newNotificationCount;

        $params->def('unreadCount', $inboxModel->countUnRead($filter));
        $params->def('pending', $friendModel->countPending($my->id));
        $params->def('myLink', CRoute::_('index.php?option=com_community&view=profile&userid=' . $my->id));
        $params->def('myName', $my->getDisplayName());
        $params->def('myAvatar', $my->getAvatar());
        $params->def('myId', $my->id);
        $CUserPoints = new CUserPoints();
        $params->def('myKarma', $CUserPoints->getPointsImage($my));
        $params->def('enablephotos', $config->get('enablephotos'));
        $params->def('enablevideos', $config->get('enablevideos'));
        $params->def('enablegroups', $config->get('enablegroups'));
        $params->def('enableevents', $config->get('enableevents'));

        $enablekarma = $config->get('enablekarma') ? $params->get('show_karma', 1) : $config->get('enablekarma');
        $params->def('enablekarma', $enablekarma);

        $modHelloMeHelper = new modHelloMeHelper();
        $COwnerHelper = new COwnerHelper();
        $js = $modHelloMeHelper->getHelloMeScript($my->getStatus(), $COwnerHelper->isMine($my->id, $profileid));
        $document = JFactory::getDocument();
        $document->addScriptDeclaration($js);

        if ($params->get('enable_facebookconnect', '1')) {
            $params->def('facebookuser', $modHelloMeHelper->isFacebookUser());
        } else {
            $params->def('facebookuser', false);
        }

        $unreadCount = $params->get('unreadCount', 1);
        $pending = $params->get('pending', 1);
        $myLink = $params->get('myLink', 1);
        $myName = $params->get('myName', 1);
        $myAvatar = $params->get('myAvatar', 1);
        $myId = $params->get('myId', 1);
        $myKarma = $params->get('myKarma', 1);
        $enablephotos = $params->get('enablephotos', 1);
        $enablevideos = $params->get('enablevideos', 1);
        $enablegroups = $params->get('enablegroups', 1);
        $enableevents = $params->get('enableevents', 1);
        $show_avatar = $params->get('show_avatar', 1);
        $show_karma = $params->get('enablekarma', 1);
        
        $facebookuser = $params->get('facebookuser', false);
        $config = CFactory::getConfig();
        $uri = CRoute::_('index.php?option=com_community', false);
        $uri = base64_encode($uri);
        ?>

        <div class="cHello-Header">
            <?php if ($show_avatar) { ?>
                <img class="cHello-Avatar" src="<?php echo $myAvatar; ?>" alt="<?php echo CStringHelper::escape($myName); ?>" />
            <?php } ?>
            <h3><a href="<?php echo CRoute::_('index.php?option=com_community&view=profile') ?>"><?php echo CStringHelper::escape($myName); ?></a></h3>
            <?php if ( $params->get('enable_alert',1) == 1 ) { ?>
                <div class="cMod-Notify">
                    <a href="javascript:joms.notifications.showWindow();"  title="<?php echo JText::_('COM_COMMUNITY_NOTIFICATIONS_GLOBAL'); ?>">
                        <i class="tool-icon-notification"></i>
                        <span class="notifcount"><?php echo ($newEventInviteCount) ? $newEventInviteCount : 0 ;?></span>
                    </a>
                    <a href="<?php echo CRoute::_('index.php?option=com_community&view=friends&task=pending'); ?>" onclick="joms.notifications.showRequest();return false;"  title="<?php echo JText::_('COM_COMMUNITY_NOTIFICATIONS_INVITE_FRIENDS'); ?>">
                        <i class="tool-icon-friend"></i>
                        <span class="notifcount"><?php echo ($newFriendInviteCount) ? $newFriendInviteCount : 0 ;?></span>

                    </a>
                    <a href="<?php echo CRoute::_('index.php?option=com_community&view=inbox'); ?>"   onclick="joms.notifications.showInbox();return false;" title="<?php echo JText::_('COM_COMMUNITY_NOTIFICATIONS_INBOX'); ?>">
                        <i class="tool-icon-inbox"></i>
                        <span class="notifcount"><?php echo ($newMessageCount) ? $newMessageCount : 0 ;?></span>
                    </a>
                </div>
            <?php } ?>
            <div class="cHello-Karma">
                <?php if ($show_karma) { ?>
                    <img src="<?php echo $myKarma; ?>" alt="<?php echo JText::_('MOD_HELLOME_KARMA'); ?>" width="103" height="19" style="margin: 5px 0 0;" />
                <?php } ?>
            </div>
            <span id="hellomeLoading" style="display:none"><img src="<?php echo JURI::base() . '/components/com_community/templates/default/images/mini-loader.gif' ?>" alt="Loading..."/></span>

            <!-- status -->
            <?php if ( $params->get('enable_last_status',1) == 1 ) { ?>
                <div class="cHello-Status helloMeStatusText">
                    <div id="helloMeEdit" style="display: none;">
                        <input name="helloMeStatusText" id="helloMeStatusText" type="text" value="" onblur="helloMe.saveStatus();return false;" onkeyup="helloMe.saveChanges(event);return false;" />
                    </div>
                    <div id="helloMeDisplay">
                        <span href="javascript:void(0);" id="helloMeStatusLink" style="text-decoration: none; cursor: pointer;" onclick="helloMe.changeStatus();">
                            <span id="helloMeStatus" style="text-decoration: none;"></span>
                        </span>
                    </div>
                    <a href="javascript:void(0);" id="saveLink" style="line-height: 18px; display: none;" onclick="helloMe.saveStatus();"><?php echo JText::_('MOD_HELLOME_SAVE_MY_STATUS'); ?></a>
                    <?php if ( $params->get('enable_edit_status',1) == 1 ) { ?>
                        <a href="javascript:void(0);" id="editLink" style="line-height: 18px; display: inline-block;" onclick="helloMe.changeStatus();"><?php echo JText::_('MOD_HELLOME_EDIT_MY_STATUS'); ?></a>
                    <?php } ?>
                </div>
            <?php } ?>
        </div><!--.cHello-Header-->


        <?php if ( $params->get('enable_menu',1) == 1 ) { ?>
            <div class="cHello-Menu">
                <div>
                    <i class="com-icon-user"></i>
                    &nbsp;
                    <a href="<?php echo CRoute::_('index.php?option=com_community&view=friends&userid=' . $myId); ?>"><?php echo JText::_('MOD_HELLOME_MY_FRIENDS'); ?></a>
                </div>
                <?php if ($enablegroups) { ?>
                    <div>
                        <i class="com-icon-groups"></i>
                        &nbsp;
                        <a href="<?php echo CRoute::_('index.php?option=com_community&view=groups&task=mygroups&userid=' . $myId); ?>"><?php echo JText::_('MOD_HELLOME_MY_GROUPS'); ?></a>
                    </div>
                <?php } ?>
                <?php if ($enablephotos) { ?>
                    <div>
                        <i class="com-icon-photos"></i>
                        &nbsp;
                        <a href="<?php echo CRoute::_('index.php?option=com_community&view=photos&task=myphotos&userid=' . $myId); ?>"><?php echo JText::_('MOD_HELLOME_MY_PHOTOS'); ?></a>
                    </div>
                <?php } ?>
                <?php if ($enablevideos) { ?>
                    <div>
                        <i class="com-icon-videos"></i>
                        &nbsp;
                        <a href="<?php echo CRoute::_('index.php?option=com_community&view=videos&task=myvideos&userid=' . $myId); ?>"><?php echo JText::_('MOD_HELLOME_MY_VIDEOS'); ?></a>
                    </div>
                <?php } ?>
                <?php if ($enableevents) { ?>
                    <div>
                        <i class="com-icon-events"></i>
                        &nbsp;
                        <a href="<?php echo CRoute::_('index.php?option=com_community&view=events&task=myevents&userid=' . $myId); ?>"><?php echo JText::_('MOD_HELLOME_MY_EVENTS'); ?></a>
                    </div>
                <?php } ?>

                <div>
                    <i class="com-icon-door-out"></i>
                    &nbsp;
                    <a href="javascript:void(0);" onclick="helloMe.logout();"><?php echo JText::_('MOD_HELLOME_MY_LOGOUT'); ?></a>
                </div>
            </div><!--.cHello-Menu-->
        <?php } ?>

        <form action="<?php echo JRoute::_('index.php'); ?>" method="post" name="hellomelogout" id="hellomelogout">
            <input type="hidden" name="option" value="<?php echo COM_USER_NAME; ?>" />
            <input type="hidden" name="task" value="<?php echo COM_USER_TAKS_LOGOUT; ?>" />
            <input type="hidden" name="return" value="<?php echo $uri; ?>" />
            <?php echo JHtml::_('form.token'); ?>
        </form>
<?php } else {
    $content = '';

    if ($params->get('enable_login', '1')) {
        $uri = CRoute::_('index.php?option=com_community&view=' . $config->get('redirect_login'), false);
        $uri = base64_encode($uri);
        $html = '';

        if (JPluginHelper::isEnabled('authentication', 'openid')) {
            JHTML::_('script', 'openid');
        }
        ?>
            <form action="<?php echo CRoute::_('index.php?option=' . COM_USER_NAME . '&task=' . COM_USER_TAKS_LOGIN); ?>" method="post" name="form-login" id="form-login" >
            <?php echo $params->get('pretext'); ?>
                <fieldset class="input bottom-gap">
                    <p id="form-login-username">
                        <label for="username">
            <?php echo JText::_('COM_COMMUNITY_USERNAME') ?><br />
                            <input name="username" id="username" type="text" class="input-block-level" alt="username" size="18" />
                        </label>
                    </p>
                    <p id="form-login-password">
                        <label for="passwd">
                <?php echo JText::_('COM_COMMUNITY_PASSWORD') ?><br />
                            <input type="password" name="<?php echo COM_USER_PASSWORD_INPUT; ?>" id="passwd" class="input-block-level" size="18" alt="password" />
                        </label>
                    </p>
                            <?php if (JPluginHelper::isEnabled('system', 'remember')) { ?>
                        <p id="form-login-remember">
                            <label for="remember">
                                <input type="checkbox" name="remember" id="remember" value="yes" alt="Remember Me" />
                                &nbsp;<?php echo JText::_('COM_COMMUNITY_REMEMBER_MY_DETAILS') ?>
                            </label>
                        </p>
        <?php } ?>
                    <input type="submit" name="Submit" class="btn btn-primary" value="<?php echo JText::_('LOGIN') ?>" />
                </fieldset>

                <ul class="unstyled top-gap">
                    <li><a href="<?php echo JRoute::_('index.php?option=' . COM_USER_NAME . '&view=reset'); ?>"><?php echo JText::_('MOD_HELLOME_FORGOT_YOUR_PASSWORD'); ?></a></li>
                    <li><a href="<?php echo JRoute::_('index.php?option=' . COM_USER_NAME . '&view=remind'); ?>"><?php echo JText::_('MOD_HELLOME_FORGOT_YOUR_USERNAME'); ?></a></li>
                    <li><a href="<?php echo CRoute::_('index.php?option=com_community&view=register&task=activation'); ?>" class="login-forgot-username"><span><?php echo JText::_('MOD_HELLOME_RESEND_ACTIVATION_CODE'); ?></span></a></li>
        <?php
        $usersConfig = JComponentHelper::getParams('com_users');
        if ($usersConfig->get('allowUserRegistration')) {
            ?>
                        <li><a href="<?php echo CRoute::_('index.php?option=com_community&view=register'); ?>"><?php echo JText::_('MOD_HELLOME_REGISTER'); ?></a></li>
        <?php } ?>
                </ul>

        <?php echo $params->get('posttext'); ?>

                <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 $uri; ?>" />
                    <?php echo JHTML::_('form.token'); ?>
            </form>
        <?php
    }

    if ($params->get('enable_facebookconnect', '1')) {
        /** detect and display facebook language * */
        defined('FACEBOOK_LANG_AVAILABLE') or define('FACEBOOK_LANG_AVAILABLE', 1);

        $lang = JFactory::getLanguage();
        $currentLang = $lang->get('tag');
        $fbLang = explode(',', trim(FACEBOOK_LANGUAGE));
        $currentLang = str_replace('-', '_', $currentLang);
        $fbLangCode = '//connect.facebook.net/en_GB/all.js';

        if (in_array($currentLang, $fbLang) == FACEBOOK_LANG_AVAILABLE) {
            $fbLangCode = '//connect.facebook.net/' . $currentLang . '/all.js';
        }

        if ($my->id == 0) {
            if ($config->get('fbconnectkey') && $config->get('fbconnectsecret')) {
                ?>
                    <div id="fb-root"></div>

                    <script type="text/javascript">
                                function cFbInit() {
                                    // keep looping until user status is not 'notConnected'
                                    if (typeof window.FB != 'undefined'
                                            && window.FB._apiKey != '<?php echo $config->get('fbconnectkey'); ?>'
                                            && typeof window.jomFbinit == 'function') {
                                        jomFbinit();
                                    }
                                    else
                                    {
                                        setTimeout("cFbInit();", 500);
                                    }
                                }

                                cFbInit();
                    </script>
                    <script type="text/javascript" src="<?php echo $fbLangCode; ?>" ></script>
                    <script type="text/javascript">
                        function jomFbButtonInit() {
                            FB.init({
                                appId: '<?php echo $config->get('fbconnectkey'); ?>',
                                status: true,
                                cookie: true,
                                oauth: true,
                                xfbml: true
                            });
                        }

                        if (typeof window.FB != 'undefined') {
                            jomFbButtonInit();
                        } else {
                            window.fbAsyncInit = jomFbButtonInit;
                        }
                    </script>
                    <fb:login-button onlogin="joms.connect.update();" scope="read_stream,publish_stream,offline_access,email,user_birthday,status_update,user_status"><?php echo JText::_('COM_COMMUNITY_SIGN_IN_WITH_FACEBOOK'); ?></fb:login-button>
                <?php
            }
        }
    }
}
?>
</div>

And why i cant make a override for the template file from hello me? i take the default,php from the tmpl folder and put it in: \templates\mytemplate\html\mod_hellome\default.php but it dont work =/

Attachments:
10 years 8 months ago
Licenses:
JomSocial Expired GURU Expired Publisher Expired AdAgency Expired iSEO Expired Socialize Expired

Hi Sven,
As you have said that you are working at your local machine,
Can you upload your site at the registered domain under sub domain or sub directory?
Thus way we can assure support to you.
Thanks

10 years 8 months ago
  • Sven's Avatar
    Topic Author
  • Sven
  • Offline
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Licenses:
JomSocial Expired

test.homebrew-genius.de/ Here i upload the webseite...
but not on the registred domain... cant make a test account for my registred domain...

10 years 8 months ago
Licenses:
JomSocial Expired GURU Expired Publisher Expired AdAgency Expired iSEO Expired Socialize Expired

Hi Sven,
I am unable to login with given access credentials.
Please correct the necessary info.
Thanks

10 years 8 months ago
  • Sven's Avatar
    Topic Author
  • Sven
  • Offline
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Licenses:
JomSocial Expired

Ah Sorry it was the wrong URL to the Admin Area...
I Cant edit i get a error called "Undefinied"

Here is the corect URL:
test.homebrew-genius.de/administrator

10 years 8 months ago
Licenses:
JomSocial Expired GURU Expired Publisher Expired AdAgency Expired iSEO Expired Socialize Expired

Hi Sven,
I am still experiencing login failed problem at the given url and username, password.
Please check.
Thanks

10 years 8 months ago
  • Sven's Avatar
    Topic Author
  • Sven
  • Offline
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Licenses:
JomSocial Expired

Ok i upload the full site on a animesector sub domain... Maybe now it work better :P
i update the access informations in the for randoms invisible area...


Part of the message is hidden for the guests. Please log in or register to see it.

10 years 8 months ago
  • Sven's Avatar
    Topic Author
  • Sven
  • Offline
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Licenses:
JomSocial Expired

so...? :D

10 years 8 months ago
Licenses:
JomSocial Expired GURU Expired Publisher Expired AdAgency Expired iSEO Expired Socialize Expired

Hi Sven,
Sorry for the delay due to have a small vacation.
Yeah, now the access credential and test site is ok.
What I am seeing that the hello me module is working fine with joomla defualt template (protostar).
Can you contact with the template provider in this case?
Thanks

10 years 8 months ago
  • Sven's Avatar
    Topic Author
  • Sven
  • Offline
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Licenses:
JomSocial Expired

i make the template by my self... can you try to help me to find the error please? i made all self. its based on this clear template: blank.vc/de/

i realy hope that you can help me... i try do find the error but i cant find it... =(

10 years 8 months ago
Licenses:
JomSocial Expired GURU Expired Publisher Expired AdAgency Expired iSEO Expired Socialize Expired

Hi Sven,
There was a problem with your existing installed jomsocial package.
I have upgraded with latest version 3.2.1.3 and not it is working fine.
please check.
Thanks

The following user(s) said Thank You: Sven
10 years 8 months ago
  • Sven's Avatar
    Topic Author
  • Sven
  • Offline
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Licenses:
JomSocial Expired

Ah Thanks alot, but i upgradet allready on my local XAMPP to with "iJoomla Installer" to version: 3.2.1.3...
but i got there still the same problem =/ You config anything? And why its now all in Dark Style?
How you make the theme style from JomSocial in Dark?

This is great, but i have to set up jomsocial in my local xampp in dark to.

10 years 8 months ago
  • Sven's Avatar
    Topic Author
  • Sven
  • Offline
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Licenses:
JomSocial Expired

And the override that i make from "hello me" dont have any effect anymore =/
why is this so? you delete the override?

but thanks alot for your time! i hope you can help me with my last problems/questions ;)

10 years 8 months ago
Licenses:
JomSocial Expired GURU Expired Publisher Expired AdAgency Expired iSEO Expired Socialize Expired

Hi Sven,
Yeah after uninstall jomsocial fully from your site as
documentation.jomsocial.com/wiki/Upgrade..._3.0.x_on_Joomla_2.5
specially focus on the paragraph

Starting the Upgrade
Uninstall the older JomSocial version by going to Extensions > Extensions Manager, select Manage, select JomSocial/Community, click Uninstall. Make sure that all JomSocial related modules, plugins, extensions are uninstalled.
Go back to 'Install', upload the JomSocial installation package and follow the onscreen instructions (press 'next' a lot).

and intall again, I have made the jomsocial with dark theme as
site admin > components > jomsocial > configurtion > templates > defualt > color theme = dark

and also i have renamed the hello me module at template as
root/templates/current_template/html/mod_hellome/defualt.php to defaultt.php
but didn't change any thing with that file.

and if you want to do same at your local machine then do the same as above.
Thanks

The following user(s) said Thank You: Sven
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW