Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved some plugins dont work after change config
#1
Not Solved
i changed the admin directory in /inc/config.php and afterwords some plugins no longer run. Now even changing it back to admin, the plugin no longer works.

one specific one i am pertaining to is this
https://mods.mybb.com/view/extended-useradmininfo
Reply
#2
Not Solved
Can you be more specific as to what way they don't work? Changing the admin folder won't have any effect on a plugin running on the front end.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
Reply
#3
Not Solved
Quote:Can you be more specific as to what way they don't work?

the info that use to show up in the profile no longer shows up. It almost looks like the plugin is turned off, but its on.
Reply
#4
Not Solved
Have you deactivated it and reactivated it? Are the template edits still applied?
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
Reply
#5
Not Solved
i deactivated and reactivated, uninstalled, reinstalled, reactvated etc. I didnt think to check the templates.......


member profile
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
<script type="text/javascript" src="{$mybb->asset_url}/jscripts/report.js?ver=1804"></script>
</head>
<body>
{$header}
<fieldset>
	<table width="100%" cellspacing="0" cellpadding="0" border="0">
		<tr>
			<td width="75%">
				<span class="largetext"><strong>{$formattedname}</strong></span><br />
				<span class="smalltext">
					({$usertitle})<br />
					{$groupimage}
					{$userstars}<br />
					<br />
					<strong>{$lang->registration_date}</strong> {$memregdate}<br /><strong>Group Memberships</strong>: <strong>{$pmy_group}</strong>{$sec_groups}<br />
					<strong>{$lang->date_of_birth}</strong> {$membday} {$membdayage}<br />
					<strong>{$lang->local_time}</strong> {$localtime}<br />
					<strong>{$lang->postbit_status}</strong> {$online_status}
				</span>
			</td>
			<td width="25%" align="right" valign="middle">{$avatar}</td>
		</tr>
	</table>
</fieldset>
<br />
{$awaybit}{$bannedbit}
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
	<tr>
		<td width="50%" valign="top">
			<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
				<tr>
					<td colspan="2" class="thead"><strong>{$lang->users_forum_info}</strong></td>
				</tr>
				<tr>
					<td class="trow1" style="width: 30%;"><strong>{$lang->joined}</strong></td>
					<td class="trow1">{$memregdate}</td>
				</tr>
				<tr>
					<td class="trow2"><strong>{$lang->lastvisit}</strong></td>
					<td class="trow2">{$memlastvisitdate}</td>
				</tr>
				<tr>
					<td class="trow1"><strong>{$lang->total_posts}</strong></td>
					<td class="trow1">{$memprofile['postnum']} ({$lang->ppd_percent_total}){$findposts}</td>
				</tr>
				<tr>
					<td class="trow2"><strong>{$lang->total_threads}</strong></td>
					<td class="trow2">{$memprofile['threadnum']} ({$lang->tpd_percent_total}){$findthreads}</td>
				</tr>
				<tr>
					<td class="trow1"><strong>{$lang->timeonline}</strong></td>
					<td class="trow1">{$timeonline}</td>
				</tr>
				
{$postsLiked}
{$likesReceived}
{$myprofile_referredby}{$referrals}
				{$reputation}
{$showrefer}

				{$warning_level}{$myprofile_comments_stats}
			</table>
			{$myprofile_buddylist}{$myprofile_visitors}{$contact_details}
		</td>
		<td>&nbsp;&nbsp;</td>
		<td width="50%" valign="top">
			{$profilefields}
			{$signature}

            {$moderation_actions}
			{$modoptions}{$myprofile_comments}
			{$adminoptions}
			<div style="text-align: center">{$buddy_options}{$ignore_options}{$report_options}</div>
		</td>
	</tr>
</table>
{$footer}
</body>
</html>
But i dont remember having to manually insert any variable into the templates for that plugin.
Reply
#6
Not Solved
The template it edits is member_profile_adminoptions, should add {$advInfo} after </table>
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
Reply
#7
Not Solved
whoops wrong template

member_profile_adminoptions

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" width="100%" class="tborder">
<tr>
<td colspan="2" class="thead"><strong>{$lang->admin_options}</strong></td>
</tr>
<tr>
<td class="trow1">
<ul>
<li><a href="{$mybb->settings['bburl']}/{$admin_dir}/index.php?module=user-users&amp;action=edit&amp;uid={$uid}">{$lang->admin_edit_in_acp}</a></li>
<li><a href="{$mybb->settings['bburl']}/{$admin_dir}/index.php?module=user-banning&amp;uid={$uid}">{$lang->admin_ban_in_acp}</a></li>
</ul>
</td>
</tr>
</table>{$advInfo}{$geoInfo}
<br />
ahh i think its starting to click how to navigate things

	find_replace_templatesets('member_profile_adminoptions', '#</table>#', '</table>{$advInfo}');

but yeah its there.
Reply
#8
Not Solved
Do these admin options show up on the profiles? As in the default section in the template above, is that still showing?
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
Reply
#9
Not Solved
Quote:Do these admin options show up on the profiles? 
no, nor does the geo


Quote:As in the default section in the template above, is that still showing?
i can view the profile if that is hat you mean. I can see the mod options, but the admin options for this plugin and the geo location spot are gone. by gone i mean nothing showing.
Reply
#10
Not Solved
But the default options to edit and ban in the ACP do still show?

Do other plugins work? You haven't enabled the option to disable all plugins have you?
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)