Author |
Message |
NovemberRain
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jul 12, 2003
Posts: 8
Location: Istanbul
|
Posted:
Sun Jul 13, 2003 8:01 am |
|
hi.. i'm usign the user info block downloaded from here. and as you see when there is someone on the nick list who has a very long nick. there are problems with the tables. can it be like for example;
DiabolicalHol..
instead of
DiabolicalHolocaus
thanks |
|
|
![ICQ Number ICQ Number](themes/RavenIce/forums/images/lang_english/icon_icq_add.gif) |
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Sun Jul 13, 2003 8:53 am |
|
That's really an issue with the theme , but I will see about modifying the code. Thanks for the suggestion ![Wink](modules/Forums/images/smiles/icon_wink.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
NovemberRain
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jul 13, 2003 9:16 am |
|
but this happens with other themes too |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jul 13, 2003 9:18 am |
|
I know. I am saying that the blocks are hard coded width wise. Somehow they need to be percentage or something. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
vocal
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Aug 31, 2003
Posts: 3
Location: Saskatoon, Canada
|
Posted:
Sun Aug 31, 2003 7:15 pm |
|
Hi there
just curious how I go about removing the server date and time from the user_info block?
My server is different than my local time, and it may confuse things a bit. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Aug 31, 2003 7:17 pm |
|
Do you want to remove it or adjust it? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
vocal
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Aug 31, 2003 7:20 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Aug 31, 2003 7:24 pm |
|
Almost at the end is this lineCode:$content .= "<center>"._SERDT."<br />$sdt (GMT $zone)</center>";
| Comment it out. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
vocal
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Aug 31, 2003 7:25 pm |
|
thank-you, your the best. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Buzzword
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/Far_Side/Far_Side_-_Cow_3.gif)
Joined: Feb 25, 2004
Posts: 4
Location: San Antonio, TX
|
Posted:
Sat Feb 28, 2004 9:56 pm |
|
How about if we wanna adjust it? ![Shocked](modules/Forums/images/smiles/icon_eek.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
chatserv
Member Emeritus
![](modules/Forums/images/avatars/Risque/fhf215.jpg)
Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico
|
Posted:
Sat Feb 28, 2004 10:24 pm |
|
Regarding the nick length try this (i haven't tested it).
Find in the block:
Code: $who_online_now .= "$zi: <a href=\"userinfo-.html$session[uname]\"><img src=\"images/blocks/icon_mini_profile.gif\" border=\"0\" alt=\"Check the profile of $session[uname]\"></a> <a href=\"messages-post-.html$memberinfo[user_id]\"><img src=\"images/blocks/nopm.gif\" border=\"0\" alt=\"Send a quick private message to $session[uname]\"></a> <A HREF=\"forums.html?file=profile&mode=viewprofile&u=$memberinfo[user_id]\">$session[uname]</a>(H)<br />\n";
$who_online_now .= ($i != $member_online_num ? " " : "");
$i++;
}
else {
$who_online_now .= "$zi: <a href=\"userinfo-.html$session[uname]\"><img src=\"images/blocks/icon_mini_profile.gif\" border=\"0\" alt=\"Check the profile of $session[uname]\"></a> <a href=\"messages-post-.html$memberinfo[user_id]\"><img src=\"images/blocks/nopm.gif\" border=\"0\" alt=\"Send a quick private message to $session[uname]\"></a> <A HREF=\"forums.html?file=profile&mode=viewprofile&u=$memberinfo[user_id]\">$session[uname]</a><br />\n";
$who_online_now .= ($i != $member_online_num ? " " : "");
$i++;
|
Change to:
Code: if (strlen($session[uname]) > 7) {
$sname = substr("$session[uname]", 0,7);
$suname = "$sname...";
} else {
$suname = "$session[uname]";
}
$who_online_now .= "$zi: <a href=\"userinfo-.html$session[uname]\"><img src=\"images/blocks/icon_mini_profile.gif\" border=\"0\" alt=\"Check the profile of $session[uname]\"></a> <a href=\"messages-post-.html$memberinfo[user_id]\"><img src=\"images/blocks/nopm.gif\" border=\"0\" alt=\"Send a quick private message to $session[uname]\"></a> <A HREF=\"forums.html?file=profile&mode=viewprofile&u=$memberinfo[user_id]\">$suname</a>(H)<br />\n";
$who_online_now .= ($i != $member_online_num ? " " : "");
$i++;
}
else {
$who_online_now .= "$zi: <a href=\"userinfo-.html$session[uname]\"><img src=\"images/blocks/icon_mini_profile.gif\" border=\"0\" alt=\"Check the profile of $session[uname]\"></a> <a href=\"messages-post-.html$memberinfo[user_id]\"><img src=\"images/blocks/nopm.gif\" border=\"0\" alt=\"Send a quick private message to $session[uname]\"></a> <A HREF=\"forums.html?file=profile&mode=viewprofile&u=$memberinfo[user_id]\">$suname</a><br />\n";
$who_online_now .= ($i != $member_online_num ? " " : "");
$i++;
|
Change the two instances of the number 7 to the max nick length you want. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Buzzword
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Feb 29, 2004 4:55 am |
|
Hey man I tried changing that code like you said too. but it just didn't show the names anymore, they took up the same amout of space as before but the names were just GONE!! lol so I don't know what happened... ![Mr. Green](modules/Forums/images/smiles/icon_mrgreen.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
chatserv
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Feb 29, 2004 11:26 am |
|
Which means i need to test stuff before posting it
Give me a few minutes and i'll install the block and modify it. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Buzzword
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Feb 29, 2004 1:09 pm |
|
No problemo man! I just thank you for the help in the first place! Maybe someday I'll know what I'm doing and I can do it without asking for help.. ![Shocked](modules/Forums/images/smiles/icon_eek.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
chatserv
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Feb 29, 2004 1:54 pm |
|
I'm buried in php files right now so it might take a while, oddly i can't get the string that shortens the nick to get the value of $session[uname], so if anyone else can take a look at it in the meantime |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Buzzword
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Feb 29, 2004 6:09 pm |
|
I'm not in any hurry at all, so no big deal! Take your time! ![Smile](modules/Forums/images/smiles/icon_smile.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|