|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Thanks 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. 
|
|
|
|
Joined: Jan 2005
Posts: 19
Junior Member
|
Junior Member
Joined: Jan 2005
Posts: 19 |
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. 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. 
|
|
|
|
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 
|
|
|
|
Joined: Feb 2003
Posts: 179
Member
|
Member
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 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 
|
|
|
|
Joined: Dec 2004
Posts: 39
Member
|
Member
Joined: Dec 2004
Posts: 39 |
this works for 6.7.2 right??
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
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): my $descs = "$_[1]|!!|$_[0]|!!|$_[2]"; $descs =~ s/'/'/isg; It should replace all the apostrophes with "'".
|
|
|
|
Joined: Dec 2004
Posts: 39
Member
|
Member
Joined: Dec 2004
Posts: 39 |
Originally posted by Weird Al: it's actually quite easy FIND IN UBB_FORUM_SUMMARY.CGI REPLACE WITH: </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 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
Joined: Dec 2004
Posts: 39 |
|
|
|
|
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.
|
|
|
|
Joined: Dec 2004
Posts: 39
Member
|
Member
Joined: Dec 2004
Posts: 39 |
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
Joined: Dec 2004
Posts: 39 |
Originally posted by ADWOFF: I'm beginning to get worried. 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 Delete it (it only appears once) ---- Also in public_forum_summary.pl find $Top .= "</tr>$pntf_locations[1]";
return ($Top); } # end Normal_Table_Top before the above code, add ----- In ubb_forum_summary.cgi find $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 <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 (  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
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
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
Joined: Dec 2004
Posts: 39 |
|
|
|
|
Joined: Dec 2004
Posts: 39
Member
|
Member
Joined: Dec 2004
Posts: 39 |
i got it working now thanks
|
|
|
|
Joined: Jan 2006
Posts: 12
Junior Member
|
Junior Member
Joined: Jan 2006
Posts: 12 |
n00b here. I have a question. I got to editing the ubb_new_topic.cgi Where the instructions ask to find: # show signature? if (($vars_display{AllowSignature} eq 'YES') && (($username && ($username ne '')) || ($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: # 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
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
Junior Member
|
Junior Member
Joined: Jan 2006
Posts: 12 |
Thanks so much for the quick reply.
|
|
|
|
Joined: Jan 2006
Posts: 12
Junior Member
|
Junior Member
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
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
Junior Member
|
Junior Member
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 
|
|
|
|
Joined: Jan 2006
Posts: 12
Junior Member
|
Junior Member
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
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
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. 
|
|
|
|
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 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 
|
|
|
|
Joined: Nov 2002
Posts: 188
Member
|
Member
Joined: Nov 2002
Posts: 188 |
Grrrrrrr, I'm at a loss... 
|
|
|
|
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.
|
|
|
|
Joined: Nov 2002
Posts: 188
Member
|
Member
Joined: Nov 2002
Posts: 188 |
Thanks Allen. 
|
|
|
|
Joined: Jan 2006
Posts: 12
Junior Member
|
Junior Member
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
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
In public_calendar.pl file, find: before_navbar => qq~<h2 align="center">$thismonth $yeartem</h2>~, After the tag, add the text, for example: before_navbar => qq~<h2 align="center">$thismonth $yeartem</h2>
I hate Mercedes and BMW.~,
|
|
|
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.
|
|
Posts: 449
Joined: February 2008
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|