Welcome, Guest. Please Login or Register.
November 28, 2024, 09:46:35 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.x] Who's Online w/ Hidden Users w/ Flags « previous next »
Pages: 1 ... 3 4 [5] 6 7 ... 15 Reply Ignore Print
Author Topic: [Done 1.5.x] Who's Online w/ Hidden Users w/ Flags  (Read 69839 times)
Horseman
YaBB God
*****
Posts: 784


'MAS VALE CABALLO QUE CAUDAL!'

ICQ - 44729151 WWW
Re:[Beta 1.4.1] Who's Online
« Reply #60 on: September 30, 2002, 04:29:00 PM »
Reply with quote

please look the screenshots from MOD "member action" and your MOD.
when a user reply to a message your MOD makes a blank line.

screenshot member action mod:
http://www.h-h-c.de/downloads/ma-screen.gif

screenshot you mod:
http://www.h-h-c.de/downloads/who-screen.gif
Logged
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:[Beta 1.4.1] Who's Online
« Reply #61 on: September 30, 2002, 06:08:27 PM »
Reply with quote

If you aren't using English then it currently makes it blank but that is fixed in the next version.

And the next version will also allow you to restrict access to the page.
Logged
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:[Beta 1.4.1] Who's Online
« Reply #62 on: October 09, 2002, 01:37:20 PM »
Reply with quote

Quote from: koldnal on September 26, 2002, 10:46:23 PMIs there possible to get this function only available for global moderators and admins?

If you're still looking for the answr to this...yes it IS possible. Open up Who.php and look for this line:

function Who () {
  global $settings,$db_prefix,$color,$yytitle,$mbname;

after that global line add this:

if( $settings[7] != "Administrator" && $settings[7] != "Global Moderator" ) {
      fatal_error("You are not allowed to access this section.");
    }

That will let only Global mods and Admins to see what people are doing.
Logged

The Large Portion
Noobie
*
Posts: 31


Bleh!

WWW
Re:[Beta 1.4.1] Who's Online
« Reply #63 on: October 09, 2002, 07:25:52 PM »
Reply with quote

This mod looks sooo cool!  Is there any chance we can have it in a YaBBpak?
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Beta 1.4.1] Who's Online
« Reply #64 on: October 09, 2002, 10:39:57 PM »
Reply with quote

Quote from: Deimos on October 09, 2002, 04:38:35 PMI do have one question if I may....

How do I change the "Who's online?" to an image?

I tried changing it to......

$yymenu .= "$menusep<a href=\"$cgi;action=who\">$img[members]</a>";

But it just didn't show anything.
I tried changing the image name to "admin" and it showed the admin button.
Is there a way to make it show a different image? AND have a popup thing that says "Click here to see who's online"?


if u do that u have to edit english.lng and add $img[members] or else just make the code like:
$yymenu .= "$menusep<a href=\"$cgi;action=who\"><img src=\"$imagesdir\members.gif\" border=\"0\"></a>";
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
newbieyabbie
Jr. Member
**
Posts: 83


ahead warp nine

Re:[Beta 1.4.1] Who's Online
« Reply #65 on: October 10, 2002, 05:29:02 AM »
Reply with quote

Hi, thank you for this cool MOD.
I installed it, changed the tables and got rid of errors. Now though, I have no errors but I also have no link anywhere on the forum that I can see for who's online.
Any ideas?
Thanx.
Logged

Go beyond what you know!
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:[Beta 1.4.1] Who's Online
« Reply #66 on: October 10, 2002, 08:12:15 AM »
Reply with quote

It says how to do that in the very first post and some of the more recent ones too.
The next version should hopefully be out this weekend if I have the time. It will include German text, thanks to Tomcat and Horseman, and a who's on image for the menu by Tomcat. Also a way to set who can see the who's online page in the mod settings.
Not sure about a YaBBPak.
Logged
1979Z28
Sr. Member
****
Posts: 324


WWW
Re:[Beta 1.4.1] Who's Online
« Reply #67 on: October 10, 2002, 08:58:57 AM »
Reply with quote

Sweet. A new version would be nice. :) Let's hope that upgrading from the old one, won't be too hard..

Btw, if you want, you can use this button of mine. I made it for my forum, which is primarly a very dark grey setting. Might want to include it for people who have dark settings :D

Logged
newbieyabbie
Jr. Member
**
Posts: 83


ahead warp nine

Re:[Beta 1.4.1] Who's Online
« Reply #68 on: October 10, 2002, 02:55:54 PM »
Reply with quote

QuoteIt says how to do that in the very first post and some of the more recent ones too.
Thank you, it is working now, I just was confused on where I should put that code, U C I am a little disadvantaged when it comes to this stuff.
Now I am having trouble showing an image for who's online. I'll try some more.
Logged

Go beyond what you know!
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:[Beta 1.4.1] Who's Online
« Reply #69 on: October 12, 2002, 07:01:06 AM »
Reply with quote

New version posted. Give it a try and report bugs. ;)
Logged
Horseman
YaBB God
*****
Posts: 784


'MAS VALE CABALLO QUE CAUDAL!'

ICQ - 44729151 WWW
Re:[Beta 1.4.1] Who's Online
« Reply #70 on: October 12, 2002, 11:59:10 AM »
Reply with quote

there is a bug in RC2.0!

when you installed the mod, you no longer see the button HOME in yabb menu  ???
Logged
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:[Beta 1.4.1] Who's Online
« Reply #71 on: October 12, 2002, 06:37:42 PM »
Reply with quote

Oops found the problem the $yymenu = should have been .=
Here is the fix if you already downloaded. If you haven't the file has been updated.

<edit file>
Sources/Subs.php
</edit>

<search for>
   if( $modSettings['who_enable'] && ( ( $username == "Guest" && $modSettings['who_view'] == 0 ) || ( $username != "Guest" && $modSettings['who_view'] <= 1 ) || $settings[7] == "Global Moderator" || $settings[7] == "Administrator" ) ) { $yymenu = "$menusep<a href=\"$cgi;action=who\">$img[who]</a>"; }
</search>

<replace>
   if( $modSettings['who_enable'] && ( ( $username == "Guest" && $modSettings['who_view'] == 0 ) || ( $username != "Guest" && $modSettings['who_view'] <= 1 ) || $settings[7] == "Global Moderator" || $settings[7] == "Administrator" ) ) { $yymenu .= "$menusep<a href=\"$cgi;action=who\">$img[who]</a>"; }
</replace>
Logged
babylonking
Full Member
***
Posts: 174


Proudly Canadian

WWW
Re:[Beta 1.4.1] Who's Online
« Reply #72 on: October 13, 2002, 03:21:31 PM »
Reply with quote

every time i enable who's online in admin 'Mods' Settings and Options the check box is still empty and is not saving change.... when i click on who's online link i always get this error ( You are not allowed to access this section ) I don't know why is not saving chenge  to da who's online mod. :-\

Anyone?
Logged

Proudly Canadian          
Horseman
YaBB God
*****
Posts: 784


'MAS VALE CABALLO QUE CAUDAL!'

ICQ - 44729151 WWW
Re:[Beta 1.4.1] Who's Online
« Reply #73 on: October 13, 2002, 03:30:52 PM »
Reply with quote

there is a bug in mod file

search this line:
Quote<td class="windowbg2" bgcolor="$color[windowbg2]"><select name="who_view"><option value="0" $who_viewGuest>$txt[who96]</option><option value="1" $who_viewMember>$txt[who97]</option><option val\
    ue="2" $who_viewGM>$txt[who98]</option></select></td>

and replace
   <td class="windowbg2" bgcolor="$color[windowbg2]"><select name="who_view"><option value="1" $who_viewGuest>$txt[who96]</option><option value="2" $who_viewMember>$txt[who97]</option><option value="3" $who_viewGM>$txt[who98]</option></select></td>
Logged
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:[Beta 1.4.1] Who's Online
« Reply #74 on: October 13, 2002, 05:43:17 PM »
Reply with quote

babylonking did you run the who_dbmod.php file?

And Horseman are you sure about that? I'm pretty certain that will cause problems with the if statements.
Logged
Pages: 1 ... 3 4 [5] 6 7 ... 15 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.x] Who's Online w/ Hidden Users w/ Flags « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.039 seconds with 20 queries.