inherit
223184
0
Jul 18, 2016 18:03:24 GMT -8
stronktank
86
July 2015
stronktank
|
Post by stronktank on Sept 6, 2015 14:53:35 GMT -8
Todge , thanks! Could you provide me the code to link it to the proper awards?
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,285
January 2004
todge
|
Post by Todge on Sept 7, 2015 12:59:52 GMT -8
Todge , thanks! Could you provide me the code to link it to the proper awards? Give this a try... <script type="text/javascript"> $(document).ready(function(){ $('.awdDiv>img').each(function(){ if($(this).attr('title').match(/http:\/\//)) { var currentTitle = $(this).attr('title'); var daLink = 'http://'+currentTitle.split('http://')[1].split(/\d+ Received/)[0]; $(this).attr('title',currentTitle.replace(daLink,'')); $(this).css('cursor','pointer').click(function(){window.location = daLink}); } }); }); </script> It must go in your GLOBAL FOOTER, and you need to add the relevant links to the awards descriptions.
|
|
inherit
223184
0
Jul 18, 2016 18:03:24 GMT -8
stronktank
86
July 2015
stronktank
|
Post by stronktank on Sept 7, 2015 14:50:10 GMT -8
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,285
January 2004
todge
|
Post by Todge on Sept 7, 2015 15:58:01 GMT -8
No worries..
|
|
inherit
224898
0
Sept 25, 2015 13:35:57 GMT -8
tamasenpai
18
September 2015
tamasenpai
|
Post by tamasenpai on Sept 7, 2015 18:42:53 GMT -8
Todge! Hey so I've got a curious situation going on. The forum I've created plans to use the Awards system and thus far it works wonderfully but whenever I try to assign an award and hit save, it brings me to an error that says This account doesn't exist. I'm at a complete loss and have been looking for hours for an answer, any clue how this would happen? Let me know if you need anything! -Tama Edit: I stand corrected, despite doing this it still gives the awards. Curious.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,285
January 2004
todge
|
Post by Todge on Sept 9, 2015 7:08:09 GMT -8
Could you post the URL of the page you are being sent to please?
|
|
inherit
188628
0
Nov 11, 2022 11:51:03 GMT -8
Molly Jepson
300
January 2013
mjdelancy
|
Post by Molly Jepson on Sept 14, 2015 8:45:10 GMT -8
The link for the pop-up awards isn't appearing in the mini-profiles, am I doing something wrong?
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,285
January 2004
todge
|
Post by Todge on Sept 14, 2015 11:58:35 GMT -8
The link for the pop-up awards isn't appearing in the mini-profiles, am I doing something wrong? I would need to see you forum to answer that. Could you please post a link to a thread that is viewable by guests and let me know which member has awards. Thank you.
|
|
inherit
188628
0
Nov 11, 2022 11:51:03 GMT -8
Molly Jepson
300
January 2013
mjdelancy
|
Post by Molly Jepson on Sept 14, 2015 13:06:29 GMT -8
The link for the pop-up awards isn't appearing in the mini-profiles, am I doing something wrong? I would need to see you forum to answer that. Could you please post a link to a thread that is viewable by guests and let me know which member has awards. Thank you. mayhem5.proboards.com/thread/24797 There is only one member is this thread. She should have one award.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,285
January 2004
todge
|
Post by Todge on Sept 14, 2015 14:57:07 GMT -8
I would need to see you forum to answer that. Could you please post a link to a thread that is viewable by guests and let me know which member has awards. Thank you. mayhem5.proboards.com/thread/24797 There is only one member is this thread. She should have one award. Heya, In the 'Awards Settings' tab, the first option is 'Awards Title', that appears to be blank. If you add a title there, the awards should then be displayed.
|
|
inherit
188628
0
Nov 11, 2022 11:51:03 GMT -8
Molly Jepson
300
January 2013
mjdelancy
|
Post by Molly Jepson on Sept 15, 2015 4:04:22 GMT -8
Oh okay, so simple haha. Thank you!
|
|
inherit
188628
0
Nov 11, 2022 11:51:03 GMT -8
Molly Jepson
300
January 2013
mjdelancy
|
Post by Molly Jepson on Sept 15, 2015 4:11:10 GMT -8
One more question, is there a variable for this that can be used so something can be styled in the layout template if the user has awards? No worries if there is not.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,285
January 2004
todge
|
Post by Todge on Sept 15, 2015 9:26:20 GMT -8
The 'Awards' link has a class name of 'awards', you can use that to style the link using CSS.
Is that what you mean?
|
|
inherit
188628
0
Nov 11, 2022 11:51:03 GMT -8
Molly Jepson
300
January 2013
mjdelancy
|
Post by Molly Jepson on Sept 15, 2015 9:39:43 GMT -8
I'm sorry, I didn't phrase that very well.
If I want to write something in my layout template as {if $[user.has_awards]} or something similar, what would that $[thing] be? -is really good at the English-
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,285
January 2004
todge
|
Post by Todge on Sept 15, 2015 11:20:43 GMT -8
I'm sorry, I didn't phrase that very well. If I want to write something in my layout template as {if $[user.has_awards]} or something similar, what would that $[thing] be? -is really good at the English- To change the style of the Awards link, add this to the mini-profile template(s).. <style> .awards>a { color: red!important; } .awards { border: 1px solid black; background-color: yellow; } </style> That will change the Awards link red, inside a yellow box with a black border, but CSS can do more than just change colors.
|
|