php forum
php mysql forum
php mysql smarty
 
Page 13 of 14 < 1 2 ... 11 12 13 14 >
Topic Options
#199264 - 10/27/05 06:40 PM Re: [6.6 - 6.7] [finished] Calendar
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396

   Re: [6.6 - 6.7] [finished] Calendar to Del.icio.us Add to del.icio.us
  Digg Re: [6.6 - 6.7] [finished] Calendar Digg it
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
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#199265 - 10/27/05 08:01 PM Re: [6.6 - 6.7] [finished] Calendar
McJ Offline
Junior Member

Registered: 01/13/05
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

Top
#199266 - 11/30/05 10:54 PM Re: [6.6 - 6.7] [finished] Calendar
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25427
Loc: Texas
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?

Top
#199267 - 12/02/05 05:54 PM Re: [6.6 - 6.7] [finished] Calendar
RoxSeibert Offline
Member

Registered: 02/20/03
Posts: 178
Loc: highspire, pa
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
_________________________
~=Rox
http://dragboatalley.com/cgi-bin/ultimatebb.cgi

dangerously inspired by ubbdev,
but i still absolutely HATE perl.

Top
#199268 - 12/02/05 06:54 PM Re: [6.6 - 6.7] [finished] Calendar
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25427
Loc: Texas
That's the bug I am seeing smash

tipsy
_________________________
- Allen wavey
- What Drives You?

Top
#199269 - 12/08/05 02:10 PM Re: [6.6 - 6.7] [finished] Calendar
warden Offline
Member

Registered: 12/12/04
Posts: 39
this works for 6.7.2 right??

Top
#199270 - 12/08/05 02:56 PM Re: [6.6 - 6.7] [finished] Calendar
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
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/'/&#39;/isg;
It should replace all the apostrophes with "&#39;".
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#199271 - 12/25/05 03:27 PM Re: [6.6 - 6.7] [finished] Calendar
warden Offline
Member

Registered: 12/12/04
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

Top
#199272 - 12/25/05 08:43 PM Re: [6.6 - 6.7] [finished] Calendar
warden Offline
Member

Registered: 12/12/04
Posts: 39
PLEASE HELP?????

Top
#199273 - 12/25/05 10:53 PM Re: [6.6 - 6.7] [finished] Calendar
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25427
Loc: Texas
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?

Top
#199274 - 12/25/05 11:25 PM Re: [6.6 - 6.7] [finished] Calendar
warden Offline
Member

Registered: 12/12/04
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

Top
#199275 - 12/26/05 01:58 PM Re: [6.6 - 6.7] [finished] Calendar
warden Offline
Member

Registered: 12/12/04
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

Top
#199276 - 12/26/05 02:04 PM Re: [6.6 - 6.7] [finished] Calendar
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Add an event or something. the calendar only shows up when you have an event or birthday that day
_________________________
Code monkey like Fritos

Top
#199277 - 12/26/05 07:51 PM Re: [6.6 - 6.7] [finished] Calendar
warden Offline
Member

Registered: 12/12/04
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??

Top
#199278 - 12/27/05 06:04 PM Re: [6.6 - 6.7] [finished] Calendar
warden Offline
Member

Registered: 12/12/04
Posts: 39
help

Top
#199279 - 12/27/05 07:14 PM Re: [6.6 - 6.7] [finished] Calendar
warden Offline
Member

Registered: 12/12/04
Posts: 39
i got it working now
thanks

Top
#199280 - 01/24/06 04:46 PM Re: [6.6 - 6.7] [finished] Calendar
PTK Offline
Junior Member

Registered: 01/24/06
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

Top
#199281 - 01/24/06 04:54 PM Re: [6.6 - 6.7] [finished] Calendar
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
yes, apparently the instructions weren't updated for 6.7, but yes, that should work fine
_________________________
Code monkey like Fritos

Top
#199282 - 01/24/06 05:25 PM Re: [6.6 - 6.7] [finished] Calendar
PTK Offline
Junior Member

Registered: 01/24/06
Posts: 12
Thanks so much for the quick reply.

Top
#199283 - 01/24/06 08:12 PM Re: [6.6 - 6.7] [finished] Calendar
PTK Offline
Junior Member

Registered: 01/24/06
Posts: 12
Calendar is working but I have no

Modifications/Calendar in the CP

What did I miss?

Top
Page 13 of 14 < 1 2 ... 11 12 13 14 >


Moderator:  Charles, Gizmo 
Who's Online
0 Registered (), 39 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by Ian_W
Yesterday at 03:47 PM
What do you use to edit the files
by Ian_W
Yesterday at 03:33 PM
BeyondCompare v3.00
by Ian_W
Yesterday at 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
Yesterday at 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3] Language file checker
by blaaskaak
09/09/08 12:56 AM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
ghengis317, NitroX, Dogan, EliYah-, W-D
13344 Registered Users
Top Posters Last 30 Days
AllenAyres 16
blaaskaak 13
FREAK1 7
Mike L_dup1 4
Chris Bale 4
Ian_W 4
tackaberry 3

 

 

 
fusionbb message board php hacks