Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 3 1 2 3
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
brett, one last bug.

In the title of the statistics page, it says "Statistics", you might want to fix that wordlet in the install

Sponsored Links
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Code
<div class="ubbcode-block"><div class="ubbcode-header">Quote</div><div class="ubbcode-body">quote:</font><hr />Originally posted by d-talk:<br><span style="font-weight: bold">Hi, now it works, but i dont want to show one more thing...<br><br>Also the font is an other as on the left side...<br>Can you look at my files?</span><hr /></blockquote> <blockquote><font class="small">quote:<br>[qb]Originally posted by RandyM:<br><span style="font-weight: bold">I found something that may or may not be a problem but for me it caused the right column of stats on the summary page to have the wrong size font.<br><br>In ubb_statistics.cgi at line 440 you have this;<br><br><div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>&lt;font size=&quot;1&quot; face=&quot;$vars_style{FontFace}&quot;&gt;$Misc[2]&lt;/font&gt;</pre></div></div>Then on line 670 you close the tags and the <td> to start the next column with this;<br><br><div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>		return qq~&lt;/font&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; colspan=&quot;$statcolspan&quot; width=&quot;50%&quot; bgcolor=&quot;$vars_style{AltColumnColor1}&quot; valign=&quot;top&quot; class=&quot;darktable&quot;&gt;&lt;font color=&quot;$vars_style{TextColor}&quot; face=&quot;$vars_style{FontFace}&quot;&gt;~; </pre></div></div>Since the size wasn't specified at "1" again it reverted to the boards font size.</span>[/qb]</div></div>

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
One thing that I think would be beneficial... Allen's script for total members: https://ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic;f=33;t=000114;p=1#000008 possibly integrate the members to reflect that as well, as an option anyway...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
I'm glad to see that there is motion in the development of my old hack. You did great work in code improvement. Btw, the sub PerformCheckUp is no longer needed and save to remove.
Thanks for crediting me.

Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
Quick question. If I want to add a break between the stats and the bottom of the main section, where do I go to add that? Other than that, everything runs perfectly!

- MT

Sponsored Links
Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
I also noted that there is a problem with "Last Post By..." It doesn't update like it's supposed to. Any suggestions?

- MT

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Could we have a link to your board and if it requires you to log in, a test account?

Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
Man, I wish I could give you one. I'm working on an Intranet site that is behind some pretty big guns. What is it that you need to see? Maybe I can email you a screenshot?

- MT

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Well what do you mean doesn't update like it's supposed to?

Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
Um... nevermind. Man, I overlooked something very obvious.

- MT

Sponsored Links
Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
Oh, I did forget to ask. I'd like to have a break in between the main board and the stats block. Anyone have any quick suggestions?

- MT

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Try to add $TBB
$TBT before the stats part in sub PageBottom of public_forum_summary.pl

Joined: May 2000
Posts: 1,168
Member
Member
Offline
Joined: May 2000
Posts: 1,168
Sorry, can't seem to get it to work.....


- MT

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Quote
quote:
Originally posted by Matt Torbin:
Sorry, can't seem to get it to work.....


- MT
That's what I did here <--- click this...

I made other changes to the summary page before I added the stats but that is basically what I did.

Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
I have updated the zip file, namely only the ubb_statistics.cgi file fixing the triple column bug and font.

Matt: The html in the summary is located in the ubb_statistics file, not the public_forum_summary. The forum part in particular is around line 428.

Code
add:
$TBB
$TBT

above:
<tr bgcolor="$vars_style{CategoryStripColor}" class="tdheader">
That should work

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Quote
quote:
Originally posted by Gizzy:
One thing that I think would be beneficial... Allen's script for total members: https://ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic;f=33;t=000114;p=1#000008 possibly integrate the members to reflect that as well, as an option anyway...
:hint:


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
I did it in the summary page like this;

Code
sub PageBottom {
# Fixed for strict - 20030426


my $Bottom = &DisplayStats . qq~
$TBB

$TBT
I use graphics around the tables so I didn't have to add a
after $TBB

Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
Added a 6.7 Download Link.

Only thing new is the spider url friendness thingy. Trimmed up some code here and there.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Quote
Originally posted by Gizzy:

quote:
[qb]Originally posted by Gizzy:
One thing that I think would be beneficial... Allen's script for total members: https://ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic;f=33;t=000114;p=1#000008 possibly integrate the members to reflect that as well, as an option anyway...[/qb]
:hint:

this is now a standard option in ubb_lib.cgi in 6.7 smile


- Allen wavey
- What Drives You?
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
I know :x... I saw the notice just for you lol...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
The install instructions for 6.7 have a buglet or 2, just needs to be updated for 6.7 in regards to finding sections of code in ubb:

Code
$location = qq($vars_wordlets_pntf{pntf_forum}: <a href="$ULTIMATEBB{"ubb=forum;f=$f"}">) . (&GetForumRecord($f))[1] . qq(</a>);
I think there's one other place, but I can't remember right now if I caught one other, but it was the same type thing smile Nice work smile


- Allen wavey
- What Drives You?
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
ZIP file updated with two bugfixs in public_display_profile.pl and public_pntf_admin.pl. Thanks Allen! laugh

1 member likes this: Gizmo
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Welcome smile

I've installed this twice and each time I get a 500 ISE on the ultimatebb page. Anyone else seen this? I've chmodded all files correctly smirk


- Allen wavey
- What Drives You?
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
I got it working just fine on my test board.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Would be nice to see it functioning on a 6.7 site, any takers?


- Allen wavey
- What Drives You?
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
I have seen this working on d-talk's test site, but he's added colorforums, so it's been removed

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
I'll have it up by the weekend.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Ok, done...

Demo: UGN Security - BBS


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
hmm.. thank you smile Did you make any changes from the default install? I have no idea why I got a 500 ise


- Allen wavey
- What Drives You?
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
No changes; did it exactly as the file sais. Only change I did was filing the data in vars_wordlets down in alphabetacal order...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Sep 2000
Posts: 159
Member
Member
Offline
Joined: Sep 2000
Posts: 159
Worked perfectly for me on a new 6.7 install.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
ok, thanks... I'll try it again smile


- Allen wavey
- What Drives You?
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Found my mistake, thank you smile


- Allen wavey
- What Drives You?
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
hehe, i have to ask; what was it...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Aug 2001
Posts: 103
Member
Member
Offline
Joined: Aug 2001
Posts: 103
The download link is gone frown

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
Sorry, seems hypermart ended all free accounts recently. Gotta get my server up and going so i don't have to worry about these issues. wink

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Quote
Originally posted by Brett:

Sorry, seems hypermart ended all free accounts recently. Gotta get my server up and going so i don't have to worry about these issues. wink

FlareUpload laugh

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
Quote
Originally posted by Brett:

Sorry, seems hypermart ended all free accounts recently. Gotta get my server up and going so i don't have to worry about these issues. wink
See the wink? Can we say NS35? :x...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
For those who want this to work with the fake member total, do this.

In ubb_statistics.cgi,
FIND:
Code
use strict;
ADD AFTER:
Code
&RequireCode("$vars_config{CGIPath}/ubb_forum_summary.cgi");
FIND:
Code
sub GetMemberCount {
$Statistics{TotalMembers} = &GetMemberTotal;
} # endsub
REPLACE WITH:
Code
sub GetMemberCount {
if($vars_misc{ShowFakeMemberTotal} == 1) {
my @newest = &GetNewestMember;
$Statistics{TotalMembers} = $newest[1] + 0;
} else {
$Statistics{TotalMembers} = &GetMemberTotal;
}
} # endsub

Page 2 of 3 1 2 3

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
Posts: 70
Joined: January 2007
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
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)