Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

[ NEW PLUGIN ] Build_Detailed

(Page 1 of 2)
> >
Quote Reply
[ NEW PLUGIN ] Build_Detailed
Build_Detailed
v1.0

Price: $15

I have been working on this for a while now (a month on-and-off), but seeing as someone actually has a direct need for it, I just pushed the development along a little bit. It all seems to be working fine for me, and I'm happy that its safe to run on a live site now.

This plugin basically lets you decide which links you want to build detailed pages for. This is a great space saver, as not only does it let you restrict the links that are provided (which doesn't stop most people, as they can type in http://www.yourdomain.com/Detailed/TheirID.html). It also stops the pages being built at all, which with even a few thousand links, can build up Mb's of 'wasted' disk space. This plugin takes care of this :)

Details can be found here : http://www.ultranerds.com/cgi-bin/details/77.html

Existing ULTRA Package members can download this plugin for here: http://www.ultranerds.com

Enjoy!

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 Reply
Re: [Andy] [ NEW PLUGIN ] Build_Detailed In reply to
Hello Andy,

I will like to test Build_Detailed script.
But, I do not find it in the list.

It is available?

Thank you for your assistance.

Michel
Quote Reply
Re: [mick31] [ NEW PLUGIN ] Build_Detailed In reply to
Hi. You should be able to download it now. It was an oversight on my behalf, sorry about that.

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 Reply
Re: [Andy] [ NEW PLUGIN ] Build_Detailed In reply to
Hello Andy,

I test script.

But, it is possible to have yes by defect ?
Build Detailed Pages? Yes


Thank you for your assistance.

Mick
Quote Reply
Re: [mick31] [ NEW PLUGIN ] Build_Detailed In reply to
Sure,

Database > Links > Properties , and then set 'default' for the 'Build_Detailed_Page' option to '1'.

If you want to do this via MySQLMonitor, you can too;

Code:
UPDATE lsql_Links SET Build_Detailed_Page = '1'

Hope that helps.

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 Reply
Re: [Andy] [ NEW PLUGIN ] Build_Detailed In reply to
Hello Andy,

I modified as indicated.

But, the default value is always '0' => No on the page of edition of the link.

The value in "Links: Table Editor" '1' => Yes is well given.

-----
Name : Build_Detailed_Page
Column Type : INT
Not Null : No
Default : 1
Form
Display
Form Type : SELECT
Form
Regex
Search
Weight
--------------

An idea ?

Mick
Quote Reply
Re: [Andy] [ NEW PLUGIN ] Build_Detailed In reply to
Andy,

The problem is solved.

Script seems well to work.

It will render a great service to me. Smile

I am on a mutualized server ... Frown

Thank you Andy.

Mick
Quote Reply
Re: [mick31] [ NEW PLUGIN ] Build_Detailed In reply to
In Reply To:
Andy,

The problem is solved.

Script seems well to work.

It will render a great service to me. Smile

I am on a mutualized server ... Frown

Thank you Andy.

Mick

Glad to hear it :)

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 Reply
Re: [Andy] [ NEW PLUGIN ] Build_Detailed In reply to
Hello Andy,

I encounter a problem with the construction of the details pages.
You have an idea?

Thank you for your assistance.

Mick


--------------------------------
Started at Thu Apr 8 21:32:03 2004.
Building Detailed pages ...

A fatal error has occured:
Can't call method "fetchrow_array" on an undefined value at (eval 8) line 45.

Please enable debugging in setup for more details.
Stack Trace
======================================
Links (14504): Links::environment called at /home/site/cgi-bin/link/admin/Links.pm line 431 with no arguments.
Links (14504): Links::fatal called at (eval 8) line 45 with arguments
(Can't call method "fetchrow_array" on an undefined value at (eval 8) line 45.
).
Links (14504): Links::Build::build_detailed called at /home/site/cgi-bin/link/admin/GT/Plugins.pm line 91 with arguments
(HASH(0x8425230)).
Links (14504): GT::Plugins::dispatch called at /home/site/cgi-bin/link/admin/Links/Build.pm line 33 with arguments
(GT::Plugins, /home/site/cgi-bin/link/admin/Plugins, build_detailed, *Links::Build::build_detailed, HASH(0x8425230)).
Links (14504): Links::Build::build called at nph-build.cgi line 523 with arguments
(detailed, HASH(0x8425230)).
Links (14504): main::_build_detailed called at /home/site/cgi-bin/link/admin/GT/Plugins.pm line 91 with arguments
(HASH(0x8432694)).
Links (14504): GT::Plugins::dispatch called at nph-build.cgi line 190 with arguments
(GT::Plugins, /home/site/cgi-bin/link/admin/Plugins, create_detailed_staggered, CODE(0x825d580), HASH(0x8432694)).
Links (14504): main::build_staggered called at nph-build.cgi line 41 with no arguments.
Links (14504): main::main called at nph-build.cgi line 30 with no arguments.

------------------------------------
Quote Reply
Re: [mick31] [ NEW PLUGIN ] Build_Detailed In reply to
Can you set Setup > Misc > debug to '2', and then PM the output of it over to me? (don't post it publically, as it may have information such as your database username/name/paths).

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 Reply
Re: [Andy] [ NEW PLUGIN ] Build_Detailed In reply to
Just a little note, to say that version 1.1 of Build_Detailed is now available from the "Members Area". This fixes up a bug, which occurs when you use this Plugin on LinksSQL 2.2.0.

If you find any problems, please let me know via PM/email.

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 Reply
Re: [Andy] [ NEW PLUGIN ] Build_Detailed In reply to
Hi,

Version 1.6 is now out for GLinks 3.x. This new version is available from the Members Area on our site now.

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 Reply
Re: [Andy] [ NEW PLUGIN ] Build_Detailed In reply to
Hi Andy,

I test your plugin with GLinks 3.2.0 and I encounter a problem with construction via SSH.

Code:
GT::Plugins (24786): Error running plugin 'PRE' hook 'Plugins::Build_Detailed::build_hook':
Plugins::Build_Detailed::build_hook does not exist in Plugins/Build_Detailed at ../nph-build.cgi line 100.

It does not cause any error with construction via HTTP.

You think that it is possible that it is a bug ?

Thank,

O.
Quote Reply
Re: [Oyo] [ NEW PLUGIN ] Build_Detailed In reply to
Hi,

Thanks for the bug report :) Please give version 1.6 (for glinks 3.x+) a go. That bug should be fixed now :)

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 Reply
Re: [Andy] [ NEW PLUGIN ] Build_Detailed In reply to
Hi Andy

Now, the contrustruction does not consider any more the value of Build_Detailed_Page.

It builds the page even if the value is on No.

You deleted the option Plugin Hooks (enable/disable), it is perhaps the origin of the problem ?
You can add the option? That helps to check if the plugin works correctly.

Thank,

O.
Quote Reply
Re: [Oyo] [ NEW PLUGIN ] Build_Detailed In reply to
Hi,

Mmm.. odd - it works fine my end (just re-tested it). Can you send me a copy of nph-build.cgi? I need to check something out (either via email - or PM)

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 Reply
Re: [Andy] [ NEW PLUGIN ] Build_Detailed In reply to
Hi,

Is this working ok for you now? I just tried again to replicate any problem's - but it worked fine every time.

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 Reply
Re: [Andy] [ NEW PLUGIN ] Build_Detailed In reply to
Hi Andy,

Impossible to make function the plugin correctly.

I made several tests and the problem is identical for SSH and the browser.

You have an idea ?

Thank you for your assistance.

Mick
Quote Reply
Re: [Oyo] [ NEW PLUGIN ] Build_Detailed In reply to
Hi,

Which version of GLinks are you using?

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 Reply
Re: [Andy] [ NEW PLUGIN ] Build_Detailed In reply to
Hi Andy,

Version : 3.2.0

Thanks,

Mick
Quote Reply
Re: [Oyo] [ NEW PLUGIN ] Build_Detailed In reply to
Hi,

Please try the new version in our Members Area (same version number BTW - will update that if this fixes the problem =))

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 Reply
Re: [Andy] [ NEW PLUGIN ] Build_Detailed In reply to
Perfect ! Thanks,

Mick
Quote Reply
Re: [Andy] [ NEW PLUGIN ] Build_Detailed In reply to
Hi Andy,

I have a problem with Build_Detailed script.

It does not give the good value to prev_url and next_url on the detail page.

For example: I have 3 links :
link 1 - Build Yes
link 2 - Build No
link 3 - Build Yes

Now, on the detail page of link 1, I have for prev_url link 2 ( I would like to have link 3 ).
And for link 3, I have link 2 for next_url ( I would like to have link 1 ).

You think that there is a solution ?

Thanks for your answer.

Mick

Quote Reply
Re: [Oyo] [ NEW PLUGIN ] Build_Detailed In reply to
Hi,

Mmm. I can't see any reason for it doing that. All it does, is modify the "condition" required for building detailed pages - so the actual build process shouldn't be affected at all.

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 Reply
Re: [Andy] [ NEW PLUGIN ] Build_Detailed In reply to
Hi Andy,

I did not find the solution.

But, I think that the problem is in Build.pm line 524.
# Appears out the next/prev links.

Your opinion ?

Mick

> >