mybb2 icon indicating copy to clipboard operation
mybb2 copied to clipboard

Signup / Login links

Open Hackmastr opened this issue 9 years ago • 4 comments

<a {{ modal_attributes('auth/signup', {'url': current_path()}, false) }} class="multi-link">
    <i class="fa fa-user"></i>
    <span class="text">{{ trans('member.signup') }}</span>
</a>

Doesn't work, if we hardcode it to:

<a {{ modal_attributes('/absolute/path/auth/signup', {'url': current_path()}, false) }} class="multi-link">
    <i class="fa fa-user"></i>
    <span class="text">{{ trans('member.signup') }}</span>
</a>

It works

Hackmastr avatar Apr 10 '16 21:04 Hackmastr

Interesting. I need to look at what modal_attributes actually does.

euantorano avatar Apr 10 '16 21:04 euantorano

I changed modal url in ModalAttributes.php file, I added also index.php because my hosting is stupid. https://github.com/chack1172/mybb2/commit/1d0ceba9b9e9d2363640536889ff5292b3230358

chack1172 avatar Jun 27 '16 13:06 chack1172

@euantorano this may have something to do with the way we are getting the modal in javascript

xaoseric avatar Dec 16 '16 23:12 xaoseric

Yeah, I’m going to rewrite the modal class this weekend hopefully and hopefully resolve this once and for all :)

On 16 Dec 2016, at 23:03, Eric Hocking [email protected] wrote:

@euantorano https://github.com/euantorano this may have something to do with the way we are getting the modal in javascript

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mybb/mybb2/issues/208#issuecomment-267717261, or mute the thread https://github.com/notifications/unsubscribe-auth/AAttcRdIFtF0457XcYQQPSQ8yV1kcfJPks5rIxi9gaJpZM4ID8h5.

euantorano avatar Dec 16 '16 23:12 euantorano