inherit
167837
0
Apr 30, 2013 15:32:12 GMT -8
leif
939
June 2011
akiglass
|
Post by leif on Apr 22, 2014 13:45:50 GMT -8
Thanks Todge. It however doesn't http://rpg.proboards.com/thread/137/%3Cdiv%20id=%22awards%22%3E%3C/div%3E IT just adds that to the link.
|
|
#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 Apr 22, 2014 14:00:42 GMT -8
I think I may have misunderstood..
Do you want the Awards link in the dropdown to take you to the Awards tab in the profile page?
|
|
inherit
167837
0
Apr 30, 2013 15:32:12 GMT -8
leif
939
June 2011
akiglass
|
Post by leif on Apr 22, 2014 14:12:06 GMT -8
That works too. Either works honestly. ^_^.
|
|
inherit
167837
0
Apr 30, 2013 15:32:12 GMT -8
leif
939
June 2011
akiglass
|
Post by leif on Apr 22, 2014 14:19:06 GMT -8
Hey Todge I figured it out <option value="javascript:popAwards('$[user.name]','%C2%AE%C2%AF');">awards</option>
That did the trick ^_^ I copied the HTML javascript on a blank theme and just injected the username. Edit: Nevermind that does't work The second varible I cannot replicate 'popAwards('Leif','%C2%AE%C2%AF%C2%AF%C2%AF')'. Is there a pattern to this and I can add it into an optional field?
|
|
#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 Apr 22, 2014 14:33:13 GMT -8
There was an error in the code, can you please try version 2.4.2, and you need yo put <div class="awards"></div> into your mini-profile, not <div id="awards"></div>.
Sorry.
|
|
inherit
167837
0
Apr 30, 2013 15:32:12 GMT -8
leif
939
June 2011
akiglass
|
Post by leif on Apr 22, 2014 14:47:25 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 Apr 22, 2014 15:13:10 GMT -8
You too have removed the <div> with the class 'avatar' from your mini-profile, so the code can't even find it.
Leave everything as is, and place this in your mini-profile as a direct descendent of the parent cell.
<div class="avatar"></div>
The plugin should then latch onto that and will hopefully then work.
|
|
inherit
167837
0
Apr 30, 2013 15:32:12 GMT -8
leif
939
June 2011
akiglass
|
Post by leif on Apr 22, 2014 15:24:07 GMT -8
Ahh! I had that class avatar! I'll move it up. I had it right before the option.
Moved it up. Thanks. It appears now, but doesn't appear in the dropdown :3. Just under everyone's.
<option value='<div class="awards"></div>'>awards</option>/code]
|
|
#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 Apr 22, 2014 15:54:00 GMT -8
Ah-ha.. getting there..
It's not appearing in the dropdown because you have added the '<div class="avatar....' as the option value, the code is looking for an element.
Try adding the class 'awards' to the option instead..
<option value="awards" class="awards">awards</option>
|
|
inherit
167837
0
Apr 30, 2013 15:32:12 GMT -8
leif
939
June 2011
akiglass
|
Post by leif on Apr 22, 2014 17:15:29 GMT -8
Thanks Todge. I tried it out <option value="awards" class="awards"><a name="Leif|®¯¯¯" href="javascript:popAwards('Leif','®¯¯¯')">Awards</a><br></option> Got that thus far as the HTML side of it. Sadly that does nothing when clicking on it, it just refreshes the page.
|
|
gtv22
Junior Member
Still learning ...
Posts: 260
inherit
203486
0
Mar 1, 2014 9:50:41 GMT -8
gtv22
Still learning ...
260
December 2013
gtv22
|
Post by gtv22 on Apr 22, 2014 19:25:55 GMT -8
Hello Todge, I am really enjoying this plugin and I thank you very much for creating it. I'm pretty sure that I voted for it to win one of the recent awards. Sorry deliberated so long on them, I can't quite remember for sure. It is one of my favs, though! Today, I have just upgraded to the 2.4.1 version and I started getting white pop up boxes with the number 1 on them with just an ok button, then after clicking the ok button, a new pop up says 1, with a check box and the words - Prevent this page from creating additional dialogs - and another ok button. Even if one checks the box and clicks ok, they come back again on every new page load. It was happening to other members, as well. The boxes do go away if I turn off the plugin. Any help you can give would be greatly appreciated as they can get really annoying. Thanks.
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Apr 22, 2014 21:12:05 GMT -8
Todge your a superstar thank you!
|
|
#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 Apr 23, 2014 8:37:32 GMT -8
Thanks Todge. I tried it out <option value="awards" class="awards"><a name="Leif|®¯¯¯" href="javascript:popAwards('Leif','®¯¯¯')">Awards</a><br></option> Got that thus far as the HTML side of it. Sadly that does nothing when clicking on it, it just refreshes the page. I was afraid of that.. The select onchange event is taking priority, stopping the awards from popping up. It could probably be done by adding an onclick event, or maybe an onmousedown event would be better, otherwise all you can do is link is back to the profile page.
|
|
inherit
(?)?
188910
0
Jan 26, 2013 13:30:48 GMT -8
♥ ℒʊ√ ♥
Clouds float into my life no longer to carry rain or usher storm but to add color to my sunset sky.
10,458
January 2013
luv
|
Post by ♥ ℒʊ√ ♥ on Apr 24, 2014 17:01:24 GMT -8
Hi, Todge ~ is there any way there can be an option where members can award other members ~ just like PB Badges? And hopefully, like PB Badges, it would show who the award was from. I would like to get everyone involved, if possible, without too much additional work for you.
|
|
gtv22
Junior Member
Still learning ...
Posts: 260
inherit
203486
0
Mar 1, 2014 9:50:41 GMT -8
gtv22
Still learning ...
260
December 2013
gtv22
|
Post by gtv22 on Apr 24, 2014 23:03:00 GMT -8
Todge, I was reading back in the thread and noticed that you had mentioned a v2.4.2. I have gone back and downloaded v2.4.2 from your dropbox on the first page of the thread. The most recent one in the plugin library still says v2.4.1, even though there is already a version 2.4.1 below it, so I don't know for sure which version I updated to that was giving me the white box pop-ups. (I had used the install on forum arrow) Right now, using the one that I downloaded from you, everything seems to be working fine so, hopefully it's resolved and I won't need to bother you about the boxes again. Thanks. P. S. I agree with Luv, I would also like it if it were possible for member to give each other awards.
|
|