Former Member
inherit
guest@proboards.com
222576
0
May 17, 2024 19:56:27 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 26, 2015 8:04:16 GMT -8
ok so i've got the 'change user name to image' plugin, and the images don't show up on the front page only.
But only in the 'sidebar deluxe' which has the 'recent threads sidebar' plugin in it.
Any ideas why ?
Its fine on every other page but the front.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 28, 2015 7:59:55 GMT -8
Maybe post a link to your forum so someone can take a look.
|
|
Former Member
inherit
guest@proboards.com
222576
0
May 17, 2024 19:56:27 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 28, 2015 8:52:21 GMT -8
Maybe post a link to your forum so someone can take a look. good idea goldenbeatz.uk/its the user names in the sidebar redux/recent threads sidebar
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 29, 2015 11:28:03 GMT -8
Wow, lots of plugins Try moving the "change display name with image" plugin to the bottom (or at least below the recent threads plugin).
|
|
Former Member
inherit
guest@proboards.com
222576
0
May 17, 2024 19:56:27 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 29, 2015 11:49:26 GMT -8
Wow, lots of plugins Try moving the "change display name with image" plugin to the bottom (or at least below the recent threads plugin). i'll give that a go thank u.
|
|
Former Member
inherit
guest@proboards.com
222576
0
May 17, 2024 19:56:27 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 3, 2015 16:17:04 GMT -8
it didn't work this anyone ?
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,290
January 2004
todge
|
Post by Todge on Dec 5, 2015 4:36:43 GMT -8
|
|
Former Member
inherit
guest@proboards.com
222576
0
May 17, 2024 19:56:27 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 5, 2015 5:34:32 GMT -8
thank u, i'll go see now.
|
|
Former Member
inherit
guest@proboards.com
222576
0
May 17, 2024 19:56:27 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 5, 2015 5:41:09 GMT -8
Todge it hasn't worked sorry. its just on the front page though, all the others are fine.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,290
January 2004
todge
|
Post by Todge on Dec 5, 2015 15:11:02 GMT -8
Todge it hasn't worked sorry. its just on the front page though, all the others are fine. Nope.. On closer inspection, the function to change the user names into images is contained within a function of it's own, so there's no way I can hook onto it. Sorry.
|
|
Former Member
inherit
guest@proboards.com
222576
0
May 17, 2024 19:56:27 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 6, 2015 3:30:33 GMT -8
Todge it hasn't worked sorry. its just on the front page though, all the others are fine. Nope.. On closer inspection, the function to change the user names into images is contained within a function of it's own, so there's no way I can hook onto it. Sorry. ok so i this impossible then Todge ? Its no big deal if it is.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,290
January 2004
todge
|
Post by Todge on Dec 6, 2015 6:48:33 GMT -8
Nope.. On closer inspection, the function to change the user names into images is contained within a function of it's own, so there's no way I can hook onto it. Sorry. ok so i this impossible then Todge ? Its no big deal if it is. It can't be done with an edit to my plugin. The 'Change User Name to Image' plugin needs to be written slightly differently. Sorry.
|
|
Former Member
inherit
guest@proboards.com
222576
0
May 17, 2024 19:56:27 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 6, 2015 7:37:12 GMT -8
ok so i this impossible then Todge ? Its no big deal if it is. It can't be done with an edit to my plugin. The 'Change User Name to Image' plugin needs to be written slightly differently. Sorry. not a problem todge, thank u anyways.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Dec 6, 2015 7:39:06 GMT -8
Todge, The ready events are pushed to an internal array (used to be readyList last I checked) and executed in the order they were pushed. Since your plugin contains inline code further down the page, it gets pushed after the other other plugin. You can test this by overriding the "ready" function to see the order of calls.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,290
January 2004
todge
|
Post by Todge on Dec 6, 2015 16:22:39 GMT -8
Todge, The ready events are pushed to an internal array (used to be readyList last I checked) and executed in the order they were pushed. Since your plugin contains inline code further down the page, it gets pushed after the other other plugin. You can test this by overriding the "ready" function to see the order of calls. Yup, but I've had this same issue with a couple of other plugins, Wormo's Colorsmear and Thread Title Images plugins to name 2.. Both only failed on the home page, and the only way I could get them to work was to hook into those plugins' functions from the within the Recent Threads plugin. Unfortunately I can't do that with with this plugin as the entire code is 'hidden' within a ready function, and so I can't hook into it. Also, the only way I could get those other codes to work with this one was to look for their functions with window.addEventListener("load", document.ready wouldn't cut it. That also allowed the plugins to co-operate no matter what order they are in.
|
|