Jump to content

twisted89

Clients
  • Posts

    26
  • Joined

  • Last visited

 Content Type 

Profiles

Downloads

IPS4 Providers

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Forums

Store

Posts posted by twisted89

  1. Do you know the URL it requests for news so I can test? 

    EDIT:

     

    Nevermind, managed to find it. Seems my server can't reach remoteservices.invisionpower.com, pinging works fine from my PC but get host unreachable from my server. Submitted a support ticket to host. 

  2. I've randomly started getting 504 timeouts attempting to access any part of my forum Admin Panel, increasing my PHP time outs to 300 I finally managed to login but it's extremely slow.

    I enabled slow log and it's reporting this, seems to be an issue fetching the news? 

    script_filename = index.php
    [0x00007fa1bfe1e610] curl_exec() system/Http/Request/Curl.php:387
    [0x00007fa1bfe1e570] _execute() system/Http/Request/Curl.php:422
    [0x00007fa1bfe1e4a0] _executeAndFollowRedirects() system/Http/Request/Curl.php:298
    [0x00007fa1bfe1e430] get() applications/core/extensions/core/Dashboard/LatestNews.php:68
    [0x00007fa1bfe1e350] refreshNews() applications/core/extensions/core/Dashboard/LatestNews.php:48
    [0x00007fa1bfe1e2a0] getBlock() applications/core/modules/admin/overview/dashboard.php:59
    [0x00007fa1bfe1e180] manage() system/Dispatcher/Controller.php:96
    [0x00007fa1bfe1e100] execute() system/Dispatcher/Dispatcher.php:152
    [0x00007fa1bfe1e090] run() index.php:14

    The main admin page also shows this:

    image.png.1b684ae07e6b9ce928daf0a08962e1ca.png

    Seems like there's a ridiculously long timeout trying to fetch the Invision news which is blocking everything. 

     

    EDIT: 

     

    I've commented out the following as a temporary fix, can someone confirm this is an Invision issue and not related to my server?

    	protected function refreshNews()
    	{
    		//\IPS\Data\Store::i()->ips_news = json_encode( array(
    		//	'content'	=> \IPS\Http\Url::ips( 'news' )->request()->get()->decodeJson(),
    		//	'time'		=> time()
    		//) );
    	}

     

  3. On 7/27/2017 at 8:09 PM, Veilon said:

    Download from scratch the latest version of the style.

    Fixed ) I forgot about that, my fault, sorry. Update is ready, now taking inventory of all styles of errors and most likely tomorrow I will upload update.

    It's genuinely amazing how many times you've said you've fixed this yet it's STILL broken in the latest version, I mean, seriously??? 

    Also the username text whilst typing a username in the compose new message section is white and therefore completely hidden in the background. Please fix! 

    8ksF6J9.png

  4. 10 minutes ago, FGN said:

    is this a must do??

    Cause i'm not that good at this and what i just did was very easy

    Its working perfectly, so i need to know if i must do this? and if so, can i plz get some help cause i don't want to throw anything off

    It's fine,

    For fixed search bar add the following to end of 'userBar' template

    {{if theme.veilon_header_search}}
    {{if theme.veilon_search_guest}}
    {template="searchBar" app="core" group="global" params=""}
    {{else}}
    {{if \IPS\Member::loggedIn()->member_id }}
    {template="searchBar" app="core" group="global" params=""}
    {{else}}
    {{endif}}
    {{endif}}
    {{else}}
    {{endif}}

     

  5. If you want fixed mobile icons paste below into 'mobileNavigation' template overwriting original.  

    <div id='elMobileDrawer' class='ipsDrawer ipsHide'>
    	<a href='#' class='ipsDrawer_close' data-action='close'><span>&times;</span></a>
    	<div class='ipsDrawer_menu'>
    		<div class='ipsDrawer_content'>
    			{{if \IPS\Member::loggedIn()->member_id}}
    				<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> {{if member.notification_cnt}}<span class='ipsNotificationCount' data-notificationType='notify'>{member="notification_cnt"}</span>{{endif}}
    						</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> {{if \IPS\Member::loggedIn()->msg_count_new}} <span class='ipsNotificationCount' data-notificationType='inbox'>{member="msg_count_new"}</span>{{endif}}
    							</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>
    			{{endif}}
    
    			<div class='ipsSpacer_bottom ipsPad'>
    				<ul class='ipsToolList ipsToolList_vertical'>
    					{{if \IPS\Member::loggedIn()->member_id}}
    						<li>
    							<a href='{url="app=core&module=system&controller=login&do=logout" csrf="true"}' class='ipsButton ipsButton_light ipsButton_small ipsButton_fullWidth'>
    								{{if isset( $_SESSION['logged_in_as_key'] )}}{lang="switch_to_account" sprintf="$_SESSION['logged_in_from']['name']"}{{else}}{lang="sign_out"}{{endif}}
    							</a>
    						</li>
    					{{else}}
    						<li>
    							<a href='{url="app=core&module=system&controller=login" seoTemplate="login"}' class='ipsButton ipsButton_light ipsButton_small ipsButton_fullWidth'>{lang="sign_in"}</a>
    						</li>
    						{{if \IPS\Settings::i()->allow_reg}}
    							<li>
    								<a href='{url="app=core&module=system&controller=register" seoTemplate="register"}' id='elRegisterButton_mobile' class='ipsButton ipsButton_small ipsButton_fullWidth ipsButton_important'>{lang="sign_up"}</a>
    							</li>
    						{{endif}}
    					{{endif}}
    
    					{{if \IPS\Member::loggedIn()->member_id}}
    						<li>
    							<a class='ipsButton ipsButton_small ipsButton_primary ipsButton_fullWidth' data-action="markSiteRead" data-controller="core.front.core.markRead" href='{url="app=core&module=system&controller=markread" seoTemplate="mark_site_as_read" csrf="true"}'><i class='fa fa-check'></i> {lang="mark_site_read_button"}</a>
    						</li>
    					{{endif}}
    				</ul>
    			</div>
    
    			<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}}
    							<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>
    			                <li><a href='{url="app=core&module=members&controller=ignore" seoTemplate="ignore"}'>{lang="menu_manage_ignore"}</a></li>
    							{{if ( \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'modcp' ) ) AND \IPS\Member::loggedIn()->modPermission() ) or ( \IPS\Member::loggedIn()->isAdmin() AND !\IPS\Settings::i()->security_remove_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\Settings::i()->security_remove_acp_link }}
    									<li><a href='{expression="\IPS\Http\Url::baseURL( ( \IPS\Settings::i()->logins_over_https ) ? \IPS\Http\Url::PROTOCOL_HTTPS : \IPS\Http\Url::PROTOCOL_RELATIVE ) . \IPS\CP_DIRECTORY"}' target='_blank'>{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()}'>{$item->title()}</a></li>
    						{{endif}}
    					{{endif}}
    				{{endforeach}}
    			</ul>
    		</div>
    	</div>
    </div>

     

  6. 1 hour ago, Veilon said:

    Hello. All appeals to us with a problem in the themes are resolved in the near future. We have sent you instructions to fix if you are not able to solve it yourself, then we ask for access to ACP and solve it. You can ask the other user that any data on their forum was not injured.

    Set up a mirror site for you to use, check PM's. 

  7. 2 hours ago, Veilon said:

    You can disable SVG icons in settings.(Theme settings -> Other -> Enable UserNav SVG Icons  -> OFF)

    I'm tired of making excuses for mistakes, which I am not guilty. When you first install the theme, the fonts that are icons in usernav not loaded with resources. To refresh the cache of these resources, you must update any stylesheet that uses this resource, ie veilon.css. In 100% of cases when I do it, everything starts to work.

     

    There are multiple people complaining about an bug and you're 'tired of making excuses for mistakes'?? I paid for a theme, I expect it to work as advertised. 

    I have disabled SVG icons, cleared both the server and browser cache and the icons still fail to show in the mobile view. Instead of blaming your customers why don't you help try and actually diagnose the problem?

    Also, I assumed you meant _velion.css, I have no css file named just 'veilon.css'

    QiZxJ4y.png

  8. On 5/11/2017 at 5:37 PM, Veilon said:

    Go to ACP -> Look at feel -> edit html / css -> Edit css -> veilon.css Make absolutely any change to the file (Write and erase any character) and save the file.

    Still doesn't work, I think this is an issue with the theme. Including the guy above that's 3 people reporting missing icons. 

     

    Edit:

    Would appear to be related to only SVG images, looking at resources it has this 

    NfOkF7f.png

    Trying to follow the link to the icon gives me a 404 as only directs to  {website}/forum/uploads/ 

    I can't find any of these SVG images on my filesystem, would appear they're plain not getting installed. 

×
×
  • Create New...