Welcome, Guest. Please Login or Register.
April 19, 2024, 04:02:05 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  [Done] Calendar Mod [Ver 1.4] « previous next »
Pages: 1 ... 16 17 [18] 19 20 ... 23 Reply Ignore Print
Author Topic: [Done] Calendar Mod [Ver 1.4]  (Read 148172 times)
Lonestar
Jr. Member
**
Posts: 87


SchwartzMaster

ICQ - 57595208 WWW
Re:[Done] Calendar Mod [Ver 1.4]
« Reply #255 on: May 31, 2002, 03:51:03 AM »
Reply with quote

I have an idea. Why not add a feature which allows you to Edit the events you add? Like you pushed it back in date, instead of deleting the event, and possibly the post to do so we can just edit the event to reflect the date change?

If this was already asked for forget i said it.
Logged

Myiasis
Full Member
***
Posts: 178


I'm a llama!

Re:[Done] Calendar Mod [Ver 1.4]
« Reply #256 on: May 31, 2002, 06:49:34 AM »
Reply with quote

Quote from: Lonestar on May 31, 2002, 03:51:03 AMI have an idea. Why not add a feature which allows you to Edit the events you add? Like you pushed it back in date, instead of deleting the event, and possibly the post to do so we can just edit the event to reflect the date change?

If this was already asked for forget i said it.

Have you read the Readme.txt file? Take a few minutes and read it, it's useful.
Logged
darkdrone
Noobie
*
Posts: 36


I'm a llama!

WWW
Re:[Done] Calendar Mod [Ver 1.4]
« Reply #257 on: June 02, 2002, 05:06:26 PM »
Reply with quote

I have a problem with this mod, as in it doesn't seem to matter how many times I try to enable it in the edit installed mods settings area in admin, it refuses to activate.  Can u shed any light on this?  Thanks!
Logged
Myiasis
Full Member
***
Posts: 178


I'm a llama!

Re:[Done] Calendar Mod [Ver 1.4]
« Reply #258 on: June 02, 2002, 05:22:05 PM »
Reply with quote

Quote from: darkdrone on June 02, 2002, 05:06:26 PMI have a problem with this mod, as in it doesn't seem to matter how many times I try to enable it in the edit installed mods settings area in admin, it refuses to activate.  Can u shed any light on this?  Thanks!

If the options aren't staying set you are probably missing the variables in the settings table. Make sure all of the "cal_" rows are in that table.
Logged
darkdrone
Noobie
*
Posts: 36


I'm a llama!

WWW
Re:[Done] Calendar Mod [Ver 1.4]
« Reply #259 on: June 02, 2002, 05:54:05 PM »
Reply with quote

Thanks! Forgot about the database :), Anyway great mod (Hence y I wanted it to work SOOO bad! )
Logged
Lonestar
Jr. Member
**
Posts: 87


SchwartzMaster

ICQ - 57595208 WWW
Re:[Done] Calendar Mod [Ver 1.4]
« Reply #260 on: June 02, 2002, 08:21:40 PM »
Reply with quote

Quote from: Myiasis on May 31, 2002, 06:49:34 AM
Quote from: Lonestar on May 31, 2002, 03:51:03 AMI have an idea. Why not add a feature which allows you to Edit the events you add? Like you pushed it back in date, instead of deleting the event, and possibly the post to do so we can just edit the event to reflect the date change?

If this was already asked for forget i said it.

Have you read the Readme.txt file? Take a few minutes and read it, it's useful.

Read it before, and read it again. Excuse me for my ignorance. :-\
Logged

Myiasis
Full Member
***
Posts: 178


I'm a llama!

Re:[Done] Calendar Mod [Ver 1.4]
« Reply #261 on: June 02, 2002, 11:31:48 PM »
Reply with quote

Quote from: Lonestar on June 02, 2002, 08:21:40 PMRead it before, and read it again. Excuse me for my ignorance. :-\

I'm not sure if you are saying you didn't see anything about editing? Tells you in there how to edit an event.
Logged
Lonestar
Jr. Member
**
Posts: 87


SchwartzMaster

ICQ - 57595208 WWW
Re:[Done] Calendar Mod [Ver 1.4]
« Reply #262 on: June 02, 2002, 11:46:46 PM »
Reply with quote

Quote from: Myiasis on June 02, 2002, 11:31:48 PM
Quote from: Lonestar on June 02, 2002, 08:21:40 PMRead it before, and read it again. Excuse me for my ignorance. :-\

I'm not sure if you are saying you didn't see anything about editing? Tells you in there how to edit an event.

What i meant was i read it before, but didnt find anything on it then.

I just read it again and found it. SO yes i have found how to edit the event.

I must of skimmed instead of read and figured i knew how it all works. I do that sometimes. Next time ill read more thoroughly.  :)
Logged

Ironman
Guest
Re:[Done] Calendar Mod [Ver 1.4]
« Reply #263 on: June 05, 2002, 02:11:09 PM »
Reply with quote

Hi, I made a little change to it. I changed the '*' which brings you to the Event Edit Options with an Image, so it's a little easier to find.

('Ereignis bearbeiten' appears certainly only at Mouse over)

Did the following Changes to get this work:

This Image copied to the YaBBImages Directory on my Server.
IMPORTANT for the following Code Changes: The Image should be named as 'caleventedit.gif'.

Change in  Calendar.php:
<search for>
$strOwner = "<a href=\"$scripturl?action=calendaree;eventid=$row[id]\"><font color=#FF0000>*</font></a>";
</search for>

<replace>
$strOwner = "<br><a href=\"$scripturl?action=calendaree;eventid=$row[id]\"><img src=\"../yabbse/caleventedit.gif\" alt=\"Ereignis bearbeiten\" border=\"0\"></a> ";
</replace>
« Last Edit: June 06, 2002, 09:03:47 AM by Mario472 » Logged
Demo
Noobie
*
Posts: 12


I love Flanders

Re:[Done] Calendar Mod [Ver 1.4]
« Reply #264 on: June 05, 2002, 05:24:05 PM »
Reply with quote

Quote from: Myiasis on May 31, 2002, 06:49:34 AMHave you read the Readme.txt file? Take a few minutes and read it, it's useful.

I'd like to read it, but where can you find this mod calender readme??? I've directly installed it from yabbse 1.4

Excuse me my ignorance

(But I really like to delete dates like independance day...)
Logged
sylvester
YaBB God
*****
Posts: 525


Re:[Done] Calendar Mod [Ver 1.4]
« Reply #265 on: June 05, 2002, 05:34:49 PM »
Reply with quote

if you have PHPMYADMIN:
go to phpmyadmin
insert this in Run SQL query/queries on database computer:
DELETE FROM prefixcalendar_holidays
replace prefix by your chosen db_prefix
if you do'n't have PHPMYADMIN:
make a new file, like removeholidays.php, and insert this in that file:

$MySQL["server"] = "dbserver";
$MySQL["name"] = "dbname";
$MySQL["user"] = "dbusername";
$MySQL["passwd"] = "dbpassword";
$MySQL["prefix"] = "YOUR yabbse_prefix";
$dbcon = mysql_connect($MySQL["server"],$MySQL["user"],$MySQL["passwd"]);
mysql_select_db ($MySQL["name"]);
$request = mysql_query("DELETE from {$MySQL[prefix]}calendar_holidays");

save that file, upload that file to your website
go to http://www.yourhost.com/removeholidays.php
and voila!
« Last Edit: June 05, 2002, 05:35:37 PM by sylvester » Logged

I'm back
Demo
Noobie
*
Posts: 12


I love Flanders

Re:[Done] Calendar Mod [Ver 1.4]
« Reply #266 on: June 05, 2002, 06:28:45 PM »
Reply with quote

Thanks, but it seems I've done something wrong

<?php
$MySQL
["server"] = "localhost";
$MySQL["name"] = "demokratie_nl_db";
$MySQL["user"] = "demokratie";
$MySQL["passwd"] = "nicetry";
$MySQL["prefix"] = "yabbse_";
$dbcon mysql_connect($MySQL["server"],$MySQL["user"],$MySQL["passwd"]);
mysql_select_db ($MySQL["name"]);
$request mysql_query("DELETE from {$MySQL[prefix]}calendar_holidays");
?>


This is what my program looked like, but it didn't work... Thanks anyway for the info!!!
Logged
Shindou Hikaru
Honinbou
YaBB Crony
YaBB God
*****
Posts: 1358


ICQ - 152652980mephidmann@emulation-inc.com WWW
Re:[Done] Calendar Mod [Ver 1.4]
« Reply #267 on: June 05, 2002, 07:32:33 PM »
Reply with quote

Hmmz. Does it give a parse error? Or none at all?
Logged

Please do not message me for support, use the support boards
Amazon Wishlist | ThinkGeek Wishlist | My Blog
Demo
Noobie
*
Posts: 12


I love Flanders

Re:[Done] Calendar Mod [Ver 1.4]
« Reply #268 on: June 06, 2002, 06:15:17 PM »
Reply with quote

I've used a stupid-people-solution:

Lycos offers a web-based interface to your db. I've been clicking for almost an hour know to individually remove the dates...  :-\
Logged
Demo
Noobie
*
Posts: 12


I love Flanders

Re:[Done] Calendar Mod [Ver 1.4]
« Reply #269 on: June 06, 2002, 06:17:32 PM »
Reply with quote

Quote from: mephidmann on June 05, 2002, 07:32:33 PMHmmz. Does it give a parse error? Or none at all?

Alas, no error at all. But I've found a solution, so no problem...

Thanks anyway!
Logged
Pages: 1 ... 16 17 [18] 19 20 ... 23 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done] Calendar Mod [Ver 1.4] « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.454 seconds with 20 queries.