Jump to content

Enhanced User Info Panel 2.0.8 problems


Adryyy

Recommended Posts

Hi. I have User Options in PostBit 1.0.4 and if i use with enhanced user info panel the postbit options will not appear. I tried to put code form postbit in enhanced hook(after aside,but inside of div) without success.

The second problem is with Members Shop, if i enable to see members points, i will don't see...

The third one, is about background size in dive or aside..i have QH1JMfa.png

but i can't resize the bg to be full in div(left&right).

 

And 4th is with profile avatars(resized??) guWVhV5.png

 

Edited by Adryyy
xx
Link to comment
Share on other sites

  • Administrator

This whole post is poorly formatted. If you have multiple issues, you need to focus on one at a time. You also didn't bother linking to your site, which makes it impossible to review the code you've used.

  • Like 1
Link to comment
Share on other sites

On 11/27/2019 at 6:18 AM, Davlin said:

This whole post is poorly formatted. If you have multiple issues, you need to focus on one at a time. You also didn't bother linking to your site, which makes it impossible to review the code you've used.

is default code, what is on internet, what i need to post?

p.s all problems are from enhanced = 1 problem

Edited by Adryyy
Link to comment
Share on other sites

add this code 

 

{{$addWarningUrl = \IPS\Http\Url::internal( "app=core&module=system&controller=warnings&do=warn&id={$member->member_id}", 'front', 'warn_add', array( $member->members_seo_name ) );}}
{{$wr = base64_encode( json_encode( array( 'app' => 'forums', 'module' => 'forums-comment' , 'id_1' => $comment->topic_id, 'id_2' => $comment->pid ) ) );}}
{{$addWarningUrl = $addWarningUrl->setQueryString( 'ref', $wr );}}

<ul class="ipsList_inline ipsType_blendLinks ipsSpacer_top">
	{{if !$member->members_disable_pm and !\IPS\Member::loggedIn()->members_disable_pm and \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'messaging' ) )}}
		<li data-ipsTooltip title="{lang="message_send"}" class="ipsType_light">
			<a href='{url="app=core&module=messaging&controller=messenger&do=compose&to={$member->member_id}&fromPost={$comment->pid}" seoTemplate="messenger_compose"}' data-ipsDialog data-ipsDialog-title='{lang="compose_new"}' data-ipsDialog-remoteSubmit data-ipsDialog-flashMessage="{lang="message_sent"}" data-ipsDialog-forceReload><i class='fa fa-envelope'></i></a>
		</li>
	{{endif}}
	{{if \IPS\Settings::i()->uopbShowIgnore AND \IPS\Member::loggedIn()->member_id && $member->member_id != \IPS\Member::loggedIn()->member_id}}
		<li data-ipsTooltip title="{lang="add_ignore"}" class="ipsType_light">
			<a href="{url="app=core&module=system&controller=ignore&id={$member->member_id}" csrf="true" seoTemplate="ignore"}"><i class='fa fa-times-circle'></i></a>
		</li>
	{{endif}}
	<li data-ipsTooltip title="{lang="find_content"}" class="ipsType_light">
		<a href="{url="app=core&module=members&controller=profile&id={$member->member_id}" base="front" seoTemplate="profile_content" seoTitle="$member->members_seo_name"}"><i class='fa fa-search'></i></a>
	</li>
	{{if member.modPermission('can_flag_as_spammer') and $member->member_id != member.member_id and !$member->modPermission() and !$member->isAdmin()}}
		{{if $member->members_bitoptions['bw_is_spammer']}}
			<li data-ipsTooltip title="{lang="spam_unflag"}" class="ipsType_light"><a href='{url="app=core&module=system&controller=moderation&id={$member->member_id}&s=0&referrer={$referrer}" seoTemplate="flag_as_spammer" seoTitle="$member->members_seo_name" csrf="true"}' data-confirm data-confirmSubMessage="{lang="spam_unflag_confirm"}"><i class="fa fa-flag"></i></a></li>
		{{else}}
			<li data-ipsTooltip title="{lang="spam_flag"}" class="ipsType_light"><a href='{url="app=core&module=system&controller=moderation&id={$member->member_id}&s=1&referrer={$referrer}" seoTemplate="flag_as_spammer" seoTitle="$member->members_seo_name" csrf="true"}' data-confirm><i class="fa fa-flag"></i></a></li>
		{{endif}}
	{{endif}}
	{{if member.canWarn( $member )}}
		<li data-ipsTooltip title="{lang="warn_user_title"}" class="ipsType_light"><a href="{$addWarningUrl}" data-ipsDialog data-ipsDialog-title='{lang="warn_user"}'><i class="fa fa-exclamation-triangle"></i></a></li>
	{{endif}}
</ul>

add it to the EnhancedUserInfoPanel html template at the end or wherever you want it

 

image.png.d3cf0afe755ace2b9195aeb989871d8d.png

Edited by the_link
Link to comment
Share on other sites

On 11/25/2019 at 5:51 PM, Adryyy said:

Hi. I have User Options in PostBit 1.0.4 and if i use with enhanced user info panel the postbit options will not appear. I tried to put code form postbit in enhanced hook(after aside,but inside of div) without success.

The second problem is with Members Shop, if i enable to see members points, i will don't see...

The third one, is about background size in dive or aside..i have QH1JMfa.png

but i can't resize the bg to be full in div(left&right).

 

And 4th is with profile avatars(resized??) guWVhV5.png

 

leave the website link please.

Link to comment
Share on other sites

On 12/5/2019 at 3:30 AM, the_link said:

add this code 

 


{{$addWarningUrl = \IPS\Http\Url::internal( "app=core&module=system&controller=warnings&do=warn&id={$member->member_id}", 'front', 'warn_add', array( $member->members_seo_name ) );}}
{{$wr = base64_encode( json_encode( array( 'app' => 'forums', 'module' => 'forums-comment' , 'id_1' => $comment->topic_id, 'id_2' => $comment->pid ) ) );}}
{{$addWarningUrl = $addWarningUrl->setQueryString( 'ref', $wr );}}

<ul class="ipsList_inline ipsType_blendLinks ipsSpacer_top">
	{{if !$member->members_disable_pm and !\IPS\Member::loggedIn()->members_disable_pm and \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'messaging' ) )}}
		<li data-ipsTooltip title="{lang="message_send"}" class="ipsType_light">
			<a href='{url="app=core&module=messaging&controller=messenger&do=compose&to={$member->member_id}&fromPost={$comment->pid}" seoTemplate="messenger_compose"}' data-ipsDialog data-ipsDialog-title='{lang="compose_new"}' data-ipsDialog-remoteSubmit data-ipsDialog-flashMessage="{lang="message_sent"}" data-ipsDialog-forceReload><i class='fa fa-envelope'></i></a>
		</li>
	{{endif}}
	{{if \IPS\Settings::i()->uopbShowIgnore AND \IPS\Member::loggedIn()->member_id && $member->member_id != \IPS\Member::loggedIn()->member_id}}
		<li data-ipsTooltip title="{lang="add_ignore"}" class="ipsType_light">
			<a href="{url="app=core&module=system&controller=ignore&id={$member->member_id}" csrf="true" seoTemplate="ignore"}"><i class='fa fa-times-circle'></i></a>
		</li>
	{{endif}}
	<li data-ipsTooltip title="{lang="find_content"}" class="ipsType_light">
		<a href="{url="app=core&module=members&controller=profile&id={$member->member_id}" base="front" seoTemplate="profile_content" seoTitle="$member->members_seo_name"}"><i class='fa fa-search'></i></a>
	</li>
	{{if member.modPermission('can_flag_as_spammer') and $member->member_id != member.member_id and !$member->modPermission() and !$member->isAdmin()}}
		{{if $member->members_bitoptions['bw_is_spammer']}}
			<li data-ipsTooltip title="{lang="spam_unflag"}" class="ipsType_light"><a href='{url="app=core&module=system&controller=moderation&id={$member->member_id}&s=0&referrer={$referrer}" seoTemplate="flag_as_spammer" seoTitle="$member->members_seo_name" csrf="true"}' data-confirm data-confirmSubMessage="{lang="spam_unflag_confirm"}"><i class="fa fa-flag"></i></a></li>
		{{else}}
			<li data-ipsTooltip title="{lang="spam_flag"}" class="ipsType_light"><a href='{url="app=core&module=system&controller=moderation&id={$member->member_id}&s=1&referrer={$referrer}" seoTemplate="flag_as_spammer" seoTitle="$member->members_seo_name" csrf="true"}' data-confirm><i class="fa fa-flag"></i></a></li>
		{{endif}}
	{{endif}}
	{{if member.canWarn( $member )}}
		<li data-ipsTooltip title="{lang="warn_user_title"}" class="ipsType_light"><a href="{$addWarningUrl}" data-ipsDialog data-ipsDialog-title='{lang="warn_user"}'><i class="fa fa-exclamation-triangle"></i></a></li>
	{{endif}}
</ul>

add it to the EnhancedUserInfoPanel html template at the end or wherever you want it

image.png.d3cf0afe755ace2b9195aeb989871d8d.png

- i tried to do this, will not work!

 

On 12/5/2019 at 9:58 AM, sebastiancgames said:

leave the website link please.

- www.furious.ro

Edited by Adryyy
Link to comment
Share on other sites

On 12/9/2019 at 7:45 PM, Adryyy said:

- i tried to do this, will not work!

 

- www.furious.ro

Change these code with the codes i offers.

.ipsUserPhoto {
    background: #fff;
    vertical-align: middle;
    display: inline-block;
    line-height: 1px;
    position: relative;
    margin: 2px;
    border-radius: 150px;
}

change it in :

.ipsUserPhoto {
    background: #fff;
    vertical-align: middle;
    display: inline-block;
    line-height: 1px;
    position: relative;
    margin: 2px;
}

after change this :

.euip_AvatarSize img, img.euip_AvatarSize, .euip_AvatarSize::after {
    border-radius: 30px;
}

in this :

.euip_AvatarSize img, img.euip_AvatarSize, .euip_AvatarSize::after {
    border-radius: 0px;
}

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...