Jump to content
  • Sign Up

S!r.ReaDy

Blizzard
  • Posts

    383
  • Joined

  • Last visited

  • Days Won

    23

Everything posted by S!r.ReaDy

  1. This is definitely made using templates and a database. It looks very similar to the Release- Notes, but using categories. You can play around and change it. I will try to test my edits and will be back.
  2. TUTORIAL FOR 2.0 .avatar-frame-container { width: 200px; height: 150px; display: flex; align-items: center; justify-content: center; background-repeat: no-repeat; margin-top: -115px; } .avatar-frame { background-repeat: no-repeat; position: absolute; display: block; width: 135px; height: 135px; z-index: 5; display: flex; align-items: center; justify-content: center; margin-right: -1px; margin-top: -3px; } .owner { background-image: url("images/avatar-frame-owner.png"); } .admin { background-image: url("images/avatar-frame-admin.png"); } .message-avatar-frame { z-index: 1; width: 135px; height: 135px; } Replace this code in messages_macro, in the correct part <div class="message-avatar-wrapper"> <div class="avatar-frame-container"> <xf:if is="{$user.user_group_id} == 3"> <div class="avatar-frame admin"> <xf:elseif is="{$user.user_group_id} == 4"/> <div class="avatar-frame mod"> <xf:elseif is="{$user.user_group_id} == 10"/> <div class="avatar-frame admin"> </xf:if> <xf:if is="{$user.user_group_id} == 3 || {$user.user_group_id} == 4 || {$user.user_group_id} == 10"> </div> </xf:if> </div> This is my code that works.
  3. Invest in something my opinion For games there is always crack, what about MP, i dont see any game that deserves my money yet.
  4. I re-tested on my forum and it works. contact me in discord if you want this sorted out. S!r.ReaDy<3#3310 I can help you there,as here i cant use the private messages
  5. You have to be loggedin on the website with your account. Make sure your admin group is number 4, or change it the the corresponding number. ore&module=members&controller=groups&do=form&id=4 which for me is the admin one.If you use other group, change the number and make sure that group has admin permissions. Also i would suggest you add a .htaccess file to the admin folder to allow your ip and staff ip to login to ip, because it makes a redirect. order deny,allow deny from all allow from xxx.xxx.xxx.xxx ,xxx.xxx.xxx.xxx ,xxx.xxx.xxx.xxx where xxx, is your ip. If you still have error, PM me. @IamKangy
  6. I need help with if conditional for secondary groups. For primary groups would be like this <xf:if is="{$user.user_group_id} == 3"> <!-- Admin --> How to make a statement for secondary groups? thx
  7. Hi, if you wish to recreate the page for you .website, follow these instructions. Example page: https://invisioncommunity.com/admin go to admin folder, and open index.php, replace with following: <!DOCTYPE html> <html lang="en"> <head> <title>Invision Community Client Services</title> <link href='https://fonts.googleapis.com/css?family=Lato:400' rel='stylesheet' type='text/css'> <style type='text/css'>body,div,h1,h2,p{margin:0;padding:0}img{border:0}h1,h2{font-size:100%;font-weight:normal}body {background: #eaeaea;font-family: helvetica, arial, tahoma, sans-serif;}header {height: 70px;background: #232323;}header img {margin-top: 14px;}.container {width: 980px;margin: 0 auto;}article {background:white;padding: 60px 15px;margin: 15px 0;border-radius: 6px;box-shadow: 0px 2px 0px rgba(0,0,0,0.1);}h1 {font-family: 'lato';font-size: 44px;text-align: center;margin-bottom: 15px;}p {font-family: 'lato';font-size: 24px;color: #7c7c7c; width: 700px;margin: 0 auto;text-align: center;}</style> </head> <body> <header> <div class='container'> <img src='https://www.invisionpower.com/downclown/logo.png' alt='Invision Power Services' /></div> </header><div class='container'> <?php define('READ_WRITE_SEPARATION', FALSE); define('REPORT_EXCEPTIONS', TRUE); require_once '../init.php'; \IPS\Session\Front::i(); // If member is logged in and is admin, will auto redirect to Dashboard, if member not admin, this error will apprear. Admin group =4 . if(\IPS\Member::loggedIn()->member_group_id == 4) { \IPS\Dispatcher\Admin::i()->run(); } ?> <article><h1>Invision Community, Inc.</h1> <p>You must be a staff member to access this site.</p> </article> </div> </body> </html> Here is a reference how you can manipulate the IF statement regarding members: The Link You can make as well for custom pages, as a redirect : Ex, replace /IPS\Dispatcher\Admin::i()->run(); with \IPS\Http\Url::internal( 'app=core&module=APPLICATION&controller=APPLICATION&do=form&id=' ) . $row; or external link \IPS\Http\Url::external( 'http://your_site.com' )
  8. Updated for 2.1 New conditional in 2.1 <xf:if is="{{$user && $user.isMemberOf('3,4,6')}}"> Note: The css might be outdated. Extra.less .avatar-frame-container { height: 160px; display: flex; align-items: center; justify-content: center; background-repeat: no-repeat; margin-top: -115px; } .avatar-frame { background-repeat: no-repeat; position: absolute; display: block; width: 135px; height: 135px; z-index: 5; display: flex; align-items: center; justify-content: center; margin-right: -1px; margin-top: -3px; } .owner { background-image: url("images/avatar-frame-owner.png"); } .admin { background-image: url("images/avatar-frame-admin.png"); } .message-avatar-frame { z-index: 1; width: 135px; height: 135px; } message_macro <div class="message-avatar-wrapper"> <xf:avatar user="$user" size="m" defaultname="{$fallbackName}" itemprop="image" /> <xf:if is="$xf.options.showMessageOnlineStatus && $user && $user.isOnline()"> <span class="message-avatar-online" tabindex="0" data-xf-init="tooltip" data-trigger="auto" title="{{ phrase('online_now')|for_attr }}"></span> </xf:if> <div class="avatar-frame-container"> <xf:if is="{{$user && $user.isMemberOf('3')}}"> <div class="avatar-frame admin"> <xf:elseif is="{{$user && $user.isMemberOf('4')}}"/> <div class="avatar-frame mod"> <xf:elseif is="{{$user && $user.isMemberOf('10')}}"/> <div class="avatar-frame admin"> </xf:if> <xf:if is="{{$user && $user.isMemberOf('3')}} || {{$user && $user.isMemberOf('4')}} || {{$user && $user.isMemberOf('10')}}"> </div> </xf:if> </div> </div> Tutorial for 2.0 is below!
  9. I am going with HMA pro for more than 5 years.
  10. An announcement I'm working on 31 -1st.
  11. S!r.ReaDy

    Widget

    I know its a silly question still. I have a problem with the widget bot. I still can send messages from it to discord even though the role permissions are set NOT to send messages and NOT to manage webhooks. Is there any way to "refresh" the widget or need something else? To the staff. Thanks.
  12. S!r.ReaDy

    bf5

    Prosthesis in ww2, so pero
  13. S!r.ReaDy

    IPB 4 or 3

    ipb4 is full of features , yet .. its u to u
    I know russian , app works good. I can translate the app and upload somewhere if the staff agrees. (no other changes)
  14. That did the trick, but it doesnt show the 'tag", curent release or beta or whatever i choose @Cookie Monster
  15. ok thx , i will try and let u know @Cookie Monster Tell me what to edit... idk :/ title is = titlefield_2 contnt = type adrees, and = field contentfield_2 whats wrong here the problem, how to fix ?
×
×
  • Create New...