41
-Page
Re: Spy on anonymous users :-)
  • 2004/9/2 5:41

  • -Page

  • Just popping in

  • Posts: 74

  • Since: 2004/7/16


Thanks zer0fill, the Spy.zip was a good idea.

I dropped that misc.php file on my server and there are no errors.

- Keep hacking, - You da man!



42
-Page
How to get articles to display nicley!
  • 2004/9/2 5:25

  • -Page

  • Just popping in

  • Posts: 74

  • Since: 2004/7/16


How the heck do you get articles in Xoops! to look good?

I don't want the date it was posted or by who ect, just article teasers with the read more link.

Some of the sites that I've seen have done a great job at the like Fantasyasylum.com, but how??

I would really like to see more sites that have organized their content outside of the standard and if possible, what they used and how they got it to go.

- If you know of a site using Xoops! that has it articles displayed in a clean, nice format, please post the link here so that the rest of us can see whats posible!



43
-Page
Re: Spy on anonymous users :-)
  • 2004/9/1 22:24

  • -Page

  • Just popping in

  • Posts: 74

  • Since: 2004/7/16


Thanks for your reply zer0fill!

This is my ORIGONAL misc.php between lines 233 and 245

Quote:
$file = XOOPS_CACHE_PATH.'/'.trim($HTTP_GET_VARS['file']);
if (file_exists($file)) {
include($file);
@unlink($file);
}
}
break;
case 'ssllogin':
if ($xoopsConfig['use_ssl'] && isset($HTTP_POST_VARS[$xoopsConfig['sslpost_name']]) && is_object($xoopsUser)) {
include_once XOOPS_ROOT_PATH.'/language/'.$xoopsConfig['language'].'/user.php';
echo sprintf(_US_LOGGINGU, $xoopsUser->getVar('uname'));
echo '<div style="text-align:center;"><input value="'._CLOSE.'" type="button" onclick="window.opener.location.reload();window.close();" /></div>';
$closebutton = false;
}
break;
default:
break;
}
(>>Line 241 >>)if ($closebutton) {
echo '<div style="text-align:center;"><input value="'._CLOSE.'" type="button" onclick="javascript:window.close();" /></div>';
}
xoops_footer();
}


And my misc.php file with your code. Lines 222 to 245

Quote:
echo '</td><td>'.$onlineUsers[$i]['module'].'</td></tr>';
}
}
// show link to spy on every anonymous ip
if ($isadmin == 1 && count($anon_ips))
{
$anon_ips = implode('|',$anon_ips);
echo '<tr><td colspan="3" align="center"><a href="java script:window.opener.location=\''.XOOPS_URL.'/modules/admintools/index.php?tool=iplookup&ip='.$anon_ips.'\';window.close();">Anonymous Lookup</a></td></tr>';
}
echo '</table><br />';
if ($online_total > 20) {
if ($xoopsUser && $xoopsUser->isAdmin()) {
$file = XOOPS_CACHE_PATH.'/'.trim($HTTP_GET_VARS['file']);
if (file_exists($file)) {
include($file);
@unlink($file);
}
}
break;
(>>Line 241 >>) case 'ssllogin':
if ($xoopsConfig['use_ssl'] && isset($HTTP_POST_VARS[$xoopsConfig['sslpost_name']]) && is_object($xoopsUser)) {
include_once XOOPS_ROOT_PATH.'/language/'.$xoopsConfig['language'].'/user.php';
echo sprintf(_US_LOGGINGU, $xoopsUser->getVar('uname'));
echo '<div style="text-align:center;"><input value="'._CLOSE.'" type="button" onclick="window.opener.location.reload();window.close();" /></div>';
$closebutton = false;
}

Thanks again for your help zer0fill, - You Rock! :)



44
-Page
Re: Spy on anonymous users :-)
  • 2004/9/1 4:07

  • -Page

  • Just popping in

  • Posts: 74

  • Since: 2004/7/16


When I put this code on to ./misc.php ~line 223
I get this error.
-----------------------------------------------
Parse error: parse error, unexpected T_CASE in /my path/misc.php on line 241
-----------------------------------------------
I tried adding it to the line as well as replacing the line. (you didn't specify) but got the same error either way.

Quote:
echo '</td><td>'.$onlineUsers[$i]['module'].'</td></tr>';
}
}
// show link to spy on every anonymous ip
if ($isadmin == 1 && count($anon_ips))
{
$anon_ips = implode('|',$anon_ips);
echo '<tr><td colspan="3" align="center"><a href="java script:window.opener.location=\''.XOOPS_URL.'/modules/admintools/index.php?tool=iplookup&ip='.$anon_ips.'\';window.close();">Anonymous Lookup</a></td></tr>';
}
echo '</table><br />';
if ($online_total > 20) {


Also, How could I get it to specify both the IP AND the reverse DNS? - Like have the IP on top and the full reverce DNS below it?

Thanks!

- SUPER cool hack!!



45
-Page
Re: PayPal module
  • 2004/8/28 16:49

  • -Page

  • Just popping in

  • Posts: 74

  • Since: 2004/7/16


COUNTER-MAPS.COM is registered to Frinchaboy, Alexandre seventysATcybercafe.fr.

It IS his work and unlike Some other issues similar to this handled very gruff and lawyer-like, Alexandre has handled this issue with class.

Looks like good work from a good guy to me!

I'm looking forward to Alexandre's interest in XOOPS and I hope to see him more often in here!



46
-Page
Re: http:// is NOT http://www.
  • 2004/8/17 8:45

  • -Page

  • Just popping in

  • Posts: 74

  • Since: 2004/7/16


-----------------------------------------------------------
V2.06 - http:// - www. resolve hack

https://xoops.org/modules/newbb/viewtopic.php?viewmode=thread&topic_id=13171&forum=21&post_id=69661#69661
-----------------------------------------------------------

Wow, that's quite a bit of hacking, thanks for the link mercibe!

It looks as though quite a few people have been here at length.

- It sure would be nice if were as easy as the the below!
----------------------------------------------------------
define('XOOPS_URL', 'http://myaddress.com ', 'http://www.myaddress');
----------------------------------------------------------





47
-Page
Re: http:// is NOT http://www.
  • 2004/8/17 8:20

  • -Page

  • Just popping in

  • Posts: 74

  • Since: 2004/7/16


Quote:
<html>
<head>
<meta http-equiv="REFRESH" content="0; URL=http://www.mycompany.com">
<title>My Company</title>
</head>
<body>
</body>


This is good advice, thank you jmass!
- I'm really only worried about people that type the domain in directly though.

I tried This advice too.
But it gave me this error:
----------------------------------------------------------
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/myaddress.com/include/common.php on line 235

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/myaddress/include/common.php on line 241
----------------------------------------------------------
So humm....



48
-Page
Re: http:// is NOT http://www.
  • 2004/8/17 0:02

  • -Page

  • Just popping in

  • Posts: 74

  • Since: 2004/7/16


Humm... I don't have access to the apache configuration. -- Thankfully so, - What a pile of pain!

What about a .htaccess include?

Has anyone ever seen an htaccess include that would send people to an alternate resolve? (all http:// requests sent to www.request)?

Is this possible??



49
-Page
Re: installing 2 copies of the same mod
  • 2004/8/16 23:45

  • -Page

  • Just popping in

  • Posts: 74

  • Since: 2004/7/16


Solution:

The clonabe version of TinyContent!

Great mod!



50
-Page
http:// is NOT http://www.
  • 2004/8/16 23:37

  • -Page

  • Just popping in

  • Posts: 74

  • Since: 2004/7/16


Since my mainfile.php is configured to http://(my address).com I've noticed that if I access the site under www.myaddress.com, I get the error "The Selected module does not exist. and if I configure mainfile.php tohttp://www. then the modules won't come up underhttp://my address.com ...

So, I tried:
----------------------------------------------------------
define('XOOPS_URL', 'http://myaddress.com ', 'http://www.myaddress');
----------------------------------------------------------
but it only seems to catch what ever one is first.

How can I get everything to work properly under both resolves? (http:// AND www.) ??




TopTop
« 1 2 3 4 (5) 6 7 »



Login

Who's Online

240 user(s) are online (149 user(s) are browsing Support Forums)


Members: 0


Guests: 240


more...

Donat-O-Meter

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

Latest GitHub Commits