1
mithril
Question for www.xoop.org webmasters ! ;)
  • 2004/5/11 9:26

  • mithril

  • Just popping in

  • Posts: 18

  • Since: 2004/5/3 1


hi,

just a simple question : wich module are you using on right block, with webmasters links and their mail links ???



2
mithril
How check authorization in personnal page ??
  • 2004/5/11 9:19

  • mithril

  • Just popping in

  • Posts: 18

  • Since: 2004/5/3 1


hi,

I created new blocks with the "multimenu x8" module. These module allow to create links to pages, with absolute or relative paths. I created a new menu, the I created a page, inside a new xoops's subfolder, and added the link in my new menu. I allowed only registered users to access this menu (via the "multimenu x8" settings).
Ok, that works.Enregistered users don't see my new menu with the link. But, if they ask directly my page's URL, they can access it !! You can answer :

1°) Ok, they need to know that this page exists to ask it, but some guys (and I know some of them...) are using to try bypassing these protections, looking for hidden subfolders and files...

2°) I can rename my subfolder and page with names like "54d5ds7q7qs4", virtually impossible to find...but an registered user could, without bad thinks, give the page's URL in a forum topic, as an answer to another user !

For exemple : I use xoops. So, I guess many xoop's site are using the "xoop's forum" (that is really fine ! ). So, as unregistered user, I tried to access one of them directly, with "http://thexoopsite_url/module/newsbb" ...and XOOPS redirected me to main page, with "access denied" message ;)
Sometimes, we like to protect "simple" things, no ???

hey, I'm not pananoiac !!! I don't work for NSA ;) ! But I only would to create "secured" access pages ! So, my question is :
How can I integrate the "Xoop's access verify" in my page ? (something like a login:password verifying in the header, with redirection...) ?

@mithril



3
mithril
how changing the 'XOOPS Virtual Path' with my real IP ???
  • 2004/5/5 10:04

  • mithril

  • Just popping in

  • Posts: 18

  • Since: 2004/5/3 1


hi,

I resolved my precedent problem (see older topics...) so, another one arrived !

I'm working on local. I created blocks, modules....With local connexion (http://127.0.0.1/mysite), it's ok, it's fine
But connecting with another computer, using my IP (http://80.14...../mysite), I obtain only texts !! There's no CSS style, neither pictures !!
so, I edited the distant page's source code, and I saw that the css link is defined with "http://127.0.0.1/mysite/themes/default/style.css" !!!
that's sure, it can't works with distant connexion...Then, I edited may local mainfile.php and I found this :

// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
define('XOOPS_URL', 'http://127.0.0.1/xoops');

okay, that's the problem ! my virtual url is 127.0.0.1, it fails with distant connexion...my question is :

IS IT POSSIBLE TO DEFINE THE 'Xoop Virtual Path' WITH A VARIABLE LIKE $variable='my real ip'; ???
$_SERVER['REMOTE_ADDR'] is used to know the user IP, but how obtaining the server IP ???

Because, my french internet provider ("wanadoo") disconnect every 24h and my IP changes everyday !!!
I see others solutions :
- send mails to my friends every days...(and others ?? they can't access my site ?)
- using a net service like no-ip.info, that serves as a "gate" between my real IP and a "false" domain's name (http://mysite.no-ip.com) but it uses an local executable to inform the no-ip server... about security, hum ? I don't know exactly what these exe send !!!

@mithril



4
mithril
Re: No default blocks after installing
  • 2004/5/4 14:33

  • mithril

  • Just popping in

  • Posts: 18

  • Since: 2004/5/3 1


so, if I understand, I should reconfigure Windows with "standard" temp folder (c:\windows\temp, and not g:\fred\temp) ??
I'll try that, and I'll try all until it works !

@mithril

PS : about translations, it's a (half) joke, just the "debug mode" isn't really fine, but others translations are really good ! BTW (the translator ?), it's (almost) perfect ! "Débogage" should be nice...



5
mithril
Re: No default blocks after installing
  • 2004/5/4 13:23

  • mithril

  • Just popping in

  • Posts: 18

  • Since: 2004/5/3 1


well, I found the "debug mode" in the Admin Panel...it wasn't easy to find, the french translate is strange...)

I set it in MySQL/Blocks mode, ask my index.php page, then the popup debug window appear, with many informations in black font... and some RED font lines in the "queries" section :

Quote:
SELECT b.* FROM xoops_newblocks b, xoops_block_module_link m WHERE m.block_id=b.bid AND b.isactive=1 AND b.visible=1 AND m.module_id IN (0,-1) AND b.bid IN (1,2,3,4,5,6,7,8,9,10,11,12) ORDER BY b.weight,b.bid
Error number: 1
Error message: Can't create/write to file 'G\\FRED\Temp\#sql_edc_0.MYI' (Errcode: 2)


Note : I'm using the G:\ drive as "temp" folder, with Temporary Internet files, temp system files.....

and in "block" section, I have :

Quote:
Total: 0 blocks


suggestions ???
@MITHRIL



6
mithril
Re: No default blocks after installing
  • 2004/5/4 13:00

  • mithril

  • Just popping in

  • Posts: 18

  • Since: 2004/5/3 1


DonXoop,

I tried that you suggested me...it failed !! All boxes are checked !
I would be sure about something : there are "standard blocks" (or "default blocks") like "login", isn't it ???
It's a basic "function" of xoops, isn't it ??
here's my "block administration page" after install :

Resized Image

and my index.php page :

Resized Image

@MITHRIL

Quote:
"But what is this stupid frenchy ?"

hey, I can comment myself, no ???



7
mithril
No default blocks after installing
  • 2004/5/4 9:22

  • mithril

  • Just popping in

  • Posts: 18

  • Since: 2004/5/3 1


hi everybody,

yesterday, I posted about install problem, and this morning, someone gived me the solution : ask manually "user.php" to register, then "admin.php" to add modules, blocks....
okay.

but, reading many helps (in french, cause I'm french, sorry ;) ) I understand my REAL problem :
In "blocks section", I should see some "default blocks" (as User Menu, Connexion, Top Articles...), already visibles, then the "create bloks table" wich allow user to create others...
BUT I DON'T SEE THEM !!!!
It seams that I don't have those "default block", and taht's why I don't have "register" prompt or anything else in my index.php !!!
can you help me again ???
@MITHRIL

"But what is this stupid frenchy ?"



8
mithril
Re: 2.06 installation problem ! please help !!
  • 2004/5/4 7:55

  • mithril

  • Just popping in

  • Posts: 18

  • Since: 2004/5/3 1


HI !!!

thanks !!!, it works !!!
but I can't understand why the link didn't work after install...

@MITHRIL



9
mithril
Re: 2.06 installation problem ! please help !!
  • 2004/5/4 7:48

  • mithril

  • Just popping in

  • Posts: 18

  • Since: 2004/5/3 1


hi myc1229,

ok, I'll try this...
thanks
@MITHRIL



10
mithril
Re: 2.06 installation problem ! please help !!
  • 2004/5/3 14:55

  • mithril

  • Just popping in

  • Posts: 18

  • Since: 2004/5/3 1


"If properties of folders/files can not be set appropriately"

hum....

that's precisely I try to do ! So error warnings can help to understand the problem, don't you think ? I know that XOOPS won't work, but it display errors that are not displayed by the index.php

My philosophy is :
- No warning ? It should be work
- It don't work ? Warnings should be displayed

but here, it's "no works, no warning"





TopTop
(1) 2 »



Login

Who's Online

164 user(s) are online (109 user(s) are browsing Support Forums)


Members: 0


Guests: 164


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