91
allnewtome
Re: Registration Page
  • 2006/2/17 22:21

  • allnewtome

  • Not too shy to talk

  • Posts: 175

  • Since: 2005/11/30


I can only answer for XOOPS 2.2.3

The easiest way would be to add stuff to the top of the screen. E.g. a heading and/or the introductory text which you suggest.

The file you need to amend is modules/profile/register.php

At the very end you'll see

case 'register':
    default:
//INSERT STUFF HERE
    
include_once 'include/forms.php';
    
$reg_form =& getRegisterForm($newuser);
    
$reg_form->display();

    break;
}
include 
XOOPS_ROOT_PATH.'/footer.php';
?>


Add your stuff after the line where I've put (imaginatively enough) INSERT STUFF HERE.

If you know PHP and HTML, the rest is a doddle (and the next bit will be too simple for you)

All the PHP you'd need is to insert your HTML between

echo <<<ENDOFTEXT


ENDOFTEXT;


With the HTML, it might look like:

echo <<<ENDOFTEXT

<h1>Register for this site</h1>
<p>Thank you for your interest in the site etc etc.
<p><font color="red">Your registration will be approved within 24 hours</font>

ENDOFTEXT;



I hope I've understood your question!!


EDIT: The ENDOFTEXT; shouldn't be indented, I think.



92
allnewtome
Re: Can't change user email address as admin
  • 2006/2/14 22:43

  • allnewtome

  • Not too shy to talk

  • Posts: 175

  • Since: 2005/11/30


I promise that this problem was fixed somewhere on the forums in the past (I know because that's how I got it to work!)

If you just change edituser.php, you bypass the system whereby the email address is only changed to a verified address. There's a file changemail.php which needs 2 or 3 alterations.

I'll look for it in the next few days (sorry, don't have time now).



93
allnewtome
Re: Uploading local files in newbb
  • 2006/2/10 19:04

  • allnewtome

  • Not too shy to talk

  • Posts: 175

  • Since: 2005/11/30


Bizarrely, it seems to be working OK tonight.....



94
allnewtome
Uploading local files in newbb
  • 2006/2/9 20:22

  • allnewtome

  • Not too shy to talk

  • Posts: 175

  • Since: 2005/11/30


On my site (xoops 2.2.3 newbb2.3) I can't upload files with a newbb post.

Or, rather, it appears that I *can* upload them, but when I click on the link it says "error loading c:/filename". So it seems that only the filename is attached to the post, rather than the file itself being uploaded.

What am I doing wrong??

Thanks

EDIT: I *think* it might be a problem with openoffice. The filename actually is ....temporary files.... - and I *can* download the file if I SAVE it before OPENing it. So is it XOOPS causing the problem??



95
allnewtome
Re: global notify of any new event or comment in 2.2.4
  • 2006/2/1 23:58

  • allnewtome

  • Not too shy to talk

  • Posts: 175

  • Since: 2005/11/30


I asked a question like this a while ago... basically it has to be done for each user manually (either by them, or by you).

Alternatively, you could change the SQL tables, but it's not a simple case of changing a 0 to a 1 for every user. Each notification is a row (OK I don't know the real name) in a notifications table, so you'd have to know how the notifications system works (e.g. whether other rows are affected; what the column headings represent - this bit is easier) then add lots of rows, or use a modified php script (notifications.php?) to run through all users and add rows for each of them (and for each module).

Hope this helps.



96
allnewtome
Re: Adding Xoops variables to a block
  • 2006/1/30 23:33

  • allnewtome

  • Not too shy to talk

  • Posts: 175

  • Since: 2005/11/30


Quote:

Quest wrote:
You can't use smarty tags in custom block which is html. I believe they only work in the template files and theme.



You could maybe try this. Find a block you don't use, e.g. search, edit its template and replace its content with your code from above. Then make it the center block.

Or why not edit the login block's template, and set it to be on the centre? That might make more sense.



97
allnewtome
Re: Dont showing Full data in Forum Posts Profile (CBB 2.23)
  • 2006/1/30 20:23

  • allnewtome

  • Not too shy to talk

  • Posts: 175

  • Since: 2005/11/30


No problem. Thanks for the thanks



98
allnewtome
Re: NOT listed at opensourceCMS.com! Why?
  • 2006/1/30 20:21

  • allnewtome

  • Not too shy to talk

  • Posts: 175

  • Since: 2005/11/30


Quote:

m0nty wrote:
2.2.x is for people that really want the new features etc, but i agree this should now be made clear on the downloads pages..


What are the new features etc?

Thanks



99
allnewtome
Re: Dont showing Full data in Forum Posts Profile (CBB 2.23)
  • 2006/1/30 20:11

  • allnewtome

  • Not too shy to talk

  • Posts: 175

  • Since: 2005/11/30


See the FAQ "How do I change dates and time formats ?":https://xoops.org/modules/smartfaq/faq.php?faqid=403

There is a line in xoops/language/(english)/global.php saying:
define("_MONTHDAY", "n/j G:i:s");

I have changed it in mine to:
define("_MONTHDAY", "j/n/y G:i"); //YES I KNOW YEAR DEFEATS THE POINT

This is becuase I can never see any occasion when I would ever want to have this date format. *If* you see a potential use for it elsewhere then you'd have to find _MONTHDAY in the relevant part of the cbb module and replace it with _YEARMONTHDAY


EDIT: I see you're using Italian, in which case I suppose the file should be at xoops/language/italian/global.php



100
allnewtome
Re: Re: Xoops official modules?
  • 2006/1/29 23:15

  • allnewtome

  • Not too shy to talk

  • Posts: 175

  • Since: 2005/11/30


I think that the "free market" model for modules has benefits - but the "state" does need to remain involved more than it does


The documentation aspect of XOOPS is atrocious, partly because of language barriers and partly because once we (as users) work something out we are just happy and move on, leaving other users to face the same problems.

An important aspect of this is the selection of modules. Some of the "homework" should be done for us. We DO want to be spoon-fed (otherwise we'd become PHP/SQL experts and do our sites from scratch).

The module repository needs more input "from above" to ensure it (a) is up-to-date and (b) provides expert guidance on which modules are the best. For example, for XOOPS 2.2.3 (which, quite bizarrely, we are now being recommended not to download any more!!) most of the modules I use aren't in the module repository, although usually older versions are.

Just speaking as a beginner, so sorry if I've misunderstood things.




TopTop
« 1 ... 7 8 9 (10) 11 12 13 ... 15 »



Login

Who's Online

204 user(s) are online (127 user(s) are browsing Support Forums)


Members: 0


Guests: 204


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