Page Index Toggle Pages: 1 [2] 3  Send TopicPrint
Very Hot Topic (More than 25 Replies) Recent User List V1.1 for YaBB 2.3/2.3.1 (Read 25906 times)
MeisterGigi
Junior Member
**
Offline


xxx

Posts: 74
Location: Germany/Austria
Joined: Dec 4th, 2004
Gender: Male
Re: Recent User List V1.1 for YaBB 2.3/2.3.1
Reply #15 - Mar 13th, 2009 at 8:57am
Print Post  
Thanks for this great Mod !
  
Back to top
 
IP Logged
 
Francesco
New Member
*
Offline


I love YaBB 2,3

Posts: 27
Joined: Mar 21st, 2008
Gender: Male
Re: Recent User List V1.1 for YaBB 2.3/2.3.1
Reply #16 - Mar 13th, 2009 at 2:13pm
Print Post  
Hallo Jet Li und Deti
Grazie , Danke , Thanks, for this great Mod

Wink Grin
Franco
  
Back to top
IP Logged
 
MeisterGigi
Junior Member
**
Offline


xxx

Posts: 74
Location: Germany/Austria
Joined: Dec 4th, 2004
Gender: Male
Re: Recent User List V1.1 for YaBB 2.3/2.3.1
Reply #17 - Mar 16th, 2009 at 9:05am
Print Post  
Hi, my users reported that the resizing with ie6 is not working. And in fact, i tried it on myself (in my company the default browser is ie6 !), and it loos terrible.

Can you help me with this?

  
Back to top
 
IP Logged
 
D0T-C0M
God Member
*****
Offline



Posts: 806
Location: Tracadie
Joined: Sep 22nd, 2001
Gender: Male
Re: Recent User List V1.1 for YaBB 2.3/2.3.1
Reply #18 - Mar 16th, 2009 at 11:27am
Print Post  
Microsoft's IE browsers are so problematic for web designers that I would encourage your members to upgrade to firefox LOL seriously. Sorry for the friendly jab.  I don't see any problems in IE6 on my end but some users told me they were having issues but pressing ctrl+F5 apparently fixed this for them(not confirmed by me)
  
Back to top
 
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Recent User List V1.1 for YaBB 2.3/2.3.1
Reply #19 - Mar 16th, 2009 at 4:01pm
Print Post  
Hi,

thanks for the Mod! Installed without Problems.

With FF3 no Problems. When I look with IE7 I have
different Views, when I run the Monitor in 1280x1024
(1st Picture) or 1680x1050 (2nd Picture).

Greetings
Mick
  

recent1.png ( 21 KB | Downloads )
recent1.png
recent2.png ( 15 KB | Downloads )
recent2.png
Back to top
WWW  
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Recent User List V1.1 for YaBB 2.3/2.3.1
Reply #20 - Mar 16th, 2009 at 4:05pm
Print Post  
change this to this in BoardIndex.template. Only need for custom layout in IE 7  Wink Default Template or same with width no need change.

Code
Select All
</div>
<div style="float: left; width: 2%; text-align: left;">
&nbsp;
</div>
<div style="float: left; width: 23%; text-align: left;">
<table class="bordercolor" cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
	<td class="tabtitle" width="1%" height="25" valign="middle">
		&nbsp;
	</td>
	<td class="tabtitle" width="99%" height="25" valign="middle" align="center">
		<span class="ie6alpha">{yabb rul_title}</span>
	</td>
</tr>
</table>
<table class="bordercolor" cellpadding="4" cellspacing="1" border="0" width="100%">
<tr>
	<td class="windowbg2">
		{yabb last_users_online_tbl}
	</td>
</tr>
</table>
</div>
</div>
&nbsp; 

  

greetings
Jeff
Back to top
WWW  
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Recent User List V1.1 for YaBB 2.3/2.3.1
Reply #21 - Mar 16th, 2009 at 4:32pm
Print Post  
Thx! Looks good now.
  
Back to top
WWW  
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Recent User List V1.1 for YaBB 2.3/2.3.1
Reply #22 - Mar 16th, 2009 at 4:33pm
Print Post  
your welcome
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
MasterKarman
Junior Member
**
Offline


YaBB 2.5.2

Posts: 90
Location: Karmanville
Joined: Feb 14th, 2009
Gender: Male
Re: Recent User List V1.1 for YaBB 2.3/2.3.1
Reply #23 - Mar 17th, 2009 at 12:23am
Print Post  
MeisterGigi wrote on Mar 16th, 2009 at 9:05am:
Hi, my users reported that the resizing with ie6 is not working. And in fact, i tried it on myself (in my company the default browser is ie6 !), and it loos terrible.

Can you help me with this?

I was having the same problem using IE6. No matter how much I refreshed or dumped my cache and temp files the darn things wouldn't resize. Looks great in FF.
I did find a way around this as a total last resort but it means hard coding the width and height you want for the avatars in the table for this mod in boardindex.pl.
If it's ok with JetLi and something you can do, I'll post the changes I made.
  

Now using YaBB 2.5.2 with 40+mods
"The world is a dangerous place to live. Not because of the evil in it, but because of the people who don't do anything about it."


Back to top
IP Logged
 
D0T-C0M
God Member
*****
Offline



Posts: 806
Location: Tracadie
Joined: Sep 22nd, 2001
Gender: Male
Re: Recent User List V1.1 for YaBB 2.3/2.3.1
Reply #24 - Mar 17th, 2009 at 12:01pm
Print Post  
After many complaints from people on my forum using IE6 I finally had to do some testing.  Image resizing is not working in IE6.  I have width set at "0" and image height at "50"

FF3 and IE7 working correctly
  

RCL_problem.JPG ( 47 KB | Downloads )
RCL_problem.JPG
Back to top
 
IP Logged
 
MeisterGigi
Junior Member
**
Offline


xxx

Posts: 74
Location: Germany/Austria
Joined: Dec 4th, 2004
Gender: Male
Re: Recent User List V1.1 for YaBB 2.3/2.3.1
Reply #25 - Mar 17th, 2009 at 1:05pm
Print Post  
Thats what i say Smiley

And you have luck, some of my users have an avatar with 1280*size (!)

I have disabled avatars now. I hope, this problem could be solved, becaus in the board itselv avatar resizing is working.
  
Back to top
 
IP Logged
 
D0T-C0M
God Member
*****
Offline



Posts: 806
Location: Tracadie
Joined: Sep 22nd, 2001
Gender: Male
Re: Recent User List V1.1 for YaBB 2.3/2.3.1
Reply #26 - Mar 17th, 2009 at 2:00pm
Print Post  
Actually there's a larger photo just above those I posted but it wasn't appropriate to show here LOL.  Nothing x-rated but it was a topless shot from behind in a g-string so I didn't want to get any flack from the BoardMod admin Smiley
  
Back to top
 
IP Logged
 
deti
Full Member
***
Offline


YaBB is the best!!!

Posts: 101
Location: Prien am Chiemsee
Joined: Mar 13th, 2008
Re: Recent User List V1.1 for YaBB 2.3/2.3.1
Reply #27 - Mar 17th, 2009 at 2:18pm
Print Post  
Please try this on BoardIndex.pl:

Remove this from where it is now:
Code
Select All
#RECENT USER LIST START
	$yymain .= qq~
<script language="JavaScript1.2" type="text/javascript">
<!-- //
var userpic_width = $rul_avatar_width;
var userpic_height = $rul_avatar_height;
function ResizeAvatars(){
	for(x=1; x < $rul_users_display + 1; x++) {
		var imgEle=document.getElementById('avatar' + x);
		if (!imgEle) {
			if (document.all) imgEle = document.all['avatar' + x];
		}
		if (imgEle && (userpic_width != 0 || userpic_height != 0)) {
				if (userpic_width != 0) { imgEle.height = userpic_width * imgEle.height / imgEle.width; }
				if (userpic_height != 0) { imgEle.width = userpic_height * imgEle.width /imgEle.height; }
		}
	}
}
document.onload = ResizeAvatars();
// -->
</script>~;
#RECENT USER LIST END 



and insert this here:

Code
Select All
	chop($template_catnames);
	$yyjavascript .= qq~\nvar markallreadlang = '$boardindex_txt{'500'}';\nvar markfinishedlang = '$boardindex_txt{'500a'}';~;
	$yymain .= qq~\n
<script language="JavaScript1.2" src="$yyhtml_root/ajax.js" type="text/javascript"></script>
<script language="JavaScript1.2" type="text/javascript">
	var catNames = [$template_catnames];
</script>
$boardindex_template
<!-- RECENT USER LIST START -->
<script language="JavaScript1.2" type="text/javascript">
<!-- //
var userpic_width = $rul_avatar_width;
var userpic_height = $rul_avatar_height;
function ResizeAvatars(){
	for(x=1; x < $rul_users_display + 1; x++) {
		var imgEle=document.getElementById('avatar' + x);
		if (!imgEle) {
			if (document.all) imgEle = document.all['avatar' + x];
		}
		if (imgEle && (userpic_width != 0 || userpic_height != 0)) {
				if (userpic_width != 0) { imgEle.height = userpic_width * imgEle.height / imgEle.width; }
				if (userpic_height != 0) { imgEle.width = userpic_height * imgEle.width /imgEle.height; }
		}
	}
}
ResizeAvatars();
//-->
</script>
<!-- RECENT USER LIST END -->~; 

  

Was immer Du tun kannst
oder erträumst tun zu können,
beginne es.
Kühnheit besitzt Genie,
Macht und magische Kraft.
Beginne es jetzt.
Whatever you can do
or dream you can,
begin it.
Boldness has genius,
power and magic in it.
Begin it now.
Johann Wolfgang Goethe
Back to top
 
IP Logged
 
D0T-C0M
God Member
*****
Offline



Posts: 806
Location: Tracadie
Joined: Sep 22nd, 2001
Gender: Male
Re: Recent User List V1.1 for YaBB 2.3/2.3.1
Reply #28 - Mar 17th, 2009 at 2:45pm
Print Post  
resizing seems to work now in IE6
  
Back to top
 
IP Logged
 
mick
Senior Member
****
Offline


I love YaBB

Posts: 345
Location: Dorsten
Joined: Nov 29th, 2005
Gender: Male
Re: Recent User List V1.1 for YaBB 2.3/2.3.1
Reply #29 - Mar 17th, 2009 at 4:57pm
Print Post  
deti wrote on Mar 17th, 2009 at 2:18pm:
and insert this here:


Edited:
[...]
<!-- RECENT USER LIST END -->~;


With or without the highlighted, deti?


@DOT-COM: Did You test it with FF3? There I got a fault after
taking new code (But I will verify it again after deti answers me).


Edit:

The Error called...

Quote:
Fehler: Ein Fehler ist aufgetreten! Bareword found where operator expected at ./Sources/BoardIndex.pl line 590, near ""JavaScript1.2" type"

(I tested it with and without the highlighted).
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 [2] 3 
Send TopicPrint