
| To | × pt | For |
|---|---|---|
| temp1024 | 15 | Hel… |
| Chris Graham | 50 | Sup… |
| BobS | 100 | Com… |
| BobS | 500 | Com… |
| Harry-S | 100 | Hel… |
| Chris Graham | 300 | Sup… |
| Chris Graham | 300 | Sup… |
| Fletch | 100 | Hel… |
| MitraX | 250 | Com… |
| MitraX | 500 | Com… |
|
Posted 10 March 2010, 4:12 AM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Well-settled |
If you check metal-temple.com you will see I have a reviews catalogue with lots of subcategories. Especially the CDs category is broken down to all the letters of the alphabet, that was done due to OCPortal running a bit slow when too many entries are involved. I need a way though for the readers to be able to see all the latest entries added to reviews, regardless of their subcategory, whether it's a CD review starting from A or a DVD, say the latest 100 reviews. Anyone got any ideas? |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Posted 10 March 2010, 4:56 AM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Fan in action |
ocPortal.com - ocPortal Tutorial: Advanced custom pages of information Look for main_cc_embed block - you might be able to filter it to show everything in the catalogue!
If I've helped you, please click 'points' and show your appreciation!
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Posted 10 March 2010, 4:58 AM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Fan in action |
If I've helped you, please click 'points' and show your appreciation!
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Posted 16 March 2010, 12:46 PM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Well-settled |
I tried both ways; main_cc_embed block didn't work since selecting Reviews dosn't show the entries in the subcategories and custom ID's work for entries and not subcategories, as far as I know (I hope I'm wrong and Chris will let me know hehe). main_recent_cc_entries has been heavily customized by me for the front page and I only pass a few things there like band name and cover. I'll see if I can work with that. If only that block had a display_type= parameter like main_cc_embed does, allowing you to choose which type of list you'll display, it would be awesome and add great flexibility at the way you present your data. I really hope it will be a feature in one of the upcoming patches. Thanks again for the help. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Posted 16 March 2010, 2:32 PM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
ocStaff (admin) |
Please install the attached (assuming you're running a 4.3.x version)… The 'select' attribute is based on ocFilter, and takes precedence over the given 'param' (category ID). So you can do select's that involve multiple categories. You can simply put in '*' there. Or you can be clever. You are correct that normally the numbers in ocFilter are entry ID's, but that's not entirely true. If you use an ocFilter like '7*' the number is a category, and it will select all entries under that category. So if you want to display a specific subtree you can select it with that. You can also mix things, e.g. '7*,10~,1-3,!7' which means "anything under category ID #7 OR entries #1 to #3 – that is not under category ID#7 and is not entry #7". If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Posted 16 March 2010, 3:30 PM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Well-settled |
I'll upgrade to 4.3.2 first from 4.3.1 (I'm upgrading with every patch that comes out cause I know you put a lot of work in them), install your attached files and let you know what happened. Thank you soooooo much once again! |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Posted 25 April 2010, 9:19 PM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Well-settled |
Assuming Reviews category is ID 23 and CDs subcategory is ID 30, trying CodeSorry, Palanthas does not have access to use the 'block' Comcode tag (usage blocked). CodeSorry, Palanthas does not have access to use the 'block' Comcode tag (usage blocked). gives me the following error: An error has occurredInternal error (version: 4.3.2, PHP version: 5.2.11, URL: /site/latestreviews.htm)Here is the stack trace:Below is a stack trace revealing the state the software was in when the error occurred. If this represents a bug in the unmodified software, you may want to check Metal Temple website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.
as seen at page http://www.metal-temple.com/site/latestreviews.htm Any idea on what I'm doing wrong? |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Posted 25 April 2010, 9:23 PM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Well-settled |
There is an error (A syntax error was found inside a tag's attribute definition (attribute bottom" of tag img)) in your Comcode at line 1. error… |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Posted 26 April 2010, 1:59 PM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
ocStaff (admin) |
The attached might fix this. As for the Comcode problems displayed above, these will be fixed too. If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Posted 26 April 2010, 6:20 PM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Well-settled |
Using CodeSorry, Palanthas does not have access to use the 'block' Comcode tag (usage blocked). (Reviews main category has ID 23 and so with 23* I'm trying to show all the subcategories, maybe I'm doing something wrong?) I get: An error has occurredInternal error (version: 4.3.2, PHP version: 5.2.11, URL: /site/latestreviews.htm)Here is the stack trace:Below is a stack trace revealing the state the software was in when the error occurred. If this represents a bug in the unmodified software, you may want to check Metal Temple website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Posted 26 April 2010, 6:37 PM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
ocStaff (admin) |
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Posted 26 April 2010, 8:10 PM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Well-settled |
I tried Code
[block="23" id="23" select="23*" display_type="0"]main_cc_embed[/block]
but it didn't work. Error, here: http://www.metal-temple.com/site/latestreviews.htm Thanks again for your time. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Posted 27 April 2010, 10:38 AM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
ocStaff (admin) |
My last post was incorrect, you were actually right with your Comcode already. I've tried it myself, and it seems to work, and I've double checked everything:
Could you double check that main_cc_embed.php and catalogues.php are both correctly updated on your server. If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Posted 27 April 2010, 12:34 PM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Well-settled |
After doing so though, my home page stopped working and I'm getting this error: An error has occurredPHP NOTICE [8] Undefined variable: _order_by in /home7/metaltem/public_html/sources/catalogues.php on line 344 (version: 4.3.2, PHP version: 5.2.11, URL: /start.htm)Here is the stack trace:Below is a stack trace revealing the state the software was in when the error occurred. If this represents a bug in the unmodified software, you may want to check Metal Temple website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.
Also, the page where all the entries in the category would be viewed gives me this error: Fatal error: Maximum execution time of 60 seconds exceeded in /home7/metaltem/public_html/sources/tempcode.php on line 1290 An error has occurredPHP ERROR [1] Maximum execution time of 60 seconds exceeded in /home7/metaltem/public_html/sources/tempcode.php on line 1290 (version: 4.3.2, PHP version: 5.2.11, URL: /site/latestreviews.htm)Here is the stack trace:Below is a stack trace revealing the state the software was in when the error occurred. If this represents a bug in the unmodified software, you may want to check Metal Temple website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.
I'm guessing this is due to too many entries trying to be displayed and the system calling a timeout. Is there a way, using main_cc_embed to speed up the query or limit it to say the latest 500 entries instead of loading all 6000 of them? In my opinion the problem right now is loading all data from the get-go instead of loading them while you browse through the pages, it's what makes search acting very slow when thousands of category entries are involved. Of course I don't know if that would be possible but speeding queries up for large catalogues would make what's already an outstanding CMS, simply perfect! Page currently not working is at http://www.metal-temple.com/start.htm Page refusing to load is at http://www.metal-temple.com/site/latestreviews.htm Thanks a lot Chris! "> |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Posted 27 April 2010, 3:04 PM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Well-settled |
So you won't see the error in the previous /start.htm link. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Posted 28 April 2010, 11:15 AM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
ocStaff (admin) |
Hopefully this will fix that. We added a new feature (just a very little thing) to catalogues for the next version, and caused that bug. If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Posted 28 April 2010, 2:21 PM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Well-settled |
When trying to display the category entries though, I get this: An error has occurredPHP ERROR [1] Maximum execution time of 60 seconds exceeded in /home7/metaltem/public_html/sources/tempcode.php on line 1290 (version: 4.3.2, PHP version: 5.2.11, URL: /site/latestreviews.htm)Here is the stack trace:Below is a stack trace revealing the state the software was in when the error occurred. If this represents a bug in the unmodified software, you may want to check Metal Temple website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.
As I said in an earlier post, since this category has around 6000 entries, php (or my sql) times out because it takes a long time to load them, same problem I have with the search function, takes around a minute to display results and I've been having many complains about that. :( Weird thing is that I tried displaying entries from a subcategory which has around 12 entries and after 10 minutes all I got was a server error… Dunno if you had another site with these many catalogue entries, but I'd gladly offer full cms and ftp access to the site if you want to experiment with it, if it helps to implement speed improvements to future ocPortal versions. :) Anything to help out this amazing platform and its helpful community. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Posted 28 April 2010, 3:00 PM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Well-settled |
When you view a catalogue entry with comcode formatting (such as bold, italics etc.) it shows the code instead of rendering it so I had to replace it with the original 4.3.2 again. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Posted 28 April 2010, 3:36 PM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
ocStaff (admin) |
I'm not sure about the slowness problem yet, but this should solve the other one: If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Posted 28 April 2010, 4:25 PM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Well-settled |
I'm guessing there's not an option in main_cc_embed.php to show X number of entries instead of all, right? For example limit it to 500 entries. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||