We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
  • Pages:
  • 1
  • 5
  • 9
Advanced Profile
Topic Started: May 11 2012, 09:19 AM (12,928 Views)
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Code Name: Advanced Profile

What the code does: Two versions available that gives profiles a different layout.

How to use the code: Install as instructed, no editing is required.

How to install the code:

Admin CP Posted Image Themes Posted Image Board Template Posted Image Below the Board

Version #1: Preview
Code:
 
<script type="text/javascript" src="http://z3.ifrm.com/63/1/0/p479149/advancedProfile.js"></script>
Version #2: Preview
Code:
 
<script type="text/javascript" src="http://z3.ifrm.com/63/1/0/p481677/advancedProfile2.js"></script>
Edited by Cory, Jul 30 2013, 08:07 AM.
Offline Profile Quote Post Goto Top
 
Replies:
Kankuro
Member Avatar
かんくろ
[ *  *  *  *  * ]
Cory
Dec 10 2014, 01:42 PM
It looks like I'm required to login to your test board, do I already have an account there?
I'll pre-register for you and send you the login details in a PM

EDIT: Member auto tools don't display.
Edited by Kankuro, Dec 10 2014, 02:47 PM.
Offline Profile Quote Post Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
The profile song and profile icon displays fine for me: http://w11.zetaboards.com/Gollum/profile/3813509/

Though, I do get a 'null' error for the profile icon code.

I'll look into fixing users content and member autotools.
Offline Profile Quote Post Goto Top
 
Kankuro
Member Avatar
かんくろ
[ *  *  *  *  * ]
Cory
Dec 15 2014, 08:26 PM
The profile song and profile icon displays fine for me: http://w11.zetaboards.com/Gollum/profile/3813509/

Though, I do get a 'null' error for the profile icon code.

I'll look into fixing users content and member autotools.
It doesn't show the profile song for me..Idk why I can see it on your board.
http://prntscr.com/5hbprm

Any clues? I'm using Firefox (newest version) and Windows 7. This is a big thing for my board and the Users Content doesn't even work without the profile song due to a glitch in it's coding.
Offline Profile Quote Post Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
The profile song appears on your profile for me now.

As for getting the user content to display, the user content table needs an ID attached to it.

http://z5.ifrm.com/30234/137/0/f5186079/PorfileSong.js

Basically, this:
Code:
 
<table class="profile" cellspacing="0">
Needs to be changed to this:
Code:
 
<table id="user_content" class="profile" cellspacing="0">
Offline Profile Quote Post Goto Top
 
Kankuro
Member Avatar
かんくろ
[ *  *  *  *  * ]
Cory
Dec 15 2014, 09:50 PM
The profile song appears on your profile for me now.

As for getting the user content to display, the user content table needs an ID attached to it.

http://z5.ifrm.com/30234/137/0/f5186079/PorfileSong.js

Basically, this:
Code:
 
<table class="profile" cellspacing="0">
Needs to be changed to this:
Code:
 
<table id="user_content" class="profile" cellspacing="0">
Well, it displays the section/table for Users Content now (and maybe the profile song?).
Buuuut...this
Screenshot



It's on my test board, You should have the details to it in a PM, just go to my profile and look.
Offline Profile Quote Post Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
http://z4.ifrm.com/30530/7/0/f5043126/profilesong.js

It appears the ending curly bracket that should be at the very end of the script was removed.

Ending curly bracket: }
Offline Profile Quote Post Goto Top
 
Kankuro
Member Avatar
かんくろ
[ *  *  *  *  * ]
Cory
Dec 17 2014, 12:06 AM
http://z4.ifrm.com/30530/7/0/f5043126/profilesong.js

It appears the ending curly bracket that should be at the very end of the script was removed.

Ending curly bracket: }
So just add } to the VERY end of the coding and I'm good?
Offline Profile Quote Post Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Yes, that will likely fix the issue. Tiny HTML and JavaScript errors can easily cause that.
Offline Profile Quote Post Goto Top
 
Kankuro
Member Avatar
かんくろ
[ *  *  *  *  * ]
Cory
Dec 17 2014, 05:28 AM
Yes, that will likely fix the issue. Tiny HTML and JavaScript errors can easily cause that.
Shows the content now, but the profile icons no longer work and the song doesn't play, just keeps doing the buffering thing.
http://prntscr.com/5hwgqp


If you could remove the MSN, AIM, and Yahoo from there and place the profile fields there with the icons (under contact info) that would be exactly what I'm looking for.

EDIT: It just seems to be delayed. The profile song plays now and the icons show again (as well as Load Recent Activity). the only issue I have are the profile field icons now.
If you could remove the things in the red boxes and move the things in the green box to the blue boxed area that would be what I'm looking for.
Posted Image


Also, I just noticed that the update status input box and button are gone?
Edited by Kankuro, Dec 17 2014, 01:51 PM.
Offline Profile Quote Post Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Code:
 
<style type="text/css">
#aim, #aim + br, #msn, #msn + br, #yahoo {
display: none;
}
</style>
Add that to the Javascripts wrapper of the Board Template.
Code:
 
<script type="text/javascript">
$('#mini_profile span:contains(Skype), #mini_profile span:contains(Dailymotion), #mini_profile span:contains(MyAnimeList), #mini_profile span:contains(Gamertag)').next('div').andSelf().hide().next('div').next('br').hide();
$('#mini_profile div:contains(null)').next('br').andSelf().hide();
$('#mini_profile span:has(img)').appendTo('div.info:has(#aim)');
</script>
Add that below the advanced profile code.

The status input and button still appears on my test boards profile. It must not appear on yours due to a.) an ACP change you may have made, or b.) a code conflict.
Offline Profile Quote Post Goto Top
 
Kankuro
Member Avatar
かんくろ
[ *  *  *  *  * ]
The JS hid the info, but the other code did nothing. Also I have more profile fields than the ones you listed on my actual board. Thought you might need to know that.
Offline Profile Quote Post Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Try this for the JavaScript instead:
Code:
 
<script type="text/javascript">
$(document).ready(function() {
$('#mini_profile span:contains(Skype), #mini_profile span:contains(Dailymotion), #mini_profile span:contains(MyAnimeList), #mini_profile span:contains(Gamertag)').next('div').andSelf().hide().next('div').next('br').hide();
$('#mini_profile div:contains(null)').next('br').andSelf().hide();
$('#mini_profile span:has(img)').appendTo('div.info:has(#aim)');
});
</script>
If that doesn't work, try this:
Code:
 
<script type="text/javascript">
setTimeout(function() {
$('#mini_profile span:contains(Skype), #mini_profile span:contains(Dailymotion), #mini_profile span:contains(MyAnimeList), #mini_profile span:contains(Gamertag)').next('div').andSelf().hide().next('div').next('br').hide();
$('#mini_profile div:contains(null)').next('br').andSelf().hide();
$('#mini_profile span:has(img)').appendTo('div.info:has(#aim)');
}, 1000);
</script>
Offline Profile Quote Post Goto Top
 
Kankuro
Member Avatar
かんくろ
[ *  *  *  *  * ]
Cory
Dec 17 2014, 11:34 PM
Try this for the JavaScript instead:
Code:
 
<script type="text/javascript">
$(document).ready(function() {
$('#mini_profile span:contains(Skype), #mini_profile span:contains(Dailymotion), #mini_profile span:contains(MyAnimeList), #mini_profile span:contains(Gamertag)').next('div').andSelf().hide().next('div').next('br').hide();
$('#mini_profile div:contains(null)').next('br').andSelf().hide();
$('#mini_profile span:has(img)').appendTo('div.info:has(#aim)');
});
</script>
If that doesn't work, try this:
Code:
 
<script type="text/javascript">
setTimeout(function() {
$('#mini_profile span:contains(Skype), #mini_profile span:contains(Dailymotion), #mini_profile span:contains(MyAnimeList), #mini_profile span:contains(Gamertag)').next('div').andSelf().hide().next('div').next('br').hide();
$('#mini_profile div:contains(null)').next('br').andSelf().hide();
$('#mini_profile span:has(img)').appendTo('div.info:has(#aim)');
}, 1000);
</script>
#2 worked.

3 more things.

1: could you look into the missing status box?
2: What is the tag I'd use to style the member autotools select box and button? I want to add vertical-align: middle to it.
3: How would I edit the code to add more profile fields? I have quite a few more on my main board that I don't personally user but are an option for members who may use it. Here are all of the ones I currently have: http://prntscr.com/5i3mmx

After looking at the code I think #3 is simple.
Edited by Kankuro, Dec 18 2014, 12:04 AM.
Offline Profile Quote Post Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Perhaps the user content code is conflicting with the status option since it appeared to start having problems after you got it fixed.

Member autotools drop down menu:
Code:
 
select[name="mem_amod"]
Member autotools button:
Code:
 
select[name="mem_amod"] + button
Offline Profile Quote Post Goto Top
 
Kankuro
Member Avatar
かんくろ
[ *  *  *  *  * ]
Cory
Dec 18 2014, 12:12 AM
Perhaps the user content code is conflicting with the status option since it appeared to start having problems after you got it fixed.

Member autotools drop down menu:
Code:
 
select[name="mem_amod"]
Member autotools button:
Code:
 
select[name="mem_amod"] + button
I removed it and the status box is still missing..
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · ZetaBoards Codes & Modifications · Next Topic »
Add Reply
  • Pages:
  • 1
  • 5
  • 9