Jump to content

不中用

Members
  • Posts

    1,093
  • Joined

  • Days Won

    1

 Content Type 

Profiles

Downloads

IPS4 Providers

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Forums

Store

Everything posted by 不中用

  1. . Yes .. like you said " the software's needs " .. But that doesn't mean it has to be switched off all the time and globally .. It's a lazy coding way to avoid a problem .. And posted everywhere on the net to tidy up server security, for Apache, Nginx and etc .. it's all in the server configuration .. not that PHP have to fiddle with such things all the time .. . IPS never advised before to set server configuration without X-XSS-Protection which is very weird if they wanna switch it off (zero) and then server config switched in on (1) again .. having now 2 headers with 0 and 1 setting, which one will give priority ? And I guess browsers will soon not look at this header anymore to flag a warning, it will be a default setting to have xss protection always on .. .
  2. X-XSS-Protection is set to 0 (zero) by Output.php .. Is this still needed to force/add another header? Mostly all servers are already configured to set X-XSS-Protection to 1 .. Now I have this 2x times in my headers .. .
  3. . Do you have a custom theme ? It's like those ratings are at a wrong place in your HTML? .
  4. . Maybe you can solve this by just using CSS in you signatures .. you can for example remove whatever you want by setting it to " display: none; " .. That would be a quickest solution & spread the message on your site that you not allow .. .
  5. . That is actually true .. no groups at the renewal settings .. and even coupons (if you work with %) don't work on renewals .. that's a big gap in "not complete" .. of course you can make duplicate products that only those groups can see and adjust renewal price .. .
  6. . I've used the same class names IPS already coded .. I've adjusted the globalTemplate .. From this .. <main role='main' id='ipsLayout_body' class='ipsLayout_container'> To this .. <main role='main' id='ipsLayout_body' class='ipsLayout_container {{if \IPS\Member::loggedIn()->member_id }}cSignedIn{{else}}cSignedOut{{endif}}'> So everywhere on the site I can use CSS like this .. #ipsLayout_body.cSignOut [[some other value here]] { .. } To distinguish guests from logged in members/clients .. .
  7. . Members > Groups > [[select a group to edit]] > Content > Editing .. Can edit own content? Edit time restriction Can edit silently? Did you try with those settings ? .
  8. . Why we need an app? As most mobile browsers can have full screen and can produce a shortcut (link) on your mobile desktop .. and our IPS package has a responsive layout to deal with all mobile devices .. that said .. it is very simple to get a branded name app made (cheap) .. if the app has just a browser function that only is locked to your domain .. tweak CSS further .. make an in-app loop icon . have some fixed 4 button functions and that's it .. no logos or pictures need to be in-app .. what you change on the server will change your app .. improve caching .. and yes .. if needed, an extra JavaScript in-app that catch the notifications to push them to your mobile (not really needed) .. .
  9. . @Rikki now cSignedOut & cSignedIn classes are only in the #ipsLayout_header .. it would be more useful if it is also existing in #ipsLayout_body .. For the moment only cSignedOut is used 1 time .. If it was possible to do #ipsLayout_body . cSignedOut in CSS then we could do much more in the front depending if users are logged in or not .. ex. like adjusting store layout for guest only ( price tags ) .. or accentuate more areas all over the site for guests only .. Thanks! .
  10. . If we can make jQuery to detect Guests .. that would be everyone that is not logged in .. or maybe there is a "not logged in" (or visa versa) class or id that we can call directly .. And then CSS the store to adjust what you wanna see .. removing the other price .. .
  11. . Would making a duplicate product do the trick ? and only show this product with the 1 price offer to only guest .. when they become "member":you can always use permission settings to "not show" that guest product but then "show" the member products .. .
  12. . Can it be that they create (in ACP) a Members > Profiles > Create New == Group Name = "Additional Information" and then adding fields to it ? .
  13. . My advice is .. keep using YouTube .. they are converting every uploaded video to different formats so that every app can play & optimize it .. If you wanna follow the same path .. you will need to find a PHP extension or maybe a server module (faster) that can convert videos to your liking .. Like "GD" and "ImageMagick" (PHP extension) does for pictures .. .
  14. . I have a database named "Bug Tracker" .. find those settings for your articles database .. like in the picture .. use 1 of those settings (green arrow) .
  15. A very needed admin feature is missing .. to reset or delete number of uses restriction per customer .. Removing the invoice/transaction/etc doesn't make any difference .. Specially if the payment failed and the coupon is used, if was limited to only use 1 coupon per customer (normal) .. customer didn't even had a choice to retry, coupon is not valid anymore .. It's partially a bug if this happens with the invoicing ..
  16. . Read the last part .. Thumbs up! .
  17. . And I was looking at it before "->first()" .. and never tried it out .. because I thought I was requesting just for 1 value ( file_id=8 ) .. Thanks a lot @Ahmad E. !! .
  18. . I can't access the database in PHP nor in Pages .. I follow "kind of" the logic I see in the source files .. I am missing something here? I want to retrieve the file version from a file in Downloads .. <?php require_once( 'init.php' ); \IPS\Session\Front::i(); $memCSRF = \IPS\Session::i()->csrfKey; $member = \IPS\Member::loggedIn(); $memName = $member->name; $memEmail = $member->email; $memID = $member->member_id; $fileVersion = \IPS\Db::i()->select( 'file_version', 'downloads_files', array( 'file_id=?', '8' ) ); ?> <!doctype html> <html> <head> <meta charset="utf-8"> <title>testing page</title> </head> <body> <p>Hello <?php echo $memName; ?></p> <p>File version: <?php echo $fileVersion; ?></p> <p><a href="logout/?csrfKey=<?php echo $memCSRF; ?>">Logout</a></p> </body> </html> the result I get is: (it should be a version number) Hello IN10TION File version: SELECT file_version FROM `downloads_files` WHERE file_id=? Logout In Pages I've tried: {{$member = \IPS\Member::loggedIn();}} {{$memName = $member->name;}} {{$fileVersion = \IPS\Db::i()->select( 'file_version', 'downloads_files', array( 'file_id=?', '8'));}} <strong>File $fileVersion</strong> and I get also same result: (it should be a version number) File SELECT file_version FROM `downloads_files` WHERE file_id=? I can't find any solution in the forums, so I ask here .. .
  19. . I guess it's something like that .. Not really a request for a new function .. it's a forgotten feature that had to be there from the beginning .. .
  20. . I've received my second reply yesterday evening (GMT+1) .. In short: Facebook Statuses (import & export) will be totally reviewed & reprogrammed .. Facebook made an update and so everything became outdated, with the result that things don't work .. Facebook login & profile sync works (that's the only thing) .. Don't request any review on Facebook to activate user_status & publish_actions .. They can't give a timeframe on the fix, but it stays high priority .. There is also a way to hide the export status functions for now, but I didn't try it yet .. .
  21. . How did you convinced them for publish_actions? It's the export statuses to Facebook right? I'm starting to doubt myself now .. I'm in a 2 week battle with Facebook to get it approved .. and still zero chance .. .
  22. . They are still working on my ticket .. with solving a bigger Facebook issue .. Will post back again if I have some more news .. .
  23. . Check under : Store > Products > choose a product > Store & purchase settings > Store Display > Description .
  24. . Thanks Daniel, but this is another issue .. this is about a " Facebook approval " on publish_actions .. my ticket is about a not working user_status (import from Facebook) .. If you can do a followup afterwards for publish_actions here that would be great .. Thanks .
×
×
  • Create New...