[MODDB]Categories hierarchy - sub-forums v2.1.0

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
graeme2
Registered User
Posts: 9
Joined: Tue Jan 04, 2005 9:42 pm

Problem with preferences auths

Post by graeme2 » Tue Jan 18, 2005 11:14 pm

Hi I have sub-cats installed on 2.0.11. My problem is with one of the mods included which gives a "preferences" link in the header, with some really useful stuff in it.

However only I - (site admin) seem to have access to it. All registered users got "not authorised".

Where can I set the permissions for this? I've looked everywhere (except in the right place of course!)

Dan39
Registered User
Posts: 186
Joined: Tue Apr 20, 2004 12:39 am
Contact:

Post by Dan39 » Tue Jan 18, 2005 11:16 pm

Ptirhiik - RPGnet-fr wrote: > register you to the "Main administrators" group.


How does he do that?

Den-Den
Registered User
Posts: 3
Joined: Tue Jan 18, 2005 8:57 pm

Post by Den-Den » Wed Jan 19, 2005 12:01 am

Hater wrote:
Den-Den wrote:I can't get it to work. I always get this error message:

Template->make_filename(): Error - file does not exist

Please PM me, as I will probably never be able to find this post again. :P

It's important that any MOD related questions remain public incase anyone else is experiencing the same problem. It sounds to me like perhaps there is a TPL that was not copied over, or a modification to a var handle for the TPL file.


I used the Dev install that Ptirhiik - RPGnet-fr linked to in his first post. I copied the config.php file from the old install.

deanirw
Registered User
Posts: 26
Joined: Fri May 21, 2004 7:09 am

Rollout Cataory Mod

Post by deanirw » Wed Jan 19, 2005 2:11 am

I'm trying to edit the new index_body.tpl but everything has changed and i can't figure out what to change. I installed the dev211ch pack. Can somone please help me out? This is what the "Rollout Cataory Mod" requires:

Code: Select all

# 
#----[ OPEN ]----------------------------------------------------
# 
templates/subSilver/index_body.tpl
# 
#----[ FIND ]---------------------------------------------------- 
# 
# ( Around Line 23 ) 
# 
  <!-- BEGIN catrow -->
  <tr> 
# 
#----[ AFTER, ADD ]----------------------------------------------
# 
	<!-- BEGIN switch_cat_on -->
	<tbody id="cat_{catrow.CAT_ID}_h" style="display:none">
	<!-- END switch_cat_on -->
	<!-- BEGIN switch_cat_off -->
	<tbody id="cat_{catrow.CAT_ID}_h" style="display:show">
	<!-- END switch_cat_off -->
# 
#----[ FIND ]---------------------------------------------------- 
# 
# ( Around Line 23 ) 
# 
	<td class="catLeft" colspan="2" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
# 
#----[ REPLACE ]------------------------------------------------- 
# 
	<td class="cat" height="28" align="center"><span class="newsbutton" onClick="contract(cat_{catrow.CAT_ID}_h);expand(cat_{catrow.CAT_ID}_s);">+</span></td>
	<td class="cat" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
# 
#----[ FIND ]---------------------------------------------------- 
# 
  <!-- BEGIN forumrow -->
  <tr>
# 
#----[ BEFORE, ADD ]--------------------------------------------- 
# 
  </tbody>
  <!-- BEGIN switch_cat_on -->
  <tbody id="cat_{catrow.CAT_ID}_s" style="display:show">
  <!-- END switch_cat_on -->
  <!-- BEGIN switch_cat_off -->
  <tbody id="cat_{catrow.CAT_ID}_s" style="display:none">
  <!-- END switch_cat_off -->
  <tr> 
	<td class="cat" height="28" align="center"><span class="newsbutton" onClick="contract(cat_{catrow.CAT_ID}_s);expand(cat_{catrow.CAT_ID}_h);">-</span></td>
	<td class="cat" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
	<td class="rowpic" colspan="3" align="left">&nbsp;{catrow.SPONSER}</td>
  </tr>
# 
#----[ FIND ]---------------------------------------------------- 
# 
  <!-- END forumrow -->
# 
#----[ AFTER, ADD ]---------------------------------------------- 
# 
  </tbody>
# 

the_bunny
Registered User
Posts: 194
Joined: Wed Oct 29, 2003 9:44 am
Location: Germany
Contact:

Post by the_bunny » Wed Jan 19, 2005 6:01 am

Ptirhiik, i have the same problem as plastikaa with the stats when a user has been deleted. thought it's supposed to be that way so i didn't report it, but now i think it must be a bug when u say it should update the caches automatically.
i'm, just a little bunny! please treat me well...

sjfierce
Registered User
Posts: 45
Joined: Tue Jun 15, 2004 11:10 am

Post by sjfierce » Wed Jan 19, 2005 8:20 am

Den-Den >> http://www.phpbb.com/phpBB/viewtopic.php?t=189314 - this is a simple code change that will tell you which file you have forgotten to upload.

Ptirhiik >> I altered the code in topics_box.tpl from:

Code: Select all

     <td class="row1" align="center" valign="middle" width="1%">
		<!-- BEGIN msg_icon -->
		<img src="{topicrow.topic.msg_icon.I_ICON}" border="0" title="{topicrow.topic.msg_icon.L_ICON}" />
		<!-- END msg_icon -->
		<!-- BEGIN msg_icon_ELSE -->
		<img src="{I_SPACER}" width="19" border="0" />
		<!-- END msg_icon_ELSE -->
	</td>
to:

Code: Select all

     <td class="row1" align="center" valign="middle" width="1%">
		<!-- BEGIN msg_icon -->
		<img src="{topicrow.topic.msg_icon.I_ICON}" border="0" title="{topicrow.topic.msg_icon.L_ICON}" />
		<!-- END msg_icon -->
	</td>
This seems to have solved the problem of the missing message icon. Is this okay or will it cause any problems further down the line?

EDIT: Changing <!-- BEGIN msg_icon_ELSE --> and <!-- END msg_icon_ELSE --> to <!-- BEGIN msg_icon_else --> and <!-- END msg_icon_else --> ( _ELSE to _else lowercase) also solves the problem.

User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Post by Gremlinn » Wed Jan 19, 2005 12:55 pm

:arrow: Ptirhiik: Just to get an update on something you wrote back on page 2.

Does this contain Topic Calendar or not? If yes, where is it?

Also, way back at the beginning, you said that this can detect and convert the old CH to the new one!? How do we go about doing this?

Small disappointment: I liked the "Public" page for a user's profile you had in the older PCP.

I appologize if these questions have been answered. But in my defence, I did read through a hole bunch of pages and only saw references near the beginning. This is probably one of the fastest growing threads on this site 8O

Thanks for your answers.

User avatar
Ptirhiik
Registered User
Posts: 7411
Joined: Mon Jan 06, 2003 10:36 pm
Contact:

Post by Ptirhiik » Wed Jan 19, 2005 1:37 pm

> sjfierce : I will check this issue this week-end. My best bet at this time is one older modification has been lost between two upgrades in the dev211ch pack. Meanwhile you can look at the changelog.txt to a reference on a fix for this switch,

> gremlinn :
- the dates input and date display of Topic Calendar are included but conditioned (by the presence of the auth and the POST_CALENDAR constant), only the front side is missing : overall week header, calendar page, schedular page,
- PCP : a new version will follow the release of CH 2.1.0 (all the engine is already in place with CH : this is the preferences menu), and will include the same kind of public profile page, also customizable (in a much friendly way may I add :)),
- previous CH forums tree : nothing to do : it is recognized automaticely at the data migration time (install_cat purpose).

Tora
Registered User
Posts: 15
Joined: Wed Dec 01, 2004 10:28 pm

Post by Tora » Wed Jan 19, 2005 3:26 pm

Hello Community,
I'm afraid this has been asked (and answered) before, but I just can't find the answer (113 pages in this thread!), so please be patient with me... :oops:

Before I install the CH mod on my live system, I would like to know, if (and how) it is possible, to reverse the changes made to the database.
Especially, what happens if I try to use a non-modded phpBB-installation with the modified database?

I am asking this, because I might want to "roll back" to a non-modded phpBB install some time in the future, or keep the option to upgrade to phpBB v. 3.x some time, and I will want to keep the existing database definitly.

Hope someone can answer this briefly, thank you in advance.

User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Post by Gremlinn » Wed Jan 19, 2005 6:20 pm

Ptirhiik - RPGnet-fr wrote: - the dates input and date display of Topic Calendar are included but conditioned (by the presence of the auth and the POST_CALENDAR constant), only the front side is missing : overall week header, calendar page, schedular page,


This is great. But, is there a little package put together for us to put the front end in place?
Ptirhiik - RPGnet-fr wrote: - PCP : a new version will follow the release of CH 2.1.0 (all the engine is already in place with CH : this is the preferences menu), and will include the same kind of public profile page, also customizable (in a much friendly way may I add :)),


Awesome, can't wait. Hurry up already :lol:
Ptirhiik - RPGnet-fr wrote: - previous CH forums tree : nothing to do : it is recognized automaticely at the data migration time (install_cat purpose).


Great. So I would just have to restore my production database to my developement database and do that install_cat folder thing!?

deanirw
Registered User
Posts: 26
Joined: Fri May 21, 2004 7:09 am

Post by deanirw » Wed Jan 19, 2005 9:00 pm

Does no one want to answer my post?
http://www.phpbb.com/phpBB/viewtopic.ph ... 07#1401807

omega13a
Registered User
Posts: 88
Joined: Wed Feb 20, 2002 11:53 pm
Location: SF Bay Area
Contact:

Post by omega13a » Wed Jan 19, 2005 9:33 pm

I think the those to mods are incompadible from the looks of what you posted, deanirw.
A fish without a bicycle cannot contemplate his navel.

deanirw
Registered User
Posts: 26
Joined: Fri May 21, 2004 7:09 am

Post by deanirw » Thu Jan 20, 2005 2:06 am

:? Oh well, there is a disavantage to everything i quess.
Last edited by deanirw on Thu Jan 20, 2005 6:58 am, edited 1 time in total.

deanirw
Registered User
Posts: 26
Joined: Fri May 21, 2004 7:09 am

Post by deanirw » Thu Jan 20, 2005 6:56 am

Alright I have another issue then. I just installed the dev211ch pack (3 times) and when i make a new forum/catagory/link it only shows up in the Administrator view. When i also click on Permisions, only the auto-created forum is shown. Same is in Pruning. When you view the forum logged-out or with another account it only shows the auto-created forum.

The forum is located at: http://www.deanirwin.com/forum/
There is in total 8 catagories, 42 forums, 2links, and 9 posts.
You can only see 1 catagory, 1 forum, and 2 posts.

sjfierce
Registered User
Posts: 45
Joined: Tue Jun 15, 2004 11:10 am

Post by sjfierce » Thu Jan 20, 2005 11:10 am

deanirw>> I think this is how it is supposed to be. The original permissions system has been replaced. Instead of clicking on ACP>>>Forum Admin>>>Permissions, use the new Auths Center>>>Management

I believe that any forums created previous to the devpack install will need to be recreated, and the posts moved across to the new forum. You can then delete the original forum. You should now have full control over it using the new Auth system. This is what I did anyway.

Ptirhiik>> Re: the message icons spacer.gif, the problem must lie between the 05-12-04 update & the 09-01-05 update.

Locked

Return to “[2.0.x] MODs in Development”