1
PlaneGuy
Re: is username/pass saved accessible via a session variable
  • 2007/10/8 9:31

  • PlaneGuy

  • Just popping in

  • Posts: 10

  • Since: 2004/11/1


Thanks rlankford, however I seem to have hit a snag.

I include mainfile, however, I get the following error;
Quote:
PHP Fatal error: Call to a member function on a non-object in /var/www/vhosts/wodenses.org.au/httpdocs/include/common.php on line 35


This equates to the following line in common.php
Quote:
$xoopsSecurity->checkSuperglobals();


Sorry but objects in PHP are a bit past my debugging skills.



2
PlaneGuy
Re: is username/pass saved accessible via a session variable
  • 2007/10/1 13:44

  • PlaneGuy

  • Just popping in

  • Posts: 10

  • Since: 2004/11/1


Does anyone know?



3
PlaneGuy
Re: How do I show an image in custom block with php?
  • 2007/9/9 8:11

  • PlaneGuy

  • Just popping in

  • Posts: 10

  • Since: 2004/11/1


Be careful with your double quotes (") and single quotes ('). The string you have pasted is an incomplete HTML expression, because the " for the URL actually closes off the echo string. It'll cause a PHP error, which you aren't seeing.



4
PlaneGuy
is username/pass saved accessible via a session variable
  • 2007/9/9 7:22

  • PlaneGuy

  • Just popping in

  • Posts: 10

  • Since: 2004/11/1


I have an existing web application, that is currently not integrated intro Xoops, however is using the xoops_user table for its user login information.

ie the web app is hosted in the same domain, but is not integrated. What I'd like to do is this;

if a user logs in to the XOOPS website, and then goes to the webapp, the web app, can extract the XOOPS username/password (I presume it'll be hashed in some way) from a session or cookie or similar. This will save the user logging in twice.

(I want to do as little editing of this web app as possible at this stage, so am not aiming for full integration at this time, nor even including XOOPS authentication (the web app uses a lot of custom authentication)



5
PlaneGuy
xcgallery 2.0.2 and xoops
  • 2006/3/2 7:23

  • PlaneGuy

  • Just popping in

  • Posts: 10

  • Since: 2004/11/1


I am having problems with xcgallery since upgrading the module from RC1.1 to 2.02.

Now, when a user clicks on a thumbnail shown in the block (I have random and last uploaded displayed on the front page) there is only a blank page displayed.

Now, when vieing the front page, the PHP debug info is:

Notice: Undefined offset: 2 in <directory>\modules\xcgal\blocks\xcgal_blocks.php on line 201

(This is displayed twice)


So, if I click an image thumbnail, the following is shown in place of the blank page;

Fatal error: Call to undefined function is_image() in <directory>\modules\xcgal\displayimage.php on line 146
Notice [PHP]: Undefined variable: xcgal_module_header in file <directory>\modules\xcgal\displayimage.php line 452

I have tried updating the module through module admin, but no luck.

Some setup stats:
Xoops version: 2.2.3 final
System Version: 2.13 (reported in module admin)
XCGallery Version: 2.02

Block Options:
Meta Albums: random/lastup
Pics Per Row: 4
Display Captions: Yes

Anyone have some suggestions?



6
PlaneGuy
News2 - Submittal form
  • 2004/11/12 22:49

  • PlaneGuy

  • Just popping in

  • Posts: 10

  • Since: 2004/11/1


I have installed and am running News2. When a user selects "submit news" from the main menu, a form is presented that permits the user to enter the Title, Topic and "The scoop". However, when I go in to the admin tools area, I have many extra fields - title, intro text, main text, publish date and expiry date.

Does anyone know what would be required to modify to give users (even the admin when going in through the user menu) the ability to use these extra fields?



7
PlaneGuy
Force user to change password on login
  • 2004/11/4 7:38

  • PlaneGuy

  • Just popping in

  • Posts: 10

  • Since: 2004/11/1


I do not permit people to register on my webiste, as I have a limited group of people that I want to have membership. Anyway, I create a user account for the person, and email them a username and password.

Now, depsite my best efforts, some users are not changing their passwords. I would like to force the user to change their password - either on first login, when the admin sets a flag against the account, or after a set number of days since last login.

Is this possible? Has anyone implemented any or all of the ideas?



8
PlaneGuy
Re: xcGallery and Batch Upload Problem
  • 2004/11/2 19:58

  • PlaneGuy

  • Just popping in

  • Posts: 10

  • Since: 2004/11/1


Well, well. It looks like it was a very easy fix - wish I spotted it sooner

The problem is that there is a function newly added to PHP in v5, called scandir(), and thus the attempt to decalre a function in admin\searchnew.php called scandir() fails.

A simple search and replace of serchnew, replacing scandir with scandir2 (there are a few instances, limited to this file only).

Rudimentary testing shows that it hasn't introduced any new problems.



9
PlaneGuy
Re:Cant post in forum or update profile
  • 2004/11/2 7:14

  • PlaneGuy

  • Just popping in

  • Posts: 10

  • Since: 2004/11/1


Quote:

functionlab wrote:
Thanks Mithrandir!

Are there any serious security issues I should be worried about with this change?


Does anyone know if this is a security issue?

I have users that have the same problem and would like a way around it.



10
PlaneGuy
xcGallery and Batch Upload Problem
  • 2004/11/1 6:22

  • PlaneGuy

  • Just popping in

  • Posts: 10

  • Since: 2004/11/1


I have just set up xcGallery v1.1, with XOOPS 2.09 Beta, on a system running PHP 5.0 (hence the beta). Everything is running fine, except for trying to use the batch add function in xcGalley.

When I select Batch Add in the admin menu, I get the following error message:
Fatal error: Cannot redeclare scandir() in C:\WebServer\jerrases.homeip.net\modules\xcgal\admin\searchnew.php on line 314

Any ideas where I can start to debug, and hopefully fix this. A search didn't reveal anyone else with a similar problem.




TopTop



Login

Who's Online

50 user(s) are online (27 user(s) are browsing Support Forums)


Members: 0


Guests: 50


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits