hitotsumami
Not New Member
Posts: 13
hitotsumami said 0 great things
|
Post by hitotsumami on Dec 13, 2012 22:13:45 GMT -8
Hi! I was wondering if it is possible to add more message icons. I did find a code, but unfortunately it didn't seem to work for me at all. I wonder if the code is just outdated, since it seemed to have been made in 2006, or if I'm doing something wrong?
|
|
|
Post by Wormopolis on Dec 14, 2012 2:37:40 GMT -8
I believe there is a newer one over on interoceandesigns. the drawback is it has to store something in the post subject I believe.
|
|
hitotsumami
Not New Member
Posts: 13
hitotsumami said 0 great things
|
Post by hitotsumami on Dec 14, 2012 8:11:15 GMT -8
Hmm, I wasn't able to find it in their code database. I'll keep looking.
|
|
|
Post by Wormopolis on Dec 14, 2012 13:39:26 GMT -8
|
|
hitotsumami
Not New Member
Posts: 13
hitotsumami said 0 great things
|
Post by hitotsumami on Dec 14, 2012 21:17:22 GMT -8
That is the one I tried, and it didn't work.
|
|
|
Post by Wormopolis on Dec 14, 2012 21:40:56 GMT -8
show me the array you edited at the top
|
|
hitotsumami
Not New Member
Posts: 13
hitotsumami said 0 great things
|
Post by hitotsumami on Dec 15, 2012 13:57:05 GMT -8
var AddIcons = [ ['mew','http://i.imgur.com/uTzCf.gif',['all'] ], ['name','image',['user1','user2'] ], ['name','image',['all'] ], ['name','image',['all'] ] ];
|
|
|
Post by Wormopolis on Dec 17, 2012 18:13:24 GMT -8
you didnt do anything wrong then, unless you edited something else that shouldnt have been. if you took the code from PBS, then get a new copy from studio zero. some of the codes on PBS were corrupted when the V5 transition happened.
|
|
hitotsumami
Not New Member
Posts: 13
hitotsumami said 0 great things
|
Post by hitotsumami on Dec 21, 2012 7:55:52 GMT -8
Well, it totally works on a test forum, but doesn't work on my forum. I must have some other code that is conflicting.
But thanks for the help worm!
EDIT:
Interesting thing though! It works... However, it only works when creating a new thread. I can't modify an old thread's first post to change the message icon... weird.
|
|
|
Post by Wormopolis on Dec 21, 2012 13:42:24 GMT -8
Well, it totally works on a test forum, but doesn't work on my forum. I must have some other code that is conflicting. But thanks for the help worm! EDIT: Interesting thing though! It works... However, it only works when creating a new thread. I can't modify an old thread's first post to change the message icon... weird. what about when you do a regular reply to the thread? do you see icons then?
|
|
hitotsumami
Not New Member
Posts: 13
hitotsumami said 0 great things
|
Post by hitotsumami on Dec 21, 2012 20:00:45 GMT -8
No. When replying to a thread I don't see the new icons either. They only show up when I'm creating a new thread.
|
|
|
Post by Wormopolis on Dec 22, 2012 4:12:44 GMT -8
find this line
if( document.postForm && document.postForm.icon && this.location.href.match(/post$/) )
change to
if( document.postForm && document.postForm.icon )
|
|
hitotsumami
Not New Member
Posts: 13
hitotsumami said 0 great things
|
Post by hitotsumami on Dec 26, 2012 6:57:06 GMT -8
You are a genius and never let me down. Thank you so much.
|
|
|
Post by Wormopolis on Dec 26, 2012 20:19:19 GMT -8
I do what I can with what I got
|
|