244881
vinit
How to find the users who are yet to activate there account?
  • 2004/7/22 9:40

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


hi

many times members do register but they dont activate there account leading to few registered users listed in the list without being getting activated.

Is there anyway to find out the users who have to activate there accounts.



244882
Mithrandir
Re: cookies and sessions

Just tried my own suggestion as well as blocking cookies from my test site.

I can login and it works, but whenever I click a link, I am logged out again as the session ID is not added to links automatically, which I thought it would be if cookies were disabled. The redirect function works, though...



244883
netuser
Re: 2 Newbie Questions!
  • 2004/7/22 9:33

  • netuser

  • Just popping in

  • Posts: 16

  • Since: 2004/7/21


[size=xx-large]THANKYOU![/size]



244884
Mithrandir
Re: cookies and sessions

Try replacing redirect_header() in include/functions.php with this one:
function redirect_header($url$time 3$message ''$addredirect true)
{
    global 
$xoopsConfig$xoopsRequestUri;
    if (!
defined('XOOPS_CPFUNC_LOADED')) {
        require_once 
XOOPS_ROOT_PATH.'/class/template.php';
        
$xoopsTpl = new XoopsTpl();
        
$xoopsTpl->assign('sitename'$xoopsConfig['sitename']);
        
$xoopsTpl->assign('langcode'_LANGCODE);
        
$xoopsTpl->assign('charset'_CHARSET);
        
$xoopsTpl->assign('time'$time);
        if (
$addredirect && strstr($url'user.php')) {
            if (!
strstr($url'?')) {
                
$url .= '?xoops_redirect='.urlencode($xoopsRequestUri);
            } else {
                
$url .= '&xoops_redirect='.urlencode($xoopsRequestUri);
            }
        }
        if (
defined('SID') && (! isset($_COOKIE[session_name()]) || ($xoopsConfig['use_mysession'] && $xoopsConfig['session_name'] != '' && !isset($_COOKIE[$xoopsConfig['session_name']])))) {
            if (!
strstr($url'?')) {
                
$url .= '?' SID;                
            }
            else {
                
$url .= '&'.SID;
            }
        }
        
$url preg_replace("/&/i"'&'htmlspecialchars($urlENT_QUOTES));
        
$xoopsTpl->assign('url'$url);
        
$message trim($message) != '' $message _TAKINGBACK;
        
$xoopsTpl->assign('message'$message);
        
$xoopsTpl->assign('lang_ifnotreload'sprintf(_IFNOTRELOAD$url));
        
$GLOBALS['xoopsModuleUpdate'] = 1;
        
$xoopsTpl->display('db:system_redirect.html');
        exit();
    } else {
        
$url preg_replace("/&/i"'&'htmlspecialchars($urlENT_QUOTES));
        echo 
'
        <html>
        <head>
        <title>'
.$xoopsConfig['sitename'].'</title>
        <meta http-equiv="Content-Type" content="text/html; charset='
._CHARSET.'" />
        <meta http-equiv="Refresh" content="'
.$time.'; url='.$url.'" />
        <style type="text/css">
                body {background-color : #fcfcfc; font-size: 12px; font-family: Trebuchet MS,Verdana, Arial, Helvetica, sans-serif; margin: 0px;}
                .redirect {width: 70%; margin: 110px; text-align: center; padding: 15px; border: #e0e0e0 1px solid; color: #666666; background-color: #f6f6f6;}
                .redirect a:link {color: #666666; text-decoration: none; font-weight: bold;}
                .redirect a:visited {color: #666666; text-decoration: none; font-weight: bold;}
                .redirect a:hover {color: #999999; text-decoration: underline; font-weight: bold;}
        </style>
        </head>
        <body>
        <div align="center">
        <div class="redirect">
          <span style="font-size: 16px; font-weight: bold;">'
.$message.'</span>
          <hr style="height: 3px; border: 3px #E18A00 solid; width: 95%;" />
          <p>'
.sprintf(_IFNOTRELOAD$url).'</p>
        </div>
        </div>
        </body>
        </html>'
;
    }
    exit();
}



244885
Forlorndeeds
GZIP and Xoops!

Hi.
I was wondering how do I set my site up to run on GZIP? I asked my provider, and he said that it's only done by a command line, not a php module. He also ponited out that it was at: /usr/bin/gzip
But when I turn GZIP on for XOOPS or the IPM mod it generates errors.
Is it a php moduele? I'm a bit confused about the topic.

Thanks.



244886
netuser
Homepage
  • 2004/7/22 9:20

  • netuser

  • Just popping in

  • Posts: 16

  • Since: 2004/7/21


Hi,
how do i add a static homepage??????????



244887
tom
Re: xoops & oscommerce shared username
  • 2004/7/22 9:04

  • tom

  • Friend of XOOPS

  • Posts: 1359

  • Since: 2002/9/21


As I mentioned in another thread, I found a nuke site with OSC intergrated already, well here's another one (totally different site):

PHPNukeServices

An area other nukes have already grasped, I believe there was also a few for postnuke, one called posttep. I believe even Typo3 has some sort of OSC (don't quote me, quick scans where done there)



244888
fiammy
Are there special things to consider when adding Javascript to a theme?
  • 2004/7/22 8:56

  • fiammy

  • Just popping in

  • Posts: 19

  • Since: 2003/1/14


Hello,
I am trying to add some Javascript to a theme.html file, such as stuff to make my drop-down work, but also a clock a friend of mine specifically asked to be added to his theme.
When I simply include the javascript, it doesn't get executed as far as I can see. Are there specific procedures or checks to do before adding javascript?

A simple example : I need Javascript to get my CSS drop-down menu working in Internet Explorer. The menu works in Opera and Mozilla as it is supposed to, so there isn't an error there. However, in IE it doesn't work at all. No drop-down of any kind .

The text I included is this one :

startList = function() {
if (
document.all&&document.getElementById) {
navRoot document.getElementById("nav");
for (
i=0i<navRoot.childNodes.lengthi++) {
node navRoot.childNodes[i];
if (
node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  
node.onmouseout=function() {
  
this.className=this.className.replace(" over""");
   }
   }
  }
 }
}
window.onload=startList;


Any idea why this doesn't work? I included it in the HEAD part of the HTML file, and tried including it before and after the XOOPS javascript, to no avail.

Thank you very much,

fiammy



244889
dummy
Re: Blank top page
  • 2004/7/22 8:26

  • dummy

  • Just popping in

  • Posts: 12

  • Since: 2004/7/16


yea this helped in last lines of mainfile.php i removed empty lines.



244890
fredski
Re: xoops & oscommerce shared username
  • 2004/7/22 8:16

  • fredski

  • Quite a regular

  • Posts: 265

  • Since: 2004/1/26


I'm using the OSC module and have set it up so that users do not have an account in OSC but have to enter credit card details on each transaction with a third party payment gateway, our current customers prefare it this way as they like knowing that no information is held on the site about them, their purchases and their card details.

At the end of the day there are more people worried about having the card details on a site than there is people bothered about entering their card details on a once per purchase basis on a well known gateway. Worried people means LOST sales. And I'd rather limit my lost sales to the lesser of the two :)







Login

Who's Online

181 user(s) are online (111 user(s) are browsing Support Forums)


Members: 0


Guests: 181


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits