php forum
php mysql forum
php mysql smarty
 
Topic Options
#264705 - 12/16/03 04:42 PM Beta-[6.2-6.3-6.4] Multiple Index Pages in Who's Online
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md

   Beta-[6.2-6.3-6.4] Multiple Index Pages in Who Add to del.icio.us
  Digg Beta-[6.2-6.3-6.4] Multiple Index Pages in Who Digg it
Mod Name / Version: Multiple Index Pages in Who's Online <br /><br />Description: Now keep in mind this is a simple way to allow the multiple INDEX files on your site<br />to get placed into Who's Online so that you do not get the dreaded private you see when <br />a page is not in the language file. The real brains behind this one is Astaran as he had <br />helped me sort this out a while back and this is never been posted.<br /><br />You will need to modify the information to suit your site but the mod is simple enough to understand what it does. It rewrites the index file name to something else in the Online table so you can assign a language string to it so it is viewed correctly where a user is. <br /><br />Working Under: UBB.Threads 6.2-6.3-6.4 <br /><br />Mod Status: Beta <br /><br />Any pre-requisites: Threads <br /><br />Author(s): Astaran <br /><br />Date: 12/16/03 <br /><br />Credits: Omegatron for documenting it <br /><br />Files Altered: ubbt-inc.php and online.php in your language directories <br /><br />New Files: None <br /><br />Database Altered: Nope <br /><br />Info/Instructions: <br /><br />Disclaimer: Please backup every file that you intend to modify. <br />If the modification modifies the database, it's a good idea to backup your database before doing so. <br /><br />Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.


Attachments
102143-online.txt (46 downloads)


Top
#264706 - 12/16/03 06:00 PM Re: Beta-[6.2-6.3-6.4] Multiple Index Pages in Who's Online [Re: sf49rminer]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
<img src="http://www.ubbdev.com/forum/images/graemlins/waytogo.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#264707 - 12/30/03 01:12 PM Re: Beta-[6.2-6.3-6.4] Multiple Index Pages in Who's Online [Re: Daine]
PatrickEgan Offline
User

Registered: 07/07/03
Posts: 26
Loc: Santa Barbara, CA USA
This mod works fantastic with a minor modification becuase of the way my Hosting provider runs PHP. <br /><br />Apparently the common method is to run PHP as an Apache module. However, for security reasons, they choose to run it as a CGI script instead.<br /><br />So in order to make this work on our site I set <br /><br />$currentPage = $_SERVER['PATH_TRANSLATED']; <br /><br />instead of <br /><br />$currentPage = $_SERVER['SCRIPT_FILENAME'];
_________________________
Patrick Egan
CM Crossroads
www.cmcrossroads.com

Top


Moderator:  Ian_W 
Top Posters Last 30 Days
AllenAyres 12
Gizmo 10
S7ARBVCK 2
blaaskaak 2
Cambridge 1
Murphdog 1
MattUK 1
Who's Online
0 Registered (), 23 Guests and 9 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
[7.3.1] add search to showmembers page
by blaaskaak
Today at 04:50 AM
BeyondCompare v3.00
by blaaskaak
09/05/08 02:46 PM
Noob - need help, or a reality check!
by Gizmo
09/04/08 03:21 AM
Here I am! Rock me like a Hurricane!
by AllenAyres
09/02/08 03:05 PM
[7.x] Generic Page Outside of forum directory
by Gizmo
08/30/08 05:43 PM
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
New Mods
[7.3.1] add search to showmembers page
by blaaskaak
Today at 04:50 AM
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks