How do I limit the number of span pages per category? lets say I only want a maximum of 15 span pages per category.
Jun 1, 2008, 12:00 AM
Veteran / Moderator (18436 posts)
Jun 1, 2008, 12:00 AM
Post #2 of 10
Views: 4159
Span links, or actual number of span pages? Not really sure what you mean (maybe an example)
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Jun 1, 2008, 12:18 AM
Veteran / Moderator (18436 posts)
Jun 1, 2008, 12:18 AM
Post #4 of 10
Views: 4155
Hi,
AFAIK, you can't do that. You can only edit the number of links shown per page. Not sure why you would want to do this? (as it would mean if links exceeded the 15 * number of links per page set, then the *extra* links wouldn't show)
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
AFAIK, you can't do that. You can only edit the number of links shown per page. Not sure why you would want to do this? (as it would mean if links exceeded the 15 * number of links per page set, then the *extra* links wouldn't show)
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Jun 1, 2008, 12:24 AM
Novice (38 posts)
Jun 1, 2008, 12:24 AM
Post #5 of 10
Views: 4144
If I have 10 000 links in one category (50 links per page) then over 100 span pages will be generated. That's not very useful for anyone. So I want the script to stop building span pages after 15 pages have been built or after X number of links (15x50). That would be the limit for every category (when 15 pages or 50x15 links are reached). The rest of the links are kept in the database as usual.
Jun 1, 2008, 12:44 AM
Veteran / Moderator (18436 posts)
Jun 1, 2008, 12:44 AM
Post #6 of 10
Views: 4186
Mmm.. 10,000 in a SINGLE category is a real strain on GLinks :/ Its ok if you spread then out into sub-categories (m aybe 1000 per sub-category), but having such a huge number of Links, can cause issues with your MySQL load. If its running ok, then I guess thats fine - but just a warning
Regarding limiting the number of pages shown on the span pages ... not really a simple way to do that AFAIK :/ Maybe someone at Gossamer could shed a bit more light.
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!

Regarding limiting the number of pages shown on the span pages ... not really a simple way to do that AFAIK :/ Maybe someone at Gossamer could shed a bit more light.
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Jun 2, 2008, 11:07 PM
Veteran / Moderator (18436 posts)
Jun 2, 2008, 11:07 PM
Post #8 of 10
Views: 4140
Hi,
True - but from previous experience (even on a large directory), having over a few thousand links in one category (granted, these "links" were actually 100-200 line articles), it slowed down hugely on builds. I guess for normal links, it should be ok - but I still stand by my suggestion that you shouldn't have too many links in a single category, as its just poinless resource wasting, and you would be better having them in more targetted sub-cats.
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote:
Why? It shouldn't matter how many links are in a category.True - but from previous experience (even on a large directory), having over a few thousand links in one category (granted, these "links" were actually 100-200 line articles), it slowed down hugely on builds. I guess for normal links, it should be ok - but I still stand by my suggestion that you shouldn't have too many links in a single category, as its just poinless resource wasting, and you would be better having them in more targetted sub-cats.
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!