Jump to content

WP V0RT3X

Clients
  • Posts

    646
  • Joined

  • Days Won

    5

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Everything posted by WP V0RT3X

  1. Replace mobileNavigation with this ... <div id='elMobileDrawer' class='ipsDrawer ipsHide'> <div class='ipsDrawer_menu'> <a href='#' class='ipsDrawer_close' data-action='close'><span>&times;</span></a> <div class='ipsDrawer_content'> {{if \IPS\Member::loggedIn()->member_id }} <div class='elMobileDrawer__user ipsFlex ipsFlex-jc:between ipsFlex-ai:center ipsFlex-fw:wrap'> <div class='ipsFlex-flex:11'> <ul class='elMobileDrawer__user-panel ipsList_reset ipsType_blendLinks ipsFlex ipsFlex-ai:center'> <li class='ipsMargin_right:half'> {template="userPhoto" group="global" app="core" params="\IPS\Member::loggedIn(), 'mini'"} </li> <li> <div class='ipsType_light'>{lang="logged_in_as_headline"}</div> <div class='ipsType_dark ipsType_large ipsType_bold'>{{if isset( $_SESSION['logged_in_as_key'] )}}{lang="front_logged_in_as" sprintf="$_SESSION['logged_in_from']['name']"} {{endif}}{{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'members', 'front' ) )}}<a href='{member="url()"}' title='{lang="view_my_profile"}'>{member="name"}</a>{{else}}{member="name"}{{endif}}</div> </li> </ul> </div> <ul id='elUserNav_mobile' class='ipsList_inline signed_in ipsClearfix'> <li class='cNotifications cUserNav_icon'> <a href='#elMobNotifications_menu' id='elMobNotifications' data-ipsMenu data-ipsMenu-menuID='elFullNotifications_menu' data-ipsMenu-closeOnClick='false'> <i class='fa fa-bell'></i> <span class='ipsNotificationCount {{if !member.notification_cnt}}ipsHide{{endif}}' data-notificationType='notify'>{member="notification_cnt"}</span> </a> </li> {{if !\IPS\Member::loggedIn()->members_disable_pm and \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'messaging' ) )}} <li class='cInbox cUserNav_icon'> <a href='#elMobInbox_menu' id='elMobInbox' data-ipsMenu data-ipsMenu-menuID='elFullInbox_menu' data-ipsMenu-closeOnClick='false'> <i class='fa fa-envelope'></i> <span class='ipsNotificationCount {{if !\IPS\Member::loggedIn()->msg_count_new}}ipsHide{{endif}}' data-notificationType='inbox'>{member="msg_count_new"}</span> </a> </li> {{endif}} {{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'modcp' ) ) and \IPS\Member::loggedIn()->modPermission('can_view_reports')}} <li class='cReports cUserNav_icon'> <a href='#elMobReports_menu' id='elMobReports' data-ipsMenu data-ipsMenu-menuID='elFullReports_menu' data-ipsMenu-closeOnClick='false'> <i class='fa fa-warning'></i> {{if \IPS\Member::loggedIn()->reportCount()}}<span class='ipsNotificationCount' data-notificationType='reports'>{member="reportCount()"}</span>{{endif}} </a> </li> {{endif}} </ul> </div> {{else}} <div class='ipsPadding'> <ul class='ipsToolList ipsToolList_vertical'> <li> <a href='{url="app=core&module=system&controller=login" seoTemplate="login"}' id='elSigninButton_mobile' class='ipsButton ipsButton_light ipsButton_small ipsButton_fullWidth'>{lang="sign_in"}</a> </li> {{if \IPS\Login::registrationType() != 'disabled'}} <li> {{if \IPS\Login::registrationType() == 'redirect'}} <a href='{expression="\IPS\Settings::i()->allow_reg_target"}' target="_blank" rel="noopener" class='ipsButton ipsButton_small ipsButton_fullWidth ipsButton_important'>{lang="sign_up"}</a> {{else}} <a href='{url="app=core&module=system&controller=register" seoTemplate="register"}' {{if \IPS\Login::registrationType() == 'normal'}}data-ipsDialog data-ipsDialog-size='narrow' data-ipsDialog-title='{lang="sign_up"}' data-ipsDialog-fixed='true'{{endif}} id='elRegisterButton_mobile' class='ipsButton ipsButton_small ipsButton_fullWidth ipsButton_important'>{lang="sign_up"}</a> {{endif}} </li> {{endif}} </ul> </div> {{endif}} <ul class='ipsDrawer_list'> {{if \IPS\Member::loggedIn()->member_id}} <li class='ipsDrawer_itemParent'> <h4 class='ipsDrawer_title'><a href='#'>{lang="mobile_menu_account"}</a></h4> <ul class='ipsDrawer_list'> <li data-action="back"><a href='#'>{lang="mobile_menu_back"}</a></li> {{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'members', 'front' ) )}} <li><a href='{member="url()"}' title='{lang="view_my_profile"}'>{lang="menu_profile"}</a></li> {{endif}} {{if \IPS\Member::loggedIn()->group['g_attach_max'] != 0}} <li><a href='{url="app=core&module=system&controller=attachments" seoTemplate="attachments"}'>{lang="my_attachments"}</a></li> {{endif}} {{if \IPS\Member::loggedIn()->hasAcpRestriction( 'core', 'promotion', 'promote_manage' ) and \IPS\core\Promote::promoteServices()}} <li><a href='{url="app=core&module=promote&controller=promote&do=view" seoTemplate="promote_manage"}'>{lang="promote_manage_link"}</a></li> {{endif}} {{if \IPS\Application::appIsEnabled('nexus') and settings.nexus_subs_enabled}} <li><a href='{url="app=nexus&module=subscriptions&controller=subscriptions" seoTemplate="nexus_subscriptions"}'>{lang="nexus_manage_subscriptions"}</a></li> {{endif}} <li><a href='{url="app=core&module=system&controller=followed" seoTemplate="followed_content"}'>{lang="menu_followed_content"}</a></li> <li id='elAccountSettingsLinkMobile'><a href='{url="app=core&module=system&controller=settings" seoTemplate="settings"}' title='{lang="edit_account_settings"}'>{lang="menu_settings"}</a></li> {{if settings.ignore_system_on}} <li><a href='{url="app=core&module=system&controller=ignore" seoTemplate="ignore"}'>{lang="menu_manage_ignore"}</a></li> {{endif}} {{if ( \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'modcp' ) ) AND \IPS\Member::loggedIn()->modPermission() ) or ( \IPS\Member::loggedIn()->isAdmin() AND \IPS\SHOW_ACP_LINK )}} {{if \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'modcp' ) ) AND \IPS\Member::loggedIn()->modPermission()}} <li><a href='{url="app=core&module=modcp" seoTemplate="modcp"}'>{lang="menu_modcp"}</a></li> {{endif}} {{if \IPS\Member::loggedIn()->isAdmin() AND \IPS\SHOW_ACP_LINK }} <li><a href='{expression="\IPS\Http\Url::baseURL() . \IPS\CP_DIRECTORY"}' target='_blank' rel="noopener">{lang="menu_admincp"} <i class='fa fa-lock'></i></a></li> {{endif}} {{endif}} </ul> </li> {{endif}} {{$primaryBars = \IPS\core\FrontNavigation::i()->roots();}} {{$subBars = \IPS\core\FrontNavigation::i()->subBars();}} {{foreach $primaryBars as $id => $item}} {{if $item->canView()}} {{$children = $item->children();}} {{if ( $subBars && isset( $subBars[ $id ] ) && \count( $subBars[ $id ] ) ) || $children}} <li class='ipsDrawer_itemParent'> <h4 class='ipsDrawer_title'><a href='#'>{$item->title()}</a></h4> <ul class='ipsDrawer_list'> <li data-action="back"><a href='#'>{lang="mobile_menu_back"}</a></li> {{if $item->link() && $item->link() !== '#'}} <li><a href='{$item->link()}'>{$item->title()}</a></li> {{endif}} {{if $children}} {template="mobileNavigationChildren" group="global" app="core" params="$children"} {{endif}} {{if $subBars && isset( $subBars[ $id ] ) && \count( $subBars[ $id ] )}} {template="mobileNavigationChildren" group="global" app="core" params="$subBars[ $id ]"} {{endif}} </ul> </li> {{else}} <li><a href='{$item->link()}' {{if method_exists( $item, 'target' ) AND $item->target()}}target='{$item->target()}'{{if $item->target() == '_blank'}} rel="noopener"{{endif}}{{endif}}>{$item->title()}</a></li> {{endif}} {{endif}} {{endforeach}} </ul> </div> </div> </div> <div id='elMobileCreateMenuDrawer' class='ipsDrawer ipsHide'> <div class='ipsDrawer_menu'> <a href='#' class='ipsDrawer_close' data-action='close'><span>&times;</span></a> <div class='ipsDrawer_content ipsSpacer_bottom ipsPad'> <ul class='ipsDrawer_list'> <li class="ipsDrawer_listTitle ipsType_reset">{lang="add"}...</li> {{foreach \IPS\Member::loggedIn()->createMenu() as $k => $url}} <li> <a href="{$url['link']}" {{if isset( $url['extraData'] )}} {{foreach $url['extraData'] as $data => $v}} {$data}="{$v}" {{endforeach}} {{endif}} {{if isset($url['title']) AND $url['title']}} data-ipsDialog-title='{lang="$url['title']"}'{{endif}} {{if isset($url['flashMessage'])}} data-ipsdialog-flashmessage="{lang="$url['flashMessage']"}"{{endif}} data-ipsdialog-fixed="true" >{lang="$k"}</a> </li> {{endforeach}} </ul> </div> </div> </div>
  2. Thanks, you can try it live in the demo thread. Worked with the majority of the vids I've tested, but on some it looks like embedding is disabled or something, but that can happen on YT too.
  3. https://invisionify.com/files/file/24-autoembed-odysee/😉
  4. The link is already in the code, you only need the {option}, which is the Insta-ID.
  5. It does, see screenshot above. What do you paste in the popup?
  6. Just to clarify because it was already asked on our forum... it looks like the owner of the rights to this theme is still Heosforo, no matter if he's not active here anymore. For this reason we will neither upgrade it to future IPS versions nor offer it for download.
  7. Do they have something that does not already exist on YouTube?
  8. You can keep the original proportions, just don't show them. I mean if you have a pic in portrait, orientate it at the top and leave out everything that's not in the square. Or center the images, even easier.
  9. Looks like this, just bigger That's Pages but should be possible with Gallery images too. Pretty swamped at the moment, but maybe I find some time next weekend.
  10. Every Instagram post comes with an embed code. The code contains the link to the post about 2 or 3 times (I change all of them at once with the editor). You have to replace the ID at the end of the link with {option}.
  11. https://invisionify.com/files/file/14-general-statistics/ Tested on 4.5 with the default theme and found no issues so far, also I have no info why this was banned from the Marketplace. It's at the moment basically the same version Pete handed us over.
  12. Facebook and Instagram embeds are not working at the moment, see here ...
  13. I hate contact forms, usually the first thing I deactivate. Simple infosite with contact details does the job too.
  14. Go to Instagram and copy the embed code of any post. In the code you will find the URL of the post too, for example https://www.instagram.com/p/CHgGzVBlhip/ Change that to https://www.instagram.com/p/{option}/ (multiple times). Edit other parts you don't want/need (like title, whatever). The go to Editor -> Toolbars -> Add Button. Use option and paste your edited HTML code. When you want to insert a post from Instagram, klick the new button and put the ID in the popup, in this case CHgGzVBlhip. The result looks like this ... That's how our forefathers did it before automatic embedding Like said this is only a temporary solution, but works just fine.
  15. If you really can't live without Instagram embeds, you could create a simple editor button as a temporary solution.
  16. What you are looking for is called "Zebra". With the search function of this site you should find some topics how to create that effect.
  17. Yes, totally ok. A user can build and show his collection on his profile.
  18. You can use the build in fields for that. On our site we use clubs for featured games, so I simply put the link to the club in a field, looks like this https://prnt.sc/vfh4xi Of course you can use topics too and place the field in the sidebar or below the main content of the game. @Adriano Faria your Books application seems to have a cool feature called Bookshelf. How about some kind of button a user can click and add a game to his collection? Must not be such powerfull like the Bookshelfs, maybe just a profile tab with the games they own?
  19. https://flashmodding.com/index.php?/files/file/53-club-categories/
  20. No, you can get the latest version for 4.5 on his site.
  21. IGDB is English only, but it's simply the best.
  22. Just install it via the Markeplace on your online testsite, download it from there and import it manually on your local install.
  23. Of course you can. As confirmed here in the forum by a staff member, a test installation does not need to be protected with .htaccess, the maintenance mode is sufficient.
×
×
  • Create New...