Like SystemiConnectFri 15 Oct 2021, 04:50
Auto Save MessagesLGforumFri 26 Feb 2021, 13:31
New tutorial questionTheCrowMon 15 Feb 2021, 08:12
Support iOS Emojis (and other platforms)LGforumSun 14 Feb 2021, 01:25
LGforum (2806)
How can I fix this plugin? Vote_lcapHow can I fix this plugin? Voting_barHow can I fix this plugin? Vote_rcap 
Mr.Easybb (1587)
How can I fix this plugin? Vote_lcapHow can I fix this plugin? Voting_barHow can I fix this plugin? Vote_rcap 
Bloodbath (745)
How can I fix this plugin? Vote_lcapHow can I fix this plugin? Voting_barHow can I fix this plugin? Vote_rcap 
Rukiafan (533)
How can I fix this plugin? Vote_lcapHow can I fix this plugin? Voting_barHow can I fix this plugin? Vote_rcap 
Dom (513)
How can I fix this plugin? Vote_lcapHow can I fix this plugin? Voting_barHow can I fix this plugin? Vote_rcap 
puppycheese (446)
How can I fix this plugin? Vote_lcapHow can I fix this plugin? Voting_barHow can I fix this plugin? Vote_rcap 
pedro (330)
How can I fix this plugin? Vote_lcapHow can I fix this plugin? Voting_barHow can I fix this plugin? Vote_rcap 
Neymar (301)
How can I fix this plugin? Vote_lcapHow can I fix this plugin? Voting_barHow can I fix this plugin? Vote_rcap 
Hitsu (281)
How can I fix this plugin? Vote_lcapHow can I fix this plugin? Voting_barHow can I fix this plugin? Vote_rcap 
Flora (275)
How can I fix this plugin? Vote_lcapHow can I fix this plugin? Voting_barHow can I fix this plugin? Vote_rcap 


How can I fix this plugin?

puppycheesepuppycheese
Status : No status yet...

Posts : 446
Join date : 2013-02-12
Age : 30
Location : New Jersey
Tue 06 May 2014, 22:49
I have a plugin that puts an image besides the users message to indicate his position on the forum. It doesn't work anymore. Any help is greatly appreciated.

Code:
avacweb_chat_config.message_hook.push(function(row, username, user_id, user) {
    var avs = {
        'Puppycheese123' : 'http://s16.postimage.org/y6am0lx8h/Admin.png',
        'Mattyice92' : 'http://s22.postimage.org/ntxrqsmxp/V_I_P.png',
        'SKatyana' : 'http://s16.postimage.org/y6am0lx8h/Admin.png',
        'CI Mod' : 'http://s16.postimage.org/y6am0lx8h/Admin.png',
        'DeCaro' : 'http://s2.postimage.org/em5627vlx/MOD.png',
        'godofBASS3732' : 'http://s22.postimage.org/ntxrqsmxp/V_I_P.png', 
        'surighost' : 'http://s22.postimage.org/ntxrqsmxp/V_I_P.png',
        'Duke Nukem' : 'http://s22.postimage.org/ntxrqsmxp/V_I_P.png',
        'Stromski' : 'http://s2.postimage.org/em5627vlx/MOD.png',
        'AllyCat' : 'http://s2.postimage.org/em5627vlx/MOD.png',
        'vjdistefano' : 'http://s22.postimage.org/ntxrqsmxp/V_I_P.png',
        'Tranklin007' : 'http://s22.postimage.org/ntxrqsmxp/V_I_P.png',
        'Ivan' : 'http://s2.postimage.org/em5627vlx/MOD.png',
        'Aaron Taylor' : 'http://s22.postimage.org/ntxrqsmxp/V_I_P.png',
        '55hotrod' : 'http://s22.postimage.org/ntxrqsmxp/V_I_P.png',
        'BinaryAssassin' : 'http://s2.postimage.org/em5627vlx/MOD.png',
        'OopsMisfire' : 'http://s22.postimage.org/ntxrqsmxp/V_I_P.png',
        'CI_Test' : 'http://s16.postimage.org/y6am0lx8h/Admin.png',
        'joe52199' : 'http://s22.postimage.org/ntxrqsmxp/V_I_P.png',
        'TimsArmy' : 'http://s22.postimage.org/ntxrqsmxp/V_I_P.png'
    },
    defaultAv = 'http://s10.postimage.org/54y4v15tx/Member.png';
    user.innerHTML = '<img class="chatavatar" src="' + (avs[username] || defaultAv) + '">' + user.innerHTML;
});
LGforumLGforum
Status : Working to restore AWC!

Posts : 2806
Join date : 2011-10-05
Age : 30
Location : UK
Tue 06 May 2014, 23:56
Hmm there shouldn't be an issue really. Have you cleared your cache?
Because when I first released 1.9 there was an issue with the hook system but I've since fixed it.
When viewing the 1.9 js it should have a time stamp of 5/5/14 18:04 ... If it doesn't you're viewing an old copy.
puppycheesepuppycheese
Status : No status yet...

Posts : 446
Join date : 2013-02-12
Age : 30
Location : New Jersey
Tue 06 May 2014, 23:59
I found the issue it was a script conflicting with mine. My walkme script was causing a problem.

edit- well @Mr.Easybb found it!
Mr.EasybbMr.Easybb
Status : Love this site, that's why I'm back each day again... lol Samantha's co-owner now. Well deserved!

Posts : 1587
Join date : 2013-01-04
Wed 07 May 2014, 00:00
LG I got it he had some Walk Me script that was interfering with the entire site really so he disabled that and it works now
Sponsored content