Previous Thread
Next Thread
Print Thread
Rate Thread
Page 6 of 7 1 2 3 4 5 6 7
Joined: Mar 2001
Posts: 7,394
L
LK Offline OP
Admin / Code Breaker
OP Offline
Admin / Code Breaker
L
Joined: Mar 2001
Posts: 7,394
Fixed laugh (although the error log wasn't updated)

Sponsored Links
Joined: Nov 2003
Posts: 156
P
Member
Offline
Member
P
Joined: Nov 2003
Posts: 156
You are a genius! How did you do it?

Joined: Nov 2003
Posts: 156
P
Member
Offline
Member
P
Joined: Nov 2003
Posts: 156
Ok... I noticed that on the Forum Summary, Chat Forum shows no posts, but if you click on it, all the posts are there.

I am going to rebuild everything I can in the CP but I don't know if that'll work.

Thanks!

Joined: Mar 2001
Posts: 7,394
L
LK Offline OP
Admin / Code Breaker
OP Offline
Admin / Code Breaker
L
Joined: Mar 2001
Posts: 7,394
I guess you fixed that tipsy

Joined: Nov 2003
Posts: 156
P
Member
Offline
Member
P
Joined: Nov 2003
Posts: 156
Yup ;-) Thanks!!

Sponsored Links
Joined: Nov 2003
Posts: 156
P
Member
Offline
Member
P
Joined: Nov 2003
Posts: 156
Oh... Bad news!

Ok, so Ubb Code Tags aren't working, and when you click on a members profile you get this:

Global symbol "%pm_topic" requires explicit package name at CGIPath/ubb_profile.cgi line 84.
Global symbol "%pm_topic_data" requires explicit package name at CGIPath/ubb_profile.cgi line 84.
Global symbol "%pm_date" requires explicit package name at CGIPath/ubb_profile.cgi line 84.
Global symbol "%pm_time" requires explicit package name at CGIPath/ubb_profile.cgi line 84.
Global symbol "%pm_post" requires explicit package name at CGIPath/ubb_profile.cgi line 84.
Global symbol "%pm_icon" requires explicit package name at CGIPath/ubb_profile.cgi line 84.
Global symbol "%pm_signature" requires explicit package name at CGIPath/ubb_profile.cgi line 84.
Global symbol "%pm_to" requires explicit package name at CGIPath/ubb_profile.cgi line 84.
Global symbol "%pm_from" requires explicit package name at CGIPath/ubb_profile.cgi line 84.
Global symbol "$user_public_name" requires explicit package name at CGIPath/ubb_profile.cgi line 84.
Global symbol "$key" requires explicit package name at CGIPath/ubb_profile.cgi line 84.
Global symbol "$star" requires explicit package name at CGIPath/ubb_profile.cgi line 84.
Global symbol "$read_marker_1" requires explicit package name at CGIPath/ubb_profile.cgi line 84.
Global symbol "$read_marker_2" requires explicit package name at CGIPath/ubb_profile.cgi line 84.
Global symbol "$pm_count" requires explicit package name at CGIPath/ubb_profile.cgi line 84.
syntax error at CGIPath/ubb_profile.cgi line 84, near "$pm_count)"
CGIPath/ubb_profile.cgi has too many errors.

Joined: Mar 2001
Posts: 7,394
L
LK Offline OP
Admin / Code Breaker
OP Offline
Admin / Code Breaker
L
Joined: Mar 2001
Posts: 7,394
Download the plain UBB zip from Infopop and rehack everything, using regular programs (such as Notepad) and regular FTP clients smile

Joined: Jan 2003
Posts: 118
G
Member
Offline
Member
G
Joined: Jan 2003
Posts: 118
Hmm... I have calendar set to only staff and selected members can post to the calendar. When I go to an individual users account and select the option that they can post new events to the calendar, they still can't. Any ideas?

Thanks in advance...


-GATOR

"Pain is temporary, Pride is forever"
Joined: Dec 2004
Posts: 6
T
Junior Member
Offline
Junior Member
T
Joined: Dec 2004
Posts: 6
Seasons Greetings,

I have just applied this mod to my board and I am well chuffed that i got it all right first time and so far all seems to be going great.

My question is this - is there a way to have a moderator notified when a new event is added?

Thanks in advance

Howard

Joined: Jan 2003
Posts: 3,456
Likes: 2
I
Master Hacker
Offline
Master Hacker
I
Joined: Jan 2003
Posts: 3,456
Likes: 2
Give this a shot, no guarantee it'll work.

In ubb_lib_calendar.cgi
FIND:
Code
&do_add_event_general($eventtitle, $julian_day, 1, $message, $username);
ADD AFTER:
Code
	my $calendar_message = qq~$username has added a new event.
It can be found <a href="~ . $ULTIMATEBB{"ubb=calendar;date=$julian_day"} .
qq~">here. ($eventtitle)</a>~;

my $forum = 4;
my $Moderator = &build_mod_emails($forum);
&RequireCode("$vars_config{CGIPath}/ubb_lib_mail.cgi");
&ubb_mail_tng({
'EmailTo' => $Moderator,
'EmailFrom' => $vars_display{BBEmail},
'EmailReplyTo' => $vars_display{BBEmail},
'BCCList' => undef,
'Subject' => qq~$username has added a calendar event (Title: $eventtitle)~,
'TextMessage' => $calendar_message . " ... " . $ULTIMATEBB{"ubb=calendar;date=$julian_day"},
'HTMLMessage' => $calendar_message,
'CCList' => undef,
});
Set $forum to whichever forum who's moderators you want to know about the new event

Sponsored Links
Joined: Dec 2004
Posts: 6
T
Junior Member
Offline
Junior Member
T
Joined: Dec 2004
Posts: 6
The email layout needs a tweek but yup that works well.

Thanks for your help with this woot

Howard

Joined: Dec 2004
Posts: 6
T
Junior Member
Offline
Junior Member
T
Joined: Dec 2004
Posts: 6
I seem to have a problem with pages being cached, this seems to be stopping the main forum page from updating to new events. The calendar moves forward but the event gets stuck until you clear tge forum summary cache.

Have i done something?

Thanks

Howard

Joined: Jan 2003
Posts: 3,456
Likes: 2
I
Master Hacker
Offline
Master Hacker
I
Joined: Jan 2003
Posts: 3,456
Likes: 2
That is how it's supposed to work, but the cache is normally cleared more than once a day. It is cleared any time someone makes a post, as well as when any settings are changed.


I don't know what you can do with cron jobs, but it'd be relatively easy to have the cache cleared at the end of every day

Joined: Dec 2004
Posts: 6
T
Junior Member
Offline
Junior Member
T
Joined: Dec 2004
Posts: 6
Hmmm just having a quiet patch on the forum so this would explain that then. 'cron jobs' ive heard the name before but i have no idea ????

Thanks

Joined: Jun 2001
Posts: 729
1
Coder
Offline
Coder
1
Joined: Jun 2001
Posts: 729
A CRON job is the ability to schedule tasks to be completed at different intervals through out the day, week or month.

Joined: Dec 2004
Posts: 6
T
Junior Member
Offline
Junior Member
T
Joined: Dec 2004
Posts: 6
Hmmmm do they work with the cursed windows?

Joined: Jan 2005
Posts: 19
M
McJ Offline
Junior Member
Offline
Junior Member
M
Joined: Jan 2005
Posts: 19
Greetings.

Does anyone have a "working" multi-hack for Calendar on 6.7.2? Version downloaded from your Multi-hack page crashes MULTIHACK before even exporting modified files.

Thanks.

McJ.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
hmm.. I just re-exported it and uploaded. The new file is 5 bytes smaller than the old one, maybe it was corrupted some how.

It should work now, let me know if it doesn't smile


- Allen wavey
- What Drives You?
Joined: Jan 2005
Posts: 19
M
McJ Offline
Junior Member
Offline
Junior Member
M
Joined: Jan 2005
Posts: 19
Nope. Locks up after public_common.pl mod applied successfully. Seems to be an exporting prob. Used other mhp files and they work OK. Maybe it's just me?

If I send you my UBB files, would you try?

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Did the file pass the 'analyze' mode?


- Allen wavey
- What Drives You?
Joined: Jan 2005
Posts: 19
M
McJ Offline
Junior Member
Offline
Junior Member
M
Joined: Jan 2005
Posts: 19
Yup. Sure did. Then went on to be applied successfully. Locks when going to output. As mentioned previously, doesn't happen on other multihack files. This is the first one.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
odd, it installs fine for me using the same files. I may be able to look at your files, but it'll probably be this weekend before I can. Are you sure you have the latest forum and multi-hack files?


- Allen wavey
- What Drives You?
Joined: Jan 2003
Posts: 3,456
Likes: 2
I
Master Hacker
Offline
Master Hacker
I
Joined: Jan 2003
Posts: 3,456
Likes: 2
LK, I was writing a modification of this for a client and I noticed that when you add an event with a topic, that the link back to the topic is incorrect. Might want to fix it, it's in ubb_new_topic.cgi

Joined: Mar 2001
Posts: 7,394
L
LK Offline OP
Admin / Code Breaker
OP Offline
Admin / Code Breaker
L
Joined: Mar 2001
Posts: 7,394
Do you mean that it doesn't use the %ULTIMATEBB hash? Or is it really wrong? Because it looks fine to me...

Joined: Jan 2003
Posts: 3,456
Likes: 2
I
Master Hacker
Offline
Master Hacker
I
Joined: Jan 2003
Posts: 3,456
Likes: 2
I can't find where I did it, but the link was showing up as

http://www.domain.com/cgi/ultimatebb.cgi?ubb=get_topic;f=;t=

or something like that

I ended up doing something like

$pleh = "ubb=get_topic;f=$f;t=$thread";
print $ULTIMATEBB{$pleh};

Joined: Jun 2002
Posts: 111
T
Member
Offline
Member
T
Joined: Jun 2002
Posts: 111
Bit wierd and funny:

I had to uncheck, clear cache and check Show today's events in forum summary and clear cache again to get it all working correctly?

Just for someone's knowledge.

Joined: Aug 2001
Posts: 103
P
Member
Offline
Member
P
Joined: Aug 2001
Posts: 103
Is there a way to modify settings to show upcoming events for the month on the main ubb page instead of how it currently shows events which is basically the events that will happen that day.

Joined: Mar 2001
Posts: 7,394
L
LK Offline OP
Admin / Code Breaker
OP Offline
Admin / Code Breaker
L
Joined: Mar 2001
Posts: 7,394
It's not possible as easily, though you can make a sidebar and use the ubb_calendar_ssi iframe to see the small calendar box.

I may be looking into making it like you want it to be when I'm back to my computer in about a week.

Joined: Jan 2000
Posts: 5,819
Likes: 16
UBBDev / UBBWiki Owner
Time Lord
Offline
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,819
Likes: 16
I must say that I do like the idea of showing "Events of the Month" vs "Events of the Day"...

Also showing perhaps links on day's with events when using the small calendar view which go to the calendar to display the happenings would be sweet...


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 2001
Posts: 7,394
L
LK Offline OP
Admin / Code Breaker
OP Offline
Admin / Code Breaker
L
Joined: Mar 2001
Posts: 7,394
Quote
quote:
Also showing perhaps links on day's with events when using the small calendar view which go to the calendar to display the happenings would be sweet...
I thought it was already doing that confused (note: it doesn't do that for birthdays, because there is a birthday almost every day in big boards).

Joined: May 2001
Posts: 794
A
Content Queen
Offline
Content Queen
A
Joined: May 2001
Posts: 794
help Long time no post.

I just have discovered a problem with the calendar--after having it installed for over a year and a half! tipsy

In the control panel at the calendar, I have calendar set to only staff and selected members can post to the calendar.

Last night, we had a newbie post a new topic and ADD that topic to the calendar. eek

I have several forums that allow that option (i.e. posting a new topic to the calendar), but I *thought* only admin/mods could do so.

It seems like, however, anyone can add a new topic to the calendar in those forums.

Is there any way that I can change that--without the admin/mods losing the ability to post new topics to the calendar?

Am I making sense?!

---

Also, the K.I.S.S. method works best for me--it's been a LONG time since I've taken a gander at code! tipsy

Thanks!


Sue
adwoff.com
Joined: Mar 2001
Posts: 7,394
L
LK Offline OP
Admin / Code Breaker
OP Offline
Admin / Code Breaker
L
Joined: Mar 2001
Posts: 7,394
Nice catch, I guess you're the first person to enable staff-only event posting and new topic event posting all together. smile

ubb_new_topic.cgi: (untested)
Find: (twice)
Code
	my @forums = split(/ /, $vars_calendar{calendar_forum});
Add below:
Code
@forums = split(/ /, 'hey sue') if ($user_profile[8] ne 'Administrator' && $user_profile[8] ne 'MegaModerator' && $user_profile[8] ne 'Moderator');
---

laugh (what's K.I.S.S method? tipsy )

Joined: May 2001
Posts: 794
A
Content Queen
Offline
Content Queen
A
Joined: May 2001
Posts: 794
Quote
Originally posted by LK:

(what's K.I.S.S method? )
laugh Keep It Simple, Stupid! (with me being da stupid party wink tipsy )

Thanks, LK.

I'll give it a shot.

---

ETA--looks like it works! ( smash on wood)

Thanks, LK! thumbsup


Sue
adwoff.com
Joined: Jan 2005
Posts: 19
M
McJ Offline
Junior Member
Offline
Junior Member
M
Joined: Jan 2005
Posts: 19
Awesome mod!!!

One question. If, at a later date, I upgrade or decide to restore my originally "modded" files and remove the calender mod, am I screwed?

i.e. does this mod change anything in my member data files, or anything else that would prevent me from uninstalling at a later time if I choose to?

Thanks again,

Justin.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
Offline
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Shouldn't change anything in the member data file - it used to add the birthdate, but now that's in the base code smile


- Allen wavey
- What Drives You?
Joined: Jan 2005
Posts: 19
M
McJ Offline
Junior Member
Offline
Junior Member
M
Joined: Jan 2005
Posts: 19
Greetings fellow UBB'ers.

Another question. Some of you may remember my problem with an incredibly slow forum, even tho I'm on a dedicated server. My board is HERE

Anyways, I've noticed that since including the calendar mod, it's slowed down a little more, so I have this question.

Do the sub-routines in the calendar mod engage when the calendar isn't being viewed? i.e. for normal navigation around the forum WITHOUT accessing the calendar, is the mod at all used?

Please note tho, the mod is just awesome!!! I hope InfoPop/Groupee include this in their next update.

Greetings from Old Portsmouth, England. rockon

Joined: Jan 2000
Posts: 5,819
Likes: 16
UBBDev / UBBWiki Owner
Time Lord
Offline
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,819
Likes: 16
I don't believe the calendar is run unless you have it included to run with the birthday listing).

Also, you can speed up your forum by making some archive forums and dumping old posts into it; you don't really want more than 10k posts in a forum, you should keep it well under it; it should speed you up quite a bit


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 2005
Posts: 19
M
McJ Offline
Junior Member
Offline
Junior Member
M
Joined: Jan 2005
Posts: 19
Quote
Originally posted by Gizzy:

I don't believe the calendar is run unless you have it included to run with the birthday listing).
Hi Gizzy.

What do you mean, "included to run with the birthday listing" ?

Joined: Mar 2001
Posts: 7,394
L
LK Offline OP
Admin / Code Breaker
OP Offline
Admin / Code Breaker
L
Joined: Mar 2001
Posts: 7,394
In the control panel, when you rebuild member stats, you also rebuild the calendar birthday list. I guess Gizzy means that unless you choose to rebuild member stats (it doesn't do it on its own, only when you either upgrade the board or specifically tell it to rebuild), it shouldn't make your board any slower.

Joined: Jan 2005
Posts: 19
M
McJ Offline
Junior Member
Offline
Junior Member
M
Joined: Jan 2005
Posts: 19
Hi LK.

Yes, I see. Also, I have noticed that the option "Show avatar in birthdays?" was also selected. This would mean, as each post is made, the routine would run to see whether or not the member had a birthday, and if so display the member icon.

I have disabled this option, and performance has improved somewhat.

b/w LK. This is a great mod. Congratulations. And congratulations on this site also! Most excellent resource.

Gizzy. Yes, I have been in touch with InfoPop on the performance in general, and they also advised culling the posts/upgrading to Threads.

I think I'll end up upgrading, however, because it's awfully nice to see a forum section with half a million posts wink

Thanks to you both again.

Page 6 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
Ruben Rocha
Ruben Rocha
Lutz,FL,USA
Posts: 248
Joined: January 2000
Forum Statistics
Forums63
Topics37,557
Posts293,856
Members13,847
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,819
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 70
Gizmo 16
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
Gizmo 1
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2021 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Snapshot build 20210915)
Responsive Width:

PHP: 7.3.29 Page Time: 0.053s Queries: 95 (0.031s) Memory: 0.9977 MB (Peak: 1.1994 MB) Data Comp: Zlib Server Time: 2021-09-19 23:31:35 UTC
Valid HTML 5 and Valid CSS