71
OldFriend
Re: Hosting multiple sites
  • 2005/12/3 6:01

  • OldFriend

  • Just popping in

  • Posts: 99

  • Since: 2005/10/28


I guess that its a risk that you take with any hosting company. if you pay your money today and the company goes bankrupt tomorrow then I'd reckon that you will be out of luck.



72
OldFriend
Re: creating a registered user only page in module
  • 2005/12/1 16:22

  • OldFriend

  • Just popping in

  • Posts: 99

  • Since: 2005/10/28


if (!$xoopsUser) {
    
redirect_header(XOOPS_URL."/user.php",3,_Please_Login);
    exit();
}

// Rest of code to be run by logged in users goes after here


And then add to your language file (if its english)
define("_Please_Login","Please Login to access this page");



73
OldFriend
Re: Activation Code not Sent
  • 2005/11/29 3:13

  • OldFriend

  • Just popping in

  • Posts: 99

  • Since: 2005/10/28


I have found that some email programs treat the activation email as spam and put it into the spam folder.

Get your users to check the spam/bulk email folder to see if the ua email is there.



74
OldFriend
Re: How to remove Date information in New module
  • 2005/11/23 17:49

  • OldFriend

  • Just popping in

  • Posts: 99

  • Since: 2005/10/28


Can you have another go at explaining what it is you want to do?

What date? What New module? Why do you want to delete the date?



75
OldFriend
Re: Private Messaging
  • 2005/11/19 10:53

  • OldFriend

  • Just popping in

  • Posts: 99

  • Since: 2005/10/28


I looked into this and couldn't find a way to do it.

So I added a block to another module that I am developing. I have intended to produce a module containing the block for distribution but haven't gotten around to it yet.

It needs to be changed to cater for multi-language support, but I haven't gotten around to it yet either.

I also want to add to it to notify when a "Notification" from the notify system is there.

The code is quite simple. I have only used it for XOOPS 2.2.2 so I don't know if it will work in other versions.

<?php
// 
// ------------------------------------------------------------------------- //
//               E-Xoops: Content Management for the Masses                  //
//                       < http://www.xoops.com >                          //
// ------------------------------------------------------------------------- //
// ------------------------------------------------------------------------- //

function Check_PM()
{
    global 
$xoopsDB,$xoopsUser;
    if (
is_object($xoopsUser)) {
        
$uid $xoopsUser->getVar('uid');
        
$uname $xoopsUser->getVar('uname');
        
$sql "SELECT COUNT(*) FROM $db->prefix('priv_msgs`) WHERE `to_userid` = $uid AND `read_msg` = 0";
        
$result $xoopsDB->query($sql);
        list(
$count_PMs) = $xoopsDB->fetchRow($result);
        switch (
$count_PMs):
        case 
0:
            Return 
false;
        case 
1:
            
$block['message'] = "<a href=".XOOPS_URL."/modules/pm/>".$uname." you have ".$count_PMs." unread message.</a>";
            break;
        default:
            
$block['message'] = "<a href=".XOOPS_URL."/modules/pm/>".$uname." you have ".$count_PMs." unread messages.</a>";
        endswitch;
        Return 
$block;
    } else {
        Return 
false;
    }
}

?>



76
OldFriend
Re: If you could change the world...
  • 2005/11/18 2:58

  • OldFriend

  • Just popping in

  • Posts: 99

  • Since: 2005/10/28


I use 3ix Resized Image to host my site.

$33 per year ($3 per month with a free month if you pay for a year)
200 Mb storage
unlimited bandwidth

I've emailed them a few times with questions and always received prompt replies.



77
OldFriend
Re: I use hugehost.com but they dont have 2.2 yet
  • 2005/11/18 2:43

  • OldFriend

  • Just popping in

  • Posts: 99

  • Since: 2005/10/28


You can do the upgrade yourself, it is quite easy if you follow the instructions.

Just remember to take a backup first.



78
OldFriend
Re: Edit User Avatars
  • 2005/11/16 4:38

  • OldFriend

  • Just popping in

  • Posts: 99

  • Since: 2005/10/28


what do you want to edit, the actual grahic or the link to the graphic? If you want to edit the graphic then you can download the graphic and change what you want with GIMP or similar program and then upload it again.

If you want to edit which avatar appears for a particular user then it is simple to change the database in phpMyAdmin.

1) As with any change, take a backup of your database before you attempt the change.

2) select which avatar you want, find the avatar name that you want in the avatar table. Note the avatar_id.

3) Then change the avatar_id field in the avatar_user_link table for the user to match the one that you want for them.



79
OldFriend
Re: I think I killed my database
  • 2005/11/16 4:13

  • OldFriend

  • Just popping in

  • Posts: 99

  • Since: 2005/10/28


The time to backup is before you have problems, not after...



80
OldFriend
Cloning Templates.
  • 2005/11/5 9:42

  • OldFriend

  • Just popping in

  • Posts: 99

  • Since: 2005/10/28


I think that I've read all the FAQs but couldn't see the answer to this:

When I clone a template set, where does it store the clone? Is it stored physically on disk, or is it just stored in the database?

Secondly: If I later install a new module, what happens to its templates? Do they get added to the default template set or the new template set or both?

Thirdly: Is there a way to apply global changes to all the templates in a set? I would like to add class='formButton' to every form button on my site so that they are displayed consistently via the formButton declaration in my css.

I'm sorry if this is already answered somewhere, but I couldn't find it.




TopTop
« 1 ... 5 6 7 (8) 9 10 »



Login

Who's Online

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


Members: 0


Guests: 111


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