Who is online: shows PORTAL page as Index page. How to display right?

Discussion forum for MOD Writers regarding MOD Development.
Car2013
Registered User
Posts: 87
Joined: Fri Nov 22, 2013 5:18 am

Who is online: shows PORTAL page as Index page. How to display right?

Post by Car2013 » Fri Apr 03, 2015 5:15 pm

Hello,

I looked and looked, but didnt find.
Simply, in my 'WHO IS ONLINE LIST'...when somebody is on the Portal, shows 'Index', as he was on main page.
Id like to correct this, but dont know how.

And Id appreciate any help.

Thanks.
Last edited by Car2013 on Sat Apr 04, 2015 4:08 pm, edited 2 times in total.

User avatar
Lumpy Burgertushie
Registered User
Posts: 66735
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Who is online: shoes PORTAL as Index. How to display right?

Post by Lumpy Burgertushie » Fri Apr 03, 2015 9:10 pm

in many portal MODs the index is changed to be the portal page.

therefore, it would be correct that they are shown as being on index when viewing the portal page.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

User avatar
KevC
Support Team Member
Support Team Member
Posts: 69361
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Who is online: shoes PORTAL as Index. How to display right?

Post by KevC » Fri Apr 03, 2015 9:15 pm

-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

Car2013
Registered User
Posts: 87
Joined: Fri Nov 22, 2013 5:18 am

Re: Who is online: shoes PORTAL as Index. How to display right?

Post by Car2013 » Fri Apr 03, 2015 11:33 pm

KevC wrote:Duplicate of
viewtopic.php?f=46&t=2307981
Because it was locked.

Plus...doesnt exist a topic or mod about this. And if exist..the search doesnt work (as I told before).
Finally, it's not a mod which I install. It's simply a portal...another page created on forum.

If somebody can help, Id appreciate.

So please, dont tell to go some place if doesnt exist.

Thanks

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51867
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Who is online: shoes PORTAL as Index. How to display right?

Post by Brf » Sat Apr 04, 2015 12:39 am

You had to have gotten your "shoes portal" somewhere.
Wherever that was, that is where you need to ask your question.

Car2013
Registered User
Posts: 87
Joined: Fri Nov 22, 2013 5:18 am

Re: Who is online: shoes PORTAL as Index. How to display right?

Post by Car2013 » Sat Apr 04, 2015 1:16 am

"shoes portal".. :)

Anyway. Doesnt have a mod for I ask this. So, if doesnt exist, what to do? Just left this place here.

User avatar
Lumpy Burgertushie
Registered User
Posts: 66735
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Who is online: shoes PORTAL as Index. How to display right?

Post by Lumpy Burgertushie » Sat Apr 04, 2015 1:20 am

look at the title of your post. you are the one that said "shoes portal".

are you saying you just created a new page and you are calling it the portal?

please give us a link to your board and explain a little better what you are talking about.

robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

User avatar
KevC
Support Team Member
Support Team Member
Posts: 69361
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: Who is online: shoes PORTAL as Index. How to display right?

Post by KevC » Sat Apr 04, 2015 11:19 am

Which portal have you installed?
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

User avatar
david63
Registered User
Posts: 16557
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Who is online: shoes PORTAL as Index. How to display right?

Post by david63 » Sat Apr 04, 2015 11:53 am

Lumpy Burgertushie wrote:look at the title of your post. you are the one that said "shoes portal".
Perhaps a "typo" and should have been "shows" - I have to admit that it had me baffled for a few days.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

Car2013
Registered User
Posts: 87
Joined: Fri Nov 22, 2013 5:18 am

Re: Who is online: shows PORTAL as Index. How to display right?

Post by Car2013 » Sat Apr 04, 2015 4:12 pm

First of all... about 'shoes portal'... I didnt see that, and also thought it was a joke :) Just now I saw. So, Im sorry for my mistake. And thanks, David.

But now, about the issue... it was a page me and my friend created...and works as a portal. I mean... it functions as www.myforum.com/name-of-the-page-created.php

However, perhaps something is missing...being that the 'who's online mechanism' doesnt 'find' the 'name-of-the-page-created' info and displays Index instead.

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51867
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Who is online: shows PORTAL page as Index page. How to display right?

Post by Brf » Sat Apr 04, 2015 7:14 pm

Moved to Mod Writers discussion. So this is a custom page written by you.
Have you looked into viewonline.php at all? It is a simple matter to add a new custom page to that.

Car2013
Registered User
Posts: 87
Joined: Fri Nov 22, 2013 5:18 am

Re: Who is online: shows PORTAL page as Index page. How to display right?

Post by Car2013 » Mon Apr 06, 2015 9:06 pm

Ok. So can you give a tip how to add that?

As I said, it was a custom page...but was some friend of mine that wrote...and I lost his contact a long time. And now, I dont so much how and where I need to change something.

Id appreaciate any help.

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51867
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Who is online: shows PORTAL page as Index page. How to display right?

Post by Brf » Mon Apr 06, 2015 9:07 pm

Brf wrote: Have you looked into viewonline.php at all?

Car2013
Registered User
Posts: 87
Joined: Fri Nov 22, 2013 5:18 am

Re: Who is online: shows PORTAL page as Index page. How to display right?

Post by Car2013 » Tue Apr 07, 2015 2:33 pm

Brf wrote: Have you looked into viewonline.php at all?
I looked, but couldnt figure out what to do. Im not so much expert in php as for html.

Can you give me some tip about what to see or do?

Thanks

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51867
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Who is online: shows PORTAL page as Index page. How to display right?

Post by Brf » Tue Apr 07, 2015 3:42 pm

The main guts of viewonline.php is a switch/case statement that has a case for each page. Just add a case for your page.

Locked

Return to “[3.0.x] MOD Writers Discussion”