1
nicoleking
Re: Typo in userinfo.php XOOPS 2.0.10 (I think - its the latest one, anyway)
  • 2005/5/16 7:26

  • nicoleking

  • Just popping in

  • Posts: 8

  • Since: 2004/12/31


Oh, sorry for that. Where should I have posted it? The typepo produces some interesting effcts, including a "popup" that logged in user is not allowed to visit the area they are currently visiting.

Nicole (aka CatsMuvva)



2
nicoleking
Re: Typo in userinfo.php XOOPS 2.0.10 (I think - its the latest one, anyway)
  • 2005/5/15 23:53

  • nicoleking

  • Just popping in

  • Posts: 8

  • Since: 2004/12/31


Yes, it's definitely 2.0.10



3
nicoleking
Typo in userinfo.php XOOPS 2.0.10 (I think - it's the latest one, anyway)
  • 2005/5/15 23:52

  • nicoleking

  • Just popping in

  • Posts: 8

  • Since: 2004/12/31


In /userinfo.php there is a typo in line 33. The line currently reads

$xoopUser or redirect_header('index.php', 3, _NOPERM);

It should read

$xoopsUser or redirect_header('index.php', 3, _NOPERM);

Note the change from $xoopUser to $xoopsUser at the start of the line.

Love

Nicole (aka CatsMuvva)



4
nicoleking
Re: Wiedness in Template editing
  • 2005/5/15 23:47

  • nicoleking

  • Just popping in

  • Posts: 8

  • Since: 2004/12/31


There is no step 2 in the list above. Sorry, my bad.

Nicole



5
nicoleking
Wiedness in Template editing
  • 2005/5/15 23:36

  • nicoleking

  • Just popping in

  • Posts: 8

  • Since: 2004/12/31


Hallo everyone, especially those who read this.

I'm having a bad time with a template. I've been extending the mylinks module because I found a situation where it could get into a tremendous pickle. Try this out ...

1. Create a link from the MyLinks admin interface where the URL is completely empty (ie. does not even contain the text "http://"). It has to be done from this interface, if you try to submit a link with an empty URL from the user interface, it complains (probably quite rightly).

3. Ensure that the module preferences are set that the links are NOT opened within a frame.

4. Now go to the links list items and click on your link. Your browser shoudl open a couple of instances of itself, the last one will be constantly refreshing itself with a blank URL. Well, that's what IE6 and Firefox both do.

The problem is that the first window to open contains a refresh directive with interval of 0 seconds and a blank URL from which to refresh the window.

My plan after looking at the way the link to the linked website is managed was to create a "catch-all" page for those links that do not have a URL recorded. It was relatively easy to hack the php (knowing php not at all, but being an otherwise fair programmer) to do this in /modules/mylinks/view.php. In essence what happens is that if there is a URL, the browser is directed to open that URL. If there is no URL, the "catch-all" page is displayed.

Since I wanted the catch-all page to look like a regular XOOPS page, I decided to add it to the template set of mylinks. I added appropriate lines to the xoops_version.php file. I created a php file and a template file in the appropriate places: the php under /modules/mylinks and the template in /modules/mylinks/templates.

Then after a bit of beggaring about I realised I have to update the modules from SystemAdmin=>Modules. This proceeded normally and my new template appeared under SystemAdmin=>Templates.

I could even edit the template, but every time I put some content in it (it started out totally empty) and pressed "submit", the content came back empty! This has me totally baffled - I can find the record in the database which has the correct content. The template file on disk has the correct content, but the template editor ignores all my attempts at modifying it. I'm disabled caching competely and enabled "Update module template .html files from themes/your theme/templates directory".

Is this a bug or have I dne something daft?

Many thanks in advance.

Nicole (aka Catsmuvva)



6
nicoleking
Re: Multi-Menu 1.5
  • 2005/1/12 2:19

  • nicoleking

  • Just popping in

  • Posts: 8

  • Since: 2004/12/31


Hi Hawkeye,

How did you change thenumber of columns used? I've dug everywhere and can't see the setting anywhere.

Many thanks

Nicole



7
nicoleking
Re: Reference to undefined function
  • 2004/12/31 14:43

  • nicoleking

  • Just popping in

  • Posts: 8

  • Since: 2004/12/31


Dearest 'Cucumber Division Error'

Thanks for the info on the minimum privileges for the XOOPS MySQL user.

I guess that now I've encountered one rather odd error about an undefined function, I'll know where to start rummaging.

I've found some wonderful documents in the "Community Documents" area that seem very promising for me.

Thank you for your prompt reply.

Nicole



8
nicoleking
Reference to undefined function
  • 2004/12/31 11:23

  • nicoleking

  • Just popping in

  • Posts: 8

  • Since: 2004/12/31


Hello everyone - Happy New Year!!

I'm no Linux guru and I've only just installed XOOPS on a server at home, to evaluate it for my company's web site. The machine in question is running a pretty plain vanilla SuSE 9.2.

I did run into quite a few problems with file permissions and ownership, which by trial and error I managed to overcome. Perhaps some more obvious guidance here is called for. I'm still having problems with making Apache2 understand that the URIhttp://linux.nicole/xoops/ should be understood ashttp://linux.nicole/xoops/html/index.php.

I found it pretty difficult, too, to discover exactly what privileges my XOOPS account needed with MySQL. Some more explicit guidance here would also be useful.

Finally, when I had completed the XOOPS setup, I got a message stating that function "set_save_session_handler" was undefined. Bearing in mind that I know nothing of PHP, and by grepping through the XOOPS php pages, I eventually found that this was a function built-in to PHP .... provided you have the correct PHP module installed. I went back to YaST and installed php4_session and it worked. It would be very useful if we could have some guidance on what PHP modules are required.

I know that RPMs are a real pain in the whatsit to maintain, but they wouldn't 'arf 'elp a newbie like me.

Warm regards

Nicole

PS. Now things seem to be going well, I'm grapplng with the documentation. Where do I start with creating a web page?




TopTop



Login

Who's Online

130 user(s) are online (95 user(s) are browsing Support Forums)


Members: 0


Guests: 130


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