| |||||||
| Register | Projects | FAQ | Members List | Mark Forums Read |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| Code: Content visible to License Owner only. Code: Content visible to License Owner only. LEFT JOIN idx_mcats ON idx_link.link_id = mlink_id WHERE idx_mcats.category_id=$cat_id or idx_mcats.mcat_id=$cat_id But im not sure which table contains which field though
__________________ Some interesting INDEXU bits :http://www.indexu.co.uk Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent ) |
| ||||
| Code: Content visible to License Owner only. Like I said, it was a very complex SQL statement to begin with.After I removed all the stuff that was there and replaced it with mine, my multiple category MOD works just fine. If you want to take a look it, send me a PM. ![]() here is the SQL statement that works: Code: Content visible to License Owner only.
Hey, there may be more but this is probably about 98% of it. ![]() Now if dody will just take this and run with it....!!! .
__________________ esm "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology." . |
| |||
| Code: Content visible to License Owner only.
__________________ Some interesting INDEXU bits :http://www.indexu.co.uk Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent ) |
| ||||
|
well, the above did not work BUT....!!! The following does work...!!! Code: Content visible to License Owner only. Second, if the multiple category link is the only listing on a subsequent page, you will get an error message. But more testing is needed. ![]() .
__________________ esm "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology." . |
| ||||
|
If any one wants to test the multiple category MOD, the first thing you need to do is to create the following table. Code: Content visible to License Owner only. Next, edit the browse.php file. Look for the following code about line 85: 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." . Last edited by esm; 04-23-2008 at 07:38 AM. Reason: removed mlink as primary key |
| ||||
|
well, the only isssue I am seeing with this MOD (but I haven't looked for others ) is that it is not allowing Sponsored links to show up in the additional categories.But I'm pretty sure that I can find a way to at least include them, either at the beginning or end of the listing. But it is solvable. But I would be intereted in any other comments... ![]() .
__________________ esm "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology." . |
| ||||
|
I'm having a "Miss Cleo" moment I can see ESM winning the Mod of the Month contest!!!
__________________ FSGDAG | IndexU Hosting | Owner Website | NiceCoder Script Hosting and More! | Blog General Directory | Deep Links Directory | Bidding Directory |
| ||||
| Code: Content visible to License Owner only. Now for the hard part. you are going to have to add the mcats data from the form to the mcats table. Probably the section that deals with the add results (about line 272). Since I don't use INDEXU, I'm going to have to study the logic and ask some questions. I know that links can be automatically added, added to the temp file for later approval and there is the issue of paid links (that have either been paid or are pending payment). Or, it may be that all of this is dealt with the add function in the link.class.php file in the lib folder or the validate_link.php file in the admin folder. time will tell. .
__________________ esm "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology." . |
| ||||
| 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." . |
| ||||
| Code: Content visible to License Owner only. Get out of here cat1 and cat1...!!! Multiple Categories are in the house....!!!! ![]() .
__________________ 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 category | GodParadise | Tutorials, Hints & Tips | 2 | 04-06-2007 11:02 PM |
| Multiple Categories? | blacknight | v5.x | 3 | 10-10-2006 09:01 PM |
| Add multiple categories at once | craven | v5.x | 2 | 08-29-2003 01:21 PM |
| Multiple entries | mediastation | Pre-Sales Questions | 1 | 07-09-2002 01:33 PM |