php forum
php mysql forum
php mysql smarty
 
Page 7 of 14 < 1 2 ... 5 6 7 8 9 ... 13 14 >
Topic Options
#199144 - 04/09/04 01:24 PM Re: [6.6 - 6.7] [finished] Calendar
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Does your forum #1 use the StandardForum style template?

If not, change "1" to the fourm number which does have it. If so, try to add after sub calendar_main {
Code:
%vars_style = &LoadStyleTemplateRaw("2");
That's while "2" is the number of StandardForum style template (download your vars_style_sets.cgi file to see the number.)
_________________________

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

Top
#199145 - 04/09/04 02:16 PM Re: [6.6 - 6.7] [finished] Calendar
RoxSeibert Offline
Member

Registered: 02/20/03
Posts: 178
Loc: highspire, pa
yes - forum #1 uses the StandardForum style template. However i replaced the first line of code you gave me with this one

Code:
%vars_style = &LoadStyleTemplateRaw("5");
and that worked perfectly!! smile thank you so much for your help!!
_________________________
~=Rox
http://dragboatalley.com/cgi-bin/ultimatebb.cgi

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

Top
#199146 - 04/09/04 03:44 PM Re: [6.6 - 6.7] [finished] Calendar
RoxSeibert Offline
Member

Registered: 02/20/03
Posts: 178
Loc: highspire, pa
ish.. another cosmetic question... pearl makes me feel like an idgit :rolleyes:

I'm trying to follow along with AWDOFF's anchor hack on this (btw Sue - likewise thanks, your posts were most helpful!!)

So I got my anchor tag in calendar template, and the date links jump down to events nicely. But where-oh-where does one poke a bookmark (like "?ubb=calendar#events") on the calendar link that appears on forum home for today's events block? confused
_________________________
~=Rox
http://dragboatalley.com/cgi-bin/ultimatebb.cgi

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

Top
#199147 - 04/09/04 05:04 PM Re: [6.6 - 6.7] [finished] Calendar
RoxSeibert Offline
Member

Registered: 02/20/03
Posts: 178
Loc: highspire, pa
ha! i found my answer...

Im ubb_forum_summary.cgi find:
Code:
		$calendar = qq~<b><a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=calendar">$vars_wordlets_calendar{forum_summary_events}</a>:</b> $calendar~ if ($calendar);
		$linebreak = "
" if ($calendar && $birthdays);
		$birthdays = qq~<b><a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=calendar">$vars_wordlets_calendar{forum_summary_bdays}</a>:</b> $birthdays~ if ($birthdays);
And replace with:
Code:
		$calendar = qq~<b><a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=calendar#events">$vars_wordlets_calendar{forum_summary_events}</a>:</b> $calendar~ if ($calendar);
		$linebreak = "
" if ($calendar && $birthdays);
		$birthdays = qq~<b><a href="$vars_config{CGIURL}/ultimatebb.cgi?ubb=calendar#events">$vars_wordlets_calendar{forum_summary_bdays}</a>:</b> $birthdays~ if ($birthdays);
geeze this is scary, its beginning to make sense... i fear assimilation may be drawing abit to close wink
_________________________
~=Rox
http://dragboatalley.com/cgi-bin/ultimatebb.cgi

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

Top
#199148 - 04/18/04 08:48 PM Re: [6.6 - 6.7] [finished] Calendar
ADWOFF Offline
Content Queen

Registered: 05/07/01
Posts: 709
Loc: Pennsylvania
Okay ... I'm having a few issues with the calendar modification in my control panel ...

It *seems* to be working on the board ...

I've compared the files from my test site to my main board. Because I was resigned to losing information, I even did a *clean install* of the variable files ...

But I'm still seeing *issues* in the control panel on my main board.

When I try the upgrade.cgi file (which I've chmoded to 755), I get a bunch of error messages (here's an example of them:

Quote:
quote:
Global symbol "%vars_version_information" requires explicit package name at /home/adwoff/cgi-bin/ubb_lib.cgi line 20. Global symbol "%vars_version_information" requires explicit package name at /home/adwoff/cgi-bin/ubb_lib.cgi line 27. Global symbol "$version_number" requires explicit package name at /home/adwoff/cgi-bin/ubb_lib.cgi line 31. Global symbol "%vars_version_information" requires explicit package name at /home/adwoff/cgi-bin/ubb_lib.cgi line 31. Global symbol "$release_j" requires explicit package name at /home/adwoff/cgi-bin/ubb_lib.cgi line 32. Global symbol "%vars_version_information" requires explicit package name at /home/adwoff/cgi-bin/ubb_lib.cgi line 32.
----

Here is how the hack appears on the front of the control panel:



vs. what it looks like on the test site:



And here's what it looks like when I click inside the mod:



vs. the test site



-----

I'm seriously braindead (no comments from the cheap seats tipsy ) over here after a very stressful week ... if anyone could point me in the right direction, I'd be most appreciative.

Thanks.
_________________________
Sue
adwoff.com

Top
#199149 - 04/18/04 08:50 PM Re: [6.6 - 6.7] [finished] Calendar
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
you didn't update your vars_wordlets_cp2.cgi file smile

As for the upgrade.cgi, I'm sure LK will post an updated version
_________________________
Code monkey like Fritos

Top
#199150 - 04/18/04 08:52 PM Re: [6.6 - 6.7] [finished] Calendar
ADWOFF Offline
Content Queen

Registered: 05/07/01
Posts: 709
Loc: Pennsylvania
Quote:
Originally posted by Ian Spence:

you didn't update your vars_wordlets_cp2.cgi file smile


I didn't? Okay.

Will do! smile

Thanks, Ian.
_________________________
Sue
adwoff.com

Top
#199151 - 04/19/04 07:36 AM Re: [6.6 - 6.7] [finished] Calendar
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
Ian is correct, the problem is in vars_wordlets_cp2.cgi, I'd assume you just have to re-upload it.

About upgrade.cgi, try in that file:
Find:
use vars qw($filehandle %vars_config %in);

Add below:
Code:
use vars qw(
	$filehandle $forum_threads $alpha_threads %forum_thread_data @alltheforums
	@allthecategories @memberslist_array %ProfileNumber %in %GotTime $vars_groups
	%vars_version_information %vars_style_reference %vars_wordlets_criterr
	%forum_recentmeta %forum_topics %todays_active_topics

	%vars_ci %vars_config $vars_graemlins %vars_misc %vars_mods %vars_cats
	%vars_registration %vars_forums %vars_styles %vars_display %vars_style
	%vars_email %vars_time %vars_search %vars_pm %vars_pntf %vars_poll %vars_wordlets_chat

	%vars_wordlets %vars_wordlets_err %vars_wordlets_email %vars_wordlets_pntf
	%vars_wordlets_img %vars_wordlets_date %vars_wordlets_calendar %vars_wordlets_poll

	%template_html %template_match

	$user_permissions $username $password $last_login_dt
	$session_login_dt $last_login_j $session_login_j $days_prune
	$pubname $user_topic_view $user_number @ubber @login @session

	$Header_Popup $Footer_Popup $TBB_Popup $TBT_Popup $ThisHTML $HeaderClean
	$FooterClean $CurrentTab $Hiddens $direct_to $Legend $LoginWording
	$MainButtonsLine $ContactLine $TBT $TBB $Header $Footer $EmailHeader
	$show_logout $show_logout_noreg $instant_jscript $title_wording

	$poll $PNTF $pntf_cookie_data

	$ULTIMATEBB $CONTROLPANEL $trademark $trade $InfopopCopyright
	$version $version_number $masterCharset $release_j $exact_path
	@memberslist $memlistopen $summary %member_profile
	%FILE_CACHE %GENERIC_GLOBALS $frontend $backend %ULTIMATEBB

	@benches
);
_________________________

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

Top
#199152 - 04/21/04 12:53 AM Re: [6.6 - 6.7] [finished] Calendar
Poopy Pants Offline
Member

Registered: 08/22/01
Posts: 100
Hee's the problem I have. I have a similar problem when using the Calendar hack. I have an old board from 5.X that has been upgraded, hacked, upgraded, hacked all to hell.

I upgraded to 6.7.1 and the board looked like a normal regular board. Now when I do the Calendar hack, I am missing the Maintenance category in CP and all it's options like Rebuild & Reindex and Clear Cached Pages.

Any ideas?

Top
#199153 - 04/21/04 09:12 AM Re: [6.6 - 6.7] [finished] Calendar
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
So you see the Maintenance category before applying Calendar hack, but afterwards it won't appear anymore? That's very odd... Try to redo everything.
_________________________

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

Top
#199154 - 04/21/04 09:47 AM Re: [6.6 - 6.7] [finished] Calendar
Poopy Pants Offline
Member

Registered: 08/22/01
Posts: 100
That is corret. I've done it three times already. I've also got to the point where I reuped the 6.7.1 update to load up fresh files, reuploaded a fresh copy of Mod Wordleets and resinstalled the hack. Same deal.

Top
#199155 - 04/21/04 11:47 AM Re: [6.6 - 6.7] [finished] Calendar
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
You don't need Mod Wordlets confused
_________________________

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

Top
#199156 - 04/21/04 11:49 AM Re: [6.6 - 6.7] [finished] Calendar
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
I think I might know where's the problem:
The calendar.txt file has:
Code:
###########################################################
## Do the following 2 steps only if you CAN NOT find it: ##
###########################################################

Find:
=====
	[$vars_wordlets_cp2{admin_maint},	qw(rebuilds clearcache fiveximport)],

Add below:
==========
	[$vars_wordlets_cp2{admin_modification},("calendar")],
Make sure you add that line BELOW the previous line instead of replacing it.
_________________________

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

Top
#199157 - 04/21/04 12:29 PM Re: [6.6 - 6.7] [finished] Calendar
Poopy Pants Offline
Member

Registered: 08/22/01
Posts: 100
Hmmm ... I did the install on 6.7.0 with no problems and I doubt I made that error when rehacking 6.7.1 since I did it three times but who knows. I'll give it a try one more time. smile

Top
#199158 - 04/29/04 01:11 AM Re: [6.6 - 6.7] [finished] Calendar
RoxSeibert Offline
Member

Registered: 02/20/03
Posts: 178
Loc: highspire, pa
a few suggestions for future enhancements on this mod...

Add a new event and save takes you to the month for the event date just added (instead of taking you to current month).

Edit an event and Delete it likewise takes you to the month for the event date just deleted (instead of taking you to current month).

... just like Edit an event and Save takes you to the month for that event. this sure would make life easier when maintaining a big long list of events!
_________________________
~=Rox
http://dragboatalley.com/cgi-bin/ultimatebb.cgi

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

Top
#199159 - 04/29/04 11:04 PM Re: [6.6 - 6.7] [finished] Calendar
eXtremeTim Offline
Member

Registered: 10/13/01
Posts: 544
Good work lk. Like always. smile I will be installing this shortly.
_________________________
United Devices Points: [img]http://www.ubbdev.com/ud/?u=extremetim&s=1[/img]

Top
#199160 - 05/01/04 10:51 AM Re: [6.6 - 6.7] [finished] Calendar
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
First let me say I think this is an awesome hack. Much thanks to the community for producting such cool hacks. Unfortunately, I can't seem to get this one to show up in my control panel as far as who is allowed to post events. It works fine on the board, it shows up in the editable wordlet lists in the control panel, but there are no options about who can post events in the calendar in the control panel. Or at least I can't find them. Any ideas? Sorry, I'm a newbie hacker smile Thanks in advance.
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#199161 - 05/01/04 10:55 AM Re: [6.6 - 6.7] [finished] Calendar
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
"Who can post events?" is perhaps the one you're looking for wink

If you chose Admins, mods and special users, go to Member Management and search for that special user, you'll find it there in the permissions tab.
_________________________

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

Top
#199162 - 05/01/04 11:11 AM Re: [6.6 - 6.7] [finished] Calendar
GATOR420 Offline
Member

Registered: 01/31/03
Posts: 118
Wow, thanks for the quick reply. Yes, "Who can post events?" would be what I'm looking for.

Remember, I'm a newbie. smile This will be my third post here. Consider me (to use the politically correct term) PHP challenged.

"If you chose Admins, mods and special users," - Where would I find this? If this is another mod, I don't think I have it.

"go to Member Management and search for that special user, you'll find it there in the permissions tab."
I went to Member Management and searched for myself (Member #1, administrator), selected the permissions tab but don't see anything for calendar...?

Thanks again...
_________________________
-GATOR

"Pain is temporary, Pride is forever"

Top
#199163 - 05/01/04 12:00 PM Re: [6.6 - 6.7] [finished] Calendar
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Administrators are already special people, so they don't have the checkbox.

Only non-Administrators and Moderators get a checkbox.
_________________________
Code monkey like Fritos

Top
Page 7 of 14 < 1 2 ... 5 6 7 8 9 ... 13 14 >


Moderator:  Charles, Gizmo 
Who's Online
0 registered (), 26 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Spell Check [beta]
by Bill B
Yesterday at 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
Yesterday at 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
Yesterday at 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
Yesterday at 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks