31
terrion
email generated when Private Message sent
  • 2009/10/20 21:35

  • terrion

  • Friend of XOOPS

  • Posts: 299

  • Since: 2004/9/19


I've got a member of one of my sites asking this:

Quote:
question I kinda feel dumb for asking this, but is there a way I can make it so I receive an email when I get a pm?


Any easy solutions?



32
terrion
Re: Notifications - can not cancel clear or delete
  • 2009/5/27 11:04

  • terrion

  • Friend of XOOPS

  • Posts: 299

  • Since: 2004/9/19


My apologies. I should have looked further.
Terrion
Purchase, renew, or transfer your domain name to Ultranet Domains and get a FREE 10GB hosting account. Virtual Dedicated Servers around $35/monthly, no contract. FREE 24/7 telephone ...



33
terrion
Re: Google search engine
  • 2009/5/27 8:21

  • terrion

  • Friend of XOOPS

  • Posts: 299

  • Since: 2004/9/19


Perhaps you could take a look at this link to see how google can make a custom site search for you. I'm pretty sure they will provide the code that will go in your custom block...

http://www.google.com/coop/cse/

Hope this helps,
Terrion
Purchase, renew, or transfer your domain name to Ultranet Domains and get a FREE 10GB hosting account. Virtual Dedicated Servers around $35/monthly, no contract. FREE 24/7 telephone ...



34
terrion
Re: How to replace xoops banners in default zetagenesis page, with mine?
  • 2009/5/27 7:02

  • terrion

  • Friend of XOOPS

  • Posts: 299

  • Since: 2004/9/19


If you're using the default theme, the logo is ./themes/default/images/logo.gif

See the code snippet from theme.html below:

<body>

        <
div class="wrapper">
                <
table class="toptable" cellspacing="0">
                <
tr>
                <
td id="headerlogo"><a href="<{$xoops_url}>/"><img src="<{$xoops_imageurl}>images/logo.gif" width="148" height="80" title="<{$smarty.const._YOURHOME}>" alt="<{$smarty.const._YOURHOME}>" /></a></td>
                <
td id="headerbanner"><{$xoops_banner}></td>
                </
tr>


Hope this helps,
Terrion
Purchase, renew, or transfer your domain name to Ultranet Domains and get a FREE 10GB hosting account. Virtual Dedicated Servers around $35/monthly, no contract. FREE 24/7 telephone ...



35
terrion
Re: How to replace xoops banners in default zetagenesis page, with mine?
  • 2009/5/27 6:56

  • terrion

  • Friend of XOOPS

  • Posts: 299

  • Since: 2004/9/19


That's going to be in the THEME you're using.

Look in the themes directory, then below that the theme you're using, and look for a logo.jpg or logo.gif file or something like that. It may be even further down in an images directory.

You can open theme.html with your editor and hunt around to see what the logo is actually called.

Also, beware, when you change that image it needs to be the EXACT SAME SIZE as the one you're replacing or you can break the theme.

Hope this helps.
Terrion
Purchase, renew, or transfer your domain name to Ultranet Domains and get a FREE 10GB hosting account. Virtual Dedicated Servers around $35/monthly, no contract. FREE 24/7 telephone ...



36
terrion
Re: How to allow users to change user name (uname)
  • 2009/5/27 6:49

  • terrion

  • Friend of XOOPS

  • Posts: 299

  • Since: 2004/9/19


I've been playing with the suggested solution and because I'm running the new extended profiles modules it admin privlidges for the registered users group opens up too many vulnerabilites. The get an administration menu link in the user menu and suddenly they can be editing profile fields and such.

Anyways, looking at edituser.php in the root of xoops, it seems like I should be able to make a code change in this area:

if ($op == 'editprofile') {
    include_once 
XOOPS_ROOT_PATH.'/header.php';
    include_once 
XOOPS_ROOT_PATH.'/include/comment_constants.php';
    echo 
'<a href="userinfo.php?uid='.$xoopsUser->getVar('uid').'">'_US_PROFILE .'</a>&nbsp;<span style="font-weight:bold;">&raquo;&raquo;</span>&nbsp;'_US_EDITPROFILE .'<br /><br />';
    
$form = new XoopsThemeForm(_US_EDITPROFILE'userinfo''edituser.php''post'true);
    
$uname_label = new XoopsFormLabel(_US_NICKNAME$xoopsUser->getVar('uname'));
    
$form->addElement($uname_label);
    
$name_text = new XoopsFormText(_US_REALNAME'name'3060$xoopsUser->getVar('name''E'));
    
$form->addElement($name_text);
    
$email_tray = new XoopsFormElementTray(_US_EMAIL'<br />');
    if (
$xoopsConfigUser['allow_chgmail'] == 1) {
        
$email_text = new XoopsFormText('''email'3060$xoopsUser->getVar('email'));
    } else {
        
$email_text = new XoopsFormLabel(''$xoopsUser->getVar('email'));
    }
    
$email_tray->addElement($email_text);
    
$email_cbox_value $xoopsUser->user_viewemail() ? 0;


Isn't there a way I can put the uname on that form in such a way it's an editable field instead of just a label?

Anyone have any suggestions?
Terrion
Purchase, renew, or transfer your domain name to Ultranet Domains and get a FREE 10GB hosting account. Virtual Dedicated Servers around $35/monthly, no contract. FREE 24/7 telephone ...



37
terrion
Re: How to allow users to change user name (uname)
  • 2009/5/27 6:25

  • terrion

  • Friend of XOOPS

  • Posts: 299

  • Since: 2004/9/19


Xend,

Thank you very much for your reply.

I totally agree that this should be a solution put in place for a very short time for the very reason you state.

As you can imagine, having 1000s of message board posts suddenly appearing with different names is quite disturbing to our community.

About your suggestion, can this open a vulnerability where people might be able to update other members profiles?

Terrion
Purchase, renew, or transfer your domain name to Ultranet Domains and get a FREE 10GB hosting account. Virtual Dedicated Servers around $35/monthly, no contract. FREE 24/7 telephone ...



38
terrion
Notifications - can not cancel clear or delete
  • 2009/5/27 6:17

  • terrion

  • Friend of XOOPS

  • Posts: 299

  • Since: 2004/9/19


I'm running a XOOPS site upgraded from 2.2.5 to 3.3.3.

When I click on the notifications button in the user menu the notifications I have are listed. If I select them and click any of the options, cancel, clear, or delete, it has no effect and the notifications are still there.

My system configuration is:

XOOPS Version - XOOPS 2.3.3
PHP Version - 5.2.8
MySQL Version - 5.0.67.d7-ourdelta-log
Server API Version - cgi-fcgi
OS Version - Linux

safe_mode - Off
register_globals - On
magic_quotes_gpc - On
allow_url_fopen - On
fsockopen - On
allow_call_time_pass_reference - On
post_max_size - 100M
max_input_time - 160
output_buffering - 0
max_execution_time - 160
memory_limit - 64M
file_uploads - On
upload_max_filesize - 100M
Terrion
Purchase, renew, or transfer your domain name to Ultranet Domains and get a FREE 10GB hosting account. Virtual Dedicated Servers around $35/monthly, no contract. FREE 24/7 telephone ...



39
terrion
Private Message Empty Box Not Working
  • 2009/5/27 6:11

  • terrion

  • Friend of XOOPS

  • Posts: 299

  • Since: 2004/9/19


After upgrading from 2.2.5 to 2.3.3 I've done all the module updates as required.

The Empty button in private messaging is not working. When I press the button it says, You Don't Have and Private Messages, then below that it says, Are you sure you want to empty the box, and has a submit button. If I hit the submit button I get a white screen.

Here's my system configuration:

XOOPS Version - XOOPS 2.3.3
PHP Version - 5.2.8
MySQL Version - 5.0.67.d7-ourdelta-log
Server API Version - cgi-fcgi
OS Version - Linux

safe_mode - Off
register_globals - On
magic_quotes_gpc - On
allow_url_fopen - On
fsockopen - On
allow_call_time_pass_reference - On
post_max_size - 100M
max_input_time - 160
output_buffering - 0
max_execution_time - 160
memory_limit - 64M
file_uploads - On
upload_max_filesize - 100M

The address bar reads <site>/modules/pm/viewpmsg.php on the white screen.



Terrion
Purchase, renew, or transfer your domain name to Ultranet Domains and get a FREE 10GB hosting account. Virtual Dedicated Servers around $35/monthly, no contract. FREE 24/7 telephone ...



40
terrion
How to allow users to change user name (uname)
  • 2009/5/26 2:18

  • terrion

  • Friend of XOOPS

  • Posts: 299

  • Since: 2004/9/19


I've just upgraded from 2.2.5 to 2.3.3. I did not anticipate the problems I would have with the displayname no longer being used. How can I allow users to change their username (uname)? I can change it for them as admin, but on their profile edit screens there they can see their uname, but not change it.
Terrion
Purchase, renew, or transfer your domain name to Ultranet Domains and get a FREE 10GB hosting account. Virtual Dedicated Servers around $35/monthly, no contract. FREE 24/7 telephone ...




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



Login

Who's Online

146 user(s) are online (102 user(s) are browsing Support Forums)


Members: 0


Guests: 146


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