Previous Thread
Next Thread
Print Thread
Rate Thread
Page 7 of 7 1 2 3 4 5 6 7
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Thanks smile

The birthday avatar shouldn't make the board any slower, since it only checks the member profile (which is open in any case) and the calendar variable file (you shouldn't notice that, since dozens of other files are also opened so one more doesn't make any difference).

Upgrading to Threads: a next generation UBB is planned to be released soon, so if I were you I would wait, unless the performance issue is really urgent. smile

Sponsored Links
Joined: Jan 2005
Posts: 19
McJ Offline
Junior Member
Junior Member
Offline
Joined: Jan 2005
Posts: 19
Quote
Originally posted by LK:
Upgrading to Threads: a next generation UBB is planned to be released soon, so if I were you I would wait, unless the performance issue is really urgent. smile
Yeah, I can wait. I've thought about other software (i.e. not InfoPop/Groupee) but the thing is, I've been using UBB since around 2000. (well, June 2000 to be precise)

I've moved my forum onto a fair few servers during that time, and I know the software well. By that, I don't mean coding, but general operations, file systems... so I feel pretty secure if I need to install a backup or move to another server.

In other words, UBB feels like home to me, so yeah, it'll be worth waiting. The only reason I haven't already upgraded to UBB.Threads is coz it looks a bit basic. (i.e the interface)

UBB.Classic looks a lot better. smile

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
If the birthdays are off from what's stored in the profile, any way to autmagically update what's displayed in the calendar?

Looks like they registered under one birthday and edited it later to their actual birthday smash


- Allen wavey
- What Drives You?
Joined: Feb 2003
Posts: 179
Member
Member
Offline
Joined: Feb 2003
Posts: 179
insignificant buglet report... it seems that maybe if public display name has an apostrophe in it, the user's age is shown as 2 when their birthday rolls around laugh

http://dragboatalley.com/cgi-bin/ultimatebb.cgi?ubb=calendar;date=2453705#events

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
That's the bug I am seeing smash

tipsy


- Allen wavey
- What Drives You?
Sponsored Links
Joined: Dec 2004
Posts: 39
Member
Member
Offline
Joined: Dec 2004
Posts: 39
this works for 6.7.2 right??

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Yes, it should work for 6.7.2.

Allen/Rox, I missed your post. The code seems fine actually, I'll check it out soon.
The current code is (do_add_event_birthday):
Code
	my $descs = "$_[1]|!!|$_[0]|!!|$_[2]"; $descs =~ s/'/'/isg;
It should replace all the apostrophes with "'".

Joined: Dec 2004
Posts: 39
Member
Member
Offline
Joined: Dec 2004
Posts: 39
Quote
Originally posted by Weird Al:

it's actually quite easy
FIND IN UBB_FORUM_SUMMARY.CGI
Code
</tr>
$TBB
~ : '' ;
REPLACE WITH:
Code
</tr>
$TBB
~ : qq~

$TBT
<tr><td background="$vars_style{AltColumnColor1}"><font color="$vars_style{TextColor}" face="$vars_style{FontFace}" size="$vars_style{FDTextSize}">
$vars_wordlets_calendar{NoStinkinEvent}</font></td></tr>
$TBB~;
And in vars_wordlets_calendar.cgi, add the line
Code
    q!NoStinkinEvent! => q!No Events Scheduled For Today!,
somewhere in the middle. just go into the cp and change that wordlet to whatever you want

I just tried this, and now my board has a problem

http://www.writerzblock.net/cgi-bin/ultimatebb.cgi

please help

Joined: Dec 2004
Posts: 39
Member
Member
Offline
Joined: Dec 2004
Posts: 39
PLEASE HELP?????

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
I think you just need to re-upload the file(s) (all files you modified), or re-mod them then re-upload.


- Allen wavey
- What Drives You?
Sponsored Links
Joined: Dec 2004
Posts: 39
Member
Member
Offline
Joined: Dec 2004
Posts: 39
Quote
Originally posted by AllenAyres:

I think you just need to re-upload the file(s) (all files you modified), or re-mod them then re-upload.

The calander was fine
I just recently used that link above to add it to my main forum page
and now it says im missing something

============================================
An error has occurred:

(RequireCode) CGIPath/ubb_forum_summary.cgi: Missing right curly or square bracket at CGIPath/ubb_forum_summary.cgi line 582, at end of line
syntax error at CGIPath/ubb_forum_summary.cgi line 582, at EOF
Compilation failed in require at CGIPath/ubb_lib.cgi line 932.

Please inform the board administration of this error so that they may fix the problem. Thank you!

» Please use your browser's back button to return.

Now i cant access my forum

Joined: Dec 2004
Posts: 39
Member
Member
Offline
Joined: Dec 2004
Posts: 39
Quote
Originally posted by ADWOFF:

I'm beginning to get worried. tipsy

I've actually kinda, sorta figured out another tweak to LK's mod ... based on code from last year ... unfortunately, in my notes, I don't have the individual who created the code for this. Sorry about that.

On the front page of my board, I like to have the calendar listed--and I like to have it at the top--so that when people come to my site, they can see if anything *special* is happening that day.

Using last year's code and playing around a bit, I was able to get it to "work."

Here's what I did:

In public_forum_summary.pl find

Code
$calendar  
Delete it (it only appears once)

----

Also in public_forum_summary.pl find

Code
	$Top .= "</tr>$pntf_locations[1]";

return ($Top);
} # end Normal_Table_Top
before the above code, add

Code
	$Top .=  $calendar;  
-----

In ubb_forum_summary.cgi find

Code
$TBT
<tr>
<td bgcolor="$vars_style{AltColumnColor1}" valign="top" align="left">
<font size="1" face="$vars_style{FontFace}">$calendar$linebreak$birthdays
</font>
</td>
</tr>
$TBB
replace it with

Code
<tr bgcolor="$vars_style{CategoryStripColor}">
<td colspan="6">
<a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=calendar">
<font size="$vars_style{TextSize}" face="$vars_style{FontFace}" color="$vars_style{CategoryStripTextColor}">
<b>$vars_wordlets_calendar{calendar}</b>
</a>
</font>
</td>
</tr><tr>
<td bgcolor="$vars_style{AltColumnColor1}" valign="top" align="left">
<img src="$vars_config{NonCGIURL}/calendarfs.gif" alt="" />
</td>
<td bgcolor="$vars_style{AltColumnColor1}" valign="top" align="left" colspan="6">
<font size="$vars_style{TextSize}" face="$vars_style{FontFace}">
$calendar
</font>
</td>
</tr>
----


Edit to add: you also need to clear the cache

-------

It seems to be working w/out problems ( smash knock on wood) ... again, I cannot take credit for this add-on to the calendar mod ... I'm not sure who created this code.

I just tried this
and its not working for me
I just would like to add it to my main forum page

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Add an event or something. the calendar only shows up when you have an event or birthday that day

Joined: Dec 2004
Posts: 39
Member
Member
Offline
Joined: Dec 2004
Posts: 39
^^^^
I tried that
It didnt work
it wont show up on my page
for that matter
There isnt anything on my control panel as well for the calander

Am i missing something??

Joined: Dec 2004
Posts: 39
Member
Member
Offline
Joined: Dec 2004
Posts: 39
help

Joined: Dec 2004
Posts: 39
Member
Member
Offline
Joined: Dec 2004
Posts: 39
i got it working now
thanks

Joined: Jan 2006
Posts: 12
PTK Offline
Junior Member
Junior Member
Offline
Joined: Jan 2006
Posts: 12
n00b here. laugh
I have a question.
I got to editing the ubb_new_topic.cgi
Where the instructions ask to find:
Code
	# show signature?
if (($vars_display{AllowSignature} eq 'YES') && (($username && ($username ne '')) &#0124;&#0124; ($vars_display{RequireLoginPosts} eq "NO"))) {
$show_sig = qq(
<input type="checkbox" name="Signature" id="Signature" value="yes" checked="checked" /> $vars_wordlets{show_signature});
}
All I can find in my ubb_new_topic.cgi is:
Code
# show signature?
if (($vars_display{AllowSignature} eq 'YES') && ($username ne '')) {
my $checked = $user_prefs->{check_nosig} ? "" : qq~checked="checked"~;
$show_sig = qq(
<input type="checkbox" name="Signature" id="Signature" value="yes" $checked /> $vars_wordlets{show_signature});
}
Any thoughts?
Can I just preform the "Add below:" instructions below what I have in my ubb_new_topic.cgi?

BTW I am running UBBClassic 6.7.2

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
yes, apparently the instructions weren't updated for 6.7, but yes, that should work fine

Joined: Jan 2006
Posts: 12
PTK Offline
Junior Member
Junior Member
Offline
Joined: Jan 2006
Posts: 12
Thanks so much for the quick reply.

Joined: Jan 2006
Posts: 12
PTK Offline
Junior Member
Junior Member
Offline
Joined: Jan 2006
Posts: 12
Calendar is working but I have no

Modifications/Calendar in the CP

What did I miss?

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
that is all in cp2_lib.cgi and cp2_vars.cgi, so make sure that you did all of the modifications for those, and make sure you uploaded the modified files.

Joined: Jan 2006
Posts: 12
PTK Offline
Junior Member
Junior Member
Offline
Joined: Jan 2006
Posts: 12
Awesome...
I missed something in cp2_lib.cgi
Up and running
Thanks so much for the mod and the help.
You guys rock rockon

Joined: Jan 2006
Posts: 12
PTK Offline
Junior Member
Junior Member
Offline
Joined: Jan 2006
Posts: 12
Another question.
I set calendar to "Only Staff and selected members may post new events" and I have selected the "User may post new Calendar event?" check box for a member.
That member is unable to post an event on the calendar.

It appears that only I (the administrator) can post events.

What am I missing?

Thanks

Joined: Nov 2002
Posts: 188
Member
Member
Offline
Joined: Nov 2002
Posts: 188
I have strange request in regards to this hack...

I have already installed everything and have it working perfectly, EXCEPT that I have intentionally skipped hacking 'public_common.pl' since I don't want the calendar to be available in any manner other than the Nav Bar on the left side of my page.

The way I design, my sites are extremely frames dependant, so I need to resolve 1 major issue, and 1 minor one.

1) (the minor issue) I am wanting to eliminate everything above the Month Date { profile-faq-home-etc}, but am unable to locate the line of code to do so. I figured it was simply a matter of removing the 2nd line in 'public_calendar.pl', but that did nothing.

2) (the MAJOR issue) When clicking on a date with info, then clicking on the link at the bottom of the Calendar that send you to the actual Forum Page, it brings it up to a 2nd page, that IS NOT within a frame structure... I'm needing this link to call a parent INDEX page that will in turn call the specific forum topic page under it.

A quick look through my site should give you guys a basic idea of what I'm looking for.

http://www.nea-reefkeeping.com/index-calendar.htm

Also, if somebody could explain how create the small calendar image in the sidebar via the SSI, that would be killer, because I could remove the text link.

Joined: Nov 2002
Posts: 188
Member
Member
Offline
Joined: Nov 2002
Posts: 188
Okay, I was able to resolve Issue #2 by editing 'vars_calendar_events.cgi' and changing the URL to force it through the necessary paths.

Any suggestions for Issue #1 however, would be greatly appreciated. smile

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
removing that will pretty difficult since the code there is the same code throughout the forum files (it's all pulled from public_common.pl) - turning it off in one place turns it off all over smash

You could edit the header and footer of the calendar file to pull headers and footers the old way, but there's a little effort/trial and error involved smile


- Allen wavey
- What Drives You?
Joined: Nov 2002
Posts: 188
Member
Member
Offline
Joined: Nov 2002
Posts: 188
Grrrrrrr, I'm at a loss... frown

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
for the small calendar, check out the instructions at the top of the calendar template file.


- Allen wavey
- What Drives You?
Joined: Nov 2002
Posts: 188
Member
Member
Offline
Joined: Nov 2002
Posts: 188
Thanks Allen. smile

Joined: Jan 2006
Posts: 12
PTK Offline
Junior Member
Junior Member
Offline
Joined: Jan 2006
Posts: 12
I was looking to add some text to the Calendar page.
What I would like to do is add some text and a link which would display just above the nav bar but below the "$thismonth $yeartem"

Can this be added to the public_calendar.pl file?
If so where and how would I place this information?

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
In public_calendar.pl file, find:
Code
		before_navbar => qq~<h2 align="center">$thismonth $yeartem</h2>~,
After the tag, add the text, for example:
Code
		before_navbar => qq~<h2 align="center">$thismonth $yeartem</h2>


I hate Mercedes and BMW.~,

Page 7 of 7 1 2 3 4 5 6 7

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
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
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)