Sign Up! Login: Password: New User? Forgot? Support
Top Mods!
Wowhead Search
by sonofsamedi
Digital Clock
by Wolfar15
Admin Forums
Welcome to the GuildPortal Help Community! These forums are for admin-to-admin help.
Available Forums
Forums : Pimp My Site! > News Box Comment Icons
Legend Light (Guild Admin) 11/25/2010 2:26 PM EST : RE: News Box Comment Icons
Legend Light
Posts: 179
Posts With Wolves

I am having trouble for some reason.  I am adding the code to my welcome message but the icons are not showing...

Any ideas?

EDIT: I have also tried a plain free form text/html box with the same effect.
TopBottom

Mottie (MVP) 11/26/2010 9:51 AM EST : RE: News Box Comment Icons
GuildPortal MVP
Mottie
Posts: 3883
Zomgawsh Poster

Hi Legend Light!

I don't understand what you mean. This code is for the News Widget, not the Welcome message. Can you elaborate please?
TopBottom

Legend Light (Guild Admin) 11/26/2010 10:11 AM EST : RE: News Box Comment Icons
Legend Light
Posts: 179
Posts With Wolves

Oh, sorry.  What I mean to say is I am placing the code into the Welcome Message (but now a free form text/html box) in hopes that it works on the News box...

Is that wrong?   Where should I put it?

TopBottom

Mottie (MVP) 11/27/2010 9:49 AM EST : RE: News Box Comment Icons
GuildPortal MVP
Mottie
Posts: 3883
Zomgawsh Poster

Hi Legend Light!

The code can actually be put into either of those, but the welcome message is not ideal since it is possible to display different content to the various ranks in your guild - i.e. non-members will see one message, guild members another and officers even another, etc.

If it isn't working properly, make sure you put the code into the free form text/HTML widget while in Raw mode (link in the upper right).
TopBottom

Legend Light (Guild Admin) 11/27/2010 12:39 PM EST : RE: News Box Comment Icons
Legend Light
Posts: 179
Posts With Wolves

It wouldn't let me post my script in my reply so I took a picture...

This is what I am adding.  Am I missing something? 
TopBottom

Legend Light (Guild Admin) 12/16/2010 7:08 AM EST : RE: News Box Comment Icons
Legend Light
Posts: 179
Posts With Wolves

I still am unsuccessful in making this code work

Here is exactly what I am pasting into my box:

<style type="text/css">
.newcmt, .seecmt {
 cursor: pointer;
 float: right;      /* icons on the right side */
 padding-left: 5px; /* spacing between icons */
}
</style>
<script type="text/javascript" src="http://www.axiomfiles.com/Files/258012/scripts-news.js"></script>
<script type="text/javascript">
$(document).ready(function(){
 newsCommentIcons();
})
</script>

Am I supposed to further customize this code to make it work?
TopBottom

Mottie (MVP) 12/16/2010 11:08 AM EST : RE: News Box Comment Icons
GuildPortal MVP
Mottie
Posts: 3883
Zomgawsh Poster

Hi Legend Light!

Ok sorry for the mess... I forgot that GP changed the small news widget format. I kept thinking you were talking about the large one which didn't change. So I fixed the code and I can see the comment icons working on your site now

Sorry about that!
TopBottom

Legend Light (Guild Admin) 12/17/2010 7:17 AM EST : RE: News Box Comment Icons
Legend Light
Posts: 179
Posts With Wolves

Phew, I logged into my site to see they worked and I thought I was going insane!  Thanks a ton, Mottie!  
TopBottom

Mottie (MVP) 1/22/2011 11:10 AM EST : RE: News Box Comment Icons
GuildPortal MVP
Mottie
Posts: 3883
Zomgawsh Poster

I'm going to disable this script and stop supporting it... it was originally added because the comments would popup in a window which you couldn't style. Now it opens the comments in the same box and works much nicer.
TopBottom

Aranoxx (New Admin) 1/24/2011 12:17 PM EST : RE: News Box Comment Icons
Aranoxx
Posts: 778
Zomgawsh Poster

I still could not make it work.

Here is my complete Text/HTML:

<!--                                               
********************************************                                               
Add this to your code box                                               
(in a free form text/HTML type content box).                                               
It will hide itself                                               
********************************************                                               
-->
<div class="hideThisWidget"></div>
<script type="text/javascript">                                               
$(document).ready(function(){                                               
  $('.hideThisWidget').closest('.gpWidget').hide();                                               
})                                         
// =======================================                                         
// =======================================                                         
// =======================================                                         
// =======================================
//============== Nye comment osv. knapper til nyheder ==============           
<style type="text/css">
.newcmt, .seecmt {
 cursor: pointer;
 float: right;      /* icons on the right side */
 padding-left: 5px; /* spacing between icons */
}
</style>
<script type="text/javascript" src="http://www.axiomfiles.com/Files/258012/scripts-news.js"></script>
<script type="text/javascript">
$(document).ready(function(){
 newsCommentIcons();
})
</script>

My site is: http://danishnonames.guildportal.com/

TopBottom

Admins Online
There are   members online.
So-and-so has logged on!
%title%
%message%