php forum
php mysql forum
php mysql smarty
 
Page 2 of 2 < 1 2
Topic Options
#231284 - 01/19/03 06:30 AM Re: [6.2] Who's Online Box [Re: Hemmingway]
dreamer_dup1 Offline
User

Registered: 08/27/02
Posts: 45

   Re: [6.2] Who Add to del.icio.us
  Digg Re: [6.2] Who Digg it
Could you tell me how to make it appear in the bottom of each forum (postlist.php) as it was at ubb classic ?

Top
#231285 - 01/19/03 08:01 AM Re: [6.2] Who's Online Box [Re: himik]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
I believe Josh has some instructions around here somewhere that explain how to do that. Off hand I don't know what it would take for sure. <br /> <br />Ohhh Josh.... <img src="/forum/images/graemlins/wink.gif" alt="" /> <br /> <br /> <br /> <br />(I just looked over this thread and I see that Josh's instructions place this on all pages for registered users using the ubbt_registerednav.tmpl file) <img src="/forum/images/graemlins/smile.gif" alt="" />


Edited by JustDave (01/19/03 08:35 AM)
_________________________
~Dave
ChattersOnline.com

Top
#231286 - 01/19/03 02:08 PM Re: [6.2] Who's Online Box [Re: sjsaunders]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I also answered his PM <img src="/forum/images/graemlins/crazy.gif" alt="" /><br /><br />Basically the top line of your who's online code needs to be changed to this:<br /><br /> $LastOn = $this -> get_date() - 600;<br /><br /><br />Then add it into ubbt.inc.php just before this line:<br /><br /> @include("$thispath/templates/$tempstyle/ubbt_footer.tmpl");<br /><br /><br /><br />Then in the ubbt_footer.tmpl file<br />just above $tbopen, add this:<br /><br />$tbopen<br />$whosOnline<br />$tbclose<br /><br /><br /><br />I do a similar mod of this, but include the code before the include statement for ubbt_registerednav.tmpl file. Then it appears on every page. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#231287 - 01/19/03 02:12 PM Re: [6.2] Who's Online Box [Re: Daine]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Sorry,<br /><br />I didn't mean for him to PM you about something that should be asked in the forums. <img src="/forum/images/graemlins/crazy.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#231288 - 01/19/03 02:19 PM Re: [6.2] Who's Online Box [Re: sjsaunders]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
LOL<br /><br />I wish I had saved my PM to him.... I could have copied and pasted it here if others wanted the info. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#231289 - 01/19/03 03:39 PM Re: [6.2] Who's Online Box [Re: Daine]
dreamer_dup1 Offline
User

Registered: 08/27/02
Posts: 45
My mistake guys sorry<br />BTW I get an error for ubbt.inc.php at the line 869<br />Any ideas?

Top
#231290 - 01/22/03 11:32 PM Re: [6.2] Who's Online Box [Re: himik]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
[]Could you tell me how to make it appear in the bottom of each forum (postlist.php) as it was at ubb classic ? [/]<br /><br />I have just updated and posted instructions here.<br /><br />It's basically JustDave's hack. In my version, I offer instuctions for including at the top of each page **OR** at the bottom of each page.<br /><br />Check it out. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#231291 - 02/26/03 09:16 PM Re: [6.2] Who's Online Box [Re: Daine]
dman_dup1 Offline
Journeyman

Registered: 01/14/03
Posts: 144
This is a great mod. I can't believe that I have overlooked it. I have one question.....I altered the code a little and took out the header so it just shows the list, it was starting to look too busy with the other mods, is there anyway to make it "join" the bottom of the menubar to look like one thing with the tablewrappers around it? I think it looks Much better. <br /> <br /> []http://www.doording.com/images/wol.jpg[/] <br /> <br />This photo I edited to show an example. <br /> <br /> []http://www.doording.com/images/wol1.jpg[/]

Top
#231292 - 02/27/03 01:32 PM Re: [6.2] Who's Online Box [Re: ]
dman_dup1 Offline
Journeyman

Registered: 01/14/03
Posts: 144
Man, don't ask me how or if it's right but I played around with the registerednav.tmpl and made it look just like I wanted it too.

Top
#231293 - 03/01/03 07:17 AM Re: [6.2] Who's Online Box [Re: ]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
I am having trouble getting the guests to show up. This is using the show whos online on every page... on top.<br /><br />Other mods installed are the chat online, extra online user info. (both functioning) <br /><br />the guests are visiting cause I can see them in the extra online info screen in whos online. Its just the generic line that tells how many guests are online. My users like to see how many are visiting. Doesn't help me much but they like it..

Top
#231294 - 03/01/03 12:09 PM Re: [6.2] Who's Online Box [Re: Kelly]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
It can only list registered users... then say x number of guests online. (Guests are anonymous users - not logged in)
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#231295 - 03/01/03 03:58 PM Re: [6.2] Who's Online Box [Re: Daine]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
Josh I realize that, but guests count stays at zero all the time. Even when I can see them browsing from the other extra info mod in the whos online main screen. It does show the registered guests with no problems.

Top
#231296 - 03/01/03 04:08 PM Re: [6.2] Who's Online Box [Re: Kelly]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I would check the placement of the code in the ubbt.inc.php if you are putting it in the wrong function, there won't be any results returned.<br /><br />Where it needs to go has a few places that look very similar. <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />But if you put it before the unregisterednav.tmpl include statment, then when you are viewing the registerednav you don't see the results. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#231297 - 03/01/03 04:21 PM Re: [6.2] Who's Online Box [Re: Daine]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
pretty sure its in the ubbt.inc.php <br /><br />I don't have in the unregistered nav.tmpl... strictly for the registered users. <br /><br /><br />Would the placement of the code above or below the chat mod make a difference?

Top
#231298 - 03/01/03 04:26 PM Re: [6.2] Who's Online Box [Re: Kelly]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I don't think that would make a difference.<br /><br />But the who's online code needs to be above the include statemnt for registerednav.tmpl.<br /><br />It's pretty easy to accidentally place it above the unregisterednav.tmpl include statment. I've done it myself.<br /><br />Also, double check that all variable names are used correctly. They are case sensitive. So $AnonUsers is different from something like $anonusers<br /><br />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#231299 - 03/01/03 04:33 PM Re: [6.2] Who's Online Box [Re: Daine]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
Thanks I will go over it again after a bit..... threads has taken over my life and the pile of todos has grown. <img src="/forum/images/graemlins/smile.gif" alt="" />

Top
#231300 - 03/01/03 10:20 PM Re: [6.2] Who's Online Box [Re: Kelly]
smilesforu Offline
Junior Member

Registered: 01/31/02
Posts: 676
Checked those but don't see anything out of the ordinary.

Top
#231301 - 10/06/04 02:10 PM Re: [6.2] Who's Online Box [Re: sjsaunders]
Rutto Offline
Member

Registered: 02/10/01
Posts: 182
Update: Works in 6.5 too but admin and mod names are without colors (probably because of the move of color setting in the styleshhet).<br /><br />Easy but great mod !

Top
#231302 - 03/24/05 05:32 PM Re: [6.2] Who's Online Box [Re: ]
jdeflat Offline
Lurker

Registered: 02/03/05
Posts: 3
Thanks for the mod, it works great!<br /><br />Is there anyway for it to work with unregistered/not logged in users as well. If I add the code to the ubbt_unregistered template it just shows the 'guests' that are online and not the registered members that are online at the time. Yet unregistered users can still see the members online by clicking on the 'Who's Online' Link.

Top
Page 2 of 2 < 1 2


Top Posters Last 30 Days
AllenAyres 13
Gizmo 10
willing 2
S7ARBVCK 2
MattUK 1
Kevin H 1
tackaberry 1
Who's Online
0 Registered (), 21 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Noob - need help, or a reality check!
by Gizmo
Yesterday at 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
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
Installing FlashChat with 7.3
by Gizmo
08/23/08 05:36 AM
New Mods
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
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks