 |
 |
 |
 |
#199265 - 10/27/05 08:01 PM
Re: [6.6 - 6.7] [finished] Calendar
|
Junior Member
Registered: 01/13/05
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. 
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#199271 - 12/25/05 03:27 PM
Re: [6.6 - 6.7] [finished] Calendar
|
Member
Registered: 12/12/04
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
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#199272 - 12/25/05 08:43 PM
Re: [6.6 - 6.7] [finished] Calendar
|
Member
Registered: 12/12/04
Posts: 39
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#199274 - 12/25/05 11:25 PM
Re: [6.6 - 6.7] [finished] Calendar
|
Member
Registered: 12/12/04
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
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#199275 - 12/26/05 01:58 PM
Re: [6.6 - 6.7] [finished] Calendar
|
Member
Registered: 12/12/04
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
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#199278 - 12/27/05 06:04 PM
Re: [6.6 - 6.7] [finished] Calendar
|
Member
Registered: 12/12/04
Posts: 39
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#199280 - 01/24/06 04:46 PM
Re: [6.6 - 6.7] [finished] Calendar
|
Junior Member
Registered: 01/24/06
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
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|