● Steam Profile Mod help

Sun Oct 31, 2021 10:03 am
Blabbing Noob
98 Posts
Reputation: 460.1
hi i finally bit the bullet to add the steam profile mod back on my site

i have come to 1 stumbling block when installing the code to LM-BlackMagic theme

on the very last code change

#
#-----[ OPEN ]------------------------------------------
#

public_html/themes/YOUR THEME/forums/profile_add_body.tpl

#
#-----[ FIND ]------------------------------------------
#

 <tr>
   <td>
     <span>{L_FACEBOOK}</span>
     <span></span>
   </td>
   <td><input></td>
 </tr>

#
#-----[ AFTER, ADD ]------------------------------------------
#

 <tr>
   <td>
     <span>{L_STEAM}</span>
     <span></span>
   </td>
   <td><input></td>
 </tr>

#
#-----[ SAVE & CLOSE ]------------------------------------------
#


i open the file and i cant find the code that needs to be changed the closest thing i can find is this code

<div>

<div>
<label>{L_FACEBOOK}</label>
<div>
<input>
<small>https://facebook.com/<span>face.book.2019</span></small>
</div>
</div>


everything else installed fine its just this last edit that i need some help with

its probably a simple fix but im not very good with code ok with copy and pasting with instruction


Please login to see this link
Get registered or Log in
Sun Oct 31, 2021 3:52 pm
Clan Leader
Top Dog
Nuke Dev / Coder
3015 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 77.7hrs.
Total Played: 195hrs.


  
There is life outside of the game.
Reputation: 7317.9
votes: 7
It's all good. The BM theme is responsive using bootstrap, and the instructions were for the default style themes that Evo has been running this whole time.
Hopefully we can come out with a new base template that all theme developers can build off, so mods can be easier to install.

This is what I did, Open that file and do the following.

Find:

Code: [ Select all ]

            <div class="tab-pane fade" id="public-info" role="tabpanel" aria-labelledby="public-info-tab">

               <div class="form-group row mx-0">
                  <label for="facebook" class="col-12 col-lg-6 px-0">{L_FACEBOOK}</label>
                  <div class="col-12 col-lg-6 px-0">
                     <input class="form-control" type="text" name="facebook" id="facebook" value="{FACEBOOK}">
                     <small id="facebookHelpBlock" class="form-text text-muted">https://facebook.com/<span>face.book.2019</span></small>
                  </div>
               </div>




Add After:

Code: [ Select all ]

               <div class="form-group row mx-0">
                  <label for="steam" class="col-12 col-lg-6 px-0">{L_STEAM}</label>
                  <div class="col-10 col-lg-5 px-0">
                     <input class="form-control" type="text" name="steam" id="steam" value="{STEAM}">
                  </div>
                  <div class="col-2 col-lg-1 px-0 d-flex justify-content-center align-items-center"><span class="tooltip-interact evo-sprite help float-right" title="{L_STEAM_EXPLAIN}"></span></div>
               </div>
Sun Oct 31, 2021 4:15 pm
Original Poster
Blabbing Noob
98 Posts
Reputation: 460.1
thanks corpse i have added but not sure were it will show

thanks again  :D

i found were it shows thanks


 
Tue Mar 15, 2022 3:31 pm
Spammer
130 Posts
Zardos
Currently Offline
Offline
  
Doesn't like playing games!
Reputation: 846.4
Hi coRpSE, looking for this all afternoon LOL, just one part that is playing me up, that's in the admin /plugins app id.

Expand

Expand

I put the id in but it disappears, should it do that. I have in LM-Magic and BF4-Multi and both do the same.


Please login to see this link
Get registered or Log in
Tue Mar 15, 2022 3:45 pm
Clan Leader
Top Dog
Nuke Dev / Coder
3015 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 77.7hrs.
Total Played: 195hrs.


  
There is life outside of the game.
Reputation: 7317.9
votes: 7
Sounds like you fogot to do one of two things,

  1. Run the SQL that is found in the install instructions.

  2. Didn't do the edits found in the public_html/admin/modules/settings/functions.php


Those are the only two things I can think of off the top of my head that would be the issue.


 
Tue Mar 15, 2022 4:11 pm
Spammer
130 Posts
Zardos
Currently Offline
Offline
  
Doesn't like playing games!
Reputation: 846.4
Ok coRpSE will have another look see if i missed anything m8. by the another great addition the evo. Thanks CoRpSE



OK coRpSE thankyou very much m8, i put some of the code in the wrong place, now it works perfect. Thanks again m8.


 
Tue Mar 15, 2022 4:43 pm
Clan Leader
Top Dog
Nuke Dev / Coder
3015 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 77.7hrs.
Total Played: 195hrs.


  
There is life outside of the game.
Reputation: 7317.9
votes: 7
Glad to hear.


 
Forums ©