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.

Topic prefix problem

View previous topic View next topic Go down

In progress Topic prefix problem

Post by Jigsaw2 on 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

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 on 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.


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


SLGray
Administrator
Administrator

Male Posts : 36641
Reputation : 2441
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

In progress Re: Topic prefix problem

Post by Jigsaw2 on 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

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 on 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
Forumember

Male Posts : 141
Reputation : 10
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 on June 13th 2014, 7:30 am

Code worked



But when ever i go into the thread it brings up thing page. Looks like an unloaded profile page?
know how to fix that?

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 on 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?

Jigsaw2
New Member

Posts : 10
Reputation : 2
Language : English

http://muousa.fullboards.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