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
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 
Who's Online
0 registered (), 20 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Wisdom needed
by Gizmo
Today at 10:54 AM
How to hide sub forums from summary page
by blaaskaak
Yesterday at 09:54 AM
Spell Check [beta]
by Bill B
12/01/08 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
12/01/08 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
12/01/08 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
12/01/08 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
Truth, David DelMonte, nick1, Begbie, cenk
13364 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks