Tech Talk

Vorige onderwerp Volgende onderwerp Go down

Tech Talk

Bericht van Samantha op do 12 okt - 20:02

avatar
Samantha

Rep : 5


Stemming : Supergeweldig! Supergeweldig!

Land : Nederland
Geslacht : Vrouw

Profiel bekijken
Well, I've been checking in with the support forum for a few days now, checking out a few here and there. Same ol' to make you giggle most of the time Grappig Standard questions about styling stuff on the forums (why are people so ignorant to dig into them archives anyway?), nicking one's HTML web shop codes for free (or trying to let anyone else do that for them while being a backseat admin UGH!!).

Anyway, I encountered this one just today when I HAD to reply to it in my way, in this forum, on this site, creating another topic for it... So, here it is (couldn't believe my eyes seeing they've forgotten about the 'site description' field in the ACP all together Slap Head ) .... : Just add the script to the description, guys! Contract Smoezen  lel! YEEHAW!

http://help.forumotion.com/t154390-adding-analytics-javascript-hotjar-to-site#1058693


Hallo! Samantha.


Terug naar boven Go down

Re: Tech Talk

Bericht van Samantha op ma 16 okt - 21:20

avatar
Samantha

Rep : 5


Stemming : Supergeweldig! Supergeweldig!

Land : Nederland
Geslacht : Vrouw

Profiel bekijken
http://help.forumotion.com/t153558-have-one-tag-that-will-tag-all-members

JS Placement: All the Pages
user_level == 1 ==> admin usage only

Tag / Mention ALL JS:

Code:
//  Mention ALL
$(function() {
    if (_userdata.user_level == 1 && $.sceditor && toolbar) {
        var tagAll = function() {
            var editor = this;

            $.get('/search?mode=searchuser&fieldname=username&search_username=*', function(d) {
                for (var a = $('option', d), i = 0, j = a.length, str = ''; i < j; i++) {
                    str += '@"' + $(a[i]).text() + '" ';
                }

                editor.insertText('[table class="tag-all"][tr][td]' + str + '[/td][/tr][/table]');
            });
        };

        $.sceditor.command.set('tagall', {
            exec: tagAll,
            txtExec: tagAll,
            tooltip: 'Tag all members'
        });

        toolbar += '|tagall';
    }

    'Script by Ange Tuteur at fmdesign.forumotion.com . Idea by Samantha Melissa S. at friendcodes.nl . Copyrighted 2016';
});

Source: http://fmdesign.forumotion.com/t1178-suggestion-an-all-script-to-mention-each-and-every-member#28101

Hallo!  Samantha.


Terug naar boven Go down

Vorige onderwerp Volgende onderwerp Terug naar boven


Permissies van dit forum:
Je mag geen reacties plaatsen in dit subforum