psudjb
Not New Member
Posts: 2
psudjb said 0 great things
|
Post by psudjb on Jun 9, 2013 7:51:02 GMT -8
Hey, I was wondering if you you'd be able to make some sort of plugin that changes the username/displayname to an image? The username/displayname would be replaced with the image you want in the info center and on wherever it says the last post was made for a certain thread. Also where it says who a moderator of a certain board is, that name would be changed to an image as well.
The code I was using for the old proboards was this one.
Thanks in advance if you're able to help!!
<script type="text/javascript"> <!-- /* image as username */ function userImage(user,image) { var img = document.createElement('img'); img.src = image; img.border = '0'; var a = document.getElementsByTagName('a'); for(i=0; i<a.length; i++) { if(a.item(i).href.match(new RegExp('viewprofile&user='+user+'$'))) a.replaceChild(img.cloneNode(true), a.firstChild); } } userImage('admin','http://i.imgur.com/Zyr8ohr.jpg');//--> </script>
|
|
|
Post by Wormopolis on Jun 9, 2013 21:32:32 GMT -8
There is a plugin like that in the library already.. have you tried that one?
|
|
psudjb
Not New Member
Posts: 2
psudjb said 0 great things
|
Post by psudjb on Jun 10, 2013 5:52:57 GMT -8
Yeah I have. It works occasionally. I think proboards is having an issue with their "search" feature.
|
|
|
Post by Wormopolis on Jun 10, 2013 14:27:34 GMT -8
they are. I was told they are making it a priority this week.
|
|