RSS feed

Check user emails on registration

A simple hack to add extra security to your site and prevent malicious users from entering false email addresses. This checks with the mail server entered by the user to see if the mail address exists.

1) download the checkmail.zip file from HERE and extract its contents and put them into the class/ directory of your xoops installation

2) backup the /include/functions.php file

3) edit the /include/functions.php file and replace the current function declaration:

function checkEmail($email,$antispam false)


with the following:

include_once(XOOPS_ROOT_PATH."/class/class.xbschmail.inc");
function 
checkEmail($email,$antispam false)
{
    if (!
$email || !preg_match("/^[_a-z0-9-]+(.[_a-z0-9-]+)*@[a-z0-9-]+([.][a-z0-9-]+)+$/i",$email)){
        return 
false;
    }
    global 
$xoopsConfig;
    
$mailname split('@',$xoopsConfig['adminmail']);
    
$emval = new email_validation(5,0,$mailname[0],$mailname[1],0);
    
$test $emval->ValidateEmailBox($email);
    if (!
$test) {
        return 
false;
    }
    if (
$antispam) {
        
$email str_replace("@"" at "$email);
        
$email str_replace("."" dot "$email);
    }
    return 
$email;
}



That's it. Now try to register using a dummy email. It will be refused. It will also check if you allow users to change their email addresses.

This works on Linux servers. The code includes functionality for Windows servers but I haven't tested it on them.
Read more... | 3 comments

xoopscomments CrystalHack

CrystalHack is a xoops comments system hack that implements the SecurityImage class by Dugris and a useful new "Username" form field.
With this new field even anonymous users can specify a nickname instead of "Anonymous".

I think that this hack will be very useful especially in blogs and it will allow the webmasters to open Comment functionality to anonymous users
without worrying about spammer.

Hope you'll like it...

Download

I succesfully tested it on xoops 2.0.13.2 and 2.0.14.


Alternative link to dev.xoops.org projectpage:
http://dev.xoops.org/modules/xfmod/project/showfiles.php?group_id=1195
Read more... | 25 comments

newbbdots_1_0

Resized Image

While working on a theme I had to create some new images for newbb because the colour did not fit the new layout. I made some simple dots on a 23*11 px background transparent. You can view them running on testforum of my demo site. Grab them, when you like them and download ZIP version of newbbdots_1_0!


michael
Read more... | 3 comments

CBB User Info bar hack!

This CBB hack will add a PHPbbish user profile bar to your posts like this below

Resized Image

v3.04 Download

v3.01 Download
Read more... | 2 comments

Little solutions = PM icons in English & Spanish

Little solutions for big websites like yours

The new members in my site in English and Spanish always asked me what PM means?, and I answered them, "that small icon it is to send private messages." Tired of this, I said to my self I have to look for a solution.

Well, this it is the solution that I found. Probably is your solution to.

PM ICON IN ENGLISH
Resized Image

PM ICON IN SPANISH
Resized Image

Enjoy it,
David Yanez
IPWGC.com Admin

Read more... | 3 comments

XFG - Xoops For Google

Xoops For Google


Introduction
Actually, the few pages availables in the user side of your site(s) does not always offer a significative page title.
That's a problem because significatives pages titles, meta keywords and meta descriptions can help you to have better places in search engines results pages.

XFG (Xoops For Google) is a modified version of Xoops 2.0.13.2 wich add titles to the kernel's pages.
To the default modules wich are provided with Xoops, I have added pages titles and meta keywords and meta description when it was possible.

For memory, the metagen was created by Marcan and Solo.

I have also added, for example purpose, some modified modules.

You will find, later in this article, a complete list of the kernel's pages I have modified and the list of the modified modules.

The goal is not to give you a serie of modified modules but to give you some of them so that you can do it yourself and easily.
Read more... | 10925 bytes more | 12 comments

XOOPS 2.2.4 Profile Photo Hack

This hack adds photo upload ability to Xoops 2.2.4 User Profile
Read more... | 2912 bytes more | 24 comments

xcGallery 2.0 Hack 2.02

CHANGES
-------
Hack Version 2.02
-------
1. Merged with xcGal 2.0 (support of Xoops 2.2)
See features below from previous versions.
2. Added sideblock.
3. Added configuration options for album sort order

Hack Version 1.21
-------
1. Album sort order changed to descending.
2. Added Latest Albums block.
3. Compatibility with xoops 2.2.x.

Read more... | 1643 bytes more | 4 comments

Side Bar for xcGal 2.0

What is it?

If you use Mozilla you would be familiar with sidebars if you are not and still use Mozilla then hit F9 and the side bar panel will open. This is a hack which will add another tab to this sidebar panel which will show you

1. The categories and albums of the given xcGal gallery in a tree structure.
2. It has a tiny search form which will allow you to search the gallery
3. It can show the thumbnail of last uploaded picture

It has user setable themes and also the user can set the number of thumbnails she wants to see... This is cookie based and does not take up any server resource. It works with Mozilla 1.0 (and all avian and canine variants), Konq 3.2, Opera6+ and Internet Explorer 5+

How do I install it on my server?
Presuming that you have a working XOOPS and xcGal module setup, Download the sidebar zip file, unzip the contents and just upload all of them in the same folder as your xcGal module files, thats it!!

Dowload from here

But how do I see it?!
Once you have uploaded all the files just point your browser athttp://yourdomain.com/modules/xcGal/sidebarInstall.php and follow the instructions there. Or you can enable Install Side Bar block, that has all neccessary shortcuts for installation.

Did you make this all by yourself?

No, I used Coppermine Sidebar posted by Tarique Sani.
Post is here.
Read more... | 1 comment

How to Enable Koivi Wysiwyg Editor in XOOPS 2.2.2

Hi! This is a so much asked question. How to enable the Koivi Editor in Xoops 2.2.2, Well here is how to enable the Koivi Editor in custom block editing, you can get the idea from here to implement it in other places, good luck!
Read more... | 995 bytes more | 22 comments


Login

Who's Online

220 user(s) are online (11 user(s) are browsing XOOPS News)


Members: 0


Guests: 220


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

Archives

News archives