Limited-Time Donation Special!
Upgrade to Snow for $20 USD and receive a free copy of Oblivion Light ($5 discount).
Upgrade to +Blizzard for $35 USD and receive a free copy of Oblivion Light ($15 discount).

Please visit the thread below for more details.
CLICK HERE

Contact @Davlin with questions or comments.

Jump to content

John

Elite Members
  • Content count

    216
  • Joined

  • Last visited

  • Days Won

    11

John last won the day on June 19 2017

John had the most liked content!

Community Reputation

109 Outstanding

1 Follower

About John

  • Rank
    Tainted Flake

Profile Information

  • Gender
    Male
  • Version
    4.2

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. its a mod for ipboard but its not perfected it targets profile fields and parses them to whatever desired effect you want on the profile page, since its not a tutorial i did not put it on the ipboard 4 forum, its an experiment where i parsed a profile field into a youtube embed where the user can have a youtube profile video, i know a mod for that is out already but it doesnt stop with just that you can do much more with this that was just the example used to show you how to parse the profile field on the profile page
  2. Been so many months that i haven't been on IPS Community and on Webflake in general, this is a community to which i learned a lot and opened my knowledge greatly. I am so glad that I could have been a part of this community, whilst meeting people in general here was not my strong point I can appreciate the fact that we all came together to solve, mod and learn new things about both IPS Community, Xenoforo and all other web software available here. My reasons for leaving this place behind is all due to time and irl goals i have begun to set for myself, time needs to be dedicated to it now so it will blossom well in the future with that said guys I hope the community remains well and active and that it continues to evolve and grow Well wishing to the staff and all members of Webflake Signing off John
  3. PLEASE READ FULLY BEFORE DOING ANY CHANGES TO YOUR THEMES I HOLD NO RESPONSIBILITY FOR ANY OUTCOME OR MISHAP THAT MAY HAPPEN TO YOUR BOARD WHETHER BY IMPLEMENTATION OR MISUSE OR SECURITY BREACHES TO YOUR WEBSITE, BELOW IS JUST AN EXPERIMENT THAT I HAVE BEEN WORKING ON FOR THE PAST 2 YEARS AND I AM JUST RELEASING THE FINDINGS OF IT TO THE COMMUNITY this is just a note/mention/discovery/experiment of using pfield groups and parsing them (yup parsing them as in the example using them to embed something on the profile) on IPS Community before we begin first thing you should note is that it is not possible to have a selective field within a group parsed meaning if you have more than one field for that particular group in the profile it will parse them all the same might sound weird when i say it like that considering you wont have the basic idea yet so a test is in order First thing you do is Create a new profile field group to do this you go into Admin Panel Under member settings "Profiles" hit the orange button called "+ Create New" for this step we name it "test" (name is not important at this time though) Create a field within the profile group Next on the agenda we make a field within the group, we just added hit the "+" button when you hover over it you will see it as "add profile field" name it "test" (name not so important at the moment) Editing theme for desired result now that the two things have been added lets get a little technical first thing we do is go into Appearances > Theme Select the theme you wish for editing and hit the </> button now navigate to the core > front > profile > profile template find <div class='ipsWidget_inner ipsPad'> <ul class='ipsDataList ipsDataList_reducedSpacing cProfileFields'> {{foreach $fields as $field => $value}} {{if $value !== ""}} <li class='ipsDataItem ipsType_break'> <span class='ipsDataItem_generic ipsDataItem_size3 ipsType_break'><strong>{lang="$field"}</strong></span> <div class='ipsDataItem_generic'><div class='ipsType_break ipsContained'>{$value|raw}</div></div> </li> {{endif}} {{endforeach}} </ul> </div> now we are doing some modifications to that code in this step you will see the difference below {{if $group == core_pfieldgroups_2}}{{foreach $fields as $field => $value}}<iframe width="100%" src="https://www.youtube.com/embed/{$value|raw}" frameborder="0" allowfullscreen></iframe>{{endforeach}}{{else}} <div class='ipsWidget_inner ipsPad'> <ul class='ipsDataList ipsDataList_reducedSpacing cProfileFields'> {{foreach $fields as $field => $value}} {{if $value !== ""}} <li class='ipsDataItem ipsType_break'> <span class='ipsDataItem_generic ipsDataItem_size3 ipsType_break'><strong>{lang="$field"}</strong></span> <div class='ipsDataItem_generic'><div class='ipsType_break ipsContained'>{$value|raw}</div></div> </li> {{endif}} {{endforeach}} </ul> </div>{{endif}} Note the difference above is {{if $group == core_pfieldgroups_2}}{{foreach $fields as $field => $value}}<iframe width="100%" src="https://www.youtube.com/embed/{$value|raw}" frameborder="0" allowfullscreen></iframe>{{endforeach}}{{else}} and the endif added at the end of the div it is also worth noting that core_pfieldgroups_{group number) is important to selecting the group the opening and closing foreach and the contents within the opening foreach tag" $fields as $field =>$value" minus the opening and closing quotations and lastly the {$valuie|raw} is the content within the group, the profile field itself Edit the profile field go to profile and edit the "test" profile field in user settings add the following below eKBbUdfvwrU ID taken from this link below https://www.youtube.com/watch?v=eKBbUdfvwrU the above i chose in the demonstration allows you to parse the field group 2 with a youtube embed, meaning if you do not take the youtube id and paste it into the profile field within the user settings it will not show or parse right Your embed might not work the first time try changing the number in core_pfieldgroups_2 with a different number and you may achieve the desired outcome you can also do other mods with it this experiment was just meant for testing if you could specifically target a profile field there are more things this is capable of how i have not the time to experiment with it more than i would have liked to the end result is just this You are free to experiment with it in any ways you wish just be careful with how and what it is you are doing for people that do not have a general idea of modding and wish to use this be careful get someone that can use codes and knows their way around the software else you could end up breaking the page or even worse security risks if you do not know what you are doing.
  4. @iGreen well glad u got it working man or atleast found an alternative, sorry if my method didnt work for u tho, would have been nice to find out why it wasnt working for u in the first place so i could fix it or at least amend it for future people so they dont encounter what u did no offense dude but that code you used was first created and used by me without the minor mod of cAuthorPane in css you found/made and was first placed on webflake back in June 2015 by me, wherever you found that code just wanted you to know that i developed that code and it took me 1 and a half years of updating and experimenting with it before it reached where you got it from, yet I was never credited or acknowledged for what i did, sad really but my current code does work and it is less clustered than the current one there well anyway man i got a fix for that default avatar which you had to manually link on that code in the thread use this and you wouldnt need to set the default path manually anymore <img src="{resource="default_photo.png" app="core" location="global"}" /> lastly everyone is free to use whatever version they like so long as they get the result they so desire really hope they don't have much problems with the steps i laid out in the first post though
  5. did u by chance try following instructions on the first page of this thread? just checked it out and edit is working fine for the theme also make sure that it is not the <div class="cAuthorPane_photo"> u are changing to userphoto2 and <li class="cAuthorPane"> instead cause that one in postContainer is for the mobile version of your forum and not the main forum version
  6. what the i kno that person from here, seems he used a lot he learned over here and did a script then sold in on the marketplace ah well his code isnt perfect but its got majority of the collective codes that can be found on this website i must commend him on doing something amazing like that while i now break it apart and reconstruct it, maybe i can sell it on the webs for lots of cookies afterwards? jk jk anyway lets start with the dissection and repairing this <li class='ipsType_light andrew-modern-topic'><span class='st'><i class="fa fa-check-circle"></i> Title:</span><span class='dr'>{$comment->author()->member_title}</span></li> to {{if $comment->author()->member_title & $comment->author()->rank['title']}} <li class='ipsType_light andrew-modern-topic'><span class='st'><i class="fa fa-check-circle"></i> Title:</span><span class='dr'>{$comment->author()->member_title}</span></li>{{else}}<li class='ipsType_light andrew-modern-topic'><span class='st'><i class="fa fa-check-circle"></i> Title:</span><span class='dr'>{$comment->author()->rank['title']}</span></li>{{endif} and to hide the reputation next to your name look for this part of the code in postContainer <h3 class='ipsType_sectionHead cAuthorPane_author ipsType_blendLinks ipsType_break' itemprop="creator" itemscope itemtype="http://schema.org/Person"><strong itemprop="name">{$comment->author()->link( $comment->warningRef() )|raw}</strong> <span class='ipsResponsive_showPhone ipsResponsive_inline'>&nbsp;&nbsp;{template="reputationBadge" group="global" app="core" params="$comment->author()"}</span></h3> and change the <span class='ipsResponsive_showPhone ipsResponsive_inline'> to <span class='ipsResponsive_hidePhone ipsResponsive_inline'> and ur basically done
  7. thats cause of the profile fields being hidden from the the mobile version, its possible to show it tho but if u do so u wont be able to single out one custom profile field over another thats targeted for the postContainer and everything will be loaded on the mobile version which could possibly end up making your postContainer deformed
  8. add a div class to your profile field and use the css below should get the results u wanted <div class="renametowhatever">{profile field contents}</div> .renametowhatever { position: absolute; z-index: 1; top: 160px; left: 120px; } hmm?
  9. encountered this before, not sure its a fix for the problem but worth trying once inside the admin control panel, go to System > Support During Step 1 select "Something isn't working correctly" and hit Continue, the software will recache the website and should fix it, if its not fixed then it should at least show u what the problem is again not saying it will work but worth trying
  10. You can try this. My suggestion is to do this in custom.css, so as to not affect the actual code within the theme .ipsUserPhoto { background: transparent; } and i believe ipsUserPhoto is also found in misc.css if you are looking for the code
  11. a welcome to u fellow John
  12. @Frenvius thanks for bringing it to my attention the fix is here just replace the entire code in "userPhoto2" that you created {{if $member->member_id and \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'members' ) )}} {{$memberURL = ( $warningRef ) ? $member->url()->setQueryString( 'wr', $warningRef ) : $member->url();}} <a href="{$memberURL}" {{if $hovercard}}data-ipsHover data-ipsHover-target="{$memberURL->setQueryString( 'do', 'hovercard' )}"{{endif}} class="ipsUserPhoto ipsUserPhoto_{$size}{{if $classes}} {$classes}{{endif}}" title="{lang="view_user_profile" sprintf="$member->name"}"> <img src='{{if $member->pp_main_photo}}{file="$member->pp_main_photo"}{{else}}{file="$member->photo"}{{endif}}' alt='{$member->name}'> </a> {{else}} <span class='ipsUserPhoto ipsUserPhoto_{$size} {{if $classes}}{$classes}{{endif}}'> <img src='{file="$member->photo"}' alt='{$member->name}'> </span> {{endif}}
  13. Invision Power Board had already implemented the code into their system but somewhere along the lines the code got broken and before long you needed a plugin to fix it. This fix however is really simple and doesnt require any plugins, it fixes the userlink formatting pretty much all over the website. Step 1: Go to the theme you want to implement the fix to, and select the HTML Template "userLink" its found under core > front > global Step 2: Replace the entire code in "userLink" with the following below {{if $member->member_id AND \IPS\Member::loggedIn()->canAccessModule( \IPS\Application\Module::get( 'core', 'members' ) ) }}<a href='{{if $warningRef}}{$member->url()->setQueryString( 'wr', $warningRef )}{{else}}{$member->url()}{{endif}}' data-ipsHover data-ipsHover-target='{$member->url()->setQueryString( array( 'do' => 'hovercard', 'wr' => $warningRef, 'referrer' => urlencode( \IPS\Request::i()->url() ) ) )}' title="{lang="view_user_profile" sprintf="$member->name"}" class="ipsType_break">{$member->group['prefix']|raw}{$member->name}{$member->group['suffix']|raw}</a>{{endif}} and your done just reload your forum and you will see the difference
×