The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Text Before And After Usernames

View previous topic View next topic Go down

Text Before And After Usernames

Post by perfectSTORM! on February 3rd 2013, 6:14 pm

I see this on some forums, is there any way I could get text before and or after usernames without having to login with it? Like: "[EXAMPLE] Silver Cloak" .

I believe the text before usernames are here: http://www.medievalchaos.net/

perfectSTORM!
Forumember

Male Posts : 328
Reputation : 8
Language : English | Spanish [1] | HTML

http://themagicgames.forumotion.com/

Back to top Go down

Re: Text Before And After Usernames

Post by Cassius Dio on February 3rd 2013, 6:56 pm

Add to JavaScript codes management:
Code:
$(document).ready(function(){
$('a[src^="/u"]').prepend('[EXAMPLE]');
});

Cassius Dio
Forumember

Male Posts : 581
Reputation : 79
Language : Romanian &English
Location : Yellow Submarine

http://beatles.forummo.com/

Back to top Go down

Re: Text Before And After Usernames

Post by perfectSTORM! on February 3rd 2013, 6:59 pm

It wont work >.<

perfectSTORM!
Forumember

Male Posts : 328
Reputation : 8
Language : English | Spanish [1] | HTML

http://themagicgames.forumotion.com/

Back to top Go down

Re: Text Before And After Usernames

Post by Cassius Dio on February 3rd 2013, 7:14 pm

Try:
Code:
$(document).ready(function(){
$('a[src*="/u"]').prepend('[EXAMPLE]');
});
or:
Code:
$(document).ready(function(){
$('a[src*="u"]').prepend('[EXAMPLE]');
});

Cassius Dio
Forumember

Male Posts : 581
Reputation : 79
Language : Romanian &English
Location : Yellow Submarine

http://beatles.forummo.com/

Back to top Go down

Re: Text Before And After Usernames

Post by Cassius Dio on February 3rd 2013, 7:48 pm

Sorry again. I know, I wrote the code without without realizing.

Cassius Dio
Forumember

Male Posts : 581
Reputation : 79
Language : Romanian &English
Location : Yellow Submarine

http://beatles.forummo.com/

Back to top Go down

Re: Text Before And After Usernames

Post by perfectSTORM! on February 3rd 2013, 9:04 pm

I tried using the one off of FMquery but that won't work for some reason either...

perfectSTORM!
Forumember

Male Posts : 328
Reputation : 8
Language : English | Spanish [1] | HTML

http://themagicgames.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum