 | Topic Calendar |  |
Posted: 09/25/2006 3:53 PM |
|
|
|
|
|
| Hummingbird |
| Posts |
8 |
| Word Cnt. |
1,449 |
| BDay |
Sep 3 |
| Sign |
Virgo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2006
Local time: 2:49 AM
|

|
|
|
|
 |
Hi there. I have recently gotten a new phpbb board up and running, and using EasyMod, managed to also get the Topic Calendar mod functioning as well. Exhibit A: http://campaignoflight.com . This is pretty exciting for me, as I am totally new to both phpbb and mods.
However, there are two outstanding issues that, even after reading 125+ pages of the 214+ page thread on this mod at the phpbb site, I can't seem to resolve. Neither are life-threatening, but both need to be addressed.
1. Double events. When I add a calendar event to Mon, Sept 25, it shows on the header calendar for Mon, and then again the next day, Tues. Doesn't matter the day of the week, just using the above as an example. Based on a post NightriderXP made somewhere around pg 120 of that thread, I tried looking at my viewforum.php file for duplication in the text, but I don't see any. I'm not a programmer...am I just missing something obvious here? I think this is the pertinent code:
| Quote:
|
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
$template->assign_block_vars('topicrow', array(
'ROW_COLOR' => $row_color,
'ROW_CLASS' => $row_class,
'FORUM_ID' => $forum_id,
'TOPIC_ID' => $topic_id,
'TOPIC_FOLDER_IMG' => $folder_image,
'TOPIC_AUTHOR' => $topic_author,
'GOTO_PAGE' => $goto_page,
'REPLIES' => $replies,
'NEWEST_POST_IMG' => $newest_post_img,
'TOPIC_TITLE' => $topic_title,
'TOPIC_TYPE' => $topic_type,
'VIEWS' => $views,
'FIRST_POST_TIME' => $first_post_time,
'LAST_POST_TIME' => $last_post_time,
'LAST_POST_AUTHOR' => $last_post_author,
'LAST_POST_IMG' => $last_post_url,
'L_TOPIC_FOLDER_ALT' => $folder_alt,
'U_VIEW_TOPIC' => $view_topic_url)
);
//-- mod : calendar ------------------------------------------------------------
//-- add
$calendar_front_title->topic_title('topicrow', $topic_rowset[$i]['topic_calendar_time'], $topic_rowset[$i]['topic_calendar_duration']);
//-- fin mod : calendar --------------------------------------------------------
}
|
At one point the mod author himself says that double events have something to do with the lang_main.php file, but he never follows up or gives specifics. So I have no idea if that is relevant, or if it is, what exactly I'm supposed to do to fix it.
2. On the main calendar page, where you see the whole month. At the top, there is a drop-down menu to select what forum you want to see a calendar for. I want to eliminate that drop-down entirely--I only have calendar on one forum, so there isn't a need for it. Is that a) safe to do, and b) possible? If if can be removed, how can I do that (without screwing anything else up, lol)? NightriderXP mentioned it in this post:
| Quote:
|
Posted: Thu May 05, 2005 5:18 am Post subject:
OIC I think I completely understand now. If this drop down list is being populated correctly, you should only see the forums that you have permission to see. The forums that are private should not be displayed in this list to those who don't have the permissions to see them....
Have you tested to see if those without permission can see the Private forums? If they are still listed, that is a bug in the Topic Calendar MOD code...
If you want the list populated with only 3 of your 30 forums to all members, then you might have a problem. If you don't know how to write php code, then you might need to find someone who is willing to create a modification that may be used only on your board alone. I don't
know php well enough to attempt it at the moment, but I'm sure there are many developers who could do it, if they had the time...
A work-around would be to remove the list completely. If you are interested in doing that and don't know how to accomplish it, I could help you through that part...
|
I'd appreciate any advice on either of these issues very much. Again, I'm really new to this and don't know enough about php to just go in there and muck around
Amy |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Topic Calendar |  |
Posted: 09/26/2006 12:06 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 3:49 AM
Location: St Pete, FL
|

|
|
|
|
 |
| Anofi wrote:
|
1. Double events. When I add a calendar event to Mon, Sept 25, it shows on the header calendar for Mon, and then again the next day, Tues. Doesn't matter the day of the week, just using the above as an example. Based on a post NightriderXP made somewhere around pg 120 of that thread, I tried looking at my viewforum.php file for duplication in the text, but I don't see any. I'm not a programmer...am I just missing something obvious here?
At one point the mod author himself says that double events have something to do with the lang_main.php file, but he never follows up or gives specifics. So I have no idea if that is relevant, or if it is, what exactly I'm supposed to do to fix it.
|
Hey Amy,
Usually when you have double listings, that means that you accidentally double installed the MOD. If true, it would typically put the events on the same day though, so it is a bit confusing that your events are appearing on two subsequent days...
To figure this out, I really would need to see the modified phpBB code. I would like to see text links to the following files:
- posting.php
- viewforum.php
- viewtopic.php
- includes/auth.php
- includes/constants.php
- includes/functions.php
- includes/functions_post.php
- includes/page_header.php
- includes/topic_review.php
Did you install any Topic Calendar Add-ons? What version of the Topic Calendar did you install???
| Anofi wrote:
|
|
2. On the main calendar page, where you see the whole month. At the top, there is a drop-down menu to select what forum you want to see a calendar for. I want to eliminate that drop-down entirely--I only have calendar on one forum, so there isn't a need for it. Is that a) safe to do, and b) possible? If if can be removed, how can I do that (without screwing anything else up, lol)?
|
To remove the forum list from your main calendar, do this
OPEN - Please create a Backup of this file before you overwrite it
calendar_box.tpl
FIND & DELETE
| Code:
|
|
{_calendar_box.S_FORUM_LIST}
|
Save and upload to your template/odysseygrey folder..
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Topic Calendar |  |
Posted: 09/26/2006 9:05 AM |
|
|
|
|
|
| Hummingbird |
| Posts |
8 |
| Word Cnt. |
1,449 |
| BDay |
Sep 3 |
| Sign |
Virgo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2006
Local time: 2:49 AM
|

|
|
|
|
 |
I've installed no other mods besides Topic Calendar phpBB edition 1.2.2, on a brand new phpbb board v 2.0.21. I used EasyMod only once, and ran the SQL queries only once, so I can't imagine there was any kind of double install, although I never rule anything out, lol. I'd be happy to provide text links to the files you asked for, let me get them posted and put the links here!
Thanks for the info on getting rid of that drop-down on the calendar page! And don't worry, I am ALL ABOUT THE BACKUPS lol. I work as a web designer all day, I've learned the hard way
Amy |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Topic Calendar |  |
Posted: 09/26/2006 2:17 PM |
|
|
|
|
|
| Hummingbird |
| Posts |
8 |
| Word Cnt. |
1,449 |
| BDay |
Sep 3 |
| Sign |
Virgo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2006
Local time: 2:49 AM
|

|
|
|
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Topic Calendar |  |
Posted: 09/26/2006 3:42 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 3:49 AM
Location: St Pete, FL
|

|
|
|
|
 |
I've been in a heated discussion with this MOD author all morning. This MOD has problems. I will install it on my Vanilla board and see what happens...
Did you have to manually upload the included files to your board? You might want to check to make sure all the included files have been successfully uploaded, because there is a good chance that they weren't...
Meanwhile, I will look through your code to see if there is anything obvious that needs to be corrected...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Topic Calendar |  |
Posted: 09/26/2006 3:54 PM |
|
|
|
|
|
| Hummingbird |
| Posts |
8 |
| Word Cnt. |
1,449 |
| BDay |
Sep 3 |
| Sign |
Virgo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2006
Local time: 2:49 AM
|

|
|
|
|
 |
I didn't have to do anything manually except the SQL statements...at least to my knowledge! I will see if I can do a file compare though, to be certain.
I really like this MOD and added it to our board at my guild leader's request, but for someone new to MODs like I am, the instructions for installing and troubleshooting are quite foreign. I think the MOD's author assumes a certain level of familiarity with php code that the majority of people installing the MOD just don't have.
Admittedly, perhaps it is best not to attempt something for which you don't have the right skill set, but I'm not completely database ignorant, so I had hoped to get it working. And it does mostly work...I mean, I haven't had serious problems like so many others who have whole boards malfunctioning after an install. I've got the permissions set right, I can add topics and they show up--visible to visitors, but only I can post, etc. It's further than a lot of other folks seem to have gotten! Nonetheless, the double date thing has to go, you know?
Amy  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Topic Calendar |  |
Posted: 09/26/2006 5:37 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 3:49 AM
Location: St Pete, FL
|

|
|
|
|
 |
| Anofi wrote:
|
|
I think the MOD's author assumes a certain level of familiarity with php code that the majority of people installing the MOD just don't have.
|
You are absolutely correct about Ptirhiik. He has an attitude that if you aren't an expert, you have no business trying to run a phpBB board. He can be quite ignorant and intolerant at times...
| Anofi wrote:
|
|
Admittedly, perhaps it is best not to attempt something for which you don't have the right skill set
|
So how do people get the right skill sets? They aren't born with them. They have to learn by getting their hands dirty just like everyone else. And they make a lot of mistakes along the way. If you aren't making mistakes, you probably aren't learning much. So don't hold yourself back just because you aren't a born expert on this. It will come in time...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Topic Calendar |  |
Posted: 09/26/2006 7:47 PM |
|
|
|
|
|
| Hummingbird |
| Posts |
8 |
| Word Cnt. |
1,449 |
| BDay |
Sep 3 |
| Sign |
Virgo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2006
Local time: 2:49 AM
|

|
|
|
|
 |
| Nightrider wrote:
|
|
You are absolutely correct about Ptirhiik. He has an attitude that if you aren't an expert, you have no business trying to run a phpBB board. He can be quite ignorant and intolerant at times...
|
Having read more than 50% of the epic thread for this MOD on the phpbb board, I can definitely say that he attempts to assist when he sees fit, and in a way that he must think is actually helpful. But for most of us, between the difficult English and abrupt instructions, it's not helpful at all. And then someone tells him that, he gets defensive and occasionally nasty, and the cycle is perptuated. My feeling is, if as the developer you're frustrated because people keep asking the same questions over and over again, then look at what is causing the problem and try to improve the directions. Or re-label the MOD so folks like me don't think it's easy
| Nightrider wrote:
|
So how do people get the right skill sets? They aren't born with them. They have to learn by getting their hands dirty just like everyone else. And they make a lot of mistakes along the way. If you aren't making mistakes, you probably aren't learning much. So don't hold yourself back just because you aren't a born expert on this. It will come in time...
|
Very true! I've learned much of what I know about the web and databases through trial and error. No worries, I've not lost hope on getting TC to function on my board, but I freely admit that looking at the code does little for me. I only have a basic understanding of variables and functions, after a while it all just seems like gibberish.  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Topic Calendar |  |
Posted: 09/28/2006 12:20 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 3:49 AM
Location: St Pete, FL
|

|
|
|
|
 |
Amy, I didn't find anything wrong with the Topic Calendar installation into any of the files listed above. I didn't see anything that might cause a double posting of an event...
I believe to get rid of the forums selection in the calendar, you can do this:
OPEN
includes/class_calendar_topics.php
FIND & DELETE
| Code:
|
|
$this->forums->display_nav($row, 'event_topic.nav');
|
Save and upload back to your includes folder. Make sure you make a good backup of the class_calendar_topics.php file before overwriting it with the modified version, just in case...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Topic Calendar |  |
Posted: 09/28/2006 1:04 PM |
|
|
|
|
|
| Hummingbird |
| Posts |
8 |
| Word Cnt. |
1,449 |
| BDay |
Sep 3 |
| Sign |
Virgo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2006
Local time: 2:49 AM
|

|
|
|
|
 |
Just removing that line didn't do it, but I see some other code in that file I might be able to comment out or something, see if that works. I have of course made a pristine back up copy of class_calendar_topics.php to reinsert in case of emergency, lol.
If you can't see anything in the code that would cause the double entries, where does that leave me? Can a MOD like this be uninstalled? Maybe I could backup the database and try anew if I can't back out. Although I hate contemplating that possibility! What do you think?  |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|