Jump to content
TNG Community
Carl Rhodes

I failed to uninstall Mods before upgrading, now Mods unavailable

Recommended Posts

Carl Rhodes

I failed to uninstall Mods before upgrading to latest version, now Mods unavailable, what can I do to fix it

Share this post


Link to post
Share on other sites
Chris Lloyd

Do you have access to your CPanel? If you do you could delete the old mods through PHPMyAdmin.

Share this post


Link to post
Share on other sites
Carl Rhodes

Thanks for your responds, did that, it didn't help 

Share this post


Link to post
Share on other sites
Carl Rhodes

I had to reinstall to repair it.

Share this post


Link to post
Share on other sites
Carl Rhodes

Custom menu hook v10.0.0.0. is not compatible with  TNG 13.0.4 

Share this post


Link to post
Share on other sites
Ken Roy

Carl,

The Custom Menu Hook mod is just a sample mod.  Why is it not compatible with TNG 13.0.4? 

My site menu mod which I created from Custom Menu Hook mod several years ago still installs and works in TNG 13.0.4

You need to provide more detailed information.

Share this post


Link to post
Share on other sites
Carl Rhodes

It didn't work once I upgraded.

Share this post


Link to post
Share on other sites
Carl Rhodes
7 minutes ago, Ken Roy said:

Carl,

The Custom Menu Hook mod is just a sample mod.  Why is it not compatible with TNG 13.0.4? 

My site menu mod which I created from Custom Menu Hook mod several years ago still installs and works in TNG 13.0.4

You need to provide more detailed information.

I will try it again.

Share this post


Link to post
Share on other sites
Carl Rhodes

Thanks Ken,

This is the code I used with the mod: 

%name:Custom Hook Menu Mod%
%version:V10.0.0.0%
%description:This sample mod was developed to make it easier to add site specific custom menu entries to the TNG pull down menu using the new syntax for <a href="http://tng.lythgoes.net/wiki/index.php?title=Custom_Menu_Hook" target="_blank">Custom Menu Hook</a> in TNG V10. <br /><br />Mod Developer is Ken Roy.<br /><br /> For additional information see the <a href="http://tng.lythgoes.net/wiki/index.php?title=Custom_Menu_Hook_Mod" target="_blank">Custom Menu Hook Mod</a>.%

%target:customconfig.php%

%location:%
?>
%end:%
%insert:before%
//        Custom Menu Hook Mod added to customconfig.php in TNG V10
//    For additional details see the TNG Wiki <a href="http:tng.lythgoes.net/wiki/index.php?title=Custom_Menu_Hook" target="_blank">Custom Menu Hook</a>.

$custmenu['title_index'] = "mysite";	

$link_nr++; // increment the number for each additional link (1)
$custommenulinks[$link_nr]['target'] = "search.php?mylastname=RHOADES&lnqualify=equals&mybool=AND";
$custommenulinks[$link_nr]['icon'] = "img/tng_sig.gif";
$custommenulinks[$link_nr]['label_index'] = "rhoades";

$link_nr++; // increment the number for each additional link (2)
$custommenulinks[$link_nr]['target'] = "search.php?mylastname=RHOADS&lnqualify=equals&mybool=AND";
$custommenulinks[$link_nr]['icon'] = "img/tng_sig.gif";
$custommenulinks[$link_nr]['label_index'] = "rhoads";

$link_nr++; // increment the number for each additional link (3)
$custommenulinks[$link_nr]['target'] = "search.php?mylastname=RHODES&lnqualify=equals&mybool=AND";
$custommenulinks[$link_nr]['icon'] = "img/tng_sig.gif";
$custommenulinks[$link_nr]['label_index'] = "rhodes";

$link_nr++; // increment the number for each additional link (4)
$custommenulinks[$link_nr]['target'] = "search.php?mylastname=RODES&lnqualify=equals&mybool=AND";
$custommenulinks[$link_nr]['icon'] = "img/tng_sig.gif";
$custommenulinks[$link_nr]['label_index'] = "rodes";
//  end of Custom Menu Hook Mod
%end:%

%target:languages/English/cust_text.php%
%location:%
?>
%end:%
%insert:before%
// added for fourth menu pulldown
$text['mysite'] = "More";
$text['rhoades'] = "Rhoades Names";
$text['rhoads'] = "Rhoads Names";
$text['rhodes'] = "Rhodes Names";
$text['rodes'] = "Rodes Names"
%end:%

%target:languages/English-UTF8/cust_text.php%
%location:%
?>
%end:%
%insert:before%
// added for fourth menu pulldown
$text['mysite'] = "More";
$text['rhoades'] = "Rhoades Names";
$text['rhoads'] = "Rhoads Names";
$text['rhodes'] = "Rhodes Names";
$text['rodes'] = "Rodes Names"
%end:%

This is the page I'm using it on. https://rhodesfamily.org/index.php

Share this post


Link to post
Share on other sites
Ken Roy

Carl,

Can you attach your mod?  I really do not want to create a mod from what you posted because it might not be the same as what you are attempting to use.

Share this post


Link to post
Share on other sites
Ken Roy

Carl,

I can verify the behavior you are seeing.  I posted a request on the TNG user2 list since Darrin and Rick Bisbee who might be able to help do not monitor the forum.

As I indicated there I am fighting Windows 10 upgrade issues

Share this post


Link to post
Share on other sites
Carl Rhodes

HI Ken,

There wasn't anything wrong with the Mod, it was the code I added. It's working fine now.

Thanks Ken

Share this post


Link to post
Share on other sites
tngrlkrz

I don't use the mod, but yes, you were missing the  "$link_nr=0; // the first link in the menu is always number 0, " I just was about to post.

Ron

Share this post


Link to post
Share on other sites
Carl Rhodes

Yes, that what I discovered, thanks 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×