1
NoLimit24_FJ
Member See Index Page When Click on Link Buttons~How to Change or Redirect

We have corrected the earlier problem where members were seeing the entire index page as they clicked on XOOPS button from our site...Now, when they arrive to the XOOPS installation and see that page, we have several installed modules...

The problem is when they click on that link, it takes them to the index page of each module...

How do we change this so that they are taken to the index.php page and the "module itself page"....

Thanks
Jim

2
trabis
Re: Member See Index Page When Click on Link Buttons~How to Change or Redirect
  • 2008/6/16 1:04

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Now it is taking them to the index page of each module but you want it to take them to the index.php page and the "module itself page"?

Let me see if I understand...
Nope.

3
NoLimit24_FJ
Re: Member See Index Page When Click on Link Buttons~How to Change or Redirect

Hi Trabis...thanks for your helping...

You are correct...we need them to go directly to the module page itself and not all the index page views...as you can see I sure don't want them to see all the clickable links, such as admin.php, etc that appears in an index.php

So, yes, you have it correct...we want them taken directly to module page (the module index.php) so they will see and be able to use the module...

How can I resolve this?

Thanks Jim

4
stefan88
Re: Member See Index Page When Click on Link Buttons~How to Change or Redirect
  • 2008/6/17 18:58

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

I'm sorry, but I don't understand it too ...:(

Do you mean that when someone clicks on a module in main menu he see the folders and files in modules folder? Something like:

news\admin
news\blocks
...
news\archive.php
news\article.php
...

Or you mean that registered users see admin option in main menu and can administer modules?
..

5
NoLimit24_FJ
Re: Member See Index Page When Click on Link Buttons~How to Change or Redirect

From the XOOPS installation (main page), the module button appears...from t hat module...when someone clicks the button to go to the module page, they get the following

*This is example o f Newbb module, but same with all modules...
*Picture going to my main XOOPS site...you see buttons for all the goodies (modules)...
*You click that button expecting to go to page

Here is what you see...

Index of /xoops/modules/newbbex

Name Last modified Size Description

[DIR] Parent Directory 17-Jun-2008 13:15 -
[TXT] _lisezmoi.txt 16-Jan-2006 01:34 4k
[TXT] _readme.txt 16-Jan-2006 01:34 2k
[DIR] admin/ 17-Jun-2008 13:16 -
[DIR] blocks/ 17-Jun-2008 13:16 -
[TXT] changelog.txt 11-Mar-2007 13:37 1k
[DIR] class/ 17-Jun-2008 13:16 -
[ ] config.php 11-Mar-2007 13:15 5k
[ ] delete.php 26-Aug-2006 23:22 4k
[ ] edit.php 26-Aug-2006 23:14 5k
[ ] functions.php 26-Aug-2006 23:35 15k
[ ] header.php 22-Dec-2005 22:43 2k
[DIR] images/ 17-Jun-2008 13:16 -
[DIR] include/ 17-Jun-2008 13:16 -
[ ] index.php 26-Aug-2006 23:39 9k
[DIR] language/ 17-Jun-2008 13:17 -
[TXT] licence.txt 18-May-2007 22:34 18k
[ ] newtopic.php 26-Aug-2006 23:13 4k
[ ] notification_update.php 22-Dec-2005 22:43 1k
[ ] post.php 11-Mar-2007 13:30 11k
[ ] reply.php 26-Aug-2006 23:13 6k
[ ] search.php 27-Aug-2006 01:17 10k
[DIR] sql/ 17-Jun-2008 13:17 -
[DIR] templates/ 17-Jun-2008 13:17 -
[ ] topicmanager.php 26-Aug-2006 23:45 9k
[ ] viewforum.php 26-Aug-2006 23:47 15k
[ ] viewtopic.php 26-Aug-2006 23:12 24k
[ ] xoops_version.php 11-Mar-2007 13:35 14k


Our question is how to get the button to point to the index.php page of installed modules...does that help? Once we get it directed to only the "index.php" page of any module, then they will indeed see the "main page of the module installment"

Jim
NoLimit24_FJ

and thanks

6
stefan88
Re: Member See Index Page When Click on Link Buttons~How to Change or Redirect
  • 2008/6/17 19:56

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Hi,

this is a list of folders and files. It is a problem with your server configuration...
..

7
NoLimit24_FJ
Re: Member See Index Page When Click on Link Buttons~How to Change or Redirect

So, is your suggestion....for me to contact our host provider?

8
stefan88
Re: Member See Index Page When Click on Link Buttons~How to Change or Redirect
  • 2008/6/17 20:02

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


yes...

Do you know what the web server is? IIS?
..

9
NoLimit24_FJ
Re: Member See Index Page When Click on Link Buttons~How to Change or Redirect

I am on phone with my host providers now...hopefully, I will be able to post what I find out on this...thanks for your info

Jim

10
NoLimit24_FJ
Re: Member See Index Page When Click on Link Buttons~How to Change or Redirect

OKIE...THANKS ALL FOR THE HELP...I phone my server provider and they assisted...so I am posting this for any others who run into same problem and use cpanel on their host site...

For the most part, all modules we have reviewed and tried to use on XOOPS are written in php...thus...

When a member clicks on that module link they go directly to your index.php file and see all the folders, contents in that module...AND WE KNOW WE DO NOT WANT THAT...we want them to go directly to the ready to use main page of modules...

So...

On cpanel...

1. Sign in to your cpanel on your host provider
2. Find the FILE MANAGER and open
3. Locate the public_html folder and click folder tab
4. After the public_html folder is open, click the name tab to right of folder (important...do NOT click on the folder icon, BUT the name next to the folder)
5. You will see the file .htaccess (click on the folder and open and EDIT file...

If you see only the below on the edit

DirectoryIndex index.html

Then you MUST add directly under that line the following

DirectoryIndex index.php


DO NOT REMOVE THE directoryindes index.php line you see, SIMPLY add the line above UNDER it and then SAVE...

This should stop the problem we have tried to describe and all future modules will be ready to go...

Good luck and thanks to all of you who assisted or answered my forums...you pointed me to the right direction..."phone my server provider"...so together we all help each other

THAT IS WHY I LOVE XOOPS!!

Jim
NoLimit24_FJ
http://2nolimit.com
1nolimit@gmail.com

Login

Who's Online

87 user(s) are online (51 user(s) are browsing Support Forums)


Members: 0


Guests: 87


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