xoops forums

Forum Index


Board index » All Posts (Johnny5Step)




Johnny5Step

Just popping in
Posted on: 2009/1/20 2:06
Johnny5Step
Johnny5Step (Show more)
Just popping in
Posts: 10
Since: 2008/11/22
#1

Re: newbbex / forumEx, how to set default ascending order?

Ok, I did clear all cookies, checked to make sure they were all gone, shut down the system, rebooted. And went back to the forums.

No change. I did double check in my user profile, I have it set to "Oldest First" also, so if a cookie had ever been set, wouldn't it have reinforced the behaviour I am looking for: "Oldest First", rather than countermanding it?

forumEx calls it "Descending Order" but it displays as "Newest First", since I have everything that I can find set to "Oldest First" I don't know where it is being picked up from.

I guess if I was good enough at php coding, I could edit the module files to force "Oldest First". Or maybe on some future update, InstantZero will add those kind of options to the module admin?

I had hoped that there was some place, that I hadn't figured out how to access, that I could change the default in the module.

If anybody has any other things I can try, that would be wonderful.

Thanks


Johnny5Step

Just popping in
Posted on: 2009/1/19 23:12
Johnny5Step
Johnny5Step (Show more)
Just popping in
Posts: 10
Since: 2008/11/22
#2

Re: newbbex / forumEx, how to set default ascending order?

I may not understand what you are saying but:

I have checked that, when I go to admin > module > system > preferences > general settings > Default Comments Display Order
I have always had it set to oldest first. However forumEx always displays "Newest First" which it calls descending order. In fact even if I set it once there to ascending order it fixes my issue for a moment but immediately reverts to descending order or "Newest First"

Thanks,


Johnny5Step

Just popping in
Posted on: 2009/1/19 22:09
Johnny5Step
Johnny5Step (Show more)
Just popping in
Posts: 10
Since: 2008/11/22
#3

newbbex / forumEx, how to set default ascending order?

I've done all the searches I can think of, and tried (unsuccessfully) to sign up for the InstantZero forums (since it's their module), however I can not find any answer on this.

It's probably something obvious, that I'm just too new to all this to see.

Is there some way to set the default in the forums for the topics within each forum to always be ascending order instead of the way it comes with descending order? I really need that.

Thanks for any assistance.


Johnny5Step

Just popping in
Posted on: 2008/12/7 7:36
Johnny5Step
Johnny5Step (Show more)
Just popping in
Posts: 10
Since: 2008/11/22
#4

Re: UserPage 1.3, where's the content entry?

Actually DHTML was the first one I tried and then I went through the other 6, even though some of them I have no familiarity with. In AMS and ForumEx I've been using FCK and Tiny, and sometimes just plain text with html enabled.

However I just tried it again and this time the "enter content" area at "Your Page" did come up. Maybe the first time, everything wasn't populated yet?

So Thanks, I think it's probably working the way it is supposed to now. I guess I was just too impatient and since DHTML didn't work at first I kept trying others.

One of the reasons I tried the UserPage was that it was by Instant Zero and I've been so pleased by the other modules that I got from them, they all seem to totally integrate with the new XOOPS 2.3.2 release.

Thanks again for your quick response, I thought it might be something simple that I was just missing being new to Xoops.

All fixed now!


Johnny5Step

Just popping in
Posted on: 2008/12/7 7:19
Johnny5Step
Johnny5Step (Show more)
Just popping in
Posts: 10
Since: 2008/11/22
#5

Re: UserPage 1.3, where's the content entry?

I have been to the Instant Zero's Userpage module page, both in the French and after translating with Babelfish to English. I can't read the French well enough to use it.

The issue is that no text editor page appears, or at least not anywhere that I can find it.

I did not install any separate text editors, but I am assuming they are installed because I have been using all of them in the AMS Articles module, and ForumEx.

On the other modules that I have installed, once they are installed give you a place to enter data to make articles, forum topics, calendar events and whatnot. UserPage seems to have had no problem creating the correct tables in the MySQL database, though they are all empty.

I would send screen shots if that was possible but out in the Main Menu, I now have a User Page entry, and a Pages List entry.

The user page, says "Your page" upper left and "The page is empty" center, middle. There is a RSS icon in the upper right and it actually works though the feed is obviously empty. There are k linked icons in the lower right (edit, print, pdf, page list and delete). The first one is edit, which seems promising but takes you to a completely blank page.

I can find no other link that even remotely seems to take me to a page where I can create content, such as happens in all the other modules.

I would be happy with a list of text entries or anything at this point. Some of my user do know how to use html and some do not. All of them are used to using the TinyMCE type or

Thanks,


Johnny5Step

Just popping in
Posted on: 2008/12/7 4:50
Johnny5Step
Johnny5Step (Show more)
Just popping in
Posts: 10
Since: 2008/11/22
#6

UserPage 1.3, where's the content entry?

XOOPS Version: XOOPS 2.3.2
Module Name/Version: UserPage 1.3
PHP Version: 5.2.6
MySQL Version: 5.0.67-community
Web Server Software (Apache/IIS/Other): 2.2.9 (Unix)
Operating System: Linux
Theme you are using: Default and Zenogenesis
Custom template: No
A full description of the issue:
I'm new to Xoops, did clean install of 2.3.1 and successful upgrade to 2.3.2.

Have several modules installed and working fine. eXtCal 2.22, User Profile 1.51, ForumEx 1.6, AMS 2.51. Can enter content on any of them and all the editors work, some better than others.

I'm trying to get UserPage 1.3 working, and the install seemed to go fine. I can set preferences in the Admin panel, but can't find how to create a sample user page for my user or tell anyone else how to. I've tried setting the editor to the different ones.

It may be something obvious, like maybe UserPage depends on another module that is usually installed and I haven't installed it.

There is no readme or documentation of any type. I have gone to the Instant Zero - France site, joined the forum and tried to post my question there. Using Babelfish to translate into French, but have not been successful. I did email them my questions, translated via Babelfish into French.

Any help appreciated,


Johnny5Step

Just popping in
Posted on: 2008/12/1 19:33
Johnny5Step
Johnny5Step (Show more)
Just popping in
Posts: 10
Since: 2008/11/22
#7

Re: Following Security Advisor instructions in Protector 3.20

I will copy the instruction here below that I was given:

I have two main questions left at this point. When it says every directory I wish to affect, does that include the ones that were put above (and renamed) the public_html? (I guess that's the Root?) Is the fact that XOOPS is in an oddly named directory inside public_html going to make a difference, or keep me from applying this?

Here is the file I was given to edit:
Quote:
<?php
// Put all the php.ini parameters you want to change below. One per line.
// Follow the example format $parm[] = "parameter = value";
$parm[] = "register_globals = Off";
$parm[] = "session.use_trans_sid = 0";
// full unix path - location of the default php.ini file at your host
// you can determine the location of the default file using phpinfo()
$defaultPath = '/usr/local/lib/php.ini';
// full unix path - location where you want your custom php.ini file
$customPath = "/home/user/public_html/php.ini";
// nothing should change below this line.
if (file_exists($defaultPath)) {
$contents = file_get_contents($defaultPath);
$contents .= "\n\n; USER MODIFIED PARAMETERS FOLLOW\n\n";
foreach ($parm as $value) $contents .= $value . " \n";
if (file_put_contents($customPath,$contents)) {
if (chmod($customPath,0600)) $message = "The php.ini file has been modified and copied";
else $message = "Processing error - php.ini chmod failed";
} else {
$message = "Processing error - php.ini write failed";
}
} else {
$message = "Processing error - php.ini file not found";
}
echo $message;
?>


I couldn't find a:
php_admin_flag allow_url_fopen off
line together so I changed:
$parm[] = "register_globals = Off";
$parm[] = "session.use_trans_sid = 0";
to
$parm[] = "php_admin_flag = Off";
$parm[] = "register_globals = Off";

The session.use_trans_sid having already been taken care of in another way per Protector's instructions and has a green check by it anyway.

I have no idea if that's the correct syntax, but I do want to get it correct before copying it in the hundreds of directories of the XOOPS install,

The only other change I made was on the:
$customPath = "/home/user/public_html/php.ini";
line, I changed "user" to our user name and added the exact name of the director XOOPS is in between public_html and php.ini:
$customPath = "/home/MyUserName/public_html/XoopsDirName/php.ini";

I also wonder if the:
if (chmod($customPath,0600))
means I need to chmod the permissions on all the php.ini files that I install in the XOOPS directory and subdirectories to be 600 (if they don't automatically go to that)?

Here are the instructions I followed:
(I'm leaving out the other parts about deleting a php.ini file and changing it later to add other stuff)

Quote:
INSTALLING A CUSTOM PHP.INI DIRECTIVE

1. Log in to cPanel
2. Click on Legacy File Manager, and have it open to your web root.
3. Click "Create a New File".
4. In the right hand frame, in the field, allow it to default to text document, and put "php.ini" in the field.
5. Find php.ini in the list of files in the left hand window pane.
6. Click on the word php.ini
7. In the right hand frame, click "Edit File with Code Editor"
8. Allow coding to default to iso-8859-1
9. It will launch a new tab or window that is numbered down the side. This is where you will place the values that you need to change.
10. Copy the attached php.ini into it, and edit what you need from there.
11. When you are done, click "Save Changes" at the top, and go back to file Manager.


If I am understanding this correctly, this file accesses the main php.ini on the server and modifies only the lines that it contains, and only for the directories and subdirectories that have a copy of it in them?

If I put a copy of this into "Root" or "public_html" this would affect the Invision Power Board, the Drupal, the Polls, the Calendars, and other php stuff that are all in there own directories already, in some cases subdirectories?

Or maybe not if it was in the "public_html" and then only in the XOOPS main directory and subdirectories?

Hopefully this is what you wanted me to post.
Thanks,


Johnny5Step

Just popping in
Posted on: 2008/11/30 22:35
Johnny5Step
Johnny5Step (Show more)
Just popping in
Posts: 10
Since: 2008/11/22
#8

Following Security Advisor instructions in Protector 3.20

XOOPS Version: XOOPS 2.3.2
Module Name/Version: Protector 3.2
PHP Version: 5.2.6
MySQL Version: 5.0.67-community
Web Server Software: Apache 2.2.9 (Unix)
Operating System: Linux
Theme you are using: default
Custom template: Not at this point
A full description of the issue:
This was a clean install of XOOPS 2.3.1 and upgrade to XOOPS 2.3.2. I followed the install instructions exactly, all the installs went fine and the portal and admin all seems to be working fine.

I have been able to satisfy the Protector 3.20 Security Advisory on 4 of it's 5 warnings. I don't know how severe this security gap is. Though Protector has already logged a couple of attempts of "Guest - CONTAMI - Attempt to inject 'xoopsConfig' was found." and the site's not even really in use yet.

The one I can't figure out is this one:
Quote:

'allow_url_fopen' : on Not secure
This setting allows attackers to execute arbitrary scripts on remote servers.
Only administrator can change this option.
If you are an admin, edit php.ini or httpd.conf.
Sample of httpd.conf:
php_admin_flag allow_url_fopen off
Else, claim it to your administrators.


I did a service ticket to our web host and they said I could add php.ini overwriting files to each folder that would be affected and gave me a txt file of a sample php.ini to edit and instructions on installing it.

I have our XOOPS portal in a sub-directory, not the root directory. And have other php programs working on our domain.

I don't know if I've edited the overwriting php.ini file correctly and want to determine if I need to put it in all the directories of the XOOPS install, including the ones that are above the public-html level?

I am new to Xoops, though I've worked with other php portal type programs.

Thanks for any assistance or advice,



Johnny5Step

Just popping in
Posted on: 2008/11/24 4:14
Johnny5Step
Johnny5Step (Show more)
Just popping in
Posts: 10
Since: 2008/11/22
#9

Re: Using 2.3.1 I have a problem with user login - goes to endless loop

That sounds great, but since I can't get back in to the Administrative Control Panel, how do I edit permissions?

Is there a way to edit it in the mySQL tables through phpAdmin?


Thanks,
Michael


Johnny5Step

Just popping in
Posted on: 2008/11/24 0:26
Johnny5Step
Johnny5Step (Show more)
Just popping in
Posts: 10
Since: 2008/11/22
#10

Re: Using 2.3.1 I have a problem with user login - goes to endless loop

Hi, I'm new to Xoops. I did 4 uninstall and reinstalls yesterday on 2.3.1, and I'm having the same issue each time. The install goes fine. I can login as admin and do all the initial setup. Then once I log out I can't log back in.

I get the same errors as above. Incorrect login etc. then back to the login page.

The lost password process doesn't help. index.php and user.php neither will accept the new password I have just been given.

The last time I set up a secondary user, but that doesn't work either.

The first two times I used Fantastico. Then I thought from what I read here on the forum that that wasn't for the best. The last two were clean installs from the tar downloaded from the XOOPS site. The first time I thought maybe I tried customizing it too much, so I went through the process again and only did a little basic stuff before logging out.

I've tried all the fixes that I found here.
I changed the file /Xoops/kernel/session.php
I have replaced this line:
var $enableRegenerateId = false;
with:
var $enableRegenerateId = true;

I went into phpAdmin and tried to repair and clear the sessions table.

I chmoded the permissions on sessions.php to 777.

All with no effect.

We haven't started using this portal yet, so there's no content. I don't have any problem with uninstalling and doing a clean install. But until I find out why it's letting me in one time as admin then never again, I don't see any future in doing that.

On my last clean install I was even able to satisfy Protector's security advisor except for the one provision that I suppose would have to be done by my host. However, there seems little point in getting them to tighten the security if neither I nor any other member can access the portal. It will, if I can get it working be a member's only board, and registrations verified by admin. We have no desire to be buried under avalanches of viagra etc. ads.

Thanks,
Michael



TopTop