Under My Memberships there's a button by each membership options that says "info" that has a pop-up titled "Explanation: Membership" with the "Allowed actions" in it. I need to either remove the info button entirely or change what pops up to a more easily understood and more attractive explanation of the the membership levels. Is there any way to do that? |
Hi,
this can be edited in Admin panel, under Settings, Language Settings. Deleted, I am not sure, probably yes, but someone else must help you.
Regards
Sleepless |
Thanks for responding, I don't want to edit the names on the page, I want to put up an entirely different page. The designations of "browse blogs" and "browse blog posts" and all of that is redundant and confusing for members. And we aren't limiting access by time or access numbers, so the entire chart on there is moot for our site. I've created an easier-to-understand page/chart and one more appropriate for our site - that's the one that I want to have up there instead. |
look in /inc/profiles.inc.php around line number 145 to 155 for :
function GetMembershipStatus($memberID, $offer_upgrade = true) { $ret = '';
$membership_info = getMemberMembershipInfo($memberID);
$viewMembershipActions = "<br />(<a onclick=\"javascript:window.open('explanation.php?explain=membership&type=".$membership_info['ID']."', '', 'width=660, height=500, menubar=no, status=no, resizable=no, scrollbars=yes, toolbar=no, location=no');\" href=\"javascript:void(0);\">"._t("_VIEW_MEMBERSHIP_ACTIONS")."</a>)<br />";
As you can see its calling explanation.php. Now you can either edit this page to change the code to what you made or just change the code above to open the page you already made.
Explanation.php can be found in the root of your dolphin folder.
https://dolphin-techs.com - Skype: Dolphin Techs |
I've edited the profile.inc.php to call my page instead of the explanation.php and cleared both cache and cache_public. And it's still calling the same explanation.php. I searched for where it could be calling that from, and can't seem to find anything else that applies. |
ok will try it the other way around... put it back the way it was and try to edit the explanation.php page. also i wonder if its in your web browser cache ? https://dolphin-techs.com - Skype: Dolphin Techs |
This caused massive errors in 7.0.6, I just retried it in 7.0.7.
Not sure if it was a change in the explanation.php coding or if I've just learned more about php coding in the past month - but it totally worked this last time and I was finally able to successfully edit the awkwardly worded explanation.php page to a more user friendly version for our site!
Thanks to everyone for help/suggestions. And in case anyone else is wanting to do this: I simply changed the table contents starting around line 85, under
<!-- [START] List Membership Actions -->
I would love to be able to change the size of the popup window and the size of the table to be more aesthetically pleasing, but I can't find those settings. And I'm just happy to have it fixed as much as I have after all of these months!!!!
|
I'd like to increase the size of the popup window when clicking on the membership info button @ the /m/membership/index page.
I tried changing the width & height on the following script on line 155 of inc/profiles.inc.php , but that didn't have any effect. I cleared my site cache, browser cache & reloaded the page.
$viewMembershipActions = "<br />(<a onclick=\"javascript:window.open('explanation.php?explain=membership&type=".$membership_info['ID']."', '', 'width=660, height=500, menubar=no, status=no, resizable=no, scrollbars=yes, toolbar=no, location=no');\" href=\"javascript:void(0);\">"._t("_VIEW_MEMBERSHIP_ACTIONS")."</a>)<br />";
Anyone have an idea on how to fix that?
|
I need to dot his too... I have some great tables drawn up, but it's a case of getting them to show when the button is clicked... would it be possible just to replace the php file with a php file of the same name that displays my graphic table? |