The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Text Before And After Usernames

2 posters

Go down

Text Before And After Usernames Empty Text Before And After Usernames

Post by perfectSTORM! 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!
perfectSTORM!
Forumember

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

http://themagicgames.forumotion.com/

Back to top Go down

Text Before And After Usernames Empty Re: Text Before And After Usernames

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

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

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

http://beatles.forummo.com/

Back to top Go down

Text Before And After Usernames Empty Re: Text Before And After Usernames

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

It wont work >.<
perfectSTORM!
perfectSTORM!
Forumember

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

http://themagicgames.forumotion.com/

Back to top Go down

Text Before And After Usernames Empty Re: Text Before And After Usernames

Post by Cassius Dio 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
Cassius Dio
Forumember

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

http://beatles.forummo.com/

Back to top Go down

Text Before And After Usernames Empty Re: Text Before And After Usernames

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

Sorry again. I know, I wrote the code without without realizing.
Cassius Dio
Cassius Dio
Forumember

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

http://beatles.forummo.com/

Back to top Go down

Text Before And After Usernames Empty Re: Text Before And After Usernames

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

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

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

http://themagicgames.forumotion.com/

Back to top Go down

Back to top


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