https://www.icyphoenix.com/viewtopic.php?f=2&t=9629 ----------------------------------- MWE_001 Sun 14 Aug, 2016 04:42 Admin Sidebar Nav Links In ACP ----------------------------------- I am working on a project and looked until I was blue in the face and I can not for the life of me find the file for the acp that lists all the links in the nav links for the Cash mod. can anyone point me to that file please? I promise I did search the forums and dug through the files for a couple hours with no such luck. Also Under the Cash/Points nav link when I click management, it takes me to the next page which is in this screen shot. I need to find this file too. I have literally found all but. [img]http://www.icyphoenix.com/files/images/11665/screenshot_1_1471142522_415410.jpg[/img] Thanks guys I appreciate the help in finding these two files. This project should keep me busy for a day or two :mrgreen: ----------------------------------- mort Sun 14 Aug, 2016 05:03 Re: Admin Sidebar Nav Links In ACP ----------------------------------- Your templates for the plugins are generally in the plug-in themselves. For example the one below is the one you have in the picture.. ;) ip/plugins/cash/adm/templates/[b]cash_menu.tpl[/b] ----------------------------------- MWE_001 Sun 14 Aug, 2016 05:07 Re: Admin Sidebar Nav Links In ACP ----------------------------------- I actually just found a php file I was looking for. I'll go have a look at the templates as well but I believe php is gonna be what I am after. I found 2 very serious problems that I was attempting to fix without reinforcements. It might be beyond my scope of expertise though. I shall know more here in a bit. ----------------------------------- mort Sun 14 Aug, 2016 05:31 Re: Admin Sidebar Nav Links In ACP ----------------------------------- Most times the .php file bears the same file name as the .tpl file. And I usually use Notepad++ to make comparisons if I'm looking to associate what files belong to what - Like so. [img]http://www.icyphoenix.com/files/images/8840/capture_1471145494_394581.jpg[/img] And something tells me that the path in admin_cash.php - Line 157 has the wrong CONSTANTS for the path and should be [b]CASH_ADM_TPL_PATH[/b] ----------------------------------- MWE_001 Sun 14 Aug, 2016 05:37 Re: Admin Sidebar Nav Links In ACP ----------------------------------- Well, I found my files I was after. Thanks for the tips Mort. However, this one may be above my skill level. I may just have to report this one and call it good. This one has to do with wrong links and no SID being appended to the links in the ACP. And I could see where this might be a real big issue. I am going to work on this tonight until I am blue in the face. I refuse to give up so easily. I will admit, I have no clue how to make a link append a sid. Mort, is it ok if I maybe post a screen shot or two and ask for general advice? *EDIT* Upon reading your reply Mort, I think you stumbled upon the same thing that I am attempting to work on. I clicked this and that until i could not click any more and in the process found 2 very serious issues with cash plugin. Well, 1 serious and one not so serious, just annoying. ----------------------------------- mort Sun 14 Aug, 2016 05:44 Re: Admin Sidebar Nav Links In ACP ----------------------------------- Screen-shots are really helpful to actually show what one means because sometimes it's hard to get across. So fire away as often as you think it will help. ;) And I did edit my post above, but a little too late I think. :( Because something tells me that the path in admin_cash.php - Line 157 has the wrong CONSTANTS for the path and should be CASH_ADM_TPL_PATH And that's been a problem with quite a few plugin files as there are NO .tpl files in this path [b]ADM_TPL[/b] So all the cash Mod php files will have to be checked for that and converted to [b]CASH_ADM_TPL_PATH[/b]. :censored: ----------------------------------- MWE_001 Sun 14 Aug, 2016 05:53 Re: Admin Sidebar Nav Links In ACP ----------------------------------- Here we go Mort. pic 1 is the nav menu on left no biggie [img]http://www.icyphoenix.com/files/images/11665/screenshot_2_1471146534_566577.jpg[/img] Now clicking the management link we go here [img]http://www.icyphoenix.com/files/images/11665/screenshot_3_1471146566_116034.jpg[/img] Now I click cash configuration and I get this (notice no SID inserted with link so goes to index) [img]http://www.icyphoenix.com/files/images/11665/screenshot_4_1471146619_546004.jpg[/img] If we click this to switch to sidebar menu [img]http://www.icyphoenix.com/files/images/11665/screenshot_5_1471146667_734697.jpg[/img] We get this when clicking links in the sidebar menu. If someone is not so savvy, they might not be able to get back to config to switch it back. [img]http://www.icyphoenix.com/files/images/11665/screenshot_6_1471146735_317844.jpg[/img] Improper link. It left out the plugins path. This is what I am trying to fix and am not quite sure how to do it. I really wanted to do it so I didn't have to bother anyone with it. But it might be beyond my scope. On a side note, the title of this post may now be better suited, Cash Mod Help or something of the such. ----------------------------------- mort Sun 14 Aug, 2016 06:46 Re: Admin Sidebar Nav Links In ACP ----------------------------------- I don't know why it uses two menus on the one page? Try this. cash_menu.tpl Find: {menucat.menuitem.L_TITLE} Replace With:

{menucat.menuitem.L_TITLE}

And those ADM_TPL paths I mentioned earlier will have to be addressed - and I think there's 5 of them [b][i](Bloody Memory!) [/i][/b] :mrgreen: ----------------------------------- MWE_001 Mon 15 Aug, 2016 00:26 Re: Admin Sidebar Nav Links In ACP ----------------------------------- That info will give me a little project to try to get through today. As far as the menu goes, I think that was kind of stupid of the original author of said mod to do int he fist place. IMO, the best option after clicking management in the left nav links would have been to go tight to cash_config. Now the switching to sidebar nav in the config page, that can cause major issues if someone does not know how to get back to config to reset it so they are not stuck on 404 error pages. I almost wonder if the masses would not like it better to go right to the cash_config as I mentioned? If not, I'm sure a guy can code it on his own time to by pass the double menu on one page. I think we are in the same thought process Mort. :mryellow: Ill look in to those ADM paths tonight. My company that I have had from Wednesday til now just left so I'm gonna relax in the quietness (heavenly quietness) and then get to it here in a bit. Thanks for the thoughts and tips. Much appreciated! **EDIT** Ok Mort here is a quick update. Thanks for that tpl edit. It made them links a simple description instead of a bad link now which to me, is perfectly acceptable and more so better off used than links as a 2nd menu anyhow. Now while I was at it I found a couple more errors that I fixed. [img]http://www.icyphoenix.com/files/images/11665/screenshot_7.jpg[/img] This error is a bad footer link in cash currencies if you try to delete a currency. The fix is to: OPEN [b]plugins/cash/adm/cash_currencies.php[/b] FIND (First Instance) [codeblock]include('page_footer_admin.' . PHP_EXT);[/codeblock] REPLACE WITH [codeblock]include(IP_ROOT_PATH . ADM . '/page_footer_admin.' . PHP_EXT);[/codeblock] FIND (2nd Instance) [codeblock]include('page_footer_admin.' . PHP_EXT);[/codeblock] REPLACE WITH [codeblock]include(IP_ROOT_PATH . ADM . '/page_footer_admin.' . PHP_EXT);[/codeblock] SAVE AND CLOSE FILE This file also has 2 instances of ADM_TPL that MUST remain that way. It will bust the link to confirm_body.tpl if changed. [img]http://www.icyphoenix.com/files/images/11665/screenshot_8_1471216208_518661.jpg[/img] Same error as above this time in cash_reset.php OPEN [b]plugins/cash/adm/cash_reset.php[/b] FIND [codeblock]include('page_footer_admin.' . PHP_EXT);[/codeblock] REPLACE WITH [codeblock]include(IP_ROOT_PATH . ADM . '/page_footer_admin.' . PHP_EXT);[/codeblock] EOM CLOSE AND SAVE FILE Also, the ADM_TPL instances in this file 2x MUST remain the same or will bust the links to confirm_body.tpl. I still can not figure out how, when in cash_config one switches nav to sidebar, to fix the links to the files. Right now if I try it the links take me to 404 error pages. I can not find the links to fix them. Not sure which file it is. ----------------------------------- mort Mon 15 Aug, 2016 02:31 Re: Admin Sidebar Nav Links In ACP ----------------------------------- My problem is that I just don't know enough about phpBB/Icy Phoenix any more and I really don't have the desire or the capacity to re-learn all of the new scripting. And between MG and Informpro Icy Script has been so "personalised" that for me it's like re-learning from scratch. Not something I can do these days because of concentration and confusion problems with the drugs I have to take. Not to mention my age and all of the other associated problems. So apart from just cleaning out the spammers, sincerely, it's time I stopped trying to do much else. :( ----------------------------------- MWE_001 Mon 15 Aug, 2016 02:47 Re: Admin Sidebar Nav Links In ACP ----------------------------------- I hear ya bud. I figured out real quick when I dug in to the files it was far from phpBB anymore. I am feeling my way around. None the less Mort, I do appreciate all the pointers you have given me thus far. It actually got me closer to where I needed to be and allowed me to fix a few other errors as I went. i thank you very much for the support. I will try to refrain from babbling in the forums anymore on this until MG or Informpro come along to help me out. If I break it, it is only a test site any how :-D It is fun trying. I am enjoying not laying in bed with my back. ----------------------------------- Informpro Mon 15 Aug, 2016 11:28 Re: Admin Sidebar Nav Links In ACP ----------------------------------- Hehehe. Thanks for the quickfix. Were I to give my honest opinions... I agree. I don't like how the cash plugin has its own menu instead of using the ACP (Makes a bit more sense in the album). MG will pull youe fixes Thanks mort as well :). ----------------------------------- MWE_001 Tue 16 Aug, 2016 04:51 Re: Admin Sidebar Nav Links In ACP ----------------------------------- Hey mods this one quickly went to a Cash Mod thread. Why not move it over to my other cash mod thread so we can keep it all in one place maybe? http://www.icyphoenix.com/viewtopic.php?f=2&t=9621 I have a couple other minor tweaks I need to put in the fixes as well still. I figure it might just as well be in one place. ----------------------------------- Mighty Gorgon Sat 20 Aug, 2016 22:39 Re: Admin Sidebar Nav Links In ACP ----------------------------------- Thanks for your fixes! :mri: ----------------------------------- MWE_001 Sun 21 Aug, 2016 04:55 Re: FIXED Admin Sidebar Nav Links In ACP ----------------------------------- Not a problem at all. As always, glad to help the community in any way that I can. I am still trying to figure out the file structure. It is much different than what I am used to. ----------------------------------- Informpro Sun 21 Aug, 2016 19:06 Re: FIXED Admin Sidebar Nav Links In ACP ----------------------------------- It's been a really long time. I'd be interested... ----------------------------------- MWE_001 Sun 21 Aug, 2016 19:50 Re: FIXED Admin Sidebar Nav Links In ACP ----------------------------------- [quote user="Informpro" post="60780"]It's been a really long time. I'd be interested...[/quote] What ya interested in? I'm lost as usual. :oops: ----------------------------------- Informpro Sun 21 Aug, 2016 20:06 Re: FIXED Admin Sidebar Nav Links In ACP ----------------------------------- In the Activity games. EDIT: Oh my god! So sorry; Thought I was answering http://www.icyphoenix.com/viewtopic.php?f=2&t=9623&highlight= ... ----------------------------------- MWE_001 Sun 21 Aug, 2016 20:09 Re: FIXED Admin Sidebar Nav Links In ACP ----------------------------------- Oh ok my apologies. I was confused. lol I can help you out but we are in the cash mod thread now not the activity thread lol I'm going to get on the activity thread and reply further.