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.

Topic prefix problem

3 posters

Go down

In progress Topic prefix problem

Post by Jigsaw2 June 13th 2014, 12:14 am

I followed this guide 
http://socialacademy.forums.fm/t107-solved-tags-prefixes-for-topics

But it doesnt seem to work. Heres my code :

JAVA
Code:
jQuery(document).ready(function(){jQuery(".module a, .topiclist, .page-title, .statused").each(function(){jQuery(this).html(jQuery(this).html().replace(/✔/g,'<span id=\'perfix\'>EXAMPLE</span>'))})});


CSS
Code:
  #perfix {
            background: none repeat scroll 0px 0px rgb(123, 166, 13);
          border-radius: 4px 4px 4px 4px;
            color: rgb(255, 255, 255);
            display: inline-block;
            font-size: 9px;
            font-weight: 700;
            height: 15px;
            line-height: 15px;
            padding: 0px 5px;
            text-transform: uppercase;
            vertical-align: middle;
                                    }


Anyone know whats wrong?
I'm using Invision
avatar
Jigsaw2
New Member

Posts : 10
Reputation : 2
Language : English

http://muousa.fullboards.com/

Back to top Go down

In progress Re: Topic prefix problem

Post by SLGray June 13th 2014, 3:06 am

Why done you ask for help on the forum where you got the code?  Do you have JavaScript Management activated?

Also do not post links to tutorials that guests can not see.


Topic prefix problem Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51464
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

In progress Re: Topic prefix problem

Post by Jigsaw2 June 13th 2014, 3:20 am

Well this guide is also on this forum too, the exact one. I just happened to copy this one :S
Yes javascript is activated
avatar
Jigsaw2
New Member

Posts : 10
Reputation : 2
Language : English

http://muousa.fullboards.com/

Back to top Go down

In progress Re: Topic prefix problem

Post by SocialAcademy June 13th 2014, 5:53 am

is Forum Invision ? try this Javascript Instead
Code:
jQuery(document).ready(function(){jQuery(".borderwrap, .topiclist, .main-title, .statused").each(function(){jQuery(this).html(jQuery(this).html().replace(/✔/g,'<span id=\'perfix\'>EXAMPLE</span>'))})});
SocialAcademy
SocialAcademy
Forumember

Male Posts : 145
Reputation : 11
Language : JavaScript, CSS, Html, JQuery, C#, C++, Php, Python
Location : Forumotion

http://www.socialacademy.biz

Back to top Go down

In progress Re: Topic prefix problem

Post by Jigsaw2 June 13th 2014, 7:30 am

Code worked
Topic prefix problem 5oflo2


But when ever i go into the thread it brings up thing page. Looks like an unloaded profile page?
know how to fix that?
Topic prefix problem Ixgo7c
avatar
Jigsaw2
New Member

Posts : 10
Reputation : 2
Language : English

http://muousa.fullboards.com/

Back to top Go down

In progress Re: Topic prefix problem

Post by Jigsaw2 June 18th 2014, 8:45 am

Any fix for this?

Will be happy with just replacing certain phrases with someone else.
So if someone writes '[SELL]' in the topic name, it will replace it with ']SELL]'

anyone know how to do this or fix the prefix problem?
avatar
Jigsaw2
New Member

Posts : 10
Reputation : 2
Language : English

http://muousa.fullboards.com/

Back to top Go down

Back to top

- Similar topics

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