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:
Locked Topic
  • Pages:
  • 1
[ C ] Placement code(s)
Topic Started: Mar 5 2014, 05:32 AM (700 Views)
Kankuro
Member Avatar
かんくろ
[ *  *  *  *  * ]
Board Address: http://w11.zetaboards.com/Guardians_of_the_Orb/index/
Board Software: ZetaBoards
Description: Move/append thing to different menus

I'm looking for a way to move this comment menu to the submenu instead of the top_menu
Code:
 

<script type="text/javascript">
var PCForumID = '4032944';
var maxLen = '250';
</script>
<script type="text/javascript" src="http://z5.ifrm.com/30294/18/0/f5260702/comments.js"></script>


Also I'm needing a code to move the Admin CP (Just Admin CP, not Report CP) to be right next to the "Welcome USERNAME [Sign Out]" area.


This is a 2 part code, not 2 requests in 1. Without both codes I can't use either.
Offline Profile Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

kankuro865
Mar 5 2014, 05:32 AM
This is a 2 part code, not 2 requests in 1. Without both codes I can't use either.
I don't see why you would need both for each to work individually... but anyway.

Replace
Code:
 
<script type="text/javascript" src="http://z5.ifrm.com/30294/18/0/f5260702/comments.js"></script>
with
Code:
 
<script type="text/javascript" src="http://z3.ifrm.com/53/36/0/p493996/Comments.js"></script>
And right below it add the following:
Code:
 
<script type="text/javascript">
$('#menu_acp').appendTo('#top_info');
</script>
Offline Profile Goto Top
 
Kankuro
Member Avatar
かんくろ
[ *  *  *  *  * ]
DaPizzaMan
Mar 5 2014, 04:39 PM
kankuro865
Mar 5 2014, 05:32 AM
This is a 2 part code, not 2 requests in 1. Without both codes I can't use either.
I don't see why you would need both for each to work individually... but anyway.

Replace
Code:
 
<script type="text/javascript" src="http://z5.ifrm.com/30294/18/0/f5260702/comments.js"></script>
with
Code:
 
<script type="text/javascript" src="http://z3.ifrm.com/53/36/0/p493996/Comments.js"></script>
And right below it add the following:
Code:
 
<script type="text/javascript">
$('#menu_acp').appendTo('#top_info');
</script>
Because I'm trying to fix this: Posted Image

Could I apply that menu_acp append to only a single theme?
Offline Profile Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

kankuro865
Mar 5 2014, 05:09 PM
DaPizzaMan
Mar 5 2014, 04:39 PM
kankuro865
Mar 5 2014, 05:32 AM
This is a 2 part code, not 2 requests in 1. Without both codes I can't use either.
I don't see why you would need both for each to work individually... but anyway.

Replace
Code:
 
<script type="text/javascript" src="http://z5.ifrm.com/30294/18/0/f5260702/comments.js"></script>
with
Code:
 
<script type="text/javascript" src="http://z3.ifrm.com/53/36/0/p493996/Comments.js"></script>
And right below it add the following:
Code:
 
<script type="text/javascript">
$('#menu_acp').appendTo('#top_info');
</script>
Because I'm trying to fix this: Posted Image

Could I apply that menu_acp append to only a single theme?
Put the code that moves the Admin CP link to the Theme Layout of that specific theme.
Offline Profile Goto Top
 
Kankuro
Member Avatar
かんくろ
[ *  *  *  *  * ]
Also is the code supposed to have these odd characters?
Posted Image
Offline Profile Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

kankuro865
Mar 5 2014, 05:12 PM
Also is the code supposed to have these odd characters?
Posted Image
Good catch. Just replace the .js file to the following: http://z3.ifrm.com/53/36/0/p493999/Comments.js
Offline Profile Goto Top
 
Kankuro
Member Avatar
かんくろ
[ *  *  *  *  * ]
DaPizzaMan
Mar 5 2014, 05:26 PM
kankuro865
Mar 5 2014, 05:12 PM
Also is the code supposed to have these odd characters?
Posted Image
Good catch. Just replace the .js file to the following: http://z3.ifrm.com/53/36/0/p493999/Comments.js
:P I was comparing the 2 so I could see how you changed it, because I tried to just change "top_senu" to "submenu" but it didn't work.
Yea, same issue happened when I tried to do it.
Theme 1: Posted Image

Theme 2: Posted Image
Edited by Kankuro, Mar 5 2014, 05:31 PM.
Offline Profile Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

:facepalm:

My bad. Another fix: http://z3.ifrm.com/53/36/0/p494006/Comments.js
Offline Profile Goto Top
 
Kankuro
Member Avatar
かんくろ
[ *  *  *  *  * ]
DaPizzaMan
Mar 5 2014, 05:46 PM
Woot! Thanks so much.

May I ask how you fixed that alignment issue?
Offline Profile Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

kankuro865
Mar 5 2014, 05:52 PM
DaPizzaMan
Mar 5 2014, 05:46 PM
Woot! Thanks so much.

May I ask how you fixed that alignment issue?
Well it was set as a list item (hence the bullet point), so I changed it to a span.
Offline Profile Goto Top
 
Kankuro
Member Avatar
かんくろ
[ *  *  *  *  * ]
DaPizzaMan
Mar 5 2014, 06:06 PM
kankuro865
Mar 5 2014, 05:52 PM
DaPizzaMan
Mar 5 2014, 05:46 PM
Woot! Thanks so much.

May I ask how you fixed that alignment issue?
Well it was set as a list item (hence the bullet point), so I changed it to a span.
That won't mess with the drop down part of it would it?
Offline Profile Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

kankuro865
Mar 5 2014, 06:08 PM
DaPizzaMan
Mar 5 2014, 06:06 PM
kankuro865
Mar 5 2014, 05:52 PM
DaPizzaMan
Mar 5 2014, 05:46 PM
Woot! Thanks so much.

May I ask how you fixed that alignment issue?
Well it was set as a list item (hence the bullet point), so I changed it to a span.
That won't mess with the drop down part of it would it?
As far as I can see, there is no drop down. Is that not the case?
Offline Profile Goto Top
 
Kankuro
Member Avatar
かんくろ
[ *  *  *  *  * ]
DaPizzaMan
Mar 5 2014, 06:12 PM
kankuro865
Mar 5 2014, 06:08 PM
DaPizzaMan
Mar 5 2014, 06:06 PM
kankuro865
Mar 5 2014, 05:52 PM
DaPizzaMan
Mar 5 2014, 05:46 PM
Woot! Thanks so much.

May I ask how you fixed that alignment issue?
Well it was set as a list item (hence the bullet point), so I changed it to a span.
That won't mess with the drop down part of it would it?
As far as I can see, there is no drop down. Is that not the case?
I may be wrong. I thought it might have a drop down box because of the list that showed up when I only changed top_menu to submenu
Offline Profile Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

kankuro865
Mar 5 2014, 06:20 PM
DaPizzaMan
Mar 5 2014, 06:12 PM
kankuro865
Mar 5 2014, 06:08 PM
DaPizzaMan
Mar 5 2014, 06:06 PM
kankuro865
Mar 5 2014, 05:52 PM
DaPizzaMan
Mar 5 2014, 05:46 PM
Woot! Thanks so much.

May I ask how you fixed that alignment issue?
Well it was set as a list item (hence the bullet point), so I changed it to a span.
That won't mess with the drop down part of it would it?
As far as I can see, there is no drop down. Is that not the case?
I may be wrong. I thought it might have a drop down box because of the list that showed up when I only changed top_menu to submenu
It's not in the code. Plus it wouldn't be realistic. Fitting a comment into a drop down item? Makes no sense. :P
Offline Profile Goto Top
 
Kankuro
Member Avatar
かんくろ
[ *  *  *  *  * ]
DaPizzaMan
Mar 5 2014, 06:21 PM
kankuro865
Mar 5 2014, 06:20 PM
DaPizzaMan
Mar 5 2014, 06:12 PM
kankuro865
Mar 5 2014, 06:08 PM
DaPizzaMan
Mar 5 2014, 06:06 PM
kankuro865
Mar 5 2014, 05:52 PM
DaPizzaMan
Mar 5 2014, 05:46 PM
Woot! Thanks so much.

May I ask how you fixed that alignment issue?
Well it was set as a list item (hence the bullet point), so I changed it to a span.
That won't mess with the drop down part of it would it?
As far as I can see, there is no drop down. Is that not the case?
I may be wrong. I thought it might have a drop down box because of the list that showed up when I only changed top_menu to submenu
It's not in the code. Plus it wouldn't be realistic. Fitting a comment into a drop down item? Makes no sense. :P
Facebook has it :P

1 last request regarding this thread.
Is it possible to space these 2 just a bit and make them Bold?
Posted Image

Like put an extra space between [SIGN OUT] and ADMIN CP as well as an extra space between ADMIN CP and REPORT CP
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Closed Requests · Next Topic »
Locked Topic
  • Pages:
  • 1