Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
right you are.

because he added a new column in the table the spans had to be adjusted.

They are pretty now, here, if somebody else needs the change:

Code
 in cp_user_search_results.pl
###############################



Find:
#######

<tr bgcolor="#ffffff">
<td colspan="3" align="left" class="smallrow">
$vars_wordlets_cp{memsearch_results_matches} $sp - $ep [$search_count $vars_wordlets_cp{memsearch_results_total}]
</td>

<td colspan="3" align="right" valign="bottom" class="smallrow">
$previous   $current   $more
</td>
</tr>


replace with:
#############

<tr bgcolor="#B6C7E5">
<td colspan="4" align="left" class="smallrow">
$vars_wordlets_cp{memsearch_results_matches} $sp - $ep [$search_count $vars_wordlets_cp{memsearch_results_total}]
</td>

<td colspan="4" align="right" valign="bottom" class="smallrow">
$previous   $current   $more
</td>
</tr>







in cp_user_ips
################



find:
#########

# UBB CONTROL PANEL - IP HISTORY PAGE

&TBT; #Table Border Top in cp_common.pl

&HeaderRow("User IP History: $user_public_name (number $user_number)", "4", "#FFFFFF", "#000000", "left", "1", "1");
&HeaderRow("Total IPs: $total", "4", "#5d7790", "#FFFFFF", "center", "2");

print <<recent_ips_for_user;

<tr bgcolor="#5d7790">
<td>
 
</td>
<td>
<font color="#ffffff" size="1" face="Verdana, Arial">
<b>IP Address</b>
</font>
</td>
<td>
<font color="#ffffff" size="1" face="Verdana, Arial">
<b>Date/Time</b>
</font>
</td>
<td>
<font color="#ffffff" size="1" face="Verdana, Arial">
<b>ARIN</b>
</font>
</td>
<td>
<font color="#ffffff" size="1" face="Verdana, Arial">
<b>RIPE</b>
</font>
</td>
<td>
<font color="#ffffff" size="1" face="Verdana, Arial">
<b>APNIC</b>
</font>
</td>
</tr>

recent_ips_for_user

$counter = 0;
foreach (@ips) {

$nextitem = $ips[$counter];
@thisitem = split (/|/, $nextitem); # Login Name, IP, Date/Time

print <<this_ip;

<tr>
<td bgcolor="#5d7790">
 
</td>
<td valign="top" bgcolor="#ffffff">
<font size="1" face="Verdana, Arial">
<b>$thisitem[0]</b>
</font>
</td>


replace with:
##############


# UBB CONTROL PANEL - IP HISTORY PAGE

&TBT; #Table Border Top in cp_common.pl

&HeaderRow("User IP History: $user_public_name (number $user_number)", "6", "#B6C7E5", "#000000", "left", "1", "1");
&HeaderRow("Total IPs: $total", "6", "#5d7790", "#FFFFFF", "center", "2");

print <<recent_ips_for_user;

<td>
</td>
<td>
<font color="#ffffff" size="1" face="Verdana, Arial">
<b>IP Address</b>
</font>
</td>
<td>
<font color="#ffffff" size="1" face="Verdana, Arial">
<b>Date/Time</b>
</font>
</td>
<td>
<font color="#ffffff" size="1" face="Verdana, Arial">
<b>ARIN</b>
</font>
</td>
<td>
<font color="#ffffff" size="1" face="Verdana, Arial">
<b>RIPE</b>
</font>
</td>
<td>
<font color="#ffffff" size="1" face="Verdana, Arial">
<b>APNIC</b>
</font>
</td>
</tr>

recent_ips_for_user

$counter = 0;
foreach (@ips) {

$nextitem = $ips[$counter];
@thisitem = split (/|/, $nextitem); # Login Name, IP, Date/Time

print <<this_ip;

<tr>
<td bgcolor="#ffffff">
</td>
<td valign="top" bgcolor="#ffffff">
<font size="1" face="Verdana, Arial">
<b>$thisitem[0]</b>
</font>
</td>

In cp_new_members.pl
#####################

Find:
######

my $thiscount = scalar(@new_members);

&HeaderRow("$vars_wordlets_cp{total_members} $total_members | $vars_wordlets_cp{last_50_registrations}", "4", $vars_style_cp{AltColumnColor1}, $vars_style_cp{TextColor}, "left", "1", "1");

&HeaderRow("$vars_wordlets_cp{new_members}", "4", $vars_style_cp{HeaderColor}, $vars_style_cp{HeaderTextColor}, "center", "2");


CHANGE
#######

"4" to "5" on both lines


However, it is a great mod, thanks BassTeQ.

Sponsored Links
Entire Thread
Subject Posted By Posted
[6.3.x] [beta] Advanced IP Logging v2.0.1 Idle 05/23/2002 11:26 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Eaglecrew 05/23/2002 11:32 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Eaglecrew 05/24/2002 12:08 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Idle 05/24/2002 12:15 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 AllenAyres 05/24/2002 8:24 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Idle 05/24/2002 10:07 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 DragonSoul 05/24/2002 5:59 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Idle 05/24/2002 6:21 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 DragonSoul 05/24/2002 10:59 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Idle 05/24/2002 11:37 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Eaglecrew 05/27/2002 3:43 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Idle 05/27/2002 6:55 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Eaglecrew 05/27/2002 11:54 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Idle 05/28/2002 4:30 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 ak 05/28/2002 4:31 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Idle 05/28/2002 7:18 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Eaglecrew 05/28/2002 6:29 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Idle 05/28/2002 9:50 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Syntax 05/28/2002 10:00 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Idle 05/29/2002 12:02 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 ak 05/29/2002 5:38 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Idle 05/29/2002 1:20 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Paulus Magnus 05/30/2002 3:41 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Eaglecrew 05/30/2002 5:48 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Idle 05/30/2002 6:35 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 guvner 06/02/2002 3:25 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Idle 06/02/2002 7:51 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 guvner 06/04/2002 2:21 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Idle 06/04/2002 4:12 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Eaglecrew 06/05/2002 4:37 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Idle 06/05/2002 7:03 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Eaglecrew 06/05/2002 8:26 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Idle 06/05/2002 10:25 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Eaglecrew 06/05/2002 10:52 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Idle 06/06/2002 12:25 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Eaglecrew 06/06/2002 1:08 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Idle 06/06/2002 1:38 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Mr. LaRue 06/09/2002 11:02 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Idle 06/09/2002 11:59 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Zildjin 08/20/2002 6:11 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Idle 08/21/2002 2:26 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Zildjin 08/22/2002 12:03 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Zildjin 08/22/2002 12:08 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Idle 08/22/2002 3:29 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 August 09/20/2002 6:19 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 August 09/20/2002 7:20 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Idle 09/23/2002 12:52 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 August 09/23/2002 7:25 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Fahd 09/23/2002 9:48 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 August 09/24/2002 8:30 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Idle 09/26/2002 8:19 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Fahd 10/01/2002 11:54 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Idle 10/02/2002 12:10 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Fahd 10/05/2002 11:53 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 BassTeQ 10/15/2002 2:23 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 twslex 11/10/2003 2:03 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 JustaShmuck 12/11/2003 11:34 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 autostream 01/19/2004 10:41 PM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Felix 10 11/17/2004 6:47 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 AllenAyres 11/18/2004 7:10 AM
Re: [6.3.x] [beta] Advanced IP Logging v2.0.1 Felix 10 11/19/2004 7:17 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)