Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Delete link and detailed page?

Quote Reply
Delete link and detailed page?
Hello.

Is it possible to delete links and the detailed page together?
When I delete a link, the detailed page stays online in the server.

Knubbel
Quote Reply
Re: [Knubbel] Delete link and detailed page? In reply to
Not sure if this works with 3.2, but try this:

http://www.ultranerds.com/...eteOldDetailed_L154/

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] Delete link and detailed page? In reply to
Hi Andy.

does it only work with a path like this:
/Detailed/123.html
?

because my path is:
/Path/To/Cat/Entry-123.html
Quote Reply
Re: [Knubbel] Delete link and detailed page? In reply to
Mmm, should do:

In DeleteOldDetailed.pm, please find:

Code:
# print "ID: $_ Deleted $detailed_path <BR>\n" if $DEBUG > 0;
#exit;

..and change to:

Code:
print $IN->header;
print "ID: $_ Deleted $detailed_path <BR>\n" if $DEBUG > 0;
exit;

What does it say when a record is deleted?

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] Delete link and detailed page? In reply to
I only find this in DeleteOldDetailed.pm:

Code:
sub delete_link {
# -----------------------------------------------------------------------------
# This subroutine will be called whenever the hook 'delete_link' is run. You
# should call GT::Plugins->action(STOP) if you don't want the regular
# 'delete_link' code to run, otherwise the code will continue as normal.
#
my (@args) = @_;

my @ids = $IN->param('delete');
if (!$ids[0]) { push @ids, $IN->param('ID'); }

foreach (@ids) {
chomp;
my $detailed_path = $CFG->{build_detail_path} . "/" . $_ . ".html";
if (-e $detailed_path) {
unlink $detailed_path;
print "Deleted $detailed_path <BR>\n" if $DEBUG > 0;
}
}

return @args;
}

# Always end with a 1.
1;
Quote Reply
Re: [Knubbel] Delete link and detailed page? In reply to
Hi,

Where did you download it from? The Plugin > List All area, or our site?

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] Delete link and detailed page? In reply to
I did download it from your link: ultranerds.com
Quote Reply
Re: [Knubbel] Delete link and detailed page? In reply to
Mmm, maybe I forgot to update it on our site :P

Please try the attached

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] Delete link and detailed page? In reply to
Andy wrote:
Mmm, should do:

In DeleteOldDetailed.pm, please find:

Code:
# print "ID: $_ Deleted $detailed_path <BR>\n" if $DEBUG > 0;
#exit;


..and change to:

Code:
print $IN->header;
print "ID: $_ Deleted $detailed_path <BR>\n" if $DEBUG > 0;
exit;


What does it say when a record is deleted?

Cheers

it says nothing
Quote Reply
Re: [Knubbel] Delete link and detailed page? In reply to
Please send over GLinks admin details, and FTP - and I'll take a quick look for you.

Also, where are you trying to delete btw? Via admin?

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] Delete link and detailed page? In reply to
Hi,

There was a bug in this version (for GLinks 3.x). All fixed up now, and version 1.5 can be downloaded from our site now.

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] Delete link and detailed page? In reply to
I am now thumping my head wondering why I did not ask for this sooner. I have been deleting old pages every month in the wee hours of the night to prevent disturbing anyone.


Sandra Roussel
Chonsa Group Design - Fresh Start Housing
Quote Reply
Re: [SandraR] Delete link and detailed page? In reply to
LOL, this ones been around for a long while =)

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Knubbel] Delete link and detailed page? In reply to
so does this mean I do need to mess around with some custom Perl-code in order to delete a detailed-page from my website ???
Strange..... this should be build into the program automatically already.
Quote Reply
Re: [erichcyber] Delete link and detailed page? In reply to
erichcyber wrote:
so does this mean I do need to mess around with some custom Perl-code in order to delete a detailed-page from my website ???
Strange..... this should be build into the program automatically already.

No, just use this plugin :)

Its the same with the category pages - they don't get deleted automatically Wink

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] Delete link and detailed page? In reply to
Hi Andy,

Does the plugin always work with 3.3.0?

I tested with Detailed/Entry-123.html, but that does not function.

I use StaticURLtr, it is perhaps not compatible?

Thanks,

Mick
Quote Reply
Re: [MJ_] Delete link and detailed page? In reply to
Hi,

In /admin/Plugins/DeleteOldDetailed.pm, find:

Code:
my $DEBUG = 0;

..and change to:

Code:
my $DEBUG = 1;

Then try deleting another link from the admin panel, and please post the output

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Quote Reply
Re: [Andy] Delete link and detailed page? In reply to
Oops !

I had not checked the delete_link (PRE) option.

Mick
Quote Reply
Re: [MJ_] Delete link and detailed page? In reply to
Ah np =)

That could be a part issue of using with GLinks 3.x , as I remember seeing a bug about that a little while back. Adrian said it was due to a paramater changing in the install.pm file, which I'm fixing up as-and-when I find them Smile)

Cheers

Andy (mod)
andy@ultranerds.co.uk


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates