xoops forums

Forum Index


Board index » All Posts (OldFriend)




OldFriend

Just popping in
Posted on: 2006/7/7 23:48
OldFriend
OldFriend (Show more)
Just popping in
Posts: 99
Since: 2005/10/28
#31

Re: Which PHP editors are best?

Quote:
Side note: we are in a Windows client environment.


I use PHP Designer 2006

PHP DESIGNER is a powerful freeware IDE for coding PHP for both professional and novice alike.

Designed to help accelerating and enhance the process of edit, debug, analyze and publish PHP scripts all wrapped into a sophisticated streamlined interface!

Features

All-in-one editor to edit, debug, analyze and publish PHP scripts
Numerous of enhancements for developer deployment and productivity
Syntax highlighting and support for PHP, HTML, XML, CSS, JavaScript, Java, Perl, JavaScript, VB, C#, Java & SQL
Automatic indentation and insertion of brackets
Automatic code completion while typing
Great performance in speed and size
Sophisticated streamlined and intuitive interface
User-friendly development environment that is comfortable both for beginners and experienced programmers
Tabbed multi-document interface
Fully customizable
Integration with the PHP manual available from php.net with quick keyword search
Localhost preview
Simple external browser integration with Internet Explorer, Netscape, Firefox and Opera
Todo Manager
Project Manager
FTP
Code Libraries
Class Browser
Templates
Snippet Support


OldFriend

Just popping in
Posted on: 2006/7/3 2:20
OldFriend
OldFriend (Show more)
Just popping in
Posts: 99
Since: 2005/10/28
#32

Re: Modules Question

Make sure that your directories are the correct case.

IE. if you install AMS it will not work if you put it an a directory called ams

It must be in directory AMS


OldFriend

Just popping in
Posted on: 2006/6/29 10:51
OldFriend
OldFriend (Show more)
Just popping in
Posts: 99
Since: 2005/10/28
#33

Re: Footer tag doesn't work....

Probable cause is that your theme is not using the footer tag.

Change it to the default Theme and see if it is in use then.


OldFriend

Just popping in
Posted on: 2006/6/26 2:49
OldFriend
OldFriend (Show more)
Just popping in
Posts: 99
Since: 2005/10/28
#34

Re: Site Hacked.

I already have XOOPS Protector 2.4 installed.

I believe that it is a fantastic module (should be included in a basic install) but it can't/did't protect me from tis attack.


OldFriend

Just popping in
Posted on: 2006/6/26 2:39
OldFriend
OldFriend (Show more)
Just popping in
Posts: 99
Since: 2005/10/28
#35

Re: Best FAQ module for xoops 2.2.4???

Quote:

I am successfully using SmartFAQ 1.04 on a XOOPS 2.2.4 website. No problems.


I am also. Works very well.


OldFriend

Just popping in
Posted on: 2006/6/25 4:01
OldFriend
OldFriend (Show more)
Just popping in
Posts: 99
Since: 2005/10/28
#36

Site Hacked.

It seems that my site has been hacked.

When I opened my site this morning, I noticed a strange link inserted into my home page's content. the link was http://ptl.platzer-units. com / attachments/ free-x.tv-asx. jsp

I had a look into my templates directory and found that all the templates had a date and time of 24/6/2006 07:47

Also there seemed to be a few extra php files that shouldn't have been there.

I have delete the contents of the cache and templates folder and everything seems to be normal.

Are there further procautions that I should take to ensure the integrety of the site?

What can I do to prevent future occurrences?

Moderator note - please do not click on the above (now broken!) link without taking care first!


OldFriend

Just popping in
Posted on: 2006/6/19 18:17
OldFriend
OldFriend (Show more)
Just popping in
Posts: 99
Since: 2005/10/28
#37

Re: Simple, but useful hack for profile viewing..

Sorry migoe, I've never even downloaded 2.0 so I can't help you at the moment.

I've only ever used 2.2

If I get time, in the next few days I'll download 2.0 and have a look for you.


OldFriend

Just popping in
Posted on: 2006/6/7 22:48
OldFriend
OldFriend (Show more)
Just popping in
Posts: 99
Since: 2005/10/28
#38

Re: How to say the word "xoops"

Maybe I'll start a fork project...
Called Zoops...


OldFriend

Just popping in
Posted on: 2006/6/4 19:15
OldFriend
OldFriend (Show more)
Just popping in
Posts: 99
Since: 2005/10/28
#39

Simple, but useful hack for profile viewing..

I use this profile hack to add "previous" and "next" buttons on top of my users profile templates to make it easier to move fom one user's profile to the next and back.

In Admin->Misc.Tools->Templates
First you must clone your original templates.
Then in UserProfile, click list and then edit profile_userinfo.html

Add these lines to the start of the template and save it.
<{if $xoops_isadmin}>
  <
table><tr align="center"><td>
    <
input type="button" value="Previous" onclick="location='<{$xoops_url}>/modules/profile/userinfo.php?uid=<{$prev_uid}>'" />
    <
input type="button" value="Next" onclick="location='<{$xoops_url}>/modules/profile/userinfo.php?uid=<{$next_uid}>'" />
  </
td></tr></table>
<{/if}>


Then edit \modules\profile\userinfo.php and find the first and last lines in this code and replace with what I have here.

include_once XOOPS_ROOT_PATH '/modules/system/constants.php';

$uid intval($_GET['uid']);
if (
$uid <= 0) {
    
header('location: '.XOOPS_URL);
    exit();
} else {
  
$prev_uid=$uid-1;
  
$next_uid=$uid+1;
  
$xoopsTpl->assign('prev_uid'$prev_uid);
  
$xoopsTpl->assign('next_uid'$next_uid);
}

$gperm_handler = & xoops_gethandler'groupperm' );


Upload your new version of userinfo.php and Bob's your Uncle.


OldFriend

Just popping in
Posted on: 2006/6/4 18:56
OldFriend
OldFriend (Show more)
Just popping in
Posts: 99
Since: 2005/10/28
#40

Re: Two questions?

$reg_form->addElement(new XoopsFormRadioYN(_US_MAILOK, 'user_mailok', $user_mailok));

The third parameter is the default.

So if you set $user_mailok to 1 before you execute the class statement it should default to yes.



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