Former Member
inherit
guest@proboards.com
222576
0
Nov 29, 2024 7:59:17 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Sept 23, 2016 6:53:49 GMT -8
So i don't know if this is possible, come to think of it i have this plugin 'Recent Status Tracking' which my members put links in to promote their threads, so i want them clickable, but they come from status update so i dunno if it's got something to do with the plugin. ok so is this possible either way ? to mod the actual status update, or the plugin so it accepts site links only and can be clicked. My shoutbox has site links only and they're clickable, if this helps i think i can find the code if needed. http://goldenbeatz.uk i have $2 ! take it or leave it
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 29, 2024 7:59:17 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Sept 27, 2016 11:37:04 GMT -8
is this possible to have clickable links in our status ? bump
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Sept 27, 2016 12:43:00 GMT -8
By default the status box does not parse links or ubbc and that is not something we can change in the templates.
I don't know if it can be made into a plugin but if this is something possible it would need some sort of script so head on over to the plugins board instead.
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 29, 2024 7:59:17 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Sept 27, 2016 12:54:28 GMT -8
By default the status box does not parse links or ubbc and that is not something we can change in the templates.
I don't know if it can be made into a plugin but if this is something possible it would need some sort of script so head on over to the plugins board instead.
ok, so do you think the status update plugin could parse the links instead ? before i go to plugin people.
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Sept 27, 2016 13:37:36 GMT -8
No clue mate, sorry. I'm not familiar with that plugin. Theoretically speaking it might be able to, depending on software limitations and how the plugin is written, but you'd have to ask the plugin author.
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 29, 2024 7:59:17 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Sept 27, 2016 16:03:11 GMT -8
ok i will thank you kami.
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Sept 27, 2016 16:04:44 GMT -8
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 29, 2024 7:59:17 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Sept 27, 2016 16:08:04 GMT -8
its wormoplsiss plugin and he's not been on since june .... any ideas as we can do this an other way ?
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Sept 27, 2016 17:44:21 GMT -8
its wormoplsiss plugin and he's not been on since june .... any ideas as we can do this an other way ? First post in wormo's plugin thread in case he's been logging in as invisible. Then if you don't get a response in a couple of days, create a request in the plugin board. I can't help any further as I don't write plugins.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,019
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Sept 27, 2016 18:39:58 GMT -8
Wormopolis has been assisting The Donald with his campaign * <== KIDDING! Give this a shot in global header <script> /* Status/status tracker linkify */ $(function(){ var page = pb.data("page"), personal_text; function tracklink(){ $('.personal-text,.status_tracking_text').each(function(i, e){ var personal_text = $(e).html(), p = personal_text.split(/\s/), c for( c = 0; c < p.length; c++){ if( proboards.is_valid_url((p[c]))){ if(proboards.is_valid_image_url(p[c])){ p[c] = '<span class="avatar_size_quote"><img src="'+p[c]+'" alt=" " ></span>'; }else{ p[c] = '<a href="'+p[c]+'" target="_blank" >'+p[c]+'</a>'; } } } $(e).html(p.join(" ")); }) } if(page && page.member || $('#statusTracking').length){ tracklink(); pb.events.on('afterSearch',tracklink); } }); </script> I'm not particularly familiar with that plugin but I am assuming it uses the classes mentioned in the support thread.
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 29, 2024 7:59:17 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Sept 28, 2016 2:22:21 GMT -8
Wormopolis has been assisting The Donald with his campaign * <== KIDDING! Give this a shot in global header <script> /* Status/status tracker linkify */ $(function(){ var page = pb.data("page"), personal_text if(page && page.member || $('#statusTracking').length){ $('.personal-text,.status_tracking_text').each(function(i, e){ var personal_text = $(e).html(), p = personal_text.split(/\s/), c for( c = 0; c < p.length; c++){ if( proboards.is_valid_url((p[c]))){ if(proboards.is_valid_image_url(p[c])){ p[c] = '<span class="avatar_size_quote"><img src="'+p[c]+'" alt=" " ></span>'; }else{ p[c] = '<a href="'+p[c]+'" target="_blank" >'+p[c]+'</a>'; } } } $(e).html(p.join(" ")); }) } }); </script> I'm not particularly familiar with that plugin but I am assuming it uses the classes mentioned in the support thread. that's a shame it didn't work chris it's just under the mp if want a look goldenbeatz.uk/thread/398/fox-hil-aka-killer-karl
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,019
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Sept 28, 2016 5:00:46 GMT -8
That appears to be a link to a thread and I can tell you right now that trying to put status tracker inside the miniprofile is not how it was meant to be used. The plugin uses an ID to find the target and since an ID is suppose to be unique on a page you'll never get more than one miniprofile out of the 15 or so on the page to have status tracking data, plus the tracker data is not segregated per user. It is meant to be a community shared area like the shoutbox, not everyone should have a shoutbox in their miniprofile.
I've modified the code to provide support for pagination but you would have to leave it in place if you require help with diagnosis.
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 29, 2024 7:59:17 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Sept 28, 2016 5:53:46 GMT -8
That appears to be a link to a thread and I can tell you right now that trying to put status tracker inside the miniprofile is not how it was meant to be used. The plugin uses an ID to find the target and since an ID is suppose to be unique on a page you'll never get more than one miniprofile out of the 15 or so on the page to have status tracking data, plus the tracker data is not segregated per user. It is meant to be a community shared area like the shoutbox, not everyone should have a shoutbox in their miniprofile. I've modified the code to provide support for pagination but you would have to leave it in place if you require help with diagnosis. ok way over my head sorry. So is it a bad thing me have it there ? or are you talking about the clickable links not working ?
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 29, 2024 7:59:17 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Sept 28, 2016 5:55:00 GMT -8
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,019
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Sept 28, 2016 6:02:19 GMT -8
No, do not put the tracker in miniprofile, it is not meant to have more than one on the page.
As for the link not getting linkified I cannot speak to that if the code can't be found anywhere on the page.
|
|