| |||||||
| Register | Projects | FAQ | Members List | Mark Forums Read |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| ||||
|
OK, here is my idea for multiple categories. I think this is a workable concept and was fairly easy to implement. While I struggled a little with the SQL statement, the code is actually pretty easy. The primary purpose of the MOD is to show the INDEXU programmers that it is not all that hard to do. Having said that, they will need to deal with "removing" additional_cat1 and additional_cat1 from the code. What it does: It allows the link owner to add an unlimited number Multiple Categories for one link. That is to say, the link can appear in many categories. The link owner can change which categories the link can appear in. or the link owner can remove all additional categories so that the link only appears in its main category. Just a couple of things:
I'm asking bruce to move any posts to this thread. In return, I'll edit this post and keep it current. I make no guarentees about this MOD. There is lots of code for the INDEXU's official version of multiple categories. I have not looked at all of it to see if there is a conflict with this MOD. The MOD seems to work but you have been warned. I have ignored as much as I could the code for additional_cat1 and additional_cat1. If the MOD bombs after using it for some period of time, the only thing you are entitled to is a refund of what you paid for it. There are things that probably need to but haven't benn don't yet. Primarily because I don't know what they are. I'll try to add them when I learn them. With "try" being the operative word. For example, there is no way for the admin to edit the idx_mcats file (this file holds the multiple categories for any link); you will need to use a SQL statement to edit the table or delete entries. The MOD does not currently allow for multiple categories during the add process. Which brings me to support of this MOD. There is none. I'll try to help but don't count on it. I won't install it. If you can't get it to install, then ask someone else to help you. If you use this MOD, you owe me a nickel which you can pay me the next time we meet. Now for the general instruction for the MOD
.
__________________ esm "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology." . Last edited by esm; 05-14-2008 at 04:26 AM. |
| ||||
|
2. Replace the existing browse.php file with the following code (or make the indicated changes) Code: Content visible to License Owner only.
__________________ esm "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology." . |
| ||||
|
3. Open the category.class.php file. Go to the bottom of the file and add the following just before the last } (left curly brace) which is just before ?>. Remember, put it just before the the LAST } Code: Content visible to License Owner only.
__________________ esm "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology." . |
| ||||
|
4. Edit the link.class.php file and find the folling section of code (about line 1784) Code: Content visible to License Owner only. and make the following changes Code: Content visible to License Owner only. .
__________________ esm "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology." . |
| ||||
|
5. In the modify.php file make the indicated changes to the ShowFormModifyUrl function Code: Content visible to License Owner only. Code: Content visible to License Owner only. Code: Content visible to License Owner only. .
__________________ esm "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology." . |
| ||||
|
6. Edit the modify_form.html file and find the folling section of code Code: Content visible to License Owner only. Code: Content visible to License Owner only. .
__________________ esm "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology." . |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Multiple Categories? | blacknight | v5.x | 3 | 10-10-2006 09:01 PM |
| Multiple categories ? | Frank71 | v5.x | 7 | 08-13-2004 10:42 AM |
| Multiple Categories MOD | esm | v5.x | 9 | 08-04-2004 12:39 AM |
| Add multiple categories at once | craven | v5.x | 2 | 08-29-2003 01:21 PM |
| multiple categories... | rayhne | Pre-Sales Questions | 13 | 05-08-2003 12:32 AM |