Home arrow Forum Latest posts of: Colt 45
  Welcome, Guest. Please login or register.
Did you miss your activation email?
January 08, 2009, 12:37:14 AM
Home New Posts Search Calendar


Login with username, password and session length
  Show Posts
Pages: [1]
1  Joomla Hacks / Joomla-SMF 2.0.x / Re: Hide E-mail Problem on: April 06, 2007, 01:24:26 AM
Ok, I found a hack.

In components/com_comprofiler/plugin/user/smf_profile.html.php

Around line 290 find:

            <?php
            if ($context['member']['email_public']) {
                ?>
                <a href="mailto:<?php echo $context['member']['email'];?>" title="<?php echo $context['member']['name'];?>"><?php echo $context['member']['email'];?></a>
                <?php
         //   } elseif (!$context['member']['hide_email']) {
                ?>
                <i><a href="mailto:<?php echo $context['member']['email'];?>" title="<?php echo $context['member']['name'];?>"><?php echo $context['member']['email'];?></a></i>
                <?php
            } else {
                ?>
                <i><?php echo $txt[722];?></i>
                <?php
            }
            ?>

and comment out the elseif statement like I have
2  Joomla Hacks / Joomla-SMF 2.0.x / Re: Hide E-mail Problem on: April 06, 2007, 12:59:36 AM
My problem is not only with user's email addresses being available to the public, but with other registered users seeing email addresses on each others profiles.

I'm having the same problem. To eliminate the display of email addresses I've unpublished the SMF Profile plugin for CB.
3  Joomla Hacks / Joomla-SMF 2.0.x / Re: Instaling Step By Step guide on: April 05, 2007, 02:36:13 PM
let me know if i missed anything and may i suggest a Sticky??

Great job Ryan, thanks!

I agree this post should be a sticky!
 
--added--
Should also go in to Joomla-SMF Forum Configuration and set the Registration System and Login Module to CB.
4  Joomla Hacks / Joomla-SMF 2.0.x / [solved]Login problems with CB-Login and cb_plug_smf_2_0_3 on: April 05, 2007, 02:07:09 AM
Just ignore everything below. It was that VirtueMart eCommerce Edition of Joomla 1.0.12 that I installed. I just replaced the index.php with the one from the regular Joomla 1.0.12 and patched it and now everything looks OK.

Joomla: 1.0.12
PHP Version: 4.4.3
MySQL: 4.0.24

SMF: 1.1.2
CB: 1.02

All files from JSMF_2_0_2_unzip1st.zip downloaded from this forum
com_smf_2_0_2.zip
cb_plug_smf_2_0_3.zip
cb_plug_smfinfo_2_1_1.zip
cb_plug_smfposts_2_1_1.zip
cb_plug_smfprofile_2_1.zip
cb_plug_smfprofile_2_1_1.zip
cb_plug_smfsignature_2_0.zip

When attempting to patch file in Joomla-SMF Forum Installation:
Failed: Code to be patched not found in file:$message = intval( mosGetParam( $_POST, 'message', 0 ) );/mypath/to-my/server/docs/index.php

Closest I can find in my index.php is:

if ($option == 'login') {
    $message = mosGetParam( $_POST, 'message', 0 );
   $mainframe->login();


Using CB-Login I get these errors
When logging in: Incorrect username or password. Please try again.
After clicking OK to close the error box I'm logged in.

When logging out: The requested URL /action=logout&sesc= was not found on this server.

I have to log out using the log out button on the user menu.

Login-Logout problems go away if I unpublish the cb_plug_smf_2_0_3 plugin in CB

User is not automatically logged in to SMF in either case.

Just noticed, when trying to view any CB profile all I get is "Hacking attempt"

I know it must be me doing something wrong!
OK, if I unpublish ALL of the SMF plugins for CB, viewing profiles works again.
 
5  Joomla Hacks / Mambo-SMF 1.3.x / Getting an error in Mambo-SMF Forum Configuration on: June 21, 2005, 10:17:01 PM
Installed on Mambo 4.5.2.1

This those 2 radio buttons to select to use Mambo or SMF login. I think selecting the Mambo button and saving still works because it gets saved in the configuration file.

Registration module to use:
Notice: Use of undefined constant mambo - assumed 'mambo' in /home/sas/www.mambocommerce.com/docs/administrator/components/com_smf/admin.smf.php on line 224
checked="checked">Mambo

Notice: Use of undefined constant cb - assumed 'cb' in /home/sas/www.mambocommerce.com/docs/administrator/components/com_smf/admin.smf.php on line 225
>CB
Pages: [1]


Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login